ReferenceVm Class

  • java.lang.Object
    • com.microsoft.azure.management.labservices.v2018_10_15.ReferenceVm

public class ReferenceVm

Details of a Reference Vm.

Constructor Summary

Constructor Description
ReferenceVm()

Method Summary

Modifier and Type Method and Description
java.lang.String password()

Get the password of the virtual machine.

java.lang.String userName()

Get the username of the virtual machine.

java.lang.String vmResourceId()

Get vM resource Id for the environment.

VmStateDetails vmStateDetails()

Get the state details for the reference virtual machine.

ReferenceVm withPassword(String password)

Set the password of the virtual machine.

ReferenceVm withUserName(String userName)

Set the username of the virtual machine.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ReferenceVm

public ReferenceVm()

Method Details

password

public String password()

Get the password of the virtual machine. This will be set to null in GET resource API.

Returns:

the password value

userName

public String userName()

Get the username of the virtual machine.

Returns:

the userName value

vmResourceId

public String vmResourceId()

Get vM resource Id for the environment.

Returns:

the vmResourceId value

vmStateDetails

public VmStateDetails vmStateDetails()

Get the state details for the reference virtual machine.

Returns:

the vmStateDetails value

withPassword

public ReferenceVm withPassword(String password)

Set the password of the virtual machine. This will be set to null in GET resource API.

Parameters:

password - the password value to set

Returns:

the ReferenceVm object itself.

withUserName

public ReferenceVm withUserName(String userName)

Set the username of the virtual machine.

Parameters:

userName - the userName value to set

Returns:

the ReferenceVm object itself.

Applies to