Compartilhar via


ArmNetworkModelFactory.BgpConnectionData Método

Definição

Inicializa uma nova instância de BgpConnectionData.

public static Azure.ResourceManager.Network.BgpConnectionData BgpConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, long? peerAsn = default, string peerIP = default, Azure.Core.ResourceIdentifier hubVirtualNetworkConnectionId = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.HubBgpConnectionStatus? connectionState = default);
static member BgpConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int64> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.HubBgpConnectionStatus> -> Azure.ResourceManager.Network.BgpConnectionData
Public Shared Function BgpConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional peerAsn As Nullable(Of Long) = Nothing, Optional peerIP As String = Nothing, Optional hubVirtualNetworkConnectionId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional connectionState As Nullable(Of HubBgpConnectionStatus) = Nothing) As BgpConnectionData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.

peerAsn
Nullable<Int64>

Par ASN.

peerIP
String

IP par.

hubVirtualNetworkConnectionId
ResourceIdentifier

A referência ao recurso HubVirtualNetworkConnection.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso.

connectionState
Nullable<HubBgpConnectionStatus>

O estado atual do VirtualHub to Peer.

Retornos

Uma nova BgpConnectionData instância para zombar.

Aplica-se a