Skip to main content

pipeline_run

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

Overview

Namepipeline_run
TypeResource
Idazure.synapse_artifacts.pipeline_run

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
continuationTokenstringThe continuation token for getting the next page of results, if any remaining results exist, null otherwise.
valuearrayList of activity runs. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
query_activity_runsselectpipeline_name, run_id, endpointQuery activity runs based on input filter conditions.
query_pipeline_runs_by_workspaceselectendpointQuery pipeline runs in the workspace based on input filter conditions.
get_pipeline_runselectrun_id, endpointGet a pipeline run by its run ID.
cancel_pipeline_runexecrun_id, endpointisRecursiveCancel a pipeline run by its run ID.

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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
pipeline_namestringThe pipeline name. Required.
run_idstringThe pipeline run identifier. Required.
isRecursivebooleanIf true, cancel all the Child pipelines that are triggered by the current pipeline. Default value is None.

SELECT examples

Query activity runs based on input filter conditions.

SELECT
continuationToken,
value
FROM azure.synapse_artifacts.pipeline_run
WHERE pipeline_name = '{{ pipeline_name }}' -- required
AND run_id = '{{ run_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

Lifecycle Methods

Cancel a pipeline run by its run ID.

EXEC azure.synapse_artifacts.pipeline_run.cancel_pipeline_run 
@run_id='{{ run_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@isRecursive={{ isRecursive }}
;