Skip to main content

pipeline_runs

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

Overview

Namepipeline_runs
TypeResource
Idazure.data_factory.pipeline_runs

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 pipeline runs. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
query_by_factoryselectresource_group_name, factory_name, subscription_idQuery pipeline runs in the factory based on input filter conditions.
getselectresource_group_name, factory_name, run_id, subscription_idGet a pipeline run by its run ID.
cancelexecresource_group_name, factory_name, run_id, subscription_idisRecursiveCancel 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
factory_namestringRequired.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
run_idstringThe pipeline run identifier. Required.
subscription_idstring
isRecursivebooleanIf true, cancel all the Child pipelines that are triggered by the current pipeline. Default value is None.

SELECT examples

Query pipeline runs in the factory based on input filter conditions.

SELECT
continuationToken,
value
FROM azure.data_factory.pipeline_runs
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND factory_name = '{{ factory_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Cancel a pipeline run by its run ID.

EXEC azure.data_factory.pipeline_runs.cancel 
@resource_group_name='{{ resource_group_name }}' --required,
@factory_name='{{ factory_name }}' --required,
@run_id='{{ run_id }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@isRecursive={{ isRecursive }}
;