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

The following fields are returned by SELECT queries:

Pipeline topology was retrieved successfully.

NameDatatypeDescription
kindstringTopology kind.
propertiesobjectThe resource properties.
skuobjectDescribes the properties of a SKU.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, pipelineTopologyNameRetrieves 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.
listselectsubscriptionId, resourceGroupName, accountName$filter, $topRetrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, pipelineTopologyName, 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.
updateupdatesubscriptionId, resourceGroupName, accountName, pipelineTopologyNameUpdates 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.
deletedeletesubscriptionId, resourceGroupName, accountName, pipelineTopologyNameDeletes a pipeline topology with the given name. This method should be called after all instances of the topology have been stopped and deleted.

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.
pipelineTopologyNamestringPipeline topology unique identifier.
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 topology by name. If a topology with that name has been previously created, the call will return the JSON representation of that topology.

SELECT
kind,
properties,
sku
FROM azure.video_analyzer.pipeline_topologies
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND pipelineTopologyName = '{{ pipelineTopologyName }}' -- required
;

INSERT examples

Creates 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.

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

UPDATE examples

Updates 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.

UPDATE azure.video_analyzer.pipeline_topologies
SET
data__properties = '{{ properties }}',
data__kind = '{{ kind }}',
data__sku = '{{ sku }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND pipelineTopologyName = '{{ pipelineTopologyName }}' --required
RETURNING
kind,
properties,
sku;

DELETE examples

Deletes a pipeline topology with the given name. This method should be called after all instances of the topology have been stopped and deleted.

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