Class: Azure::Network::Mgmt::V2020_06_01::Models::ApplicationGatewayAutoscaleConfiguration
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_06_01::Models::ApplicationGatewayAutoscaleConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb
Overview
Application Gateway autoscale configuration.
Instance Attribute Summary collapse
-
#max_capacity ⇒ Integer
capacity.
-
#min_capacity ⇒ Integer
capacity.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayAutoscaleConfiguration class as Ruby Hash.
Instance Attribute Details
#max_capacity ⇒ Integer
capacity.
21 22 23 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 21 def max_capacity @max_capacity end |
#min_capacity ⇒ Integer
capacity.
17 18 19 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 17 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.
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 61 62 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb', line 28 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 |