Class: Azure::Compute::Mgmt::V2019_07_01::Models::DiskSku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::DiskSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb
Overview
The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
Instance Attribute Summary collapse
-
#name ⇒ DiskStorageAccountTypes
include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
-
#tier ⇒ String
The sku tier.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiskSku class as Ruby Hash.
Instance Attribute Details
#name ⇒ DiskStorageAccountTypes
include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb', line 19 def name @name end |
#tier ⇒ String
Returns The sku tier.
22 23 24 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb', line 22 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for DiskSku class as Ruby Hash. This will be used for serialization/deserialization.
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 58 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskSku', type: { name: 'Composite', class_name: 'DiskSku', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'String' } } } } } end |