public class VirtualMachineIdentity extends Object
Constructor and Description |
---|
VirtualMachineIdentity() |
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principal id of virtual machine identity.
|
String |
tenantId()
Get the tenant id associated with the virtual machine.
|
ResourceIdentityType |
type()
Get the type of identity used for the virtual machine.
|
Map<String,VirtualMachineIdentityUserAssignedIdentitiesValue> |
userAssignedIdentities()
Get the list of user identities associated with the Virtual Machine.
|
VirtualMachineIdentity |
withType(ResourceIdentityType type)
Set the type of identity used for the virtual machine.
|
VirtualMachineIdentity |
withUserAssignedIdentities(Map<String,VirtualMachineIdentityUserAssignedIdentitiesValue> userAssignedIdentities)
Set the list of user identities associated with the Virtual Machine.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public VirtualMachineIdentity withType(ResourceIdentityType type)
type
- the type value to setpublic Map<String,VirtualMachineIdentityUserAssignedIdentitiesValue> userAssignedIdentities()
public VirtualMachineIdentity withUserAssignedIdentities(Map<String,VirtualMachineIdentityUserAssignedIdentitiesValue> userAssignedIdentities)
userAssignedIdentities
- the userAssignedIdentities value to setCopyright © 2019. All rights reserved.