Class: Azure::ARM::Storage::Models::StorageAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::Storage::Models::StorageAccountCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb
Overview
The parameters to provide for the account.
Instance Attribute Summary collapse
-
#access_tier ⇒ AccessTier
tier used for billing.
-
#custom_domain ⇒ CustomDomain
Name is the CNAME source.
-
#encryption ⇒ Encryption
If left unspecified the account encryption settings will remain.
-
#kind ⇒ Kind
Possible values include: ‘Storage’, ‘BlobStorage’.
-
#location ⇒ String
This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
-
#sku ⇒ Sku
Required.
-
#tags ⇒ Hash{String => String}
pairs that describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#access_tier ⇒ AccessTier
tier used for billing. Access tier 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’
52 53 54 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 52 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.
40 41 42 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 40 def custom_domain @custom_domain end |
#encryption ⇒ Encryption
If left unspecified the account encryption settings will remain. The default setting is unencrypted.
45 46 47 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 45 def encryption @encryption end |
#kind ⇒ Kind
Possible values include: ‘Storage’, ‘BlobStorage’
20 21 22 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 20 def kind @kind end |
#location ⇒ String
This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
27 28 29 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 27 def location @location end |
#sku ⇒ Sku
Returns Required. Gets or sets the sku type.
16 17 18 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 16 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.
34 35 36 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 34 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 59 def self.mapper() { required: false, serialized_name: 'StorageAccountCreateParameters', type: { name: 'Composite', class_name: 'StorageAccountCreateParameters', model_properties: { sku: { required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, kind: { required: true, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, 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 |