AlertsmanagementFunctions

Functions

Link copied to clipboard

Get a specific action rule Azure REST API version: 2019-05-05-preview. Other available API versions: 2018-11-02-privatepreview.

suspend fun getActionRuleByName(actionRuleName: String, resourceGroupName: String): GetActionRuleByNameResult
Link copied to clipboard

Get an alert processing rule by name. Azure REST API version: 2023-05-01-preview.

suspend fun getAlertProcessingRuleByName(alertProcessingRuleName: String, resourceGroupName: String): GetAlertProcessingRuleByNameResult
Link copied to clipboard

Retrieve a Prometheus rule group definition. Azure REST API version: 2023-03-01.

suspend fun getPrometheusRuleGroup(resourceGroupName: String, ruleGroupName: String): GetPrometheusRuleGroupResult
Link copied to clipboard

Get a specific Smart Detector alert rule. Azure REST API version: 2021-04-01.

suspend fun getSmartDetectorAlertRule(alertRuleName: String, expandDetector: Boolean? = null, resourceGroupName: String): GetSmartDetectorAlertRuleResult