Delen via


Peering Class

Definition

Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.

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

Constructors

Peering()

Creates an new Peering instance.

Properties

DirectConnection

The set of connections that constitute a direct peering.

DirectPeerAsnId

The identifier of the referenced resource.

DirectPeeringType

The type of direct peering.

DirectUseForPeeringService

The flag that indicates whether or not the peering is used for peering service.

ExchangeConnection

The set of connections that constitute an exchange peering.

ExchangePeerAsnId

The identifier of the referenced resource.

Id

The ID of the resource.

Kind

The kind of the peering.

Location

The location of the resource.

Name

The name of the resource.

PeeringLocation

The location of the peering.

ProvisioningState

The provisioning state of the resource.

ResourceGroupName

Gets the resource group name

SkuFamily

The family of the peering SKU.

SkuName

The name of the peering SKU.

SkuSize

The size of the peering SKU.

SkuTier

The tier of the peering SKU.

Tag

The resource tags.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Peering.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Peering.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Peering into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to