virtual_machines_applicable_schedules
Creates, updates, deletes, gets or lists a virtual_machines_applicable_schedules resource.
Overview
| Name | virtual_machines_applicable_schedules |
| Type | Resource |
| Id | azure.dev_test_labs.virtual_machines_applicable_schedules |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the resource. |
name | string | The name of the resource. |
location | string | The location of the resource. |
properties | object | The properties of the resource. |
tags | object | The tags of the resource. |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, labName, name | api-version | Lists the applicable start/stop schedules, if any. |
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
- list
Lists the applicable start/stop schedules, if any.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.dev_test_labs.virtual_machines_applicable_schedules
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND labName = '{{ labName }}' -- required
AND name = '{{ name }}' -- required
AND api-version = '{{ api-version }}'
;