public class VirtualMachineScaleSetIdentity extends Object
Constructor and Description |
---|
VirtualMachineScaleSetIdentity() |
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principalId property: The principal id of virtual machine scale set identity.
|
String |
tenantId()
Get the tenantId property: The tenant id associated with the virtual machine scale set.
|
ResourceIdentityType |
type()
Get the type property: The type of identity used for the virtual machine scale set.
|
Map<String,VirtualMachineScaleSetIdentityUserAssignedIdentities> |
userAssignedIdentities()
Get the userAssignedIdentities property: The list of user identities associated with the virtual machine scale
set.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetIdentity |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the virtual machine scale set.
|
VirtualMachineScaleSetIdentity |
withUserAssignedIdentities(Map<String,VirtualMachineScaleSetIdentityUserAssignedIdentities> userAssignedIdentities)
Set the userAssignedIdentities property: The list of user identities associated with the virtual machine scale
set.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public VirtualMachineScaleSetIdentity withType(ResourceIdentityType type)
type
- the type value to set.public Map<String,VirtualMachineScaleSetIdentityUserAssignedIdentities> userAssignedIdentities()
public VirtualMachineScaleSetIdentity withUserAssignedIdentities(Map<String,VirtualMachineScaleSetIdentityUserAssignedIdentities> userAssignedIdentities)
userAssignedIdentities
- the userAssignedIdentities value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.