Compartir vía


VirtualMachineIdentity Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.VirtualMachineIdentity

public class VirtualMachineIdentity

Identity for the virtual machine.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId value.

String tenantId()

Get the tenantId value.

ResourceIdentityType type()

Get the type value.

VirtualMachineIdentity 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 VirtualMachineIdentity withType(ResourceIdentityType type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the VirtualMachineIdentity object itself.

Applies to