ReferenceVm Class
- java.
lang. Object - com.
microsoft. azure. management. labservices. v2018_10_15.ReferenceVm
- com.
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. |
Vm |
vmStateDetails()
Get the state details for the reference virtual machine. |
Reference |
withPassword(String password)
Set the password of the virtual machine. |
Reference |
withUserName(String userName)
Set the username of the virtual machine. |
Methods inherited from java.lang.Object
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:
userName
public String userName()
Get the username of the virtual machine.
Returns:
vmResourceId
public String vmResourceId()
Get vM resource Id for the environment.
Returns:
vmStateDetails
public VmStateDetails vmStateDetails()
Get the state details for the reference virtual machine.
Returns:
withPassword
public ReferenceVm withPassword(String password)
Set the password of the virtual machine. This will be set to null in GET resource API.
Parameters:
Returns:
withUserName
public ReferenceVm withUserName(String userName)
Set the username of the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for