labs_vhds
Creates, updates, deletes, gets or lists a labs_vhds resource.
Overview
| Name | labs_vhds |
| Type | Resource |
| Id | azure.dev_test_labs.labs_vhds |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The URI to the VHD. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, name | api-version | List disk images available for custom image creation. |
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 |
|---|---|---|
name | string | The name of the lab. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The subscription ID. |
api-version | string | Client API version. |
SELECT examples
- list
List disk images available for custom image creation.
SELECT
id
FROM azure.dev_test_labs.labs_vhds
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND api-version = '{{ api-version }}'
;