Skip to main content

alert_rule_recommendations

Creates, updates, deletes, gets or lists an alert_rule_recommendations resource.

Overview

Namealert_rule_recommendations
TypeResource
Idazure.alerts_management.alert_rule_recommendations

Fields

The following fields are returned by SELECT queries:

Successful request for a list of alert rule recommendations

NameDatatypeDescription
propertiesobjectrecommendation properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resourceselectresourceUriRetrieve alert rule recommendations for a resource.
list_by_target_typeselectsubscriptionId, targetTypeRetrieve alert rule recommendations for a target type.

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
resourceUristringThe identifier of the resource.
subscriptionIdstringThe ID of the target subscription.
targetTypestringThe recommendations target type.

SELECT examples

Retrieve alert rule recommendations for a resource.

SELECT
properties
FROM azure.alerts_management.alert_rule_recommendations
WHERE resourceUri = '{{ resourceUri }}' -- required
;