Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb

Overview

Minimum and maximum number of scale units to deploy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#maxInteger

ExpressRoute gateway.

Returns:

  • (Integer)

    Maximum number of scale units deployed for


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb', line 21

def max
  @max
end

#minInteger

ExpressRoute gateway.

Returns:

  • (Integer)

    Minimum number of scale units deployed for


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb', line 17

def min
  @min
end

Class Method Details

.mapperObject

Mapper for ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds 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/2019-11-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb', line 29

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