Skip to main content

videos_content_tokens

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

Overview

Namevideos_content_tokens
TypeResource
Idazure.video_analyzer.videos_content_tokens

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
expirationDatestring (date-time)The content token expiration date in ISO8601 format (eg. 2021-01-01T00:00:00Z).
tokenstringThe content token value to be added to the video content URL as the value for the "token" query string parameter. The token is specific to a single video.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, videoNameGenerates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.

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

SELECT examples

Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.

SELECT
expirationDate,
token
FROM azure.video_analyzer.videos_content_tokens
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND videoName = '{{ videoName }}' -- required
;