Freigeben über


ArmPeeringModelFactory.PeeringBgpSession Methode

Definition

Initialisiert eine neue instance von PeeringBgpSession.

public static Azure.ResourceManager.Peering.Models.PeeringBgpSession PeeringBgpSession (string sessionPrefixV4 = default, string sessionPrefixV6 = default, System.Net.IPAddress microsoftSessionIPv4Address = default, System.Net.IPAddress microsoftSessionIPv6Address = default, System.Net.IPAddress peerSessionIPv4Address = default, System.Net.IPAddress peerSessionIPv6Address = default, Azure.ResourceManager.Peering.Models.PeeringSessionStateV4? sessionStateV4 = default, Azure.ResourceManager.Peering.Models.PeeringSessionStateV6? sessionStateV6 = default, int? maxPrefixesAdvertisedV4 = default, int? maxPrefixesAdvertisedV6 = default, string md5AuthenticationKey = default);
static member PeeringBgpSession : string * string * System.Net.IPAddress * System.Net.IPAddress * System.Net.IPAddress * System.Net.IPAddress * Nullable<Azure.ResourceManager.Peering.Models.PeeringSessionStateV4> * Nullable<Azure.ResourceManager.Peering.Models.PeeringSessionStateV6> * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.Peering.Models.PeeringBgpSession
Public Shared Function PeeringBgpSession (Optional sessionPrefixV4 As String = Nothing, Optional sessionPrefixV6 As String = Nothing, Optional microsoftSessionIPv4Address As IPAddress = Nothing, Optional microsoftSessionIPv6Address As IPAddress = Nothing, Optional peerSessionIPv4Address As IPAddress = Nothing, Optional peerSessionIPv6Address As IPAddress = Nothing, Optional sessionStateV4 As Nullable(Of PeeringSessionStateV4) = Nothing, Optional sessionStateV6 As Nullable(Of PeeringSessionStateV6) = Nothing, Optional maxPrefixesAdvertisedV4 As Nullable(Of Integer) = Nothing, Optional maxPrefixesAdvertisedV6 As Nullable(Of Integer) = Nothing, Optional md5AuthenticationKey As String = Nothing) As PeeringBgpSession

Parameter

sessionPrefixV4
String

Das IPv4-Präfix, das die IPv4-Adressen beider Enden enthält.

sessionPrefixV6
String

Das IPv6-Präfix, das die IPv6-Adressen beider Enden enthält.

microsoftSessionIPv4Address
IPAddress

Die IPv4-Sitzungsadresse am Ende von Microsoft.

microsoftSessionIPv6Address
IPAddress

Die IPv6-Sitzungsadresse am Ende von Microsoft.

peerSessionIPv4Address
IPAddress

Die IPv4-Sitzungsadresse am Ende des Peers.

peerSessionIPv6Address
IPAddress

Die IPv6-Sitzungsadresse am Ende des Peers.

sessionStateV4
Nullable<PeeringSessionStateV4>

Der Status der IPv4-Sitzung.

sessionStateV6
Nullable<PeeringSessionStateV6>

Der Status der IPv6-Sitzung.

maxPrefixesAdvertisedV4
Nullable<Int32>

Die maximale Anzahl von Präfixen, die über die IPv4-Sitzung angekündigt werden.

maxPrefixesAdvertisedV6
Nullable<Int32>

Die maximale Anzahl von Präfixen, die über die IPv6-Sitzung angekündigt werden.

md5AuthenticationKey
String

Der MD5-Authentifizierungsschlüssel der Sitzung.

Gibt zurück

Eine neue PeeringBgpSession instance zum Simulieren.

Gilt für: