Share via


PeeringDirectConnection Class

Definition

The properties that define a direct connection.

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

Constructors

PeeringDirectConnection()

Initializes a new instance of PeeringDirectConnection.

Properties

BandwidthInMbps

The bandwidth of the connection.

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.

MicrosoftTrackingId

The ID used within Microsoft's peering provisioning system to track the connection.

PeeringDBFacilityId

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

ProvisionedBandwidthInMbps

The bandwidth that is actually provisioned.

SessionAddressProvider

The field indicating if Microsoft provides session ip addresses.

UseForPeeringService

The flag that indicates whether or not the connection is used for peering service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PeeringDirectConnection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PeeringDirectConnection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PeeringDirectConnection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeeringDirectConnection>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PeeringDirectConnection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to