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 VirtualMachineConnectionProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adminUsername()
Get the adminUsername property: The username used to log on to the virtual machine as admin.String
nonAdminUsername()
Get the nonAdminUsername property: The username used to log on to the virtual machine as non-admin, if one exists.String
privateIpAddress()
Get the privateIpAddress property: The private IP address of the virtual machine.String
rdpAuthority()
Get the rdpAuthority property: Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.String
rdpInBrowserUrl()
Get the rdpInBrowserUrl property: URL for connecting via RDP protocol to the virtual machine in browser.String
sshAuthority()
Get the sshAuthority property: Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.String
sshInBrowserUrl()
Get the sshInBrowserUrl property: URL for connecting via SSH protocol to the virtual machine in browser.void
validate()
Validates the instance.
-
-
-
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.
-
-