Share via


AnalyticsSynapseArtifactsModelFactory.SubResource Method

Definition

Initializes a new instance of SubResource.

public static Azure.Analytics.Synapse.Artifacts.Models.SubResource SubResource (string id = default, string name = default, string type = default, string etag = default);
static member SubResource : string * string * string * string -> Azure.Analytics.Synapse.Artifacts.Models.SubResource
Public Shared Function SubResource (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing) As SubResource

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".

etag
String

Resource Etag.

Returns

A new SubResource instance for mocking.

Applies to