VirtualMachineConnectionProfile Class
- java.
lang. Object - com.
azure. resourcemanager. labservices. models. VirtualMachineConnectionProfile
- com.
Implements
public final class VirtualMachineConnectionProfile
implements JsonSerializable<VirtualMachineConnectionProfile>
The connection information for the virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineConnectionProfile() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adminUsername()
Get the admin |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
nonAdminUsername()
Get the non |
| String |
privateIpAddress()
Get the private |
| String |
rdpAuthority()
Get the rdp |
| String |
rdpInBrowserUrl()
Get the rdp |
| String |
sshAuthority()
Get the ssh |
| String |
sshInBrowserUrl()
Get the ssh |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineConnectionProfile
public VirtualMachineConnectionProfile()
Creates an instance of VirtualMachineConnectionProfile class.
Method Details
adminUsername
public String adminUsername()
Get the adminUsername property: The username used to log on to the virtual machine as admin.
Returns:
fromJson
public static VirtualMachineConnectionProfile fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineConnectionProfile from the JsonReader.
Parameters:
Returns:
Throws:
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:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of the virtual machine.
Returns:
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:
rdpInBrowserUrl
public String rdpInBrowserUrl()
Get the rdpInBrowserUrl property: URL for connecting via RDP protocol to the virtual machine in browser.
Returns:
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:
sshInBrowserUrl
public String sshInBrowserUrl()
Get the sshInBrowserUrl property: URL for connecting via SSH protocol to the virtual machine in browser.
Returns:
toJson
validate
public void validate()
Validates the instance.