Skip to main content

pipeline_topologies

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

Overview

Namepipeline_topologies
TypeResource
Idazure.video_analyzer.pipeline_topologies

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
accountNametextfield from the properties object
kindtextTopology kind.
parameterstextfield from the properties object
pipelineTopologyNametextfield from the properties object
processorstextfield from the properties object
resourceGroupNametextfield from the properties object
sinkstextfield from the properties object
skutextThe SKU details.
sourcestextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, pipelineTopologyName, resourceGroupName, subscriptionIdRetrieves a specific pipeline topology by name. If a topology with that name has been previously created, the call will return the JSON representation of that topology.
listSELECTaccountName, resourceGroupName, subscriptionIdRetrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation.
create_or_updateINSERTaccountName, pipelineTopologyName, resourceGroupName, subscriptionId, data__kind, data__skuCreates a new pipeline topology or updates an existing one, with the given name. A pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics.
deleteDELETEaccountName, pipelineTopologyName, resourceGroupName, subscriptionIdDeletes a pipeline topology with the given name. This method should be called after all instances of the topology have been stopped and deleted.
updateUPDATEaccountName, pipelineTopologyName, resourceGroupName, subscriptionIdUpdates an existing pipeline topology with the given name. If the associated live pipelines or pipeline jobs are in active or processing state, respectively, then only the description can be updated. Else, the properties that can be updated include: description, parameter declarations, sources, processors, and sinks.

SELECT examples

Retrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation.

SELECT
description,
accountName,
kind,
parameters,
pipelineTopologyName,
processors,
resourceGroupName,
sinks,
sku,
sources,
subscriptionId
FROM azure.video_analyzer.vw_pipeline_topologies
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.video_analyzer.pipeline_topologies (
accountName,
pipelineTopologyName,
resourceGroupName,
subscriptionId,
data__kind,
data__sku,
properties,
kind,
sku
)
SELECT
'{{ accountName }}',
'{{ pipelineTopologyName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__kind }}',
'{{ data__sku }}',
'{{ properties }}',
'{{ kind }}',
'{{ sku }}'
;

UPDATE example

Updates a pipeline_topologies resource.

/*+ update */
UPDATE azure.video_analyzer.pipeline_topologies
SET
properties = '{{ properties }}',
kind = '{{ kind }}',
sku = '{{ sku }}'
WHERE
accountName = '{{ accountName }}'
AND pipelineTopologyName = '{{ pipelineTopologyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified pipeline_topologies resource.

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