Dela via


DirectConnection Class

Definition

The properties that define a direct connection.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.DirectConnectionTypeConverter))]
public class DirectConnection : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IDirectConnection
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.DirectConnectionTypeConverter))>]
type DirectConnection = class
    interface IDirectConnection
    interface IJsonSerializable
Public Class DirectConnection
Implements IDirectConnection
Inheritance
DirectConnection
Attributes
Implements

Constructors

DirectConnection()

Creates an new DirectConnection instance.

Properties

BandwidthInMbps

The bandwidth of the connection.

BgpSessionMaxPrefixesAdvertisedV4

The maximum number of prefixes advertised over the IPv4 session.

BgpSessionMaxPrefixesAdvertisedV6

The maximum number of prefixes advertised over the IPv6 session.

BgpSessionMd5AuthenticationKey

The MD5 authentication key of the session.

BgpSessionMicrosoftSessionIPv4Address

The IPv4 session address on Microsoft's end.

BgpSessionMicrosoftSessionIPv6Address

The IPv6 session address on Microsoft's end.

BgpSessionPeerSessionIPv4Address

The IPv4 session address on peer's end.

BgpSessionPeerSessionIPv6Address

The IPv6 session address on peer's end.

BgpSessionPrefixV4

The IPv4 prefix that contains both ends' IPv4 addresses.

BgpSessionPrefixV6

The IPv6 prefix that contains both ends' IPv6 addresses.

BgpSessionStateV4

The state of the IPv4 session.

BgpSessionStateV6

The state of the IPv6 session.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DirectConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DirectConnection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IDirectConnection.

FromJsonString(String)

Creates a new instance of DirectConnection, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DirectConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to