Class VirtualMachineConnectionProfile
java.lang.Object
com.azure.resourcemanager.labservices.models.VirtualMachineConnectionProfile
The connection information for the virtual machine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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
validate()
Validates the instance.
-
Constructor Details
-
VirtualMachineConnectionProfile
public VirtualMachineConnectionProfile()
-
-
Method Details
-
privateIpAddress
Get the privateIpAddress property: The private IP address of the virtual machine.- Returns:
- the privateIpAddress value.
-
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
Get the sshInBrowserUrl property: URL for connecting via SSH protocol to the virtual machine in browser.- Returns:
- the sshInBrowserUrl value.
-
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
Get the rdpInBrowserUrl property: URL for connecting via RDP protocol to the virtual machine in browser.- Returns:
- the rdpInBrowserUrl value.
-
adminUsername
Get the adminUsername property: The username used to log on to the virtual machine as admin.- Returns:
- the adminUsername value.
-
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.
-