class Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceRoleSku
Describes the cloud service role sku.
Attributes
capacity[RW]
@return [Integer] Specifies the number of role instances in the cloud service.
name[RW]
@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.
tier[RW]
@return [String] Specifies the tier of the cloud service. Possible Values are <br /><br /> *Standard* <br /><br /> *Basic*
Private Class Methods
mapper()
click to toggle source
Mapper for CloudServiceRoleSku
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb, line 33 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