/// <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>
 public static ErrorDetails DeleteWithDistributionGroupId(this IReleases operations, string ownerName, string appName, string distributionGroupName, int releaseId)
 {
     return(operations.DeleteWithDistributionGroupIdAsync(ownerName, appName, distributionGroupName, releaseId).GetAwaiter().GetResult());
 }