Partilhar via


ArmPeeringModelFactory.PeeringExchangeConnection Método

Definição

Inicializa uma nova instância de PeeringExchangeConnection.

public static Azure.ResourceManager.Peering.Models.PeeringExchangeConnection PeeringExchangeConnection (int? peeringDBFacilityId = default, Azure.ResourceManager.Peering.Models.PeeringConnectionState? connectionState = default, Azure.ResourceManager.Peering.Models.PeeringBgpSession bgpSession = default, Guid? connectionIdentifier = default, string errorMessage = default);
static member PeeringExchangeConnection : Nullable<int> * Nullable<Azure.ResourceManager.Peering.Models.PeeringConnectionState> * Azure.ResourceManager.Peering.Models.PeeringBgpSession * Nullable<Guid> * string -> Azure.ResourceManager.Peering.Models.PeeringExchangeConnection
Public Shared Function PeeringExchangeConnection (Optional peeringDBFacilityId As Nullable(Of Integer) = Nothing, Optional connectionState As Nullable(Of PeeringConnectionState) = Nothing, Optional bgpSession As PeeringBgpSession = Nothing, Optional connectionIdentifier As Nullable(Of Guid) = Nothing, Optional errorMessage As String = Nothing) As PeeringExchangeConnection

Parâmetros

peeringDBFacilityId
Nullable<Int32>

O PeeringDB.com ID da instalação na qual a conexão deve ser configurada.

connectionState
Nullable<PeeringConnectionState>

O estado da conexão.

bgpSession
PeeringBgpSession

A sessão BGP associada à conexão.

connectionIdentifier
Nullable<Guid>

O GUID (identificador exclusivo) para a conexão.

errorMessage
String

A mensagem de erro relacionada ao estado da conexão, se houver.

Retornos

Uma nova PeeringExchangeConnection instância para zombar.

Aplica-se a