Class VirtualMachineInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.labservices.fluent.models.VirtualMachineInner
-
public final class VirtualMachineInner extends com.azure.core.management.ProxyResource
A lab virtual machine resource.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
claimedByUserId()
Get the claimedByUserId property: The lab user ID (not the PUID!) of who claimed the virtual machine.VirtualMachineConnectionProfile
connectionProfile()
Get the connectionProfile property: Profile for information about connecting to the virtual machine.ProvisioningState
provisioningState()
Get the provisioningState property: Current provisioning state of the virtual machine.VirtualMachineState
state()
Get the state property: The current state of the virtual machine.com.azure.core.management.SystemData
systemData()
Get the systemData property: System data of the Lab virtual machine.void
validate()
Validates the instance.VirtualMachineType
vmType()
Get the vmType property: The type of this VM resource.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: System data of the Lab virtual machine.- Returns:
- the systemData value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the virtual machine.- Returns:
- the provisioningState value.
-
state
public VirtualMachineState state()
Get the state property: The current state of the virtual machine.- Returns:
- the state value.
-
connectionProfile
public VirtualMachineConnectionProfile connectionProfile()
Get the connectionProfile property: Profile for information about connecting to the virtual machine.- Returns:
- the connectionProfile value.
-
claimedByUserId
public String claimedByUserId()
Get the claimedByUserId property: The lab user ID (not the PUID!) of who claimed the virtual machine.- Returns:
- the claimedByUserId value.
-
vmType
public VirtualMachineType vmType()
Get the vmType property: The type of this VM resource.- Returns:
- the vmType value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-