virtual_machines_rdp_file_contents
Creates, updates, deletes, gets or lists a virtual_machines_rdp_file_contents resource.
Overview
| Name | virtual_machines_rdp_file_contents |
| Type | Resource |
| Id | azure.dev_test_labs.virtual_machines_rdp_file_contents |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
contents | string | The contents of the .rdp file |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, labName, name | api-version | Gets 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.
| Name | Datatype | Description |
|---|---|---|
labName | string | The name of the lab. |
name | string | The name of the virtual machine. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The subscription ID. |
api-version | string | Client API version. |
SELECT examples
- get
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 }}'
;