共用方式為


Identity Constructors

Definition

Overloads

Identity()

Initializes a new instance of the Identity class.

Identity(String, String, Nullable<ManagedServiceIdentityType>, 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(String, String, Nullable<ManagedServiceIdentityType>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the Identity class.

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

Parameters

principalId
String

ObjectId from the KeyVault

tenantId
String

TenantId from the KeyVault

type
Nullable<ManagedServiceIdentityType>

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

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

Properties for User Assigned Identities

Applies to