/// <summary>
 /// Return detailed information about a distributed release 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'>
 /// Only supports the constant `latest`, specific IDs are not supported.
 /// `latest` will return the latest release in the distribution group.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetLatestByDistributionGroupAsync(this IReleases operations, string ownerName, string appName, string distributionGroupName, string releaseId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetLatestByDistributionGroupWithHttpMessagesAsync(ownerName, appName, distributionGroupName, releaseId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }