Videos interface

Interface representing a Videos.

Methods

createOrUpdate(string, string, string, VideoEntity, VideosCreateOrUpdateOptionalParams)

Creates a new video resource or updates an existing video resource with the given name.

delete(string, string, string, VideosDeleteOptionalParams)

Deletes an existing video resource and its underlying data. This operation is irreversible.

get(string, string, string, VideosGetOptionalParams)

Retrieves an existing video resource with the given name.

list(string, string, VideosListOptionalParams)

Retrieves a list of video resources that have been created, along with their JSON representations.

listContentToken(string, string, string, VideosListContentTokenOptionalParams)

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

update(string, string, string, VideoEntity, VideosUpdateOptionalParams)

Updates individual properties of an existing video resource with the given name.

Method Details

createOrUpdate(string, string, string, VideoEntity, VideosCreateOrUpdateOptionalParams)

Creates a new video resource or updates an existing video resource with the given name.

function createOrUpdate(resourceGroupName: string, accountName: string, videoName: string, parameters: VideoEntity, options?: VideosCreateOrUpdateOptionalParams): Promise<VideoEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

videoName

string

The Video name.

parameters
VideoEntity

The request parameters

options
VideosCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<VideoEntity>

delete(string, string, string, VideosDeleteOptionalParams)

Deletes an existing video resource and its underlying data. This operation is irreversible.

function delete(resourceGroupName: string, accountName: string, videoName: string, options?: VideosDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

videoName

string

The Video name.

options
VideosDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, VideosGetOptionalParams)

Retrieves an existing video resource with the given name.

function get(resourceGroupName: string, accountName: string, videoName: string, options?: VideosGetOptionalParams): Promise<VideoEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

videoName

string

The Video name.

options
VideosGetOptionalParams

The options parameters.

Returns

Promise<VideoEntity>

list(string, string, VideosListOptionalParams)

Retrieves a list of video resources that have been created, along with their JSON representations.

function list(resourceGroupName: string, accountName: string, options?: VideosListOptionalParams): PagedAsyncIterableIterator<VideoEntity, VideoEntity[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

options
VideosListOptionalParams

The options parameters.

Returns

listContentToken(string, string, string, VideosListContentTokenOptionalParams)

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

function listContentToken(resourceGroupName: string, accountName: string, videoName: string, options?: VideosListContentTokenOptionalParams): Promise<VideoContentToken>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

videoName

string

The Video name.

options
VideosListContentTokenOptionalParams

The options parameters.

Returns

update(string, string, string, VideoEntity, VideosUpdateOptionalParams)

Updates individual properties of an existing video resource with the given name.

function update(resourceGroupName: string, accountName: string, videoName: string, parameters: VideoEntity, options?: VideosUpdateOptionalParams): Promise<VideoEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

videoName

string

The Video name.

parameters
VideoEntity

The request parameters

options
VideosUpdateOptionalParams

The options parameters.

Returns

Promise<VideoEntity>