ManagedIdentityId 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.
Class to store configuration for a managed identity enabled on a resource. For a system assigned managed identity use ManagedIdentityId.SystemAssigned. For user assigned managed identity use ManagedIdentityId.WithUserAssignedClientId("clientId") or ManagedIdentityId.WithUserAssignedResourceId("resourceId") or ManagedIdentityId.WithUserAssignedObjectId("objectid"). For more details see https://aka.ms/msal-net-managed-identity
public class ManagedIdentityId
type ManagedIdentityId = class
Public Class ManagedIdentityId
- Inheritance
-
ManagedIdentityId
Properties
SystemAssigned |
Create an instance of ManagedIdentityId for a system assigned managed identity. |
Methods
WithUserAssignedClientId(String) |
Create an instance of ManagedIdentityId for a user assigned managed identity from a client id. |
WithUserAssignedObjectId(String) |
Create an instance of ManagedIdentityId for a user assigned managed identity from an object id. |
WithUserAssignedResourceId(String) |
Create an instance of ManagedIdentityId for a user assigned managed identity from a resource id. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈