Class: Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb
Overview
Description of a SKU for a scalable resource.
Instance Attribute Summary collapse
-
#capabilities ⇒ Array<Capability>
manager enabled?.
-
#capacity ⇒ Integer
Current number of instances assigned to the resource.
-
#family ⇒ String
Family code of the resource SKU.
-
#locations ⇒ Array<String>
Locations of the SKU.
-
#name ⇒ String
Name of the resource SKU.
-
#size ⇒ String
Size specifier of the resource SKU.
-
#sku_capacity ⇒ SkuCapacity
Min, max, and default scale values of the SKU.
-
#tier ⇒ String
Service tier of the resource SKU.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SkuDescription class as Ruby Hash.
Instance Attribute Details
#capabilities ⇒ Array<Capability>
manager enabled?
38 39 40 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 38 def capabilities @capabilities end |
#capacity ⇒ Integer
Returns Current number of instances assigned to the resource.
28 29 30 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 28 def capacity @capacity end |
#family ⇒ String
Returns Family code of the resource SKU.
25 26 27 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 25 def family @family end |
#locations ⇒ Array<String>
Returns Locations of the SKU.
34 35 36 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 34 def locations @locations end |
#name ⇒ String
Returns Name of the resource SKU.
16 17 18 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 16 def name @name end |
#size ⇒ String
Returns Size specifier of the resource SKU.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 22 def size @size end |
#sku_capacity ⇒ SkuCapacity
Returns Min, max, and default scale values of the SKU.
31 32 33 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 31 def sku_capacity @sku_capacity end |
#tier ⇒ String
Returns Service tier of the resource SKU.
19 20 21 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 19 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for SkuDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SkuDescription', type: { name: 'Composite', class_name: 'SkuDescription', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'String' } }, size: { client_side_validation: true, required: false, serialized_name: 'size', type: { name: 'String' } }, family: { client_side_validation: true, required: false, serialized_name: 'family', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Number' } }, sku_capacity: { client_side_validation: true, required: false, serialized_name: 'skuCapacity', type: { name: 'Composite', class_name: 'SkuCapacity' } }, locations: { client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', 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: 'CapabilityElementType', type: { name: 'Composite', class_name: 'Capability' } } } } } } } end |