Partilhar via


BgpAdvertisement Class

Definition

BgpAdvertisement represents the association of IP address pools to the communities and peers.

public class BgpAdvertisement
public class BgpAdvertisement : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.BgpAdvertisement>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.BgpAdvertisement>
type BgpAdvertisement = class
type BgpAdvertisement = class
    interface IJsonModel<BgpAdvertisement>
    interface IPersistableModel<BgpAdvertisement>
Public Class BgpAdvertisement
Public Class BgpAdvertisement
Implements IJsonModel(Of BgpAdvertisement), IPersistableModel(Of BgpAdvertisement)
Inheritance
BgpAdvertisement
Implements

Constructors

BgpAdvertisement(IEnumerable<String>)

Initializes a new instance of BgpAdvertisement.

Properties

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

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

IPAddressPools

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

Peers

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BgpAdvertisement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BgpAdvertisement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BgpAdvertisement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BgpAdvertisement>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BgpAdvertisement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to