Skip to main content

live_pipelines

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

Overview

Namelive_pipelines
TypeResource
Idazure_extras.video_analyzer.live_pipelines

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.
bitrateKbpsinteger
descriptionstring
parametersarray
statestringCurrent state of the pipeline (read-only). Possible values include: "Inactive", "Activating", "Active", "Deactivating".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
topologyNamestring
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
getselectlive_pipeline_name, account_name, resource_group_name, subscription_idRetrieves a specific live pipeline by name. 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.
listselectaccount_name, resource_group_name, subscription_id$filter, $topRetrieves a list of live pipelines. Retrieves a list of live pipelines that have been created, along with their JSON representations.
create_or_updateinsertlive_pipeline_name, account_name, resource_group_name, subscription_idCreates or updates a live pipeline. Creates a new live pipeline or updates an existing one, with the given name.
updateupdatelive_pipeline_name, account_name, resource_group_name, subscription_idUpdates an existing live pipeline. 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.
create_or_updatereplacelive_pipeline_name, account_name, resource_group_name, subscription_idCreates or updates a live pipeline. Creates a new live pipeline or updates an existing one, with the given name.
deletedeletelive_pipeline_name, account_name, resource_group_name, subscription_idDeletes a live pipeline. Deletes a live pipeline with the given name.
activateexeclive_pipeline_name, account_name, resource_group_name, subscription_idActivates a live pipeline. Activates a live pipeline with the given name.
deactivateexeclive_pipeline_name, account_name, resource_group_name, subscription_idDeactivates a live pipeline. Deactivates 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
account_namestringThe Azure Video Analyzer account name.
live_pipeline_namestringLive pipeline 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 live pipeline by name. 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
id,
name,
bitrateKbps,
description,
parameters,
state,
systemData,
topologyName,
type
FROM azure_extras.video_analyzer.live_pipelines
WHERE live_pipeline_name = '{{ live_pipeline_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 live pipeline. Creates a new live pipeline or updates an existing one, with the given name.

INSERT INTO azure_extras.video_analyzer.live_pipelines (
properties,
live_pipeline_name,
account_name,
resource_group_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ live_pipeline_name }}',
'{{ account_name }}',
'{{ resource_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Updates an existing live pipeline. 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_extras.video_analyzer.live_pipelines
SET
properties = '{{ properties }}'
WHERE
live_pipeline_name = '{{ live_pipeline_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,
properties,
systemData,
type;

REPLACE examples

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

REPLACE azure_extras.video_analyzer.live_pipelines
SET
properties = '{{ properties }}'
WHERE
live_pipeline_name = '{{ live_pipeline_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,
properties,
systemData,
type;

DELETE examples

Deletes a live pipeline. Deletes a live pipeline with the given name.

DELETE FROM azure_extras.video_analyzer.live_pipelines
WHERE live_pipeline_name = '{{ live_pipeline_name }}' --required
AND account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Activates a live pipeline. Activates a live pipeline with the given name.

EXEC azure_extras.video_analyzer.live_pipelines.activate 
@live_pipeline_name='{{ live_pipeline_name }}' --required,
@account_name='{{ account_name }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;