/// <summary>
 /// Update a Channel.
 /// </summary>
 /// <remarks>
 /// Synchronously updates a channel with the specified parameters.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the partners subscription.
 /// </param>
 /// <param name='partnerNamespaceName'>
 /// Name of the partner namespace.
 /// </param>
 /// <param name='channelName'>
 /// Name of the channel.
 /// </param>
 /// <param name='channelUpdateParameters'>
 /// Channel update information.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this IChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string channelName, ChannelUpdateParameters channelUpdateParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, partnerNamespaceName, channelName, channelUpdateParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Update a Channel.
 /// </summary>
 /// <remarks>
 /// Synchronously updates a channel with the specified parameters.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the partners subscription.
 /// </param>
 /// <param name='partnerNamespaceName'>
 /// Name of the partner namespace.
 /// </param>
 /// <param name='channelName'>
 /// Name of the channel.
 /// </param>
 /// <param name='channelUpdateParameters'>
 /// Channel update information.
 /// </param>
 public static void Update(this IChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string channelName, ChannelUpdateParameters channelUpdateParameters)
 {
     operations.UpdateAsync(resourceGroupName, partnerNamespaceName, channelName, channelUpdateParameters).GetAwaiter().GetResult();
 }