Udostępnij za pośrednictwem


ResourceManagerModelFactory.ResourceTypeAliases Method

Definition

Initializes a new instance of ResourceTypeAliases.

public static Azure.ResourceManager.Resources.Models.ResourceTypeAliases ResourceTypeAliases (string resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceTypeAlias> aliases = default);
static member ResourceTypeAliases : string * seq<Azure.ResourceManager.Resources.Models.ResourceTypeAlias> -> Azure.ResourceManager.Resources.Models.ResourceTypeAliases
Public Shared Function ResourceTypeAliases (Optional resourceType As String = Nothing, Optional aliases As IEnumerable(Of ResourceTypeAlias) = Nothing) As ResourceTypeAliases

Parameters

resourceType
String

The resource type name.

aliases
IEnumerable<ResourceTypeAlias>

The aliases for property names.

Returns

A new ResourceTypeAliases instance for mocking.

Applies to