Class: Azure::Network::Mgmt::V2018_07_01::Models::ApplicationGatewayAutoscaleBounds

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb

Overview

Application Gateway autoscale bounds on number of Application Gateway instance.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#maxInteger

instances.

Returns:

  • (Integer)

    Upper bound on number of Application Gateway


22
23
24
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb', line 22

def max
  @max
end

#minInteger

instances.

Returns:

  • (Integer)

    Lower bound on number of Application Gateway


18
19
20
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb', line 18

def min
  @min
end

Class Method Details

.mapperObject

Mapper for ApplicationGatewayAutoscaleBounds class as Ruby Hash. This will be used for serialization/deserialization.


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
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayAutoscaleBounds',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayAutoscaleBounds',
      model_properties: {
        min: {
          client_side_validation: true,
          required: true,
          serialized_name: 'min',
          type: {
            name: 'Number'
          }
        },
        max: {
          client_side_validation: true,
          required: true,
          serialized_name: 'max',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end