Class: Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#locations ⇒ Array<String>
Locations where the SKU is restricted.
-
#zones ⇒ Array<String>
restricted.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSkuRestrictionInfo class as Ruby Hash.
Instance Attribute Details
#locations ⇒ Array<String>
Returns Locations where the SKU is restricted.
17 18 19 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb', line 17 def locations @locations end |
#zones ⇒ Array<String>
restricted.
21 22 23 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb', line 21 def zones @zones end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSkuRestrictionInfo class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionInfo', type: { name: 'Composite', class_name: 'ResourceSkuRestrictionInfo', model_properties: { locations: { client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, zones: { client_side_validation: true, required: false, read_only: true, serialized_name: 'zones', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |