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

NameDatatypeDescription
accountNametextfield from the properties object
encryptiontextfield from the properties object
endpointstextfield from the properties object
identitytextThe managed identity for the Video Analyzer resource.
iot_hubstextfield from the properties object
locationtextThe geo-location where the resource lives
network_access_controltextfield from the properties object
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
public_network_accesstextfield from the properties object
resourceGroupNametextfield from the properties object
storage_accountstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, subscriptionIdGet the details of the specified Video Analyzer account
listSELECTresourceGroupName, subscriptionIdLists the Video Analyzer accounts in the specified resource group.
list_by_subscriptionSELECTsubscriptionIdList all Video Analyzer accounts in the specified subscription.
create_or_updateINSERTaccountName, resourceGroupName, subscriptionIdCreate or update an instance of a Video Analyzer account
deleteDELETEaccountName, resourceGroupName, subscriptionIdDelete the specified Video Analyzer account
updateUPDATEaccountName, resourceGroupName, subscriptionIdUpdates an existing instance of Video Analyzer account

SELECT examples

List all Video Analyzer accounts in the specified subscription.

SELECT
accountName,
encryption,
endpoints,
identity,
iot_hubs,
location,
network_access_control,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
storage_accounts,
subscriptionId,
tags
FROM azure.video_analyzer.vw_video_analyzers
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.video_analyzer.video_analyzers (
accountName,
resourceGroupName,
subscriptionId,
tags,
location,
properties,
identity
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ identity }}'
;

UPDATE example

Updates a video_analyzers resource.

/*+ update */
UPDATE azure.video_analyzer.video_analyzers
SET
tags = '{{ tags }}',
properties = '{{ properties }}',
identity = '{{ identity }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified video_analyzers resource.

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