Class: Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionRoutesTableSummary

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

Overview

The routes table associated with the ExpressRouteCircuit.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#asnInteger

Returns Autonomous system number.

Returns:

  • (Integer)

    Autonomous system number.


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

def asn
  @asn
end

#neighborString

Returns IP address of Neighbor router.

Returns:

  • (String)

    IP address of Neighbor router


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

def neighbor
  @neighbor
end

#state_or_prefixes_receivedString

prefixes that have been received from a neighbor or peer group.

Returns:

  • (String)

    Current state of the BGP session, and the number of


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

def state_or_prefixes_received
  @state_or_prefixes_received
end

#up_downString

the Established state, or the current status if not in the Established state.

Returns:

  • (String)

    The length of time that the BGP session has been in


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

def up_down
  @up_down
end

Class Method Details

.mapperObject

Mapper for ExpressRouteCrossConnectionRoutesTableSummary 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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCrossConnectionRoutesTableSummary',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCrossConnectionRoutesTableSummary',
      model_properties: {
        neighbor: {
          client_side_validation: true,
          required: false,
          serialized_name: 'neighbor',
          type: {
            name: 'String'
          }
        },
        asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'asn',
          type: {
            name: 'Number'
          }
        },
        up_down: {
          client_side_validation: true,
          required: false,
          serialized_name: 'upDown',
          type: {
            name: 'String'
          }
        },
        state_or_prefixes_received: {
          client_side_validation: true,
          required: false,
          serialized_name: 'stateOrPrefixesReceived',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end