Class: Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::RegistryUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-27-preview/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. This value is false by default.

Returns:

  • (Boolean)

    The value that indicates whether the admin user is



21
22
23
# File 'lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 21

def admin_user_enabled
  @admin_user_enabled
end

#storage_accountStorageAccountProperties

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

Returns:



26
27
28
# File 'lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 26

def 
  @storage_account
end

#tagsHash{String => String}

registry.

Returns:

  • (Hash{String => String})

    The resource tags for the container



17
18
19
# File 'lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 17

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
78
# File 'lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 33

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: 'StorageAccountProperties'
          }
        }
      }
    }
  }
end