ArmNetworkCloudModelFactory.ServiceLoadBalancerBgpPeer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.
Returns
A new ServiceLoadBalancerBgpPeer instance for mocking.