Skip to main content

pipeline_jobs

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

Overview

Namepipeline_jobs
TypeResource
Idazure.video_analyzer.pipeline_jobs

Fields

The following fields are returned by SELECT queries:

Pipeline job was retrieved successfully.

NameDatatypeDescription
propertiesobjectThe resource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, pipelineJobNameRetrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance.
listselectsubscriptionId, resourceGroupName, accountName$filter, $topRetrieves a list of all live pipelines that have been created, along with their JSON representations.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, pipelineJobNameCreates a new pipeline job or updates an existing one, with the given name.
updateupdatesubscriptionId, resourceGroupName, accountName, pipelineJobNameUpdates an existing pipeline job with the given name. Properties that can be updated include: description.
deletedeletesubscriptionId, resourceGroupName, accountName, pipelineJobNameDeletes a pipeline job with the given name.
cancelexecsubscriptionId, resourceGroupName, accountName, pipelineJobNameCancels a pipeline job with the given name.

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
accountNamestringThe Azure Video Analyzer account name.
pipelineJobNamestringThe pipeline job name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
$filterstringRestricts the set of items returned.
$topinteger (int32)Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

SELECT examples

Retrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance.

SELECT
properties
FROM azure.video_analyzer.pipeline_jobs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND pipelineJobName = '{{ pipelineJobName }}' -- required
;

INSERT examples

Creates a new pipeline job or updates an existing one, with the given name.

INSERT INTO azure.video_analyzer.pipeline_jobs (
data__properties,
subscriptionId,
resourceGroupName,
accountName,
pipelineJobName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ pipelineJobName }}'
RETURNING
properties
;

UPDATE examples

Updates an existing pipeline job with the given name. Properties that can be updated include: description.

UPDATE azure.video_analyzer.pipeline_jobs
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND pipelineJobName = '{{ pipelineJobName }}' --required
RETURNING
properties;

DELETE examples

Deletes a pipeline job with the given name.

DELETE FROM azure.video_analyzer.pipeline_jobs
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND pipelineJobName = '{{ pipelineJobName }}' --required
;

Lifecycle Methods

Cancels a pipeline job with the given name.

EXEC azure.video_analyzer.pipeline_jobs.cancel 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@pipelineJobName='{{ pipelineJobName }}' --required
;