RecommendationsOperationsExtensions.ListRecommendedRulesForHostingEnvironment Method

Definition

Get all recommendations for a hosting environment.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Recommendation> ListRecommendedRulesForHostingEnvironment (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string hostingEnvironmentName, bool? featured = default, string filter = default);
static member ListRecommendedRulesForHostingEnvironment : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * Nullable<bool> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Recommendation>
<Extension()>
Public Function ListRecommendedRulesForHostingEnvironment (operations As IRecommendationsOperations, resourceGroupName As String, hostingEnvironmentName As String, Optional featured As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing) As IPage(Of Recommendation)

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

hostingEnvironmentName
System.String

Name of the app.

featured
System.Nullable<System.Boolean>

Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.

filter
System.String

Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'

Returns

IPage<Recommendation>

Remarks

Description for Get all recommendations for a hosting environment.

Applies to