/// <summary>
 /// Deletes a release with id 'release_id' in a given distribution group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='ownerName'>
 /// The name of the app owner
 /// </param>
 /// <param name='appName'>
 /// The name of the app
 /// </param>
 /// <param name='distributionGroupName'>
 /// The name of the distribution group.
 /// </param>
 /// <param name='releaseId'>
 /// The ID identifying the unique release.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorDetails> DeleteWithDistributionGroupIdAsync(this IReleases operations, string ownerName, string appName, string distributionGroupName, int releaseId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteWithDistributionGroupIdWithHttpMessagesAsync(ownerName, appName, distributionGroupName, releaseId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }