Recommendations interface
Interface representing a Recommendations.
Methods
Method Details
disableAllForHostingEnvironment(string, string, string, RecommendationsDisableAllForHostingEnvironmentOptionalParams)
Description for Disable all recommendations for an app.
function disableAllForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- environmentName
-
string
Name of the app.
- hostingEnvironmentName
-
string
The options parameters.
Returns
Promise<void>
disableAllForWebApp(string, string, RecommendationsDisableAllForWebAppOptionalParams)
Description for Disable all recommendations for an app.
function disableAllForWebApp(resourceGroupName: string, siteName: string, options?: RecommendationsDisableAllForWebAppOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Name of the app.
The options parameters.
Returns
Promise<void>
disableRecommendationForHostingEnvironment(string, string, string, string, RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams)
Description for Disables the specific rule for a web site permanently.
function disableRecommendationForHostingEnvironment(resourceGroupName: string, environmentName: string, name: string, hostingEnvironmentName: string, options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- environmentName
-
string
Site name
- name
-
string
Rule name
- hostingEnvironmentName
-
string
The options parameters.
Returns
Promise<void>
disableRecommendationForSite(string, string, string, RecommendationsDisableRecommendationForSiteOptionalParams)
Description for Disables the specific rule for a web site permanently.
function disableRecommendationForSite(resourceGroupName: string, siteName: string, name: string, options?: RecommendationsDisableRecommendationForSiteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Site name
- name
-
string
Rule name
The options parameters.
Returns
Promise<void>
disableRecommendationForSubscription(string, RecommendationsDisableRecommendationForSubscriptionOptionalParams)
Description for Disables the specified rule so it will not apply to a subscription in the future.
function disableRecommendationForSubscription(name: string, options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams): Promise<void>
Parameters
- name
-
string
Rule name
The options parameters.
Returns
Promise<void>
getRuleDetailsByHostingEnvironment(string, string, string, RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams)
Description for Get a recommendation rule for an app.
function getRuleDetailsByHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, name: string, options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams): Promise<RecommendationRule>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- hostingEnvironmentName
-
string
Name of the hosting environment.
- name
-
string
Name of the recommendation.
The options parameters.
Returns
Promise<RecommendationRule>
getRuleDetailsByWebApp(string, string, string, RecommendationsGetRuleDetailsByWebAppOptionalParams)
Description for Get a recommendation rule for an app.
function getRuleDetailsByWebApp(resourceGroupName: string, siteName: string, name: string, options?: RecommendationsGetRuleDetailsByWebAppOptionalParams): Promise<RecommendationRule>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Name of the app.
- name
-
string
Name of the recommendation.
The options parameters.
Returns
Promise<RecommendationRule>
list(RecommendationsListOptionalParams)
Description for List all recommendations for a subscription.
function list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
The options parameters.
Returns
listHistoryForHostingEnvironment(string, string, RecommendationsListHistoryForHostingEnvironmentOptionalParams)
Description for Get past recommendations for an app, optionally specified by the time range.
function listHistoryForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- hostingEnvironmentName
-
string
Name of the hosting environment.
The options parameters.
Returns
listHistoryForWebApp(string, string, RecommendationsListHistoryForWebAppOptionalParams)
Description for Get past recommendations for an app, optionally specified by the time range.
function listHistoryForWebApp(resourceGroupName: string, siteName: string, options?: RecommendationsListHistoryForWebAppOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Name of the app.
The options parameters.
Returns
listRecommendedRulesForHostingEnvironment(string, string, RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams)
Description for Get all recommendations for a hosting environment.
function listRecommendedRulesForHostingEnvironment(resourceGroupName: string, hostingEnvironmentName: string, options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- hostingEnvironmentName
-
string
Name of the app.
The options parameters.
Returns
listRecommendedRulesForWebApp(string, string, RecommendationsListRecommendedRulesForWebAppOptionalParams)
Description for Get all recommendations for an app.
function listRecommendedRulesForWebApp(resourceGroupName: string, siteName: string, options?: RecommendationsListRecommendedRulesForWebAppOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Name of the app.
The options parameters.
Returns
resetAllFilters(RecommendationsResetAllFiltersOptionalParams)
Description for Reset all recommendation opt-out settings for a subscription.
function resetAllFilters(options?: RecommendationsResetAllFiltersOptionalParams): Promise<void>
Parameters
The options parameters.
Returns
Promise<void>
resetAllFiltersForHostingEnvironment(string, string, string, RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams)
Description for Reset all recommendation opt-out settings for an app.
function resetAllFiltersForHostingEnvironment(resourceGroupName: string, environmentName: string, hostingEnvironmentName: string, options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- environmentName
-
string
Name of the app.
- hostingEnvironmentName
-
string
The options parameters.
Returns
Promise<void>
resetAllFiltersForWebApp(string, string, RecommendationsResetAllFiltersForWebAppOptionalParams)
Description for Reset all recommendation opt-out settings for an app.
function resetAllFiltersForWebApp(resourceGroupName: string, siteName: string, options?: RecommendationsResetAllFiltersForWebAppOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- siteName
-
string
Name of the app.
The options parameters.
Returns
Promise<void>