Port-forward to a VM using WebSocket protocol
Changed onConnect to a VM's TCP port, a declared host process, or its Tart Guest Agent. Specify exactly one of port, hostProcess, or target=tart-guest-agent.
Connecting to Tart Guest Agent requires either the compute:write or compute:connect:tart-guest-agent role.
Request
- The document declares no server URL.
- Authnone declared. Required headers: Connection, Upgrade
Query parameters
VM's TCP port number to connect to; mutually exclusive with hostProcess and target.
Name of a host process declared in the VM's hostProcesses field; mutually exclusive with port and target.
Forward to the specified target; mutually exclusive with port and hostProcess.
Duration in seconds to wait for the VM to transition into "running" state if not already running.
Headers
WebSocket protocol required header
WebSocket protocol required header
Changes
- info
added the new optional
queryrequest parametertarget
- info
- info
added the new optional
queryrequest parameterhostProcess - info
the
queryrequest parameterportbecame optional
- info