Compartilhar via


ArmSqlModelFactory.DatabaseIdentity Method

Definition

Initializes a new instance of DatabaseIdentity.

public static Azure.ResourceManager.Sql.Models.DatabaseIdentity DatabaseIdentity (Azure.ResourceManager.Sql.Models.DatabaseIdentityType? identityType = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Models.UserAssignedIdentity> userAssignedIdentities = default);
static member DatabaseIdentity : Nullable<Azure.ResourceManager.Sql.Models.DatabaseIdentityType> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Models.UserAssignedIdentity> -> Azure.ResourceManager.Sql.Models.DatabaseIdentity
Public Shared Function DatabaseIdentity (Optional identityType As Nullable(Of DatabaseIdentityType) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing) As DatabaseIdentity

Parameters

identityType
Nullable<DatabaseIdentityType>

The identity type.

tenantId
Nullable<Guid>

The Azure Active Directory tenant id.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

The resource ids of the user assigned identities to use.

Returns

A new DatabaseIdentity instance for mocking.

Applies to