getSmartDetectorAlertRule

Get a specific Smart Detector alert rule. Uses Azure REST API version 2021-04-01. Other available API versions: 2019-06-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native alertsmanagement [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The alert rule information

Parameters

argument

null


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

Return

The alert rule information

Parameters

alertRuleName

The name of the alert rule.

expandDetector

Indicates if Smart Detector should be expanded.

resourceGroupName

The name of the resource group.

See also


Return

The alert rule information

Parameters

argument

Builder for com.pulumi.azurenative.alertsmanagement.kotlin.inputs.GetSmartDetectorAlertRulePlainArgs.

See also