jobs
Creates, updates, deletes, gets or lists a jobs
resource.
Overview
Name | jobs |
Type | Resource |
Id | azure.ml_services.jobs |
Fields
- vw_jobs
- jobs
Name | Datatype | Description |
---|---|---|
id | text | field from the properties object |
description | text | field from the properties object |
component_id | text | field from the properties object |
compute_id | text | field from the properties object |
display_name | text | field from the properties object |
experiment_name | text | field from the properties object |
identity | text | field from the properties object |
is_archived | text | field from the properties object |
job_type | text | field from the properties object |
notification_setting | text | field from the properties object |
properties | text | Base definition for a job. |
resourceGroupName | text | field from the properties object |
services | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | field from the properties object |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Base definition for a job. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | id, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | id, resourceGroupName, subscriptionId, workspaceName, data__properties | |
delete | DELETE | id, resourceGroupName, subscriptionId, workspaceName | |
cancel | EXEC | id, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_jobs
- jobs
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 }}';
SELECT
properties
FROM azure.ml_services.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.jobs (
id,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ id }}',
'{{ 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: componentId
value: string
- name: computeId
value: string
- name: displayName
value: string
- name: experimentName
value: string
- name: identity
value:
- name: identityType
value: []
- name: isArchived
value: boolean
- name: jobType
value: []
- name: notificationSetting
value:
- name: emailOn
value:
- []
- name: emails
value:
- string
- name: webhooks
value: object
- name: services
value: object
- name: status
value: []
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 }}';