Beispiel #1
0
 /// <summary>
 /// Updates individual properties of an existing video resource.
 /// </summary>
 /// <remarks>
 /// Updates individual properties of an existing video resource with the given
 /// name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Video Analyzer account name.
 /// </param>
 /// <param name='videoName'>
 /// The Video name.
 /// </param>
 /// <param name='parameters'>
 /// The request parameters
 /// </param>
 public static VideoEntity Update(this IVideosOperations operations, string resourceGroupName, string accountName, string videoName, VideoEntity parameters)
 {
     return(operations.UpdateAsync(resourceGroupName, accountName, videoName, parameters).GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Updates the properties of a video resource.
 /// </summary>
 /// <remarks>
 /// Updates individual properties of an existing video resource.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Video Analyzer account name.
 /// </param>
 /// <param name='videoName'>
 /// The name of the video to update.
 /// </param>
 /// <param name='title'>
 /// Optional video title provided by the user. Value can be up to 256
 /// characters long.
 /// </param>
 /// <param name='description'>
 /// Optional video description provided by the user. Value can be up to 2048
 /// characters long.
 /// </param>
 public static VideoEntity Update(this IVideosOperations operations, string resourceGroupName, string accountName, string videoName, string title = default(string), string description = default(string))
 {
     return(operations.UpdateAsync(resourceGroupName, accountName, videoName, title, description).GetAwaiter().GetResult());
 }