Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.TrackedResource Method

Definition

Initializes a new instance of TrackedResource.

public static Azure.Analytics.Synapse.Artifacts.Models.TrackedResource TrackedResource (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default);
static member TrackedResource : string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Azure.Analytics.Synapse.Artifacts.Models.TrackedResource
Public Shared Function TrackedResource (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing) As TrackedResource

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

tags
IDictionary<String,String>

Resource tags.

location
String

The geo-location where the resource lives.

Returns

A new TrackedResource instance for mocking.

Applies to