Class: Azure::Compute::Mgmt::V2020_12_01::Models::Sku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb
Overview
Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
Instance Attribute Summary collapse
-
#capacity ⇒ Integer
set.
-
#name ⇒ String
The sku name.
-
#tier ⇒ String
set.<br /><br /> Possible Values:<br /><br /> *Standard*<br /><br /> *Basic*.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
set.
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb', line 27 def capacity @capacity end |
#name ⇒ String
Returns The sku name.
18 19 20 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb', line 18 def name @name end |
#tier ⇒ String
set.<br /><br /> Possible Values:<br /><br /> *Standard*<br /><br /> *Basic*
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/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.
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 62 63 64 65 66 67 68 69 70 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb', line 34 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: false, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Number' } } } } } end |