Skip to main content

live_pipelines

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

Overview

Namelive_pipelines
TypeResource
Idazure.video_analyzer.live_pipelines

Fields

The following fields are returned by SELECT queries:

The live pipeline was retrieved successfully.

NameDatatypeDescription
propertiesobjectThe resource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, livePipelineNameRetrieves a specific live pipeline by name. If a live pipeline 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 live pipelines that have been created, along with their JSON representations.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, livePipelineNameCreates a new live pipeline or updates an existing one, with the given name.
updateupdatesubscriptionId, resourceGroupName, accountName, livePipelineNameUpdates an existing live pipeline with the given name. Properties that can be updated include: description, bitrateKbps, and parameter definitions. Only the description can be updated while the live pipeline is active.
deletedeletesubscriptionId, resourceGroupName, accountName, livePipelineNameDeletes a live pipeline with the given name.
activateexecsubscriptionId, resourceGroupName, accountName, livePipelineNameActivates a live pipeline with the given name.
deactivateexecsubscriptionId, resourceGroupName, accountName, livePipelineNameDeactivates a live pipeline 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.
livePipelineNamestringLive pipeline 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 live pipeline by name. If a live pipeline with that name has been previously created, the call will return the JSON representation of that instance.

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

INSERT examples

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

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

UPDATE examples

Updates an existing live pipeline with the given name. Properties that can be updated include: description, bitrateKbps, and parameter definitions. Only the description can be updated while the live pipeline is active.

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

DELETE examples

Deletes a live pipeline with the given name.

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

Lifecycle Methods

Activates a live pipeline with the given name.

EXEC azure.video_analyzer.live_pipelines.activate 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@accountName='{{ accountName }}' --required,
@livePipelineName='{{ livePipelineName }}' --required
;