Skip to main content

recommendations_recommended_rules_for_hosting_environments

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

Overview

Namerecommendations_recommended_rules_for_hosting_environments
TypeResource
Idazure.app_service.recommendations_recommended_rules_for_hosting_environments

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, hostingEnvironmentName, subscriptionIdfeatured, $filterDescription 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.

NameDatatypeDescription
hostingEnvironmentNamestringName of the app.
resourceGroupNamestringName of the resource group to which the resource belongs.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
$filterstringReturn only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'

SELECT examples

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 }}'
;