Recommendations interface

Interface representing a Recommendations.

Methods

disableAllForHostingEnvironment(string, string, string, RecommendationsDisableAllForHostingEnvironmentOptionalParams)

Description for Disable all recommendations for an app.

disableAllForWebApp(string, string, RecommendationsDisableAllForWebAppOptionalParams)

Description for Disable all recommendations for an app.

disableRecommendationForHostingEnvironment(string, string, string, string, RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams)

Description for Disables the specific rule for a web site permanently.

disableRecommendationForSite(string, string, string, RecommendationsDisableRecommendationForSiteOptionalParams)

Description for Disables the specific rule for a web site permanently.

disableRecommendationForSubscription(string, RecommendationsDisableRecommendationForSubscriptionOptionalParams)

Description for Disables the specified rule so it will not apply to a subscription in the future.

getRuleDetailsByHostingEnvironment(string, string, string, RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams)

Description for Get a recommendation rule for an app.

getRuleDetailsByWebApp(string, string, string, RecommendationsGetRuleDetailsByWebAppOptionalParams)

Description for Get a recommendation rule for an app.

list(RecommendationsListOptionalParams)

Description for List all recommendations for a subscription.

listHistoryForHostingEnvironment(string, string, RecommendationsListHistoryForHostingEnvironmentOptionalParams)

Description for Get past recommendations for an app, optionally specified by the time range.

listHistoryForWebApp(string, string, RecommendationsListHistoryForWebAppOptionalParams)

Description for Get past recommendations for an app, optionally specified by the time range.

listRecommendedRulesForHostingEnvironment(string, string, RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams)

Description for Get all recommendations for a hosting environment.

listRecommendedRulesForWebApp(string, string, RecommendationsListRecommendedRulesForWebAppOptionalParams)

Description for Get all recommendations for an app.

resetAllFilters(RecommendationsResetAllFiltersOptionalParams)

Description for Reset all recommendation opt-out settings for a subscription.

resetAllFiltersForHostingEnvironment(string, string, string, RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams)

Description for Reset all recommendation opt-out settings for an app.

resetAllFiltersForWebApp(string, string, RecommendationsResetAllFiltersForWebAppOptionalParams)

Description for Reset all recommendation opt-out settings for an app.

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

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.

options
RecommendationsDisableAllForWebAppOptionalParams

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

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

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

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.

Returns

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.

options
RecommendationsGetRuleDetailsByWebAppOptionalParams

The options parameters.

Returns

list(RecommendationsListOptionalParams)

Description for List all recommendations for a subscription.

function list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<Recommendation, Recommendation[], PageSettings>

Parameters

options
RecommendationsListOptionalParams

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.

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.

options
RecommendationsListHistoryForWebAppOptionalParams

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.

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.

Returns

resetAllFilters(RecommendationsResetAllFiltersOptionalParams)

Description for Reset all recommendation opt-out settings for a subscription.

function resetAllFilters(options?: RecommendationsResetAllFiltersOptionalParams): Promise<void>

Parameters

options
RecommendationsResetAllFiltersOptionalParams

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

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.

Returns

Promise<void>