Class: Azure::Network::Mgmt::V2019_02_01::Models::ApplicationGatewayAutoscaleConfiguration
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_02_01::Models::ApplicationGatewayAutoscaleConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb
Overview
Application Gateway autoscale configuration.
Instance Attribute Summary collapse
-
#max_capacity ⇒ Integer
Upper bound on number of Application Gateway capacity.
-
#min_capacity ⇒ Integer
Lower bound on number of Application Gateway capacity.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayAutoscaleConfiguration class as Ruby Hash.
Instance Attribute Details
#max_capacity ⇒ Integer
Returns Upper bound on number of Application Gateway capacity.
19 20 21 |
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 19 def max_capacity @max_capacity end |
#min_capacity ⇒ Integer
Returns Lower bound on number of Application Gateway capacity.
16 17 18 |
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 16 def min_capacity @min_capacity end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationGatewayAutoscaleConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 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 |
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAutoscaleConfiguration', type: { name: 'Composite', class_name: 'ApplicationGatewayAutoscaleConfiguration', model_properties: { min_capacity: { client_side_validation: true, required: true, serialized_name: 'minCapacity', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, max_capacity: { client_side_validation: true, required: false, serialized_name: 'maxCapacity', constraints: { InclusiveMinimum: 2 }, type: { name: 'Number' } } } } } end |