Recommendations interface

Interface representing a Recommendations.

Methods

disableAllForHostingEnvironment(string, string, string, RecommendationsDisableAllForHostingEnvironmentOptionalParams)

Disable all recommendations for an app.

disableAllForWebApp(string, string, RecommendationsDisableAllForWebAppOptionalParams)

Disable all recommendations for an app.

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

Disables the specific rule for a web site permanently.

disableRecommendationForSite(string, string, string, RecommendationsDisableRecommendationForSiteOptionalParams)

Disables the specific rule for a web site permanently.

disableRecommendationForSubscription(string, RecommendationsDisableRecommendationForSubscriptionOptionalParams)

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

getRuleDetailsByHostingEnvironment(string, string, string, RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams)

Get a recommendation rule for an app.

getRuleDetailsByWebApp(string, string, string, RecommendationsGetRuleDetailsByWebAppOptionalParams)

Get a recommendation rule for an app.

list(RecommendationsListOptionalParams)

List all recommendations for a subscription.

listHistoryForHostingEnvironment(string, string, RecommendationsListHistoryForHostingEnvironmentOptionalParams)

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

listHistoryForWebApp(string, string, RecommendationsListHistoryForWebAppOptionalParams)

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

listRecommendedRulesForHostingEnvironment(string, string, RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams)

Get all recommendations for an app.

listRecommendedRulesForWebApp(string, string, RecommendationsListRecommendedRulesForWebAppOptionalParams)

Get all recommendations for an app.

resetAllFilters(RecommendationsResetAllFiltersOptionalParams)

Reset all recommendation opt-out settings for a subscription.

resetAllFiltersForHostingEnvironment(string, string, string, RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams)

Reset all recommendation opt-out settings for an app.

resetAllFiltersForWebApp(string, string, RecommendationsResetAllFiltersForWebAppOptionalParams)

Reset all recommendation opt-out settings for an app.

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

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.

options
RecommendationsDisableAllForWebAppOptionalParams

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

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

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

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.

Returns

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.

options
RecommendationsGetRuleDetailsByWebAppOptionalParams

The options parameters.

Returns

list(RecommendationsListOptionalParams)

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)

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)

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)

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.

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.

Returns

resetAllFilters(RecommendationsResetAllFiltersOptionalParams)

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)

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)

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>