schedules
Creates, updates, deletes, gets or lists a schedules
resource.
Overview
Name | schedules |
Type | Resource |
Id | azure.dev_center.schedules |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_pool
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Properties of a Schedule resource |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Properties of a Schedule resource |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | Gets a schedule resource. | ||
list_by_pool | select | Lists schedules for a pool | ||
create_or_update | insert | Creates or updates a Schedule. | ||
update | update | Partially updates a Scheduled. | ||
delete | delete | Deletes a Scheduled. |
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_pool
Gets a schedule resource.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.dev_center.schedules
;
Lists schedules for a pool
SELECT
id,
name,
properties,
systemData,
type
FROM azure.dev_center.schedules
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates a Schedule.
INSERT INTO azure.dev_center.schedules (
data__properties
)
SELECT
'{{ properties }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: schedules
props:
- name: properties
value: object
description: |
Properties of a Schedule resource
UPDATE
examples
- update
Partially updates a Scheduled.
UPDATE azure.dev_center.schedules
SET
data__properties = '{{ properties }}'
RETURNING
id,
name,
properties,
systemData,
type;
DELETE
examples
- delete
Deletes a Scheduled.
DELETE FROM azure.dev_center.schedules
;