你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BgpSession Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |