Share via


ServiceLoadBalancerBgpPeer(String, String, Int64) Constructor

Definition

Initializes a new instance of ServiceLoadBalancerBgpPeer.

public ServiceLoadBalancerBgpPeer (string name, string peerAddress, long peerAsn);
new Azure.ResourceManager.NetworkCloud.Models.ServiceLoadBalancerBgpPeer : string * string * int64 -> Azure.ResourceManager.NetworkCloud.Models.ServiceLoadBalancerBgpPeer
Public Sub New (name As String, peerAddress As String, peerAsn As Long)

Parameters

name
String

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

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.

Exceptions

name or peerAddress is null.

Applies to