Dela via


VideosOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a new video resource or updates an existing one.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.VideoEntity> CreateOrUpdateAsync (this Microsoft.Azure.Management.VideoAnalyzer.IVideosOperations operations, string resourceGroupName, string accountName, string videoName, Microsoft.Azure.Management.VideoAnalyzer.Models.VideoEntity parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.VideoAnalyzer.IVideosOperations * string * string * string * Microsoft.Azure.Management.VideoAnalyzer.Models.VideoEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.VideoEntity>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVideosOperations, resourceGroupName As String, accountName As String, videoName As String, parameters As VideoEntity, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VideoEntity)

Parameters

operations
IVideosOperations

The operations group for this extension method.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to