Class: Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb
Overview
The parameters to provide for the account.
Instance Attribute Summary collapse
-
#account_type ⇒ AccountType
optional for update.
-
#location ⇒ String
supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
-
#tags ⇒ Hash{String => String}
describe the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#account_type ⇒ AccountType
optional for update. Note that in older versions, sku name was called accountType. Possible values include: ‘Standard_LRS’, ‘Standard_ZRS’, ‘Standard_GRS’, ‘Standard_RAGRS’, ‘Premium_LRS’
34 35 36 |
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 34 def account_type @account_type end |
#location ⇒ String
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.
20 21 22 |
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 20 def location @location end |
#tags ⇒ Hash{String => String}
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.
28 29 30 |
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 28 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageAccountCreateParameters', type: { name: 'Composite', class_name: 'StorageAccountCreateParameters', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, 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' } } } }, account_type: { client_side_validation: true, required: true, serialized_name: 'properties.accountType', type: { name: 'Enum', module: 'AccountType' } } } } } end |