### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.Alias"
fullName: "com.azure.resourcemanager.resources.models.Alias"
name: "Alias"
nameWithType: "Alias"
summary: "The alias type."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Alias** implements <>"
constructors:
- uid: "com.azure.resourcemanager.resources.models.Alias.Alias()"
fullName: "com.azure.resourcemanager.resources.models.Alias.Alias()"
name: "Alias()"
nameWithType: "Alias.Alias()"
summary: "Creates an instance of Alias class."
syntax: "public Alias()"
desc: "Creates an instance of Alias class."
methods:
- uid: "com.azure.resourcemanager.resources.models.Alias.defaultMetadata()"
fullName: "com.azure.resourcemanager.resources.models.Alias.defaultMetadata()"
name: "defaultMetadata()"
nameWithType: "Alias.defaultMetadata()"
summary: "Get the defaultMetadata property: The default alias path metadata."
syntax: "public AliasPathMetadata defaultMetadata()"
desc: "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:
description: "the defaultMetadata value."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.defaultPath()"
fullName: "com.azure.resourcemanager.resources.models.Alias.defaultPath()"
name: "defaultPath()"
nameWithType: "Alias.defaultPath()"
summary: "Get the defaultPath property: The default path for an alias."
syntax: "public String defaultPath()"
desc: "Get the defaultPath property: The default path for an alias."
returns:
description: "the defaultPath value."
type: "String"
- uid: "com.azure.resourcemanager.resources.models.Alias.defaultPattern()"
fullName: "com.azure.resourcemanager.resources.models.Alias.defaultPattern()"
name: "defaultPattern()"
nameWithType: "Alias.defaultPattern()"
summary: "Get the defaultPattern property: The default pattern for an alias."
syntax: "public AliasPattern defaultPattern()"
desc: "Get the defaultPattern property: The default pattern for an alias."
returns:
description: "the defaultPattern value."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.resources.models.Alias.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Alias.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Alias from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Alias fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Alias."
type: "IOException"
desc: "Reads an instance of Alias from the JsonReader."
returns:
description: "An instance of Alias if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.name()"
fullName: "com.azure.resourcemanager.resources.models.Alias.name()"
name: "name()"
nameWithType: "Alias.name()"
summary: "Get the name property: The alias name."
syntax: "public String name()"
desc: "Get the name property: The alias name."
returns:
description: "the name value."
type: "String"
- uid: "com.azure.resourcemanager.resources.models.Alias.paths()"
fullName: "com.azure.resourcemanager.resources.models.Alias.paths()"
name: "paths()"
nameWithType: "Alias.paths()"
summary: "Get the paths property: The paths for an alias."
syntax: "public List paths()"
desc: "Get the paths property: The paths for an alias."
returns:
description: "the paths value."
type: "List<>"
- uid: "com.azure.resourcemanager.resources.models.Alias.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.resources.models.Alias.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Alias.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.type()"
fullName: "com.azure.resourcemanager.resources.models.Alias.type()"
name: "type()"
nameWithType: "Alias.type()"
summary: "Get the type property: The type of the alias."
syntax: "public AliasType type()"
desc: "Get the type property: The type of the alias."
returns:
description: "the type value."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.validate()"
fullName: "com.azure.resourcemanager.resources.models.Alias.validate()"
name: "validate()"
nameWithType: "Alias.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resources.models.Alias.withDefaultPath(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.Alias.withDefaultPath(String defaultPath)"
name: "withDefaultPath(String defaultPath)"
nameWithType: "Alias.withDefaultPath(String defaultPath)"
summary: "Set the defaultPath property: The default path for an alias."
parameters:
- description: "the defaultPath value to set."
name: "defaultPath"
type: "String"
syntax: "public Alias withDefaultPath(String defaultPath)"
desc: "Set the defaultPath property: The default path for an alias."
returns:
description: "the Alias object itself."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.withDefaultPattern(com.azure.resourcemanager.resources.models.AliasPattern)"
fullName: "com.azure.resourcemanager.resources.models.Alias.withDefaultPattern(AliasPattern defaultPattern)"
name: "withDefaultPattern(AliasPattern defaultPattern)"
nameWithType: "Alias.withDefaultPattern(AliasPattern defaultPattern)"
summary: "Set the defaultPattern property: The default pattern for an alias."
parameters:
- description: "the defaultPattern value to set."
name: "defaultPattern"
type: ""
syntax: "public Alias withDefaultPattern(AliasPattern defaultPattern)"
desc: "Set the defaultPattern property: The default pattern for an alias."
returns:
description: "the Alias object itself."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.Alias.withName(String name)"
name: "withName(String name)"
nameWithType: "Alias.withName(String name)"
summary: "Set the name property: The alias name."
parameters:
- description: "the name value to set."
name: "name"
type: "String"
syntax: "public Alias withName(String name)"
desc: "Set the name property: The alias name."
returns:
description: "the Alias object itself."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.withPaths(java.util.List)"
fullName: "com.azure.resourcemanager.resources.models.Alias.withPaths(List paths)"
name: "withPaths(List paths)"
nameWithType: "Alias.withPaths(List paths)"
summary: "Set the paths property: The paths for an alias."
parameters:
- description: "the paths value to set."
name: "paths"
type: "List<>"
syntax: "public Alias withPaths(List paths)"
desc: "Set the paths property: The paths for an alias."
returns:
description: "the Alias object itself."
type: ""
- uid: "com.azure.resourcemanager.resources.models.Alias.withType(com.azure.resourcemanager.resources.models.AliasType)"
fullName: "com.azure.resourcemanager.resources.models.Alias.withType(AliasType type)"
name: "withType(AliasType type)"
nameWithType: "Alias.withType(AliasType type)"
summary: "Set the type property: The type of the alias."
parameters:
- description: "the type value to set."
name: "type"
type: ""
syntax: "public Alias withType(AliasType type)"
desc: "Set the type property: The type of the alias."
returns:
description: "the Alias object itself."
type: ""
type: "class"
desc: "The alias type."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0