Class: Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegistryCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb

Overview

The parameters for creating a container registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#admin_user_enabledBoolean

enabled. Default value: false .

Returns:

  • (Boolean)

    The value that indicates whether the admin user is



27
28
29
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 27

def admin_user_enabled
  @admin_user_enabled
end

#locationString

changed after the resource is created.

Returns:

  • (String)

    The location of the container registry. This cannot be



20
21
22
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 20

def location
  @location
end

#skuSku

Returns The SKU of the container registry.

Returns:

  • (Sku)

    The SKU of the container registry.



23
24
25
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 23

def sku
  @sku
end

#storage_accountStorageAccountParameters

for the container registry. If specified, the storage account must be in the same physical location as the container registry.

Returns:



32
33
34
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 32

def 
  @storage_account
end

#tagsHash{String => String}

Returns The tags for the container registry.

Returns:

  • (Hash{String => String})

    The tags for the container registry.



16
17
18
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 16

def tags
  @tags
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_create_parameters.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'RegistryCreateParameters',
      model_properties: {
        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'
                }
            }
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        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: 'StorageAccountParameters'
          }
        }
      }
    }
  }
end