Share via


ResourceManagerModelFactory.ResourceTypeAliasPath Method

Definition

Initializes a new instance of ResourceTypeAliasPath.

public static Azure.ResourceManager.Resources.Models.ResourceTypeAliasPath ResourceTypeAliasPath (string path = default, System.Collections.Generic.IEnumerable<string> apiVersions = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern pattern = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathMetadata metadata = default);
static member ResourceTypeAliasPath : string * seq<string> * Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern * Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathMetadata -> Azure.ResourceManager.Resources.Models.ResourceTypeAliasPath
Public Shared Function ResourceTypeAliasPath (Optional path As String = Nothing, Optional apiVersions As IEnumerable(Of String) = Nothing, Optional pattern As ResourceTypeAliasPattern = Nothing, Optional metadata As ResourceTypeAliasPathMetadata = Nothing) As ResourceTypeAliasPath

Parameters

path
String

The path of an alias.

apiVersions
IEnumerable<String>

The API versions.

pattern
ResourceTypeAliasPattern

The pattern for an alias path.

metadata
ResourceTypeAliasPathMetadata

The metadata of the alias path. If missing, fall back to the default metadata of the alias.

Returns

A new ResourceTypeAliasPath instance for mocking.

Applies to