videos_content_tokens
Creates, updates, deletes, gets or lists a videos_content_tokens
resource.
Overview
Name | videos_content_tokens |
Type | Resource |
Id | azure.video_analyzer.videos_content_tokens |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
expirationDate | string (date-time) | The content token expiration date in ISO8601 format (eg. 2021-01-01T00:00:00Z). |
token | string | The 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , accountName , videoName | Generates 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.
Name | Datatype | Description |
---|---|---|
accountName | string | The Azure Video Analyzer account name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
videoName | string | The Video name. |
SELECT
examples
- list
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
;