Class: Azure::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitPeeringConfig

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

Returns The reference of AdvertisedPublicPrefixes.

Returns:

  • (Array<String>)

    The reference of AdvertisedPublicPrefixes.


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


23
24
25
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 23

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.


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

def customer_asn
  @customer_asn
end

#routing_registry_nameString

Returns The RoutingRegistryName of the configuration.

Returns:

  • (String)

    The RoutingRegistryName of the configuration.


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

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.


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/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb', line 36

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_public_prefixes_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'advertisedPublicPrefixesState',
          type: {
            name: 'String'
          }
        },
        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