/// <summary>
 /// Updates the attributes of distribution group
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='ownerName'>
 /// The name of the owner
 /// </param>
 /// <param name='appName'>
 /// The name of the application
 /// </param>
 /// <param name='distributionGroupName'>
 /// The name of the distribution group
 /// </param>
 /// <param name='distributionGroup'>
 /// The attributes to update for the distribution group
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DistributionGroupResponse> UpdateAsync(this IDistributionGroups operations, string ownerName, string appName, string distributionGroupName, DistributionGroupPatchRequest distributionGroup, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UpdateWithHttpMessagesAsync(ownerName, appName, distributionGroupName, distributionGroup, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }