Esempio n. 1
0
 /// <summary>
 /// Get all recommendations for an app.
 /// </summary>
 /// <remarks>
 /// Get all recommendations for an app.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='siteName'>
 /// Name of the app.
 /// </param>
 /// <param name='featured'>
 /// Specify &lt;code&gt;true&lt;/code&gt; to return only the most critical
 /// recommendations. The default is &lt;code&gt;false&lt;/code&gt;, which
 /// returns all recommendations.
 /// </param>
 /// <param name='filter'>
 /// Return only channels specified in the filter. Filter is specified by using
 /// OData syntax. Example: $filter=channels eq 'Api' or channel eq
 /// 'Notification'
 /// </param>
 public static IPage <Recommendation> ListRecommendedRulesForWebApp(this IRecommendationsOperations operations, string resourceGroupName, string siteName, bool?featured = default(bool?), string filter = default(string))
 {
     return(operations.ListRecommendedRulesForWebAppAsync(resourceGroupName, siteName, featured, filter).GetAwaiter().GetResult());
 }