Dela via


BgpSession Class

Definition

The properties that define a BGP session.

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

Constructors

BgpSession()

Creates an new BgpSession instance.

Properties

MaxPrefixesAdvertisedV4

The maximum number of prefixes advertised over the IPv4 session.

MaxPrefixesAdvertisedV6

The maximum number of prefixes advertised over the IPv6 session.

Md5AuthenticationKey

The MD5 authentication key of the session.

MicrosoftSessionIPv4Address

The IPv4 session address on Microsoft's end.

MicrosoftSessionIPv6Address

The IPv6 session address on Microsoft's end.

PeerSessionIPv4Address

The IPv4 session address on peer's end.

PeerSessionIPv6Address

The IPv6 session address on peer's end.

SessionPrefixV4

The IPv4 prefix that contains both ends' IPv4 addresses.

SessionPrefixV6

The IPv6 prefix that contains both ends' IPv6 addresses.

SessionStateV4

The state of the IPv4 session.

SessionStateV6

The state of the IPv6 session.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BgpSession.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BgpSession.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BgpSession into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to