ArmPeeringModelFactory.PeeringBgpSession Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de 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
Paramètres
- sessionPrefixV4
- String
Préfixe IPv4 qui contient les adresses IPv4 des deux extrémités.
- sessionPrefixV6
- String
Préfixe IPv6 qui contient les adresses IPv6 des deux extrémités.
- microsoftSessionIPv4Address
- IPAddress
Adresse de session IPv4 à la fin de Microsoft.
- microsoftSessionIPv6Address
- IPAddress
Adresse de session IPv6 à la fin de Microsoft.
- peerSessionIPv4Address
- IPAddress
Adresse de session IPv4 à l’extrémité de l’homologue.
- peerSessionIPv6Address
- IPAddress
Adresse de session IPv6 à l’extrémité de l’homologue.
- sessionStateV4
- Nullable<PeeringSessionStateV4>
État de la session IPv4.
- sessionStateV6
- Nullable<PeeringSessionStateV6>
État de la session IPv6.
- md5AuthenticationKey
- String
Clé d’authentification MD5 de la session.
Retours
Une nouvelle PeeringBgpSession instance de moqueries.