class Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitPeeringConfig

Specifies the peering config

Attributes

advertised_public_prefixes[RW]

@return [Array<String>] Gets or sets the reference of AdvertisedPublicPrefixes

advertised_public_prefixes_state[RW]

@return [ExpressRouteCircuitPeeringAdvertisedPublicPrefixState] Gets or sets AdvertisedPublicPrefixState of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'

customer_asn[RW]

@return [Integer] Gets or Sets CustomerAsn of the peering.

routing_registry_name[RW]

@return [String] Gets or Sets RoutingRegistryName of the config.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb, line 35
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