Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-10-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



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

def admin_user_enabled
  @admin_user_enabled
end

#network_rule_setNetworkRuleSet

Returns The network rule set for a container registry.

Returns:



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

def network_rule_set
  @network_rule_set
end

#skuSku

Returns The SKU of the container registry.

Returns:

  • (Sku)

    The SKU of the container registry.



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

def sku
  @sku
end

#storage_accountStorageAccountProperties

for the container registry. Only applicable to Classic SKU. If specified, the storage account must be in the same physical location as the container registry.

Returns:



29
30
31
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 29

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-10-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.



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-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 39

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'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        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'
          }
        },
        network_rule_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkRuleSet',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        }
      }
    }
  }
end