Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteCircuitPeeringConfig

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-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/2019-11-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 to AdvertisedPublicPrefixes.

Returns:

  • (Array<String>)

    The reference to AdvertisedPublicPrefixes.


16
17
18
# File 'lib/2019-11-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

advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'


26
27
28
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 26

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.


32
33
34
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 32

def customer_asn
  @customer_asn
end

#legacy_modeInteger

Returns The legacy mode of the peering.

Returns:

  • (Integer)

    The legacy mode of the peering.


29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 29

def legacy_mode
  @legacy_mode
end

#routing_registry_nameString

Returns The RoutingRegistryName of the configuration.

Returns:

  • (String)

    The RoutingRegistryName of the configuration.


35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 35

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.


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
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/2019-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 42

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,
          read_only: true,
          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