Class: Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySku

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

Overview

VirtualNetworkGatewaySku details

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

Returns The capacity.

Returns:

  • (Integer)

    The capacity.


28
29
30
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb', line 28

def capacity
  @capacity
end

#nameVirtualNetworkGatewaySkuName

values include: 'Basic', 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw2', 'VpnGw3', 'VpnGw1AZ', 'VpnGw2AZ', 'VpnGw3AZ', 'ErGw1AZ', 'ErGw2AZ', 'ErGw3AZ'

Returns:


19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb', line 19

def name
  @name
end

#tierVirtualNetworkGatewaySkuTier

values include: 'Basic', 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw2', 'VpnGw3', 'VpnGw1AZ', 'VpnGw2AZ', 'VpnGw3AZ', 'ErGw1AZ', 'ErGw2AZ', 'ErGw3AZ'

Returns:


25
26
27
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb', line 25

def tier
  @tier
end

Class Method Details

.mapperObject

Mapper for VirtualNetworkGatewaySku 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
68
69
70
71
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualNetworkGatewaySku',
    type: {
      name: 'Composite',
      class_name: 'VirtualNetworkGatewaySku',
      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