get Prometheus Rule Group
suspend fun getPrometheusRuleGroup(argument: GetPrometheusRuleGroupPlainArgs): GetPrometheusRuleGroupResult
Retrieve a Prometheus rule group definition. Uses Azure REST API version 2023-03-01. Other available API versions: 2021-07-22-preview. 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 Prometheus rule group resource.
Parameters
argument
null
suspend fun getPrometheusRuleGroup(resourceGroupName: String, ruleGroupName: String): GetPrometheusRuleGroupResult
Return
The Prometheus rule group resource.
Parameters
resource Group Name
The name of the resource group. The name is case insensitive.
rule Group Name
The name of the rule group.
See also
suspend fun getPrometheusRuleGroup(argument: suspend GetPrometheusRuleGroupPlainArgsBuilder.() -> Unit): GetPrometheusRuleGroupResult
Return
The Prometheus rule group resource.
Parameters
argument
Builder for com.pulumi.azurenative.alertsmanagement.kotlin.inputs.GetPrometheusRuleGroupPlainArgs.