# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2015_06_15 module Models # # Describes an available virtual machine scale set sku. # class VirtualMachineScaleSetSku include MsRestAzure # @return [String] The type of resource the sku applies to. attr_accessor :resource_type # @return [Sku] The Sku. attr_accessor :sku # @return [VirtualMachineScaleSetSkuCapacity] Specifies the number of # virtual machines in the scale set. attr_accessor :capacity # # Mapper for VirtualMachineScaleSetSku class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end