Class: Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb
Overview
Describes an available Compute SKU.
Instance Attribute Summary collapse
-
#api_versions ⇒ Array<String>
The api versions that support this SKU.
-
#capabilities ⇒ Array<ResourceSkuCapabilities>
the capability.
-
#capacity ⇒ ResourceSkuCapacity
in the scale set.
-
#costs ⇒ Array<ResourceSkuCosts>
Metadata for retrieving price info.
-
#family ⇒ String
The Family of this particular SKU.
-
#kind ⇒ String
The Kind of resources that are supported in this SKU.
-
#location_info ⇒ Array<ResourceSkuLocationInfo>
availability zones in those locations where the SKU is available.
-
#locations ⇒ Array<String>
The set of locations that the SKU is available.
-
#name ⇒ String
The name of SKU.
-
#resource_type ⇒ String
The type of resource the SKU applies to.
-
#restrictions ⇒ Array<ResourceSkuRestrictions>
which SKU cannot be used.
-
#size ⇒ String
The Size of the SKU.
-
#tier ⇒ String
set.<br /><br /> Possible Values:<br /><br /> *Standard*<br /><br /> *Basic*.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSku class as Ruby Hash.
Instance Attribute Details
#api_versions ⇒ Array<String>
Returns The api versions that support this SKU.
47 48 49 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 47 def api_versions @api_versions end |
#capabilities ⇒ Array<ResourceSkuCapabilities>
the capability.
54 55 56 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 54 def capabilities @capabilities end |
#capacity ⇒ ResourceSkuCapacity
in the scale set.
37 38 39 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 37 def capacity @capacity end |
#costs ⇒ Array<ResourceSkuCosts>
Returns Metadata for retrieving price info.
50 51 52 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 50 def costs @costs end |
#family ⇒ String
Returns The Family of this particular SKU.
30 31 32 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 30 def family @family end |
#kind ⇒ String
Returns The Kind of resources that are supported in this SKU.
33 34 35 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 33 def kind @kind end |
#location_info ⇒ Array<ResourceSkuLocationInfo>
availability zones in those locations where the SKU is available.
44 45 46 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 44 def location_info @location_info end |
#locations ⇒ Array<String>
Returns The set of locations that the SKU is available.
40 41 42 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 40 def locations @locations end |
#name ⇒ String
Returns The name of SKU.
19 20 21 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 19 def name @name end |
#resource_type ⇒ String
Returns The type of resource the SKU applies to.
16 17 18 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 16 def resource_type @resource_type end |
#restrictions ⇒ Array<ResourceSkuRestrictions>
which SKU cannot be used. This is empty if there are no restrictions.
58 59 60 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 58 def restrictions @restrictions end |
#size ⇒ String
Returns The Size of the SKU.
27 28 29 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 27 def size @size end |
#tier ⇒ String
set.<br /><br /> Possible Values:<br /><br /> *Standard*<br /><br /> *Basic*
24 25 26 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 24 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSku class as Ruby Hash. This will be used for serialization/deserialization.
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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb', line 65 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' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'String' } }, size: { client_side_validation: true, required: false, read_only: true, serialized_name: 'size', type: { name: 'String' } }, family: { client_side_validation: true, required: false, read_only: true, serialized_name: 'family', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', type: { name: 'Composite', class_name: 'ResourceSkuCapacity' } }, 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, read_only: true, serialized_name: 'locationInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfoElementType', type: { name: 'Composite', class_name: 'ResourceSkuLocationInfo' } } } }, api_versions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, costs: { client_side_validation: true, required: false, read_only: true, serialized_name: 'costs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuCostsElementType', type: { name: 'Composite', class_name: 'ResourceSkuCosts' } } } }, capabilities: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { name: 'Composite', class_name: 'ResourceSkuCapabilities' } } } }, restrictions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionsElementType', type: { name: 'Composite', class_name: 'ResourceSkuRestrictions' } } } } } } } end |