共用方式為


ManagedServiceIdentity Constructors

Definition

Overloads

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity(Nullable<ManagedServiceIdentityType>, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

public ManagedServiceIdentity ();
Public Sub New ()

Applies to

ManagedServiceIdentity(Nullable<ManagedServiceIdentityType>, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedServiceIdentity class.

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

Parameters

type
Nullable<ManagedServiceIdentityType>

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

tenantId
String

Tenant of managed service identity.

principalId
String

Principal Id of managed service 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