Class VirtualMachineProperties


  • public final class VirtualMachineProperties
    extends Object
    Virtual machine resource properties.
    • Constructor Detail

      • VirtualMachineProperties

        public VirtualMachineProperties()
    • Method Detail

      • 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.