Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.WorkspaceIdentity Method

Definition

Initializes a new instance of WorkspaceIdentity.

public static Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentity WorkspaceIdentity (Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentityType type = default, string principalId = default, string tenantId = default);
static member WorkspaceIdentity : Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentityType * string * string -> Azure.Analytics.Synapse.Artifacts.Models.WorkspaceIdentity
Public Shared Function WorkspaceIdentity (Optional type As WorkspaceIdentityType = Nothing, Optional principalId As String = Nothing, Optional tenantId As String = Nothing) As WorkspaceIdentity

Parameters

type
WorkspaceIdentityType

The identity type. Currently the only supported type is 'SystemAssigned'.

principalId
String

The principal id of the identity.

tenantId
String

The client tenant id of the identity.

Returns

A new WorkspaceIdentity instance for mocking.

Applies to