Class: Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTable

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/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

#loc_prfString

local-preference route-map configuration command

Returns:

  • (String)

    Local preference value as set with the set


23
24
25
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 23

def loc_prf
  @loc_prf
end

#networkString

Returns IP address of a network entity.

Returns:

  • (String)

    IP address of a network entity


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 16

def network
  @network
end

#next_hopString

Returns NextHop address.

Returns:

  • (String)

    NextHop address


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

def next_hop
  @next_hop
end

#pathString

Returns Autonomous system paths to the destination network.

Returns:

  • (String)

    Autonomous system paths to the destination network.


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

def path
  @path
end

#weightInteger

Returns Route Weight.

Returns:

  • (Integer)

    Route Weight.


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

def weight
  @weight
end

Class Method Details

.mapperObject

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


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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitRoutesTable',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitRoutesTable',
      model_properties: {
        network: {
          client_side_validation: true,
          required: false,
          serialized_name: 'network',
          type: {
            name: 'String'
          }
        },
        next_hop: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nextHop',
          type: {
            name: 'String'
          }
        },
        loc_prf: {
          client_side_validation: true,
          required: false,
          serialized_name: 'locPrf',
          type: {
            name: 'String'
          }
        },
        weight: {
          client_side_validation: true,
          required: false,
          serialized_name: 'weight',
          type: {
            name: 'Number'
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end