Class: Azure::ARM::Storage::Models::StorageAccountUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::Storage::Models::StorageAccountUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb
Overview
The parameters to provide for the account.
Instance Attribute Summary collapse
-
#access_tier ⇒ AccessTier
cannot be changed more than once every 7 days (168 hours).
-
#custom_domain ⇒ CustomDomain
Name is the CNAME source.
-
#encryption ⇒ Encryption
The default setting is unencrypted.
-
#sku ⇒ Sku
updated to StandardZRS or ProvisionedLRS, nor can accounts of that sku type be updated to any other value.
-
#tags ⇒ Hash{String => String}
pairs that describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccountUpdateParameters class as Ruby Hash.
Instance Attribute Details
#access_tier ⇒ AccessTier
cannot be changed more than once every 7 days (168 hours). Access tier cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. Possible values include: ‘Hot’, ‘Cool’
41 42 43 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 41 def access_tier @access_tier end |
#custom_domain ⇒ CustomDomain
Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.
31 32 33 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 31 def custom_domain @custom_domain end |
#encryption ⇒ Encryption
The default setting is unencrypted.
35 36 37 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 35 def encryption @encryption end |
#sku ⇒ Sku
updated to StandardZRS or ProvisionedLRS, nor can accounts of that sku type be updated to any other value.
18 19 20 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 18 def sku @sku end |
#tags ⇒ Hash{String => String}
pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.
25 26 27 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 25 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccountUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 103 104 105 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 48 def self.mapper() { required: false, serialized_name: 'StorageAccountUpdateParameters', type: { name: 'Composite', class_name: 'StorageAccountUpdateParameters', model_properties: { sku: { required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, custom_domain: { required: false, serialized_name: 'properties.customDomain', type: { name: 'Composite', class_name: 'CustomDomain' } }, encryption: { required: false, serialized_name: 'properties.encryption', type: { name: 'Composite', class_name: 'Encryption' } }, access_tier: { required: false, serialized_name: 'properties.accessTier', type: { name: 'Enum', module: 'AccessTier' } } } } } end |