共用方式為


VirtualMachineConnectionProfile Class

Definition

The connection information for the virtual machine

public class VirtualMachineConnectionProfile
type VirtualMachineConnectionProfile = class
Public Class VirtualMachineConnectionProfile
Inheritance
VirtualMachineConnectionProfile

Constructors

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.

Properties

AdminUsername

Gets the username used to log on to the virtual machine as admin.

NonAdminUsername

Gets the username used to log on to the virtual machine as non-admin, if one exists.

PrivateIpAddress

Gets the private IP address of the virtual machine.

RdpAuthority

Gets port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.

RdpInBrowserUrl

Gets URL for connecting via RDP protocol to the virtual machine in browser.

SshAuthority

Gets port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.

SshInBrowserUrl

Gets URL for connecting via SSH protocol to the virtual machine in browser.

Applies to