Skip to main content

virtual_machines_applicable_schedules

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

Overview

Namevirtual_machines_applicable_schedules
TypeResource
Idazure.dev_test_labs.virtual_machines_applicable_schedules

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe identifier of the resource.
namestringThe name of the resource.
locationstringThe location of the resource.
propertiesobjectThe properties of the resource.
tagsobjectThe tags of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, labName, nameapi-versionLists 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.

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

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 }}'
;