ArmResourcesModelFactory.TargetResource Method

Definition

Initializes a new instance of 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

Parameters

id
String

The ID of the resource.

resourceName
String

The name of the resource.

resourceType
Nullable<ResourceType>

The type of the resource.

Returns

A new TargetResource instance for mocking.

Applies to