Skip to main content

pipeline_topologies

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

Overview

Namepipeline_topologies
TypeResource
Idazure_extras.video_analyzer.pipeline_topologies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
descriptionstring
kindstring
parametersarray
processorsarray
sinksarray
skuobjectThe SKU details. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure.
sourcesarray
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpipeline_topology_name, account_name, resource_group_name, subscription_idRetrieves a specific pipeline topology by name. 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.
listselectaccount_name, resource_group_name, subscription_id$filter, $topRetrieves a list of pipeline topologies. Retrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation.
create_or_updateinsertpipeline_topology_name, account_name, resource_group_name, subscription_id, kind, skuCreates or updates a pipeline topology. 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.
updateupdatepipeline_topology_name, account_name, resource_group_name, subscription_idUpdates an existing pipeline topology. 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.
create_or_updatereplacepipeline_topology_name, account_name, resource_group_name, subscription_id, kind, skuCreates or updates a pipeline topology. 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.
deletedeletepipeline_topology_name, account_name, resource_group_name, subscription_idDeletes a pipeline topology. Deletes 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
account_namestringThe Azure Video Analyzer account name.
pipeline_topology_namestringPipeline topology unique identifier.
resource_group_namestringThe name of the resource group. The name is case insensitive.
subscription_idstring
$filterstringRestricts the set of items returned.
$topintegerSpecifies 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. 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
id,
name,
description,
kind,
parameters,
processors,
sinks,
sku,
sources,
systemData,
type
FROM azure_extras.video_analyzer.pipeline_topologies
WHERE pipeline_topology_name = '{{ pipeline_topology_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates a pipeline topology. 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_extras.video_analyzer.pipeline_topologies (
kind,
sku,
properties,
pipeline_topology_name,
account_name,
resource_group_name,
subscription_id
)
SELECT
'{{ kind }}' /* required */,
'{{ sku }}' /* required */,
'{{ properties }}',
'{{ pipeline_topology_name }}',
'{{ account_name }}',
'{{ resource_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
kind,
properties,
sku,
systemData,
type
;

UPDATE examples

Updates an existing pipeline topology. 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_extras.video_analyzer.pipeline_topologies
SET
kind = '{{ kind }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
pipeline_topology_name = '{{ pipeline_topology_name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
kind,
properties,
sku,
systemData,
type;

REPLACE examples

Creates or updates a pipeline topology. 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.

REPLACE azure_extras.video_analyzer.pipeline_topologies
SET
kind = '{{ kind }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
pipeline_topology_name = '{{ pipeline_topology_name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND kind = '{{ kind }}' --required
AND sku = '{{ sku }}' --required
RETURNING
id,
name,
kind,
properties,
sku,
systemData,
type;

DELETE examples

Deletes a pipeline topology. 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_extras.video_analyzer.pipeline_topologies
WHERE pipeline_topology_name = '{{ pipeline_topology_name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;