Class: Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringConfig

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

Overview

Specifies the peering configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#advertised_communitiesArray<String>

microsoft peering

Returns:

  • (Array<String>)

    The communities of bgp peering. Specified for


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

def advertised_communities
  @advertised_communities
end

#advertised_public_prefixesArray<String>

Returns The reference of AdvertisedPublicPrefixes.

Returns:

  • (Array<String>)

    The reference of AdvertisedPublicPrefixes.


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

def advertised_public_prefixes
  @advertised_public_prefixes
end

#advertised_public_prefixes_stateExpressRouteCircuitPeeringAdvertisedPublicPrefixState

AdvertisedPublicPrefixState of the Peering resource. Possible values are 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'


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

def advertised_public_prefixes_state
  @advertised_public_prefixes_state
end

#customer_asnInteger

Returns The CustomerASN of the peering.

Returns:

  • (Integer)

    The CustomerASN of the peering.


33
34
35
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 33

def customer_asn
  @customer_asn
end

#legacy_modeInteger

Returns The legacy mode of the peering.

Returns:

  • (Integer)

    The legacy mode of the peering.


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

def legacy_mode
  @legacy_mode
end

#routing_registry_nameString

Returns The RoutingRegistryName of the configuration.

Returns:

  • (String)

    The RoutingRegistryName of the configuration.


36
37
38
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 36

def routing_registry_name
  @routing_registry_name
end

Class Method Details

.mapperObject

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


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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitPeeringConfig',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitPeeringConfig',
      model_properties: {
        advertised_public_prefixes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'advertisedPublicPrefixes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        advertised_communities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'advertisedCommunities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        advertised_public_prefixes_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'advertisedPublicPrefixesState',
          type: {
            name: 'String'
          }
        },
        legacy_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'legacyMode',
          type: {
            name: 'Number'
          }
        },
        customer_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customerASN',
          type: {
            name: 'Number'
          }
        },
        routing_registry_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'routingRegistryName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end