Class: Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb
Overview
Describes an available virtual machine scale set sku.
Instance Attribute Summary collapse
-
#capacity ⇒ VirtualMachineScaleSetSkuCapacity
virtual machines in the scale set.
-
#resource_type ⇒ String
The type of resource the sku applies to.
-
#sku ⇒ Sku
The Sku.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetSku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ VirtualMachineScaleSetSkuCapacity
virtual machines in the scale set.
23 24 25 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb', line 23 def capacity @capacity end |
#resource_type ⇒ String
Returns The type of resource the sku applies to.
16 17 18 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb', line 16 def resource_type @resource_type end |
#sku ⇒ Sku
Returns The Sku.
19 20 21 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb', line 19 def sku @sku end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetSku 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 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, sku: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, capacity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetSkuCapacity' } } } } } end |