Class: Azure::Network::Mgmt::V2016_09_01::Models::ApplicationGatewaySku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-09-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.



28
29
30
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 28

def capacity
  @capacity
end

#nameApplicationGatewaySkuName

Possible values are: ‘Standard_Small’, ‘Standard_Medium’, ‘Standard_Large’, ‘WAF_Medium’, and ‘WAF_Large’. Possible values include: ‘Standard_Small’, ‘Standard_Medium’, ‘Standard_Large’, ‘WAF_Medium’, ‘WAF_Large’

Returns:



20
21
22
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 20

def name
  @name
end

#tierApplicationGatewayTier

Possible values are: ‘Standard’ and ‘WAF’. Possible values include: ‘Standard’, ‘WAF’

Returns:



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

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 35

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