Class: Azure::ARM::Web::Models::SkuInfo
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::SkuInfo
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/sku_info.rb
Overview
SKU discovery information.
Instance Attribute Summary collapse
-
#capacity ⇒ SkuCapacity
Min, max, and default scale values of the SKU.
-
#resource_type ⇒ String
Resource type that this SKU applies to.
-
#sku ⇒ SkuDescription
Name and tier of the SKU.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SkuInfo class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ SkuCapacity
Returns Min, max, and default scale values of the SKU.
23 24 25 |
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 23 def capacity @capacity end |
#resource_type ⇒ String
Returns Resource type that this SKU applies to.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 17 def resource_type @resource_type end |
#sku ⇒ SkuDescription
Returns Name and tier of the SKU.
20 21 22 |
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 20 def sku @sku end |
Class Method Details
.mapper ⇒ Object
Mapper for SkuInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 30 def self.mapper() { required: false, serialized_name: 'SkuInfo', type: { name: 'Composite', class_name: 'SkuInfo', model_properties: { resource_type: { required: false, serialized_name: 'resourceType', type: { name: 'String' } }, sku: { required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'SkuDescription' } }, capacity: { required: false, serialized_name: 'capacity', type: { name: 'Composite', class_name: 'SkuCapacity' } } } } } end |