Class: Azure::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitRoutesTable

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

Overview

The routes table associated with the ExpressRouteCircuit

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#address_prefixString

Returns Gets AddressPrefix.

Returns:

  • (String)

    Gets AddressPrefix.



16
17
18
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 16

def address_prefix
  @address_prefix
end

#as_pathString

Returns Gets AsPath.

Returns:

  • (String)

    Gets AsPath.



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

def as_path
  @as_path
end

#next_hop_ipString

Returns Gets NextHopIP.

Returns:

  • (String)

    Gets NextHopIP.



24
25
26
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 24

def next_hop_ip
  @next_hop_ip
end

#next_hop_typeRouteNextHopType

‘VirtualNetworkGateway’, ‘VnetLocal’, ‘Internet’, ‘VirtualAppliance’, ‘None’

Returns:



21
22
23
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 21

def next_hop_type
  @next_hop_type
end

Class Method Details

.mapperObject

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



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
70
71
72
73
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 34

def self.mapper()
  {
    required: false,
    serialized_name: 'ExpressRouteCircuitRoutesTable',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitRoutesTable',
      model_properties: {
        address_prefix: {
          required: false,
          serialized_name: 'addressPrefix',
          type: {
            name: 'String'
          }
        },
        next_hop_type: {
          required: true,
          serialized_name: 'nextHopType',
          type: {
            name: 'String'
          }
        },
        next_hop_ip: {
          required: false,
          serialized_name: 'nextHopIP',
          type: {
            name: 'String'
          }
        },
        as_path: {
          required: false,
          serialized_name: 'asPath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end