ManagedIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the managed identities for an Azure resource.
public class ManagedIdentity
type ManagedIdentity = class
Public Class ManagedIdentity
- Inheritance
-
ManagedIdentity
Constructors
ManagedIdentity() |
Initializes a new instance of the ManagedIdentity class. |
ManagedIdentity(String, String, Nullable<ManagedIdentityType>, IDictionary<String,UserAssignedIdentity>) |
Initializes a new instance of the ManagedIdentity class. |
Properties
PrincipalId |
Gets the principal id of the managed identity. This property will only be provided for a system assigned identity. |
TenantId |
Gets the tenant id of the managed identity. This property will only be provided for a system assigned identity. |
Type |
Gets or sets the type of managed identity for the resource. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' |
UserAssignedIdentities |
Gets or sets 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
Azure SDK for .NET