Class VirtualMachineConnectionProfile

java.lang.Object
com.azure.resourcemanager.labservices.models.VirtualMachineConnectionProfile

public final class VirtualMachineConnectionProfile extends Object
The connection information for the virtual machine.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the adminUsername property: The username used to log on to the virtual machine as admin.
    Get the nonAdminUsername property: The username used to log on to the virtual machine as non-admin, if one exists.
    Get the privateIpAddress property: The private IP address of the virtual machine.
    Get the rdpAuthority property: Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
    Get the rdpInBrowserUrl property: URL for connecting via RDP protocol to the virtual machine in browser.
    Get the sshAuthority property: Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
    Get the sshInBrowserUrl property: URL for connecting via SSH protocol to the virtual machine in browser.
    void
    Validates the instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VirtualMachineConnectionProfile

      public VirtualMachineConnectionProfile()
  • Method Details

    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: The private IP address of the virtual machine.
      Returns:
      the privateIpAddress value.
    • sshAuthority

      public String sshAuthority()
      Get the sshAuthority property: Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
      Returns:
      the sshAuthority value.
    • sshInBrowserUrl

      public String sshInBrowserUrl()
      Get the sshInBrowserUrl property: URL for connecting via SSH protocol to the virtual machine in browser.
      Returns:
      the sshInBrowserUrl value.
    • rdpAuthority

      public String rdpAuthority()
      Get the rdpAuthority property: Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
      Returns:
      the rdpAuthority value.
    • rdpInBrowserUrl

      public String rdpInBrowserUrl()
      Get the rdpInBrowserUrl property: URL for connecting via RDP protocol to the virtual machine in browser.
      Returns:
      the rdpInBrowserUrl value.
    • adminUsername

      public String adminUsername()
      Get the adminUsername property: The username used to log on to the virtual machine as admin.
      Returns:
      the adminUsername value.
    • nonAdminUsername

      public String nonAdminUsername()
      Get the nonAdminUsername property: The username used to log on to the virtual machine as non-admin, if one exists.
      Returns:
      the nonAdminUsername value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.