Class: Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters
- 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
-
#admin_user_enabled ⇒ Boolean
enabled.
-
#network_rule_set ⇒ NetworkRuleSet
The network rule set for a container registry.
-
#sku ⇒ Sku
The SKU of the container registry.
-
#storage_account ⇒ StorageAccountProperties
for the container registry.
-
#tags ⇒ Hash{String => String}
The tags for the container registry.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RegistryUpdateParameters class as Ruby Hash.
Instance Attribute Details
#admin_user_enabled ⇒ Boolean
enabled.
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_set ⇒ NetworkRuleSet
Returns The network rule set for a container registry.
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 |
#sku ⇒ Sku
Returns 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_account ⇒ StorageAccountProperties
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.
29 30 31 |
# File 'lib/2017-10-01/generated/azure_mgmt_container_registry/models/registry_update_parameters.rb', line 29 def storage_account @storage_account end |
#tags ⇒ Hash{String => String}
Returns 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 end |
Class Method Details
.mapper ⇒ Object
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 |