Skip to main content

recommendations

Creates, updates, deletes, gets or lists a recommendations resource.

Overview

Namerecommendations
TypeResource
Idazure.app_service.recommendations

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectRecommendation resource specific properties
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
listSELECTsubscriptionIdDescription for List all recommendations for a subscription.
disable_all_for_hosting_environmentEXECenvironmentName, hostingEnvironmentName, resourceGroupName, subscriptionIdDescription for Disable all recommendations for an app.
disable_all_for_web_appEXECresourceGroupName, siteName, subscriptionIdDescription for Disable all recommendations for an app.
disable_recommendation_for_hosting_environmentEXECenvironmentName, hostingEnvironmentName, name, resourceGroupName, subscriptionIdDescription for Disables the specific rule for a web site permanently.
disable_recommendation_for_siteEXECname, resourceGroupName, siteName, subscriptionIdDescription for Disables the specific rule for a web site permanently.
disable_recommendation_for_subscriptionEXECname, subscriptionIdDescription for Disables the specified rule so it will not apply to a subscription in the future.
reset_all_filtersEXECsubscriptionIdDescription for Reset all recommendation opt-out settings for a subscription.
reset_all_filters_for_hosting_environmentEXECenvironmentName, hostingEnvironmentName, resourceGroupName, subscriptionIdDescription for Reset all recommendation opt-out settings for an app.
reset_all_filters_for_web_appEXECresourceGroupName, siteName, subscriptionIdDescription for Reset all recommendation opt-out settings for an app.

SELECT examples

Description for List all recommendations for a subscription.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.recommendations
WHERE subscriptionId = '{{ subscriptionId }}';