Class VirtualMachineConnectionProfile


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

      • VirtualMachineConnectionProfile

        public VirtualMachineConnectionProfile()
    • Method Detail

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