你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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