recommendations_rule_details_by_hosting_environments
Creates, updates, deletes, gets or lists a recommendations_rule_details_by_hosting_environments resource.
Overview
| Name | recommendations_rule_details_by_hosting_environments |
| Type | Resource |
| Id | azure.app_service.recommendations_rule_details_by_hosting_environments |
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, hostingEnvironmentName, 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 |
|---|---|---|
hostingEnvironmentName | string | Name of the hosting environment. |
name | string | Name of the recommendation. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
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_hosting_environments
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostingEnvironmentName = '{{ hostingEnvironmentName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND updateSeen = '{{ updateSeen }}'
AND recommendationId = '{{ recommendationId }}'
;