Skip to main content

jobs

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

Overview

Namejobs
TypeResource
Idazure.ml_services.jobs

Fields

NameDatatypeDescription
idtextfield from the properties object
descriptiontextfield from the properties object
component_idtextfield from the properties object
compute_idtextfield from the properties object
display_nametextfield from the properties object
experiment_nametextfield from the properties object
identitytextfield from the properties object
is_archivedtextfield from the properties object
job_typetextfield from the properties object
notification_settingtextfield from the properties object
propertiestextBase definition for a job.
resourceGroupNametextfield from the properties object
servicestextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTid, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTid, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEid, resourceGroupName, subscriptionId, workspaceName
cancelEXECid, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
description,
component_id,
compute_id,
display_name,
experiment_name,
identity,
is_archived,
job_type,
notification_setting,
properties,
resourceGroupName,
services,
status,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_jobs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

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

DELETE example

Deletes the specified jobs resource.

/*+ delete */
DELETE FROM azure.ml_services.jobs
WHERE id = '{{ id }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';