Class: Azure::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuitRoutesTable

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

Returns locPrf.

Returns:

  • (String)

    locPrf



22
23
24
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 22

def loc_prf
  @loc_prf
end

#networkString

Returns network.

Returns:

  • (String)

    network



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

def network
  @network
end

#next_hopString

Returns nextHop.

Returns:

  • (String)

    nextHop



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

def next_hop
  @next_hop
end

#pathString

Returns path.

Returns:

  • (String)

    path



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

def path
  @path
end

#weightInteger

Returns weight.

Returns:

  • (Integer)

    weight.



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

def weight
  @weight
end

Class Method Details

.mapperObject

Mapper for ExpressRouteCircuitRoutesTable 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
72
73
74
75
76
77
78
79
80
81
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb', line 35

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