Delen via


Identity Constructors

Definitie

Overloads

Identity()

Initialiseert een nieuw exemplaar van de klasse Identity.

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

Initialiseert een nieuw exemplaar van de klasse Identity.

Identity()

Initialiseert een nieuw exemplaar van de klasse Identity.

public Identity ();
Public Sub New ()

Van toepassing op

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

Initialiseert een nieuw exemplaar van de klasse Identity.

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

Parameters

principalId
String

De principal-id van resource-id.

tenantId
String

De tenant-id van de resource.

type
Nullable<ResourceIdentityType>

Het identiteitstype. Mogelijke waarden zijn: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,IdentityUserAssignedIdentitiesValue>

De lijst met gebruikersidentiteiten die zijn gekoppeld aan de resource. De sleutelverwijzingen naar de gebruikersidentiteitswoordenlijst zijn ARM-resource-id's in de vorm: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.

Van toepassing op