get Smart Detector Alert Rule
suspend fun getSmartDetectorAlertRule(argument: GetSmartDetectorAlertRulePlainArgs): GetSmartDetectorAlertRuleResult
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
alert Rule Name
The name of the alert rule.
expand Detector
Indicates if Smart Detector should be expanded.
resource Group Name
The name of the resource group.
See also
suspend fun getSmartDetectorAlertRule(argument: suspend GetSmartDetectorAlertRulePlainArgsBuilder.() -> Unit): GetSmartDetectorAlertRuleResult
Return
The alert rule information
Parameters
argument
Builder for com.pulumi.azurenative.alertsmanagement.kotlin.inputs.GetSmartDetectorAlertRulePlainArgs.