Skip to main content

remote_connections

Creates, updates, deletes, gets or lists a remote_connections resource.

Overview

Nameremote_connections
TypeResource
Idazure.developer_devcenter.remote_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
rdpConnectionUrlstringLink to open a Remote Desktop session.
webUrlstringURL to open a browser based RDP session.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_remote_connectionselectproject_name, user_id, dev_box_name, endpointGets RDP Connection info.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dev_box_namestringThe name of a Dev Box. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
project_namestringThe DevCenter Project upon which to execute operations. Required.
user_idstringThe AAD object id of the user. If value is 'me', the identity is taken from the authentication context. Required.

SELECT examples

Gets RDP Connection info.

SELECT
rdpConnectionUrl,
webUrl
FROM azure.developer_devcenter.remote_connections
WHERE project_name = '{{ project_name }}' -- required
AND user_id = '{{ user_id }}' -- required
AND dev_box_name = '{{ dev_box_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;