Skip to main content

schedules

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

Overview

Nameschedules
TypeResource
Idazure.ml_services.schedules

Fields

NameDatatypeDescription
nametextfield from the properties object
descriptiontextfield from the properties object
actiontextfield from the properties object
display_nametextfield from the properties object
is_enabledtextfield from the properties object
propertiestextBase definition of a schedule
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextfield from the properties object
triggertextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTname, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEname, resourceGroupName, subscriptionId, workspaceName

SELECT examples

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

INSERT example

Use the following StackQL query and manifest file to create a new schedules resource.

/*+ create */
INSERT INTO azure.ml_services.schedules (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;

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