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

NameDatatypeDescription
descriptiontextfield from the properties object
accountNametextfield from the properties object
bitrate_kbpstextfield from the properties object
livePipelineNametextfield from the properties object
parameterstextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
topology_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, livePipelineName, resourceGroupName, subscriptionIdRetrieves 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.
listSELECTaccountName, resourceGroupName, subscriptionIdRetrieves a list of live pipelines that have been created, along with their JSON representations.
create_or_updateINSERTaccountName, livePipelineName, resourceGroupName, subscriptionIdCreates a new live pipeline or updates an existing one, with the given name.
deleteDELETEaccountName, livePipelineName, resourceGroupName, subscriptionIdDeletes a live pipeline with the given name.
updateUPDATEaccountName, livePipelineName, resourceGroupName, subscriptionIdUpdates 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.
activateEXECaccountName, livePipelineName, resourceGroupName, subscriptionIdActivates a live pipeline with the given name.
deactivateEXECaccountName, livePipelineName, resourceGroupName, subscriptionIdDeactivates a live pipeline with the given name.

SELECT examples

Retrieves a list of live pipelines that have been created, along with their JSON representations.

SELECT
description,
accountName,
bitrate_kbps,
livePipelineName,
parameters,
resourceGroupName,
state,
subscriptionId,
topology_name
FROM azure.video_analyzer.vw_live_pipelines
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.video_analyzer.live_pipelines (
accountName,
livePipelineName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ livePipelineName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a live_pipelines resource.

/*+ update */
UPDATE azure.video_analyzer.live_pipelines
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND livePipelineName = '{{ livePipelineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified live_pipelines resource.

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