Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.ManagedIdentity Method

Definition

Initializes a new instance of ManagedIdentity.

public static Azure.Analytics.Synapse.Artifacts.Models.ManagedIdentity ManagedIdentity (string principalId = default, Guid? tenantId = default, Azure.Analytics.Synapse.Artifacts.Models.ResourceIdentityType? type = default);
static member ManagedIdentity : string * Nullable<Guid> * Nullable<Azure.Analytics.Synapse.Artifacts.Models.ResourceIdentityType> -> Azure.Analytics.Synapse.Artifacts.Models.ManagedIdentity
Public Shared Function ManagedIdentity (Optional principalId As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing) As ManagedIdentity

Parameters

principalId
String

The principal ID of the workspace managed identity.

tenantId
Nullable<Guid>

The tenant ID of the workspace managed identity.

type
Nullable<ResourceIdentityType>

The type of managed identity for the workspace.

Returns

A new ManagedIdentity instance for mocking.

Applies to