Compartilhar via


ArmResourcesModelFactory.TargetResource Método

Definição

Inicializa uma nova instância de TargetResource.

public static Azure.ResourceManager.Resources.Models.TargetResource TargetResource (string id = default, string resourceName = default, Azure.Core.ResourceType? resourceType = default);
static member TargetResource : string * string * Nullable<Azure.Core.ResourceType> -> Azure.ResourceManager.Resources.Models.TargetResource
Public Shared Function TargetResource (Optional id As String = Nothing, Optional resourceName As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing) As TargetResource

Parâmetros

id
String

A ID do recurso.

resourceName
String

O nome do recurso.

resourceType
Nullable<ResourceType>

Tipo do recurso.

Retornos

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

Aplica-se a