Class: Azure::Storage::Mgmt::V2016_01_01::Models::Sku
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2016_01_01::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb
Overview
The SKU of the storage account.
Instance Attribute Summary collapse
-
#name ⇒ SkuName
creation; optional for update.
-
#tier ⇒ SkuTier
Possible values include: ‘Standard’, ‘Premium’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash.
Instance Attribute Details
#name ⇒ SkuName
creation; optional for update. Note that in older versions, sku name was called accountType. Possible values include: ‘Standard_LRS’, ‘Standard_GRS’, ‘Standard_RAGRS’, ‘Standard_ZRS’, ‘Premium_LRS’
19 20 21 |
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb', line 19 def name @name end |
#tier ⇒ SkuTier
Possible values include: ‘Standard’, ‘Premium’
23 24 25 |
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb', line 23 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Sku', type: { name: 'Composite', class_name: 'Sku', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'Enum', module: 'SkuName' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'Enum', module: 'SkuTier' } } } } } end |