Class: Azure::ContainerRegistry::Mgmt::V2017_03_01::Models::RegistryUpdateParameters

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

Overview

The parameters for updating a container registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#admin_user_enabledBoolean

enabled.

Returns:

  • (Boolean)

    The value that indicates whether the admin user is



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

def admin_user_enabled
  @admin_user_enabled
end

#storage_accountStorageAccountParameters

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

Returns:



25
26
27
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 25

def 
  
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_update_parameters.rb', line 16

def tags
  @tags
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
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
# File 'lib/2017-03-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'RegistryUpdateParameters',
      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'
                }
            }
          }
        },
        admin_user_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.adminUserEnabled',
          type: {
            name: 'Boolean'
          }
        },
        storage_account: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccount',
          type: {
            name: 'Composite',
            class_name: 'StorageAccountParameters'
          }
        }
      }
    }
  }
end