Class: Azure::Storage::Mgmt::V2019_06_01::Models::Sku
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2019_06_01::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb
Overview
The SKU of the storage account.
Instance Attribute Summary collapse
-
#name ⇒ SkuName
‘Standard_GRS’, ‘Standard_RAGRS’, ‘Standard_ZRS’, ‘Premium_LRS’, ‘Premium_ZRS’, ‘Standard_GZRS’, ‘Standard_RAGZRS’.
-
#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
‘Standard_GRS’, ‘Standard_RAGRS’, ‘Standard_ZRS’, ‘Premium_LRS’, ‘Premium_ZRS’, ‘Standard_GZRS’, ‘Standard_RAGZRS’
18 19 20 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb', line 18 def name @name end |
#tier ⇒ SkuTier
Returns Possible values include: ‘Standard’, ‘Premium’.
21 22 23 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb', line 21 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.
28 29 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 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb', line 28 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: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'Enum', module: 'SkuTier' } } } } } end |