Sha256: 6aeadac24e386d4f21987a9feffd3543b65ad4da851e6316545521aef6830041

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_10_01_preview
  module Models
    #
    # Defines an update domain for the cloud service.
    #
    class UpdateDomain

      include MsRestAzure

      # @return [String] Resource Id
      attr_accessor :id

      # @return [String] Resource Name
      attr_accessor :name


      #
      # Mapper for UpdateDomain class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpdateDomain',
          type: {
            name: 'Composite',
            class_name: 'UpdateDomain',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/update_domain.rb
azure_mgmt_compute-0.21.1 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/update_domain.rb