schedules
Creates, updates, deletes, gets or lists a schedules
resource.
Overview
Name | schedules |
Type | Resource |
Id | azure.ml_services.schedules |
Fields
- vw_schedules
- schedules
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
description | text | field from the properties object |
action | text | field from the properties object |
display_name | text | field from the properties object |
is_enabled | text | field from the properties object |
properties | text | Base definition of a schedule |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | field from the properties object |
trigger | text | field from the properties object |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Base definition of a schedule |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | name, resourceGroupName, subscriptionId, workspaceName, data__properties | |
delete | DELETE | name, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_schedules
- schedules
SELECT
name,
description,
action,
display_name,
is_enabled,
properties,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
trigger,
workspaceName
FROM azure.ml_services.vw_schedules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
properties
FROM azure.ml_services.schedules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new schedules
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.schedules (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: description
value: string
- name: properties
value: object
- name: tags
value: object
- name: action
value:
- name: actionType
value: []
- name: displayName
value: string
- name: isEnabled
value: boolean
- name: provisioningState
value: []
- name: trigger
value:
- name: endTime
value: string
- name: startTime
value: string
- name: timeZone
value: string
- name: triggerType
value: []
DELETE
example
Deletes the specified schedules
resource.
/*+ delete */
DELETE FROM azure.ml_services.schedules
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';