语言

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

Alias Class

Definition

The alias type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AliasTypeConverter))]
public class Alias : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAlias
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.AliasTypeConverter))>]
type Alias = class
    interface IAlias
    interface IJsonSerializable
Public Class Alias
Implements IAlias
Inheritance
Alias
Attributes
Implements

Constructors

Name Description
Alias()

Creates an new Alias instance.

Properties

Name Description
DefaultMetadataAttribute

The attributes of the token that the alias path is referring to.

DefaultMetadataType

The type of the token that the alias path is referring to.

DefaultPath

The default path for an alias.

DefaultPatternPhrase

The alias pattern phrase.

DefaultPatternType

The pattern for an alias path.

DefaultPatternVariable

The alias pattern variable.

Name

The alias name.

Path

The paths for an alias.

Type

The type of the alias.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Alias.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Alias.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IAlias.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Alias into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to