VirtualMachineConnectionProfile Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VirtualMachineConnectionProfile() |
Initializes a new instance of the VirtualMachineConnectionProfile class. |
VirtualMachineConnectionProfile(String, String, String, String, String, String, String) |
Initializes a new instance of the VirtualMachineConnectionProfile class. |
VirtualMachineConnectionProfile()
Initializes a new instance of the VirtualMachineConnectionProfile class.
public VirtualMachineConnectionProfile ();
Public Sub New ()
Applies to
VirtualMachineConnectionProfile(String, String, String, String, String, String, String)
Initializes a new instance of the VirtualMachineConnectionProfile class.
public VirtualMachineConnectionProfile (string privateIpAddress = default, string sshAuthority = default, string sshInBrowserUrl = default, string rdpAuthority = default, string rdpInBrowserUrl = default, string adminUsername = default, string nonAdminUsername = default);
new Microsoft.Azure.Management.LabServices.Models.VirtualMachineConnectionProfile : string * string * string * string * string * string * string -> Microsoft.Azure.Management.LabServices.Models.VirtualMachineConnectionProfile
Public Sub New (Optional privateIpAddress As String = Nothing, Optional sshAuthority As String = Nothing, Optional sshInBrowserUrl As String = Nothing, Optional rdpAuthority As String = Nothing, Optional rdpInBrowserUrl As String = Nothing, Optional adminUsername As String = Nothing, Optional nonAdminUsername As String = Nothing)
Parameters
- privateIpAddress
- String
The private IP address of the virtual machine.
- sshAuthority
- String
Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
- sshInBrowserUrl
- String
URL for connecting via SSH protocol to the virtual machine in browser.
- rdpAuthority
- String
Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
- rdpInBrowserUrl
- String
URL for connecting via RDP protocol to the virtual machine in browser.
- adminUsername
- String
The username used to log on to the virtual machine as admin.
- nonAdminUsername
- String
The username used to log on to the virtual machine as non-admin, if one exists.