你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PeeringServiceLocation Class

Definition

The peering service location.

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

Constructors

PeeringServiceLocation()

Creates an new PeeringServiceLocation instance.

Properties

AzureRegion

Azure region for the location

Country

Country of the customer

Id

The ID of the resource.

Name

The name of the resource.

State

State of the customer

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PeeringServiceLocation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PeeringServiceLocation.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PeeringServiceLocation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to