共用方式為


ManagedServiceIdentity Class

Definition

Identity for the resource.

public class ManagedServiceIdentity
type ManagedServiceIdentity = class
Public Class ManagedServiceIdentity
Inheritance
ManagedServiceIdentity

Constructors

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ManagedServiceIdentity class.

Properties

PrincipalId

Gets the principal id of the system assigned identity. This property will only be provided for a system assigned identity.

TenantId

Gets the tenant id of the system assigned identity. This property will only be provided for a system assigned identity.

Type

Gets or sets the type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'

UserAssignedIdentities

Gets or sets the list of user identities associated with 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