Skip to main content

video_analyzers

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

Overview

Namevideo_analyzers
TypeResource
Idazure.video_analyzer.video_analyzers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
identityobjectThe identities associated to the Video Analyzer resource.
locationstringThe geo-location where the resource lives
propertiesobjectThe resource properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountNameGet the details of the specified Video Analyzer account
listselectsubscriptionId, resourceGroupNameLists the Video Analyzer accounts in the specified resource group.
list_by_subscriptionselectsubscriptionIdList all Video Analyzer accounts in the specified subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, accountNameCreate or update an instance of a Video Analyzer account
updateupdatesubscriptionId, resourceGroupName, accountNameUpdates an existing instance of Video Analyzer account
deletedeletesubscriptionId, resourceGroupName, accountNameDelete the specified Video Analyzer account

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 Video Analyzer account name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the details of the specified Video Analyzer account

SELECT
identity,
location,
properties,
tags
FROM azure.video_analyzer.video_analyzers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;

INSERT examples

Create or update an instance of a Video Analyzer account

INSERT INTO azure.video_analyzer.video_analyzers (
data__tags,
data__location,
data__properties,
data__identity,
subscriptionId,
resourceGroupName,
accountName
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ identity }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}'
RETURNING
identity,
location,
properties,
tags
;

UPDATE examples

Updates an existing instance of Video Analyzer account

UPDATE azure.video_analyzer.video_analyzers
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}',
data__identity = '{{ identity }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
RETURNING
identity,
location,
properties,
tags;

DELETE examples

Delete the specified Video Analyzer account

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