Udostępnij za pośrednictwem


Identity Constructors

Definition

Overloads

Identity()

Initializes a new instance of the Identity class.

Identity(Nullable<ResourceIdentityType>, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the Identity class.

Identity()

Initializes a new instance of the Identity class.

public Identity ();
Public Sub New ()

Applies to

Identity(Nullable<ResourceIdentityType>, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the Identity class.

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

Parameters

type
Nullable<ResourceIdentityType>

The identity type. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'

tenantId
String

The tenant ID of resource.

principalId
String

The principal ID of resource identity.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}

Applies to