recommendations_rule_details_by_web_apps
Creates, updates, deletes, gets or lists a recommendations_rule_details_by_web_apps
resource.
Overview
Name | recommendations_rule_details_by_web_apps |
Type | Resource |
Id | azure.app_service.recommendations_rule_details_by_web_apps |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | RecommendationRule resource specific properties |
type | string | Resource type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , siteName , name , subscriptionId | updateSeen , recommendationId | Description 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.
Name | Datatype | Description |
---|---|---|
name | string | Name of the recommendation. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
siteName | string | Name of the app. |
subscriptionId | string | Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
recommendationId | string | The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. |
updateSeen | boolean | Specify true to update the last-seen timestamp of the recommendation object. |
SELECT
examples
- get
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 }}'
;