VideosOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or updates a video resource.
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, string title = default, string description = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.VideoAnalyzer.IVideosOperations * string * string * string * string * string * 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, Optional title As String = Nothing, Optional description As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VideoEntity)
Parameters
- operations
- IVideosOperations
The operations group for this extension method.
- resourceGroupName
- System.String
The name of the resource group. The name is case insensitive.
- accountName
- System.String
The Azure Video Analyzer account name.
- videoName
- System.String
The name of the video to create or update.
- title
- System.String
Optional video title provided by the user. Value can be up to 256 characters long.
- description
- System.String
Optional video description provided by the user. Value can be up to 2048 characters long.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<VideoEntity>
Remarks
Creates a new video resource or updates an existing one in an account.