ArmNetworkCloudModelFactory.BgpAdvertisement Method

Definition

public static Azure.ResourceManager.NetworkCloud.Models.BgpAdvertisement BgpAdvertisement(Azure.ResourceManager.NetworkCloud.Models.AdvertiseToFabric? advertiseToFabric = default, System.Collections.Generic.IEnumerable<string> communities = default, System.Collections.Generic.IEnumerable<string> ipAddressPools = default, System.Collections.Generic.IEnumerable<string> peers = default);
static member BgpAdvertisement : Nullable<Azure.ResourceManager.NetworkCloud.Models.AdvertiseToFabric> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.NetworkCloud.Models.BgpAdvertisement
Public Shared Function BgpAdvertisement (Optional advertiseToFabric As Nullable(Of AdvertiseToFabric) = Nothing, Optional communities As IEnumerable(Of String) = Nothing, Optional ipAddressPools As IEnumerable(Of String) = Nothing, Optional peers As IEnumerable(Of String) = Nothing) As BgpAdvertisement

Parameters

advertiseToFabric
Nullable<AdvertiseToFabric>

The indicator of if this advertisement is also made to the network fabric associated with the Network Cloud Cluster. This field is ignored if fabricPeeringEnabled is set to False.

communities
IEnumerable<String>

The names of the BGP communities to be associated with the announcement, utilizing a BGP community string in 1234:1234 format.

ipAddressPools
IEnumerable<String>

The names of the IP address pools associated with this announcement.

peers
IEnumerable<String>

The names of the BGP peers to limit this advertisement to. If no values are specified, all BGP peers will receive this advertisement.

Returns

A new BgpAdvertisement instance for mocking.

Applies to