VirtualMachineIdentity 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.
Identity for the virtual machine.
public class VirtualMachineIdentity
type VirtualMachineIdentity = class
Public Class VirtualMachineIdentity
- Inheritance
-
VirtualMachineIdentity
Constructors
VirtualMachineIdentity() |
Initializes a new instance of the VirtualMachineIdentity class. |
VirtualMachineIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserAssignedIdentitiesValue>) |
Initializes a new instance of the VirtualMachineIdentity class. |
Properties
PrincipalId |
Gets the principal id of virtual machine identity. This property will only be provided for a system assigned identity. |
TenantId |
Gets the tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. |
Type |
Gets or sets the type of identity used for the virtual machine. 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 virtual machine. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' |
UserAssignedIdentities |
Gets or sets the list of user identities associated with the Virtual Machine. 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應