# 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::V2020_10_01_preview module Models # # Describes the cloud service role sku. # class CloudServiceRoleSku include MsRestAzure # @return [String] The sku name. NOTE: If the new SKU is not supported on # the hardware the cloud service is currently on, you need to delete and # recreate the cloud service or move back to the old sku. attr_accessor :name # @return [String] Specifies the tier of the cloud service. Possible # Values are

**Standard**

**Basic** attr_accessor :tier # @return [Integer] Specifies the number of role instances in the cloud # service. attr_accessor :capacity # # Mapper for CloudServiceRoleSku class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CloudServiceRoleSku', type: { name: 'Composite', class_name: 'CloudServiceRoleSku', 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 end end end