class Azure::AzureStack::Mgmt::V2017_06_01::Models::Registration

Registration information.

Attributes

billing_model[RW]

@return [String] Specifies the billing mode for the Azure Stack registration.

cloud_id[RW]

@return [String] The identifier of the registered Azure Stack.

object_id[RW]

@return [String] The object identifier associated with the Azure Stack connecting to Azure.

Private Class Methods

mapper() click to toggle source

Mapper for Registration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-06-01/generated/azure_mgmt_azurestack/models/registration.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Registration',
    type: {
      name: 'Composite',
      class_name: 'Registration',
      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'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'location',
          default_value: 'global',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.objectId',
          type: {
            name: 'String'
          }
        },
        cloud_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cloudId',
          type: {
            name: 'String'
          }
        },
        billing_model: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.billingModel',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end