schedules
Creates, updates, deletes, gets or lists a schedules resource.
Overview
| Name | schedules |
| Type | Resource |
| Id | azure.lab_services.schedules |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_lab
The request was successful; response contains the lab schedule.
| Name | Datatype | Description |
|---|---|---|
properties | object | Schedule resource properties |
systemData | object | Metadata pertaining to creation and last modification of the schedule. |
The request was successful; response contains all schedules for the given lab.
| Name | Datatype | Description |
|---|---|---|
properties | object | Schedule resource properties |
systemData | object | Metadata pertaining to creation and last modification of the schedule. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Returns the properties of a lab Schedule. | ||
list_by_lab | select | Returns a list of all schedules for a lab. | ||
create_or_update | insert | data__properties | Operation to create or update a lab schedule. | |
update | update | Operation to update a lab schedule. | ||
delete | delete | Operation to delete a schedule resource. |
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 |
|---|
SELECT examples
- get
- list_by_lab
Returns the properties of a lab Schedule.
SELECT
properties,
systemData
FROM azure.lab_services.schedules
;
Returns a list of all schedules for a lab.
SELECT
properties,
systemData
FROM azure.lab_services.schedules
;
INSERT examples
- create_or_update
- Manifest
Operation to create or update a lab schedule.
INSERT INTO azure.lab_services.schedules (
data__properties
)
SELECT
'{{ properties }}' /* required */
RETURNING
properties,
systemData
;
# Description fields are for documentation purposes
- name: schedules
props:
- name: properties
value: object
description: |
Schedule resource properties
UPDATE examples
- update
Operation to update a lab schedule.
UPDATE azure.lab_services.schedules
SET
data__properties = '{{ properties }}'
RETURNING
properties,
systemData;
DELETE examples
- delete
Operation to delete a schedule resource.
DELETE FROM azure.lab_services.schedules
;