Class: Azure::Storage::Mgmt::V2021_01_01::Models::StorageAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::StorageAccountCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb
Overview
The parameters used when creating a storage account.
Instance Attribute Summary collapse
-
#access_tier ⇒ AccessTier
BlobStorage.
-
#allow_blob_public_access ⇒ Boolean
containers in the storage account.
-
#allow_shared_key_access ⇒ Boolean
requests to be authorized with the account access key via Shared Key.
-
#azure_files_identity_based_authentication ⇒ AzureFilesIdentityBasedAuthentication
based authentication settings for Azure Files.
-
#custom_domain ⇒ CustomDomain
Name is the CNAME source.
-
#enable_https_traffic_only ⇒ Boolean
to true.
-
#enable_nfs_v3 ⇒ Boolean
NFS 3.0 protocol support enabled if set to true.
-
#encryption ⇒ Encryption
enabled for all storage accounts and cannot be disabled.
-
#extended_location ⇒ ExtendedLocation
resource.
-
#identity ⇒ Identity
The identity of the resource.
-
#is_hns_enabled ⇒ Boolean
true.
-
#kind ⇒ Kind
Possible values include: ‘Storage’, ‘StorageV2’, ‘BlobStorage’, ‘FileStorage’, ‘BlockBlobStorage’.
-
#large_file_shares_state ⇒ LargeFileSharesState
Enabled.
-
#location ⇒ String
This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
-
#minimum_tls_version ⇒ MinimumTlsVersion
on requests to storage.
-
#network_rule_set ⇒ NetworkRuleSet
Network rule set.
-
#routing_preference ⇒ RoutingPreference
routing choice opted by the user for data transfer.
-
#sku ⇒ Sku
Required.
-
#tags ⇒ Hash{String => String}
that describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#access_tier ⇒ AccessTier
BlobStorage. The access tier used for billing. Possible values include: ‘Hot’, ‘Cool’
62 63 64 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 62 def access_tier @access_tier end |
#allow_blob_public_access ⇒ Boolean
containers in the storage account. The default interpretation is true for this property.
88 89 90 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 88 def allow_blob_public_access @allow_blob_public_access end |
#allow_shared_key_access ⇒ Boolean
requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.
100 101 102 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 100 def allow_shared_key_access @allow_shared_key_access end |
#azure_files_identity_based_authentication ⇒ AzureFilesIdentityBasedAuthentication
based authentication settings for Azure Files.
66 67 68 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 66 def azure_files_identity_based_authentication @azure_files_identity_based_authentication 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.
50 51 52 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 50 def custom_domain @custom_domain end |
#enable_https_traffic_only ⇒ Boolean
to true. The default value is true since API version 2019-04-01.
70 71 72 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 70 def enable_https_traffic_only @enable_https_traffic_only end |
#enable_nfs_v3 ⇒ Boolean
Returns NFS 3.0 protocol support enabled if set to true.
103 104 105 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 103 def enable_nfs_v3 @enable_nfs_v3 end |
#encryption ⇒ Encryption
enabled for all storage accounts and cannot be disabled.
54 55 56 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 54 def encryption @encryption end |
#extended_location ⇒ ExtendedLocation
resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location
33 34 35 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 33 def extended_location @extended_location end |
#identity ⇒ Identity
Returns The identity of the resource.
44 45 46 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 44 def identity @identity end |
#is_hns_enabled ⇒ Boolean
true.
74 75 76 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 74 def is_hns_enabled @is_hns_enabled end |
#kind ⇒ Kind
Possible values include: ‘Storage’, ‘StorageV2’, ‘BlobStorage’, ‘FileStorage’, ‘BlockBlobStorage’
21 22 23 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 21 def kind @kind end |
#large_file_shares_state ⇒ LargeFileSharesState
Enabled. It cannot be disabled once it is enabled. Possible values include: ‘Disabled’, ‘Enabled’
79 80 81 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 79 def large_file_shares_state @large_file_shares_state 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.
28 29 30 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 28 def location @location end |
#minimum_tls_version ⇒ MinimumTlsVersion
on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’
93 94 95 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 93 def minimum_tls_version @minimum_tls_version end |
#network_rule_set ⇒ NetworkRuleSet
Returns Network rule set.
57 58 59 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 57 def network_rule_set @network_rule_set end |
#routing_preference ⇒ RoutingPreference
routing choice opted by the user for data transfer
83 84 85 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 83 def routing_preference @routing_preference end |
#sku ⇒ Sku
Returns Required. Gets or sets the SKU name.
16 17 18 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 16 def sku @sku end |
#tags ⇒ Hash{String => String}
that describe the resource. These tags can be used for 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 with a length no greater than 128 characters and a value with a length no greater than 256 characters.
41 42 43 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 41 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 110 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { name: 'Composite', class_name: 'StorageAccountCreateParameters', model_properties: { sku: { client_side_validation: true, required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, extended_location: { client_side_validation: true, required: false, serialized_name: 'extendedLocation', type: { name: 'Composite', class_name: 'ExtendedLocation' } }, 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' } } } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'Identity' } }, custom_domain: { client_side_validation: true, required: false, serialized_name: 'properties.customDomain', type: { name: 'Composite', class_name: 'CustomDomain' } }, encryption: { client_side_validation: true, required: false, serialized_name: 'properties.encryption', type: { name: 'Composite', class_name: 'Encryption' } }, network_rule_set: { client_side_validation: true, required: false, serialized_name: 'properties.networkAcls', type: { name: 'Composite', class_name: 'NetworkRuleSet' } }, access_tier: { client_side_validation: true, required: false, serialized_name: 'properties.accessTier', type: { name: 'Enum', module: 'AccessTier' } }, azure_files_identity_based_authentication: { client_side_validation: true, required: false, serialized_name: 'properties.azureFilesIdentityBasedAuthentication', type: { name: 'Composite', class_name: 'AzureFilesIdentityBasedAuthentication' } }, enable_https_traffic_only: { client_side_validation: true, required: false, serialized_name: 'properties.supportsHttpsTrafficOnly', type: { name: 'Boolean' } }, is_hns_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isHnsEnabled', type: { name: 'Boolean' } }, large_file_shares_state: { client_side_validation: true, required: false, serialized_name: 'properties.largeFileSharesState', type: { name: 'String' } }, routing_preference: { client_side_validation: true, required: false, serialized_name: 'properties.routingPreference', type: { name: 'Composite', class_name: 'RoutingPreference' } }, allow_blob_public_access: { client_side_validation: true, required: false, serialized_name: 'properties.allowBlobPublicAccess', type: { name: 'Boolean' } }, minimum_tls_version: { client_side_validation: true, required: false, serialized_name: 'properties.minimumTlsVersion', type: { name: 'String' } }, allow_shared_key_access: { client_side_validation: true, required: false, serialized_name: 'properties.allowSharedKeyAccess', type: { name: 'Boolean' } }, enable_nfs_v3: { client_side_validation: true, required: false, serialized_name: 'properties.isNfsV3Enabled', type: { name: 'Boolean' } } } } } end |