AlertPrometheusRuleGroupArgs

data class AlertPrometheusRuleGroupArgs(val clusterName: Output<String>? = null, val description: Output<String>? = null, val interval: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val ruleGroupEnabled: Output<Boolean>? = null, val rules: Output<List<AlertPrometheusRuleGroupRuleArgs>>? = null, val scopes: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<AlertPrometheusRuleGroupArgs>

Manages an Alert Management Prometheus Rule Group.

Import

Alert Management Prometheus Rule Group can be imported using the resource id, e.g.

$ pulumi import azure:monitoring/alertPrometheusRuleGroup:AlertPrometheusRuleGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.AlertsManagement/prometheusRuleGroups/ruleGroup1

Constructors

Link copied to clipboard
fun AlertPrometheusRuleGroupArgs(clusterName: Output<String>? = null, description: Output<String>? = null, interval: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, ruleGroupEnabled: Output<Boolean>? = null, rules: Output<List<AlertPrometheusRuleGroupRuleArgs>>? = null, scopes: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AlertPrometheusRuleGroupArgs

Properties

Link copied to clipboard
val clusterName: Output<String>? = null

Specifies the name of the Managed Kubernetes Cluster.

Link copied to clipboard
val description: Output<String>? = null

The description of the Alert Management Prometheus Rule Group.

Link copied to clipboard
val interval: Output<String>? = null

Specifies the interval in which to run the Alert Management Prometheus Rule Group represented in ISO 8601 duration format. Possible values are between PT1M and PT15M.

Link copied to clipboard
val location: Output<String>? = null

Specifies the Azure Region where the Alert Management Prometheus Rule Group should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name which should be used for this Alert Management Prometheus Rule Group. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Specifies the name of the Resource Group where the Alert Management Prometheus Rule Group should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val ruleGroupEnabled: Output<Boolean>? = null

Is this Alert Management Prometheus Rule Group enabled? Possible values are true and false.

Link copied to clipboard

A rule block as defined below.

Link copied to clipboard
val scopes: Output<List<String>>? = null

Specifies the resource ID of the Azure Monitor Workspace.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the Alert Management Prometheus Rule Group.