Class: Azure::Network::Mgmt::V2020_04_01::Models::ApplicationGatewaySku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb

Overview

SKU of an application gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

Returns Capacity (instance count) of an application gateway.

Returns:

  • (Integer)

    Capacity (instance count) of an application gateway.


25
26
27
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 25

def capacity
  @capacity
end

#nameApplicationGatewaySkuName

Possible values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'

Returns:


18
19
20
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 18

def name
  @name
end

#tierApplicationGatewayTier

Possible values include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'

Returns:


22
23
24
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 22

def tier
  @tier
end

Class Method Details

.mapperObject

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


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
63
64
65
66
67
68
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewaySku',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewaySku',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        tier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tier',
          type: {
            name: 'String'
          }
        },
        capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end