live_pipelines
Creates, updates, deletes, gets or lists a live_pipelines
resource.
Overview
Name | live_pipelines |
Type | Resource |
Id | azure.video_analyzer.live_pipelines |
Fields
- vw_live_pipelines
- live_pipelines
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
accountName | text | field from the properties object |
bitrate_kbps | text | field from the properties object |
livePipelineName | text | field from the properties object |
parameters | text | field from the properties object |
resourceGroupName | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
topology_name | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Live pipeline properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, livePipelineName, resourceGroupName, subscriptionId | 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. |
list | SELECT | accountName, resourceGroupName, subscriptionId | Retrieves a list of live pipelines that have been created, along with their JSON representations. |
create_or_update | INSERT | accountName, livePipelineName, resourceGroupName, subscriptionId | Creates a new live pipeline or updates an existing one, with the given name. |
delete | DELETE | accountName, livePipelineName, resourceGroupName, subscriptionId | Deletes a live pipeline with the given name. |
update | UPDATE | accountName, livePipelineName, resourceGroupName, subscriptionId | 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. |
activate | EXEC | accountName, livePipelineName, resourceGroupName, subscriptionId | Activates a live pipeline with the given name. |
deactivate | EXEC | accountName, livePipelineName, resourceGroupName, subscriptionId | Deactivates a live pipeline with the given name. |
SELECT
examples
Retrieves a list of live pipelines that have been created, along with their JSON representations.
- vw_live_pipelines
- live_pipelines
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 }}';
SELECT
properties
FROM azure.video_analyzer.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.video_analyzer.live_pipelines (
accountName,
livePipelineName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ livePipelineName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: topologyName
value: string
- name: description
value: string
- name: bitrateKbps
value: integer
- name: state
value: string
- name: parameters
value:
- - name: name
value: string
- name: value
value: string
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 }}';