class Azure::Network::Mgmt::V2019_08_01::Models::ExpressRouteCircuitPeering

Peering in an ExpressRouteCircuit resource.

Attributes

azure_asn[RW]

@return [Integer] The Azure ASN.

connections[RW]

@return [Array<ExpressRouteCircuitConnection>] The list of circuit connections associated with Azure Private Peering for this circuit.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

express_route_connection[RW]

@return [ExpressRouteConnectionId] The ExpressRoute connection.

gateway_manager_etag[RW]

@return [String] The GatewayManager Etag.

ipv6peering_config[RW]

@return [Ipv6ExpressRouteCircuitPeeringConfig] The IPv6 peering configuration.

last_modified_by[RW]

@return [String] Who was the last to modify the peering.

microsoft_peering_config[RW]

@return [ExpressRouteCircuitPeeringConfig] The Microsoft peering configuration.

name[RW]

@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.

peer_asn[RW]

@return [Integer] The peer ASN.

peered_connections[RW]

@return [Array<PeerExpressRouteCircuitConnection>] The list of peered circuit connections associated with Azure Private Peering for this circuit.

peering_type[RW]

@return [ExpressRoutePeeringType] The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'

primary_azure_port[RW]

@return [String] The primary port.

primary_peer_address_prefix[RW]

@return [String] The primary address prefix.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the express route circuit peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

route_filter[RW]

@return [SubResource] The reference of the RouteFilter resource.

secondary_azure_port[RW]

@return [String] The secondary port.

secondary_peer_address_prefix[RW]

@return [String] The secondary address prefix.

shared_key[RW]

@return [String] The shared key.

state[RW]

@return [ExpressRoutePeeringState] The peering state. Possible values include: 'Disabled', 'Enabled'

stats[RW]

@return [ExpressRouteCircuitStats] The peering stats of express route circuit.

type[RW]

@return [String] Type of the resource.

vlan_id[RW]

@return [Integer] The VLAN ID.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb, line 102
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitPeering',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitPeering',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        peering_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringType',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        azure_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureASN',
          type: {
            name: 'Number'
          }
        },
        peer_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerASN',
          constraints: {
            InclusiveMaximum: 4294967295,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        primary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        secondary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        primary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryAzurePort',
          type: {
            name: 'String'
          }
        },
        secondary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryAzurePort',
          type: {
            name: 'String'
          }
        },
        shared_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedKey',
          type: {
            name: 'String'
          }
        },
        vlan_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vlanId',
          type: {
            name: 'Number'
          }
        },
        microsoft_peering_config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.microsoftPeeringConfig',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitPeeringConfig'
          }
        },
        stats: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.stats',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitStats'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        gateway_manager_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gatewayManagerEtag',
          type: {
            name: 'String'
          }
        },
        last_modified_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastModifiedBy',
          type: {
            name: 'String'
          }
        },
        route_filter: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routeFilter',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        ipv6peering_config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ipv6PeeringConfig',
          type: {
            name: 'Composite',
            class_name: 'Ipv6ExpressRouteCircuitPeeringConfig'
          }
        },
        express_route_connection: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRouteConnection',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteConnectionId'
          }
        },
        connections: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.connections',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCircuitConnectionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCircuitConnection'
                }
            }
          }
        },
        peered_connections: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.peeredConnections',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PeerExpressRouteCircuitConnectionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PeerExpressRouteCircuitConnection'
                }
            }
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end