ArmNetworkModelFactory.BgpSettings Method

Definition

public static Azure.ResourceManager.Network.Models.BgpSettings BgpSettings(long? asn = default, string bgpPeeringAddress = default, int? peerWeight = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkIPConfigurationBgpPeeringAddress> bgpPeeringAddresses = default);
static member BgpSettings : Nullable<int64> * string * Nullable<int> * seq<Azure.ResourceManager.Network.Models.NetworkIPConfigurationBgpPeeringAddress> -> Azure.ResourceManager.Network.Models.BgpSettings
Public Shared Function BgpSettings (Optional asn As Nullable(Of Long) = Nothing, Optional bgpPeeringAddress As String = Nothing, Optional peerWeight As Nullable(Of Integer) = Nothing, Optional bgpPeeringAddresses As IEnumerable(Of NetworkIPConfigurationBgpPeeringAddress) = Nothing) As BgpSettings

Parameters

asn
Nullable<Int64>

The BGP speaker's ASN.

bgpPeeringAddress
String

The BGP peering address and BGP identifier of this BGP speaker.

peerWeight
Nullable<Int32>

The weight added to routes learned from this BGP speaker.

bgpPeeringAddresses
IEnumerable<NetworkIPConfigurationBgpPeeringAddress>

BGP peering address with IP configuration ID for virtual network gateway.

Returns

A new BgpSettings instance for mocking.

Applies to