Class: Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSku
- Inherits:
-
Object
- Object
- Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb
Overview
A resource SKU.
Instance Attribute Summary collapse
-
#capabilities ⇒ Array<ResourceSkuCapabilities>
SKU, such as throughput or ops/sec.
-
#location_info ⇒ Array<ResourceSkuLocationInfo>
SKU is available.
-
#locations ⇒ Array<String>
This will be supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).
-
#name ⇒ String
The name of this SKU.
-
#resource_type ⇒ String
The type of resource the SKU applies to.
-
#restrictions ⇒ Array<Restriction>
being used.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSku class as Ruby Hash.
Instance Attribute Details
#capabilities ⇒ Array<ResourceSkuCapabilities>
SKU, such as throughput or ops/sec.
20 21 22 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 20 def capabilities @capabilities end |
#location_info ⇒ Array<ResourceSkuLocationInfo>
SKU is available.
29 30 31 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 29 def location_info @location_info end |
#locations ⇒ Array<String>
This will be supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).
25 26 27 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 25 def locations @locations end |
#name ⇒ String
Returns The name of this SKU.
32 33 34 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 32 def name @name end |
#resource_type ⇒ String
Returns The type of resource the SKU applies to.
16 17 18 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 16 def resource_type @resource_type end |
#restrictions ⇒ Array<Restriction>
being used. This is empty if there are no restrictions.
36 37 38 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 36 def restrictions @restrictions end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSku class as Ruby Hash. This will be used for serialization/deserialization.
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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSku', type: { name: 'Composite', class_name: 'ResourceSku', model_properties: { resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, capabilities: { client_side_validation: true, required: false, serialized_name: 'capabilities', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { name: 'Composite', class_name: 'ResourceSkuCapabilities' } } } }, 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' } } } }, location_info: { client_side_validation: true, required: false, serialized_name: 'locationInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfoElementType', type: { name: 'Composite', class_name: 'ResourceSkuLocationInfo' } } } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, restrictions: { client_side_validation: true, required: false, serialized_name: 'restrictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RestrictionElementType', type: { name: 'Composite', class_name: 'Restriction' } } } } } } } end |