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

NameDatatypeDescription
descriptiontextfield from the properties object
accountNametextfield from the properties object
errortextfield from the properties object
expirationtextfield from the properties object
parameterstextfield from the properties object
pipelineJobNametextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
topology_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, pipelineJobName, resourceGroupName, subscriptionIdRetrieves 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.
listSELECTaccountName, resourceGroupName, subscriptionIdRetrieves a list of all live pipelines that have been created, along with their JSON representations.
create_or_updateINSERTaccountName, pipelineJobName, resourceGroupName, subscriptionIdCreates a new pipeline job or updates an existing one, with the given name.
deleteDELETEaccountName, pipelineJobName, resourceGroupName, subscriptionIdDeletes a pipeline job with the given name.
updateUPDATEaccountName, pipelineJobName, resourceGroupName, subscriptionIdUpdates an existing pipeline job with the given name. Properties that can be updated include: description.
cancelEXECaccountName, pipelineJobName, resourceGroupName, subscriptionIdCancels a pipeline job with the given name.

SELECT examples

Retrieves a list of all live pipelines that have been created, along with their JSON representations.

SELECT
description,
accountName,
error,
expiration,
parameters,
pipelineJobName,
resourceGroupName,
state,
subscriptionId,
topology_name
FROM azure.video_analyzer.vw_pipeline_jobs
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.video_analyzer.pipeline_jobs (
accountName,
pipelineJobName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ pipelineJobName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a pipeline_jobs resource.

/*+ update */
UPDATE azure.video_analyzer.pipeline_jobs
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND pipelineJobName = '{{ pipelineJobName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified pipeline_jobs resource.

/*+ delete */
DELETE FROM azure.video_analyzer.pipeline_jobs
WHERE accountName = '{{ accountName }}'
AND pipelineJobName = '{{ pipelineJobName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';