Recommendations interface
Interface representing a Recommendations.
Methods
Method Details
disableAllForHostingEnvironment(string, string, string, RecommendationsDisableAllForHostingEnvironmentOptionalParams)
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)
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)
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)
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)
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)
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)
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)
List all recommendations for a subscription.
function list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>
Parameters
The options parameters.
Returns
listHistoryForHostingEnvironment(string, string, RecommendationsListHistoryForHostingEnvironmentOptionalParams)
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)
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)
Get all recommendations for an app.
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)
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)
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)
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)
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>