/// <summary>
 /// Gets a list of recommendations associated with the specified web site.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Resource group name
 /// </param>
 /// <param name='siteName'>
 /// Site name
 /// </param>
 /// <param name='featured'>
 /// If set, this API returns only the most critical recommendation among the
 /// others. Otherwise this API returns all recommendations available
 /// </param>
 /// <param name='siteSku'>
 /// The name of site SKU.
 /// </param>
 /// <param name='numSlots'>
 /// The number of site slots associated to the site
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <Recommendation> > GetRecommendedRulesForSiteAsync(this IRecommendationsOperations operations, string resourceGroupName, string siteName, bool?featured = default(bool?), string siteSku = default(string), int?numSlots = default(int?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetRecommendedRulesForSiteWithHttpMessagesAsync(resourceGroupName, siteName, featured, siteSku, numSlots, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }