Dela via


PeerAsn Class

Definition

The essential information related to the peer's ASN.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.PeerAsnTypeConverter))]
public class PeerAsn : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IPeerAsn, Microsoft.Azure.PowerShell.Cmdlets.Peering.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.PeerAsnTypeConverter))>]
type PeerAsn = class
    interface IPeerAsn
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class PeerAsn
Implements IPeerAsn, IValidates
Inheritance
PeerAsn
Attributes
Implements

Constructors

PeerAsn()

Creates an new PeerAsn instance.

Properties

ErrorMessage

The error message for the validation state

Id

The ID of the resource.

Name

The name of the resource.

PeerContactDetail

The contact details of the peer.

PeerName

The name of the peer.

PropertiesPeerAsn

The Autonomous System Number (ASN) of the peer.

ResourceGroupName

Gets the resource group name

Type

The type of the resource.

ValidationState

The validation state of the ASN associated with the peer.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PeerAsn.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PeerAsn.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PeerAsn into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to