Class: Azure::Network::Mgmt::V2015_05_01_preview::Models::ApplicationGatewaySku

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

Overview

SKU of application gateway

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

gateway

Returns:

  • (Integer)

    Gets or sets capacity (instance count) of application


26
27
28
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 26

def capacity
  @capacity
end

#nameApplicationGatewaySkuName

gateway SKU. Possible values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large'

Returns:


18
19
20
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 18

def name
  @name
end

#tierApplicationGatewayTier

gateway. Possible values include: 'Standard'

Returns:


22
23
24
# File 'lib/2015-05-01-preview/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.


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
69
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb', line 33

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