你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. compute. VirtualMachineScaleSetIdentity
- com.
public class VirtualMachineScaleSetIdentity
Identity for the virtual machine scale set.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principalId value. |
String |
tenantId()
Get the tenantId value. |
Resource |
type()
Get the type value. |
Virtual |
withType(ResourceIdentityType type)
Set the type value. |
Method Details
principalId
public String principalId()
Get the principalId value.
Returns:
the principalId value
tenantId
public String tenantId()
Get the tenantId value.
Returns:
the tenantId value
type
public ResourceIdentityType type()
Get the type value.
Returns:
the type value
withType
public VirtualMachineScaleSetIdentity withType(ResourceIdentityType type)
Set the type value.
Parameters:
type
- the type value to set
Returns:
the VirtualMachineScaleSetIdentity object itself.