class Azure::ContainerRegistry::Mgmt::V2017_03_01::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. 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.
provisioning_state[RW]
@return [ProvisioningState] The provisioning state of the container registry at the time the operation was called. Possible values include: 'Creating', 'Succeeded'
sku[RW]
@return [Sku] The SKU of the container registry.
storage_account[RW]
@return [StorageAccountProperties] The properties of the storage account for 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/2017-03-01/generated/azure_mgmt_container_registry/models/registry.rb, line 44 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' } } } }, sku: { client_side_validation: true, required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, 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' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ProvisioningState' } }, 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: false, serialized_name: 'properties.storageAccount', type: { name: 'Composite', class_name: 'StorageAccountProperties' } } } } } end