Compartilhar via


ResourceManagerModelFactory.ResourceTypeAlias Método

Definição

Inicializa uma nova instância de ResourceTypeAlias.

public static Azure.ResourceManager.Resources.Models.ResourceTypeAlias ResourceTypeAlias (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceTypeAliasPath> paths = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasType? aliasType = default, string defaultPath = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern defaultPattern = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathMetadata defaultMetadata = default);
static member ResourceTypeAlias : string * seq<Azure.ResourceManager.Resources.Models.ResourceTypeAliasPath> * Nullable<Azure.ResourceManager.Resources.Models.ResourceTypeAliasType> * string * Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern * Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathMetadata -> Azure.ResourceManager.Resources.Models.ResourceTypeAlias
Public Shared Function ResourceTypeAlias (Optional name As String = Nothing, Optional paths As IEnumerable(Of ResourceTypeAliasPath) = Nothing, Optional aliasType As Nullable(Of ResourceTypeAliasType) = Nothing, Optional defaultPath As String = Nothing, Optional defaultPattern As ResourceTypeAliasPattern = Nothing, Optional defaultMetadata As ResourceTypeAliasPathMetadata = Nothing) As ResourceTypeAlias

Parâmetros

name
String

O nome do alias.

paths
IEnumerable<ResourceTypeAliasPath>

Os caminhos para um alias.

aliasType
Nullable<ResourceTypeAliasType>

O tipo do alias.

defaultPath
String

O caminho padrão para um alias.

defaultPattern
ResourceTypeAliasPattern

O padrão para um alias.

defaultMetadata
ResourceTypeAliasPathMetadata

Os metadados de caminho de alias padrão. Aplica-se ao caminho padrão e a qualquer caminho de alias que não tenha metadados.

Retornos

Uma nova ResourceTypeAlias instância para simulação.

Aplica-se a