class Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::Registry

An object that represents a container registry.

Attributes

admin_user_enabled[RW]

@return [Boolean] The value that indicates whether the admin user is enabled. This value is false by default. Default value: false .

creation_date[RW]

@return [DateTime] The creation date of the container registry in ISO8601 format.

login_server[RW]

@return [String] The URL that can be used to log into the container registry.

storage_account[RW]

@return [StorageAccountProperties] The properties of the storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Registry',
    type: {
      name: 'Composite',
      class_name: 'Registry',
      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,
          serialized_name: 'location',
          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'
                }
            }
          }
        },
        login_server: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.loginServer',
          type: {
            name: 'String'
          }
        },
        creation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationDate',
          type: {
            name: 'DateTime'
          }
        },
        admin_user_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.adminUserEnabled',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        storage_account: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageAccount',
          type: {
            name: 'Composite',
            class_name: 'StorageAccountProperties'
          }
        }
      }
    }
  }
end