class Azure::Compute::Mgmt::V2019_04_01::Models::ResourceSkuRestrictions
Describes scaling information of a SKU.
Attributes
reason_code[RW]
@return [ResourceSkuRestrictionsReasonCode] The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
restriction_info[RW]
@return [ResourceSkuRestrictionInfo] The information about the restriction where the SKU cannot be used.
type[RW]
@return [ResourceSkuRestrictionsType] The type of restrictions. Possible values include: 'Location', 'Zone'
values[RW]
@return [Array<String>] The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
Private Class Methods
mapper()
click to toggle source
Mapper for ResourceSkuRestrictions class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictions', type: { name: 'Composite', class_name: 'ResourceSkuRestrictions', model_properties: { type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'Enum', module: 'ResourceSkuRestrictionsType' } }, values: { client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, restriction_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictionInfo', type: { name: 'Composite', class_name: 'ResourceSkuRestrictionInfo' } }, reason_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', type: { name: 'Enum', module: 'ResourceSkuRestrictionsReasonCode' } } } } } end