Share via


ResourceManagerModelFactory.ResourceTypeAliasPattern Method

Definition

Initializes a new instance of ResourceTypeAliasPattern.

public static Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern ResourceTypeAliasPattern (string phrase = default, string variable = default, Azure.ResourceManager.Resources.Models.ResourceTypeAliasPatternType? patternType = default);
static member ResourceTypeAliasPattern : string * string * Nullable<Azure.ResourceManager.Resources.Models.ResourceTypeAliasPatternType> -> Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern
Public Shared Function ResourceTypeAliasPattern (Optional phrase As String = Nothing, Optional variable As String = Nothing, Optional patternType As Nullable(Of ResourceTypeAliasPatternType) = Nothing) As ResourceTypeAliasPattern

Parameters

phrase
String

The alias pattern phrase.

variable
String

The alias pattern variable.

patternType
Nullable<ResourceTypeAliasPatternType>

The type of alias pattern.

Returns

A new ResourceTypeAliasPattern instance for mocking.

Applies to