Skip to main content

video_analyzers

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

Overview

Namevideo_analyzers
TypeResource
Idazure_extras.video_analyzer.video_analyzers

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.
encryptionobjectDefines how the Video Analyzer account is (optionally) encrypted. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure.
endpointsarrayThe endpoints associated with this resource.
identityobjectThe managed identity for the Video Analyzer resource. All required parameters must be populated in order to send to Azure.
iotHubsarray
locationstring
networkAccessControlobjectNetwork access control for video analyzer account.
privateEndpointConnectionsarrayPrivate Endpoint Connections created under Video Analyzer account.
provisioningStatestringProvisioning state of the Video Analyzer account. Possible values include: "Failed", "InProgress", "Succeeded".
publicNetworkAccessstring
storageAccountsarray
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobject
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
getselectaccount_name, resource_group_name, subscription_idGet a Video Analyzer account. Get the details of the specified Video Analyzer account.
listselectresource_group_name, subscription_idList Video Analyzer accounts. Lists the Video Analyzer accounts in the specified resource group.
list_by_subscriptionselectsubscription_idList Video Analyzer accounts. List all Video Analyzer accounts in the specified subscription.
create_or_updateinsertaccount_name, resource_group_name, subscription_idCreate or update a Video Analyzer account. Create or update an instance of a Video Analyzer account.
create_or_updatereplaceaccount_name, resource_group_name, subscription_idCreate or update a Video Analyzer account. Create or update an instance of a Video Analyzer account.
deletedeleteaccount_name, resource_group_name, subscription_idDelete a Video Analyzer account. Delete 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
account_namestringThe Video Analyzer account name.
resource_group_namestringThe name of the resource group. The name is case insensitive.
subscription_idstring

SELECT examples

Get a Video Analyzer account. Get the details of the specified Video Analyzer account.

SELECT
id,
name,
encryption,
endpoints,
identity,
iotHubs,
location,
networkAccessControl,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
storageAccounts,
systemData,
tags,
type
FROM azure_extras.video_analyzer.video_analyzers
WHERE account_name = '{{ account_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update a Video Analyzer account. Create or update an instance of a Video Analyzer account.

INSERT INTO azure_extras.video_analyzer.video_analyzers (
account_name,
resource_group_name,
subscription_id
)
SELECT
'{{ account_name }}',
'{{ resource_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type
;

REPLACE examples

Create or update a Video Analyzer account. Create or update an instance of a Video Analyzer account.

REPLACE azure_extras.video_analyzer.video_analyzers
SET
-- No updatable properties
WHERE
account_name = '{{ account_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a Video Analyzer account. Delete the specified Video Analyzer account.

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