Share via


PeeringExchangeConnection Class

Definition

The properties that define an exchange connection.

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

Constructors

PeeringExchangeConnection()

Initializes a new instance of PeeringExchangeConnection.

Properties

BgpSession

The BGP session associated with the connection.

ConnectionIdentifier

The unique identifier (GUID) for the connection.

ConnectionState

The state of the connection.

ErrorMessage

The error message related to the connection state, if any.

PeeringDBFacilityId

The PeeringDB.com ID of the facility at which the connection has to be set up.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PeeringExchangeConnection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PeeringExchangeConnection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PeeringExchangeConnection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeeringExchangeConnection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PeeringExchangeConnection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to