Class: Azure::Web::Mgmt::V2015_04_01::Models::SkuCapacity
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2015_04_01::Models::SkuCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb
Overview
Description of the App Service plan scale options.
Instance Attribute Summary collapse
-
#default ⇒ Integer
SKU.
-
#maximum ⇒ Integer
SKU.
-
#minimum ⇒ Integer
SKU.
-
#scale_type ⇒ String
plan.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SkuCapacity class as Ruby Hash.
Instance Attribute Details
#default ⇒ Integer
SKU.
25 26 27 |
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb', line 25 def default @default end |
#maximum ⇒ Integer
SKU.
21 22 23 |
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb', line 21 def maximum @maximum end |
#minimum ⇒ Integer
SKU.
17 18 19 |
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb', line 17 def minimum @minimum end |
#scale_type ⇒ String
plan.
29 30 31 |
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb', line 29 def scale_type @scale_type end |
Class Method Details
.mapper ⇒ Object
Mapper for SkuCapacity class as Ruby Hash. This will be used for serialization/deserialization.
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 75 76 77 78 79 80 |
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SkuCapacity', type: { name: 'Composite', class_name: 'SkuCapacity', model_properties: { minimum: { client_side_validation: true, required: false, serialized_name: 'minimum', type: { name: 'Number' } }, maximum: { client_side_validation: true, required: false, serialized_name: 'maximum', type: { name: 'Number' } }, default: { client_side_validation: true, required: false, serialized_name: 'default', type: { name: 'Number' } }, scale_type: { client_side_validation: true, required: false, serialized_name: 'scaleType', type: { name: 'String' } } } } } end |