Class: Azure::Compute::Mgmt::V2016_03_30::Models::Sku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2016_03_30::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb
Overview
Describes a virtual machine scale set sku.
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.
25 26 27 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb', line 25 def capacity @capacity end |
#name ⇒ String
Returns The sku name.
16 17 18 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb', line 16 def name @name end |
#tier ⇒ String
set.<br /><br /> Possible Values:<br /><br /> *Standard*<br /><br /> *Basic*
21 22 23 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/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.
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 62 63 64 65 66 67 68 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb', line 32 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 |