Dela via


PeerAsnProperties Class

Definition

The properties that define a peer's ASN.

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

Constructors

PeerAsnProperties()

Creates an new PeerAsnProperties instance.

Properties

ErrorMessage

The error message for the validation state

PeerAsn

The Autonomous System Number (ASN) of the peer.

PeerContactDetail

The contact details of the peer.

PeerName

The name of the peer.

ValidationState

The validation state of the ASN associated with the peer.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PeerAsnProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PeerAsnProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PeerAsnProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to