recommendations_recommended_rules_for_hosting_environments
Creates, updates, deletes, gets or lists a recommendations_recommended_rules_for_hosting_environments resource.
Overview
| Name | recommendations_recommended_rules_for_hosting_environments |
| Type | Resource |
| Id | azure.app_service.recommendations_recommended_rules_for_hosting_environments |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | Recommendation resource specific properties |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceGroupName, hostingEnvironmentName, subscriptionId | featured, $filter | Description for Get all recommendations for a hosting environment. |
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 app. |
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). |
$filter | string | Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' |
featured | boolean | Specify true to return only the most critical recommendations. The default is false, which returns all recommendations. |
SELECT examples
- list
Description for Get all recommendations for a hosting environment.
SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.recommendations_recommended_rules_for_hosting_environments
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostingEnvironmentName = '{{ hostingEnvironmentName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND featured = '{{ featured }}'
AND $filter = '{{ $filter }}'
;