Alias Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.Alias

Implements

public final class Alias
implements JsonSerializable<Alias>

The alias type.

Method Summary

Modifier and Type Method and Description
AliasPathMetadata defaultMetadata()

Get the defaultMetadata property: The default alias path metadata.

String defaultPath()

Get the defaultPath property: The default path for an alias.

AliasPattern defaultPattern()

Get the defaultPattern property: The default pattern for an alias.

static Alias fromJson(JsonReader jsonReader)

Reads an instance of Alias from the JsonReader.

String name()

Get the name property: The alias name.

List<AliasPath> paths()

Get the paths property: The paths for an alias.

JsonWriter toJson(JsonWriter jsonWriter)
AliasType type()

Get the type property: The type of the alias.

Methods inherited from java.lang.Object

Method Details

defaultMetadata

public AliasPathMetadata defaultMetadata()

Get the defaultMetadata property: The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata.

Returns:

the defaultMetadata value.

defaultPath

public String defaultPath()

Get the defaultPath property: The default path for an alias.

Returns:

the defaultPath value.

defaultPattern

public AliasPattern defaultPattern()

Get the defaultPattern property: The default pattern for an alias.

Returns:

the defaultPattern value.

fromJson

public static Alias fromJson(JsonReader jsonReader)

Reads an instance of Alias from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Alias if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Alias.

name

public String name()

Get the name property: The alias name.

Returns:

the name value.

paths

public List<AliasPath> paths()

Get the paths property: The paths for an alias.

Returns:

the paths value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AliasType type()

Get the type property: The type of the alias.

Returns:

the type value.

Applies to