Condividi tramite


ArmResourcesPolicyModelFactory.PolicyAliasPath Method

Definition

The type of the paths for alias.

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

Parameters

path
String

The path of an alias.

apiVersions
IEnumerable<String>

The API versions.

pattern
PolicyAliasPattern

The pattern for an alias path.

metadata
PolicyAliasPathMetadata

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

Returns

A new PolicyAliasPath instance for mocking.

Applies to