Skip to main content

virtual_machines_rdp_file_contents

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

Overview

Namevirtual_machines_rdp_file_contents
TypeResource
Idazure.dev_test_labs.virtual_machines_rdp_file_contents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentsstringThe contents of the .rdp file

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, labName, nameapi-versionGets a string that represents the contents of the RDP file for the virtual machine

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
labNamestringThe name of the lab.
namestringThe name of the virtual machine.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe subscription ID.
api-versionstringClient API version.

SELECT examples

Gets a string that represents the contents of the RDP file for the virtual machine

SELECT
contents
FROM azure.dev_test_labs.virtual_machines_rdp_file_contents
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND labName = '{{ labName }}' -- required
AND name = '{{ name }}' -- required
AND api-version = '{{ api-version }}'
;