ArmSqlModelFactory.DatabaseIdentity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- userAssignedIdentities
- IDictionary<String,UserAssignedIdentity>
The resource ids of the user assigned identities to use.
Returns
A new DatabaseIdentity instance for mocking.