ArmNetworkCloudModelFactory.ServiceLoadBalancerBgpPeer Method

Definition

public static Azure.ResourceManager.NetworkCloud.Models.ServiceLoadBalancerBgpPeer ServiceLoadBalancerBgpPeer(Azure.ResourceManager.NetworkCloud.Models.BfdEnabled? bfdEnabled = default, Azure.ResourceManager.NetworkCloud.Models.BgpMultiHop? bgpMultiHop = default, string holdTime = default, string keepAliveTime = default, long? myAsn = default, string name = default, string password = default, string peerAddress = default, long peerAsn = 0, long? peerPort = default);
static member ServiceLoadBalancerBgpPeer : Nullable<Azure.ResourceManager.NetworkCloud.Models.BfdEnabled> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BgpMultiHop> * string * string * Nullable<int64> * string * string * string * int64 * Nullable<int64> -> Azure.ResourceManager.NetworkCloud.Models.ServiceLoadBalancerBgpPeer
Public Shared Function ServiceLoadBalancerBgpPeer (Optional bfdEnabled As Nullable(Of BfdEnabled) = Nothing, Optional bgpMultiHop As Nullable(Of BgpMultiHop) = Nothing, Optional holdTime As String = Nothing, Optional keepAliveTime As String = Nothing, Optional myAsn As Nullable(Of Long) = Nothing, Optional name As String = Nothing, Optional password As String = Nothing, Optional peerAddress As String = Nothing, Optional peerAsn As Long = 0, Optional peerPort As Nullable(Of Long) = Nothing) As ServiceLoadBalancerBgpPeer

Parameters

bfdEnabled
Nullable<BfdEnabled>

The indicator of BFD enablement for this BgpPeer.

bgpMultiHop
Nullable<BgpMultiHop>

The indicator to enable multi-hop peering support.

holdTime
String

Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The requested BGP hold time value. This field uses ISO 8601 duration format, for example P1H.

keepAliveTime
String

Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The requested BGP keepalive time value. This field uses ISO 8601 duration format, for example P1H.

myAsn
Nullable<Int64>

The autonomous system number used for the local end of the BGP session.

name
String

The name used to identify this BGP peer for association with a BGP advertisement.

password
String

The authentication password for routers enforcing TCP MD5 authenticated sessions.

peerAddress
String

The IPv4 or IPv6 address used to connect this BGP session.

peerAsn
Int64

The autonomous system number expected from the remote end of the BGP session.

peerPort
Nullable<Int64>

The port used to connect this BGP session.

Returns

A new ServiceLoadBalancerBgpPeer instance for mocking.

Applies to