Skip to main content

recommendations_rule_details_by_web_apps

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

Overview

Namerecommendations_rule_details_by_web_apps
TypeResource
Idazure.app_service.recommendations_rule_details_by_web_apps

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, siteName, name, subscriptionIdupdateSeen, recommendationIdDescription for Get a recommendation rule for an app.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringName of the recommendation.
resourceGroupNamestringName of the resource group to which the resource belongs.
siteNamestringName of the app.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
recommendationIdstringThe GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
updateSeenbooleanSpecify true to update the last-seen timestamp of the recommendation object.

SELECT examples

Description for Get a recommendation rule for an app.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.recommendations_rule_details_by_web_apps
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND siteName = '{{ siteName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND updateSeen = '{{ updateSeen }}'
AND recommendationId = '{{ recommendationId }}'
;