다음을 통해 공유


ResourceIdentity Constructors

Definition

Overloads

ResourceIdentity()

Initializes a new instance of the ResourceIdentity class.

ResourceIdentity(IDictionary<String,UserIdentity>, Nullable<Guid>, String, Nullable<Guid>)

Initializes a new instance of the ResourceIdentity class.

ResourceIdentity()

Initializes a new instance of the ResourceIdentity class.

public ResourceIdentity ();
Public Sub New ()

Applies to

ResourceIdentity(IDictionary<String,UserIdentity>, Nullable<Guid>, String, Nullable<Guid>)

Initializes a new instance of the ResourceIdentity class.

public ResourceIdentity (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Sql.Models.UserIdentity> userAssignedIdentities = default, Guid? principalId = default, string type = default, Guid? tenantId = default);
new Microsoft.Azure.Management.Sql.Models.ResourceIdentity : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Sql.Models.UserIdentity> * Nullable<Guid> * string * Nullable<Guid> -> Microsoft.Azure.Management.Sql.Models.ResourceIdentity
Public Sub New (Optional userAssignedIdentities As IDictionary(Of String, UserIdentity) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional type As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing)

Parameters

userAssignedIdentities
IDictionary<String,UserIdentity>

The resource ids of the user assigned identities to use

principalId
Nullable<Guid>

The Azure Active Directory principal id.

type
String

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'

tenantId
Nullable<Guid>

The Azure Active Directory tenant id.

Applies to