Condividi tramite


Identity Constructors

Definition

Overloads

Identity()

Initializes a new instance of the Identity class.

Identity(IdentityType, String, String, IDictionary<String,UserIdentityProperties>)

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(IdentityType, String, String, IDictionary<String,UserIdentityProperties>)

Initializes a new instance of the Identity class.

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

Parameters

type
IdentityType

Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned', 'None'

principalId
String

The principal ID of resource identity.

tenantId
String

The tenant ID of resource.

userAssignedIdentities
IDictionary<String,UserIdentityProperties>

The list of user 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