Share via


ExchangeConnection Class

Definition

The properties that define an exchange connection.

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

Constructors

ExchangeConnection()

Creates an new ExchangeConnection instance.

Properties

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.

PeeringDbFacilityId

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExchangeConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExchangeConnection.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExchangeConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to