class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestriction
The restrictions because of which SKU cannot be used.
Attributes
reason_code[RW]
@return [SkuRestrictionReasonCode] The SKU restriction reason. Possible values include: 'NotAvailableForSubscription', 'QuotaId'
restriction_info[RW]
@return [SkuRestrictionInfo] Restriction of the SKU for the location/zone
type[RW]
@return [String] The type of the restriction.
values[RW]
@return [Array<String>] The locations where sku is restricted.
Private Class Methods
mapper()
click to toggle source
Mapper for SkuRestriction
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SkuRestriction', type: { name: 'Composite', class_name: 'SkuRestriction', model_properties: { type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, 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' } } } }, reason_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', type: { name: 'String' } }, restriction_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictionInfo', type: { name: 'Composite', class_name: 'SkuRestrictionInfo' } } } } } end