1. Packages
  2. Azure Classic
  3. API Docs
  4. monitoring
  5. AlertPrometheusRuleGroup

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

azure.monitoring.AlertPrometheusRuleGroup

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

    Manages an Alert Management Prometheus Rule Group.

    Create AlertPrometheusRuleGroup Resource

    new AlertPrometheusRuleGroup(name: string, args: AlertPrometheusRuleGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AlertPrometheusRuleGroup(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 cluster_name: Optional[str] = None,
                                 description: Optional[str] = None,
                                 interval: Optional[str] = None,
                                 location: Optional[str] = None,
                                 name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 rule_group_enabled: Optional[bool] = None,
                                 rules: Optional[Sequence[AlertPrometheusRuleGroupRuleArgs]] = None,
                                 scopes: Optional[Sequence[str]] = None,
                                 tags: Optional[Mapping[str, str]] = None)
    @overload
    def AlertPrometheusRuleGroup(resource_name: str,
                                 args: AlertPrometheusRuleGroupArgs,
                                 opts: Optional[ResourceOptions] = None)
    func NewAlertPrometheusRuleGroup(ctx *Context, name string, args AlertPrometheusRuleGroupArgs, opts ...ResourceOption) (*AlertPrometheusRuleGroup, error)
    public AlertPrometheusRuleGroup(string name, AlertPrometheusRuleGroupArgs args, CustomResourceOptions? opts = null)
    public AlertPrometheusRuleGroup(String name, AlertPrometheusRuleGroupArgs args)
    public AlertPrometheusRuleGroup(String name, AlertPrometheusRuleGroupArgs args, CustomResourceOptions options)
    
    type: azure:monitoring:AlertPrometheusRuleGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AlertPrometheusRuleGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AlertPrometheusRuleGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AlertPrometheusRuleGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertPrometheusRuleGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertPrometheusRuleGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AlertPrometheusRuleGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AlertPrometheusRuleGroup resource accepts the following input properties:

    ResourceGroupName string

    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.

    Rules List<AlertPrometheusRuleGroupRule>

    A rule block as defined below.

    Scopes List<string>

    Specifies the resource ID of the Azure Monitor Workspace.

    ClusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    Description string

    The description of the Alert Management Prometheus Rule Group.

    Interval string

    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.

    Location string

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

    Name string

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

    RuleGroupEnabled bool

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

    Tags Dictionary<string, string>

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

    ResourceGroupName string

    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.

    Rules []AlertPrometheusRuleGroupRuleArgs

    A rule block as defined below.

    Scopes []string

    Specifies the resource ID of the Azure Monitor Workspace.

    ClusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    Description string

    The description of the Alert Management Prometheus Rule Group.

    Interval string

    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.

    Location string

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

    Name string

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

    RuleGroupEnabled bool

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

    Tags map[string]string

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

    resourceGroupName String

    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.

    rules List<AlertPrometheusRuleGroupRule>

    A rule block as defined below.

    scopes List<String>

    Specifies the resource ID of the Azure Monitor Workspace.

    clusterName String

    Specifies the name of the Managed Kubernetes Cluster.

    description String

    The description of the Alert Management Prometheus Rule Group.

    interval String

    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.

    location String

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

    name String

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

    ruleGroupEnabled Boolean

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

    tags Map<String,String>

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

    resourceGroupName string

    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.

    rules AlertPrometheusRuleGroupRule[]

    A rule block as defined below.

    scopes string[]

    Specifies the resource ID of the Azure Monitor Workspace.

    clusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    description string

    The description of the Alert Management Prometheus Rule Group.

    interval string

    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.

    location string

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

    name string

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

    ruleGroupEnabled boolean

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

    tags {[key: string]: string}

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

    resource_group_name str

    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.

    rules Sequence[AlertPrometheusRuleGroupRuleArgs]

    A rule block as defined below.

    scopes Sequence[str]

    Specifies the resource ID of the Azure Monitor Workspace.

    cluster_name str

    Specifies the name of the Managed Kubernetes Cluster.

    description str

    The description of the Alert Management Prometheus Rule Group.

    interval str

    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.

    location str

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

    name str

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

    rule_group_enabled bool

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

    tags Mapping[str, str]

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

    resourceGroupName String

    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.

    rules List<Property Map>

    A rule block as defined below.

    scopes List<String>

    Specifies the resource ID of the Azure Monitor Workspace.

    clusterName String

    Specifies the name of the Managed Kubernetes Cluster.

    description String

    The description of the Alert Management Prometheus Rule Group.

    interval String

    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.

    location String

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

    name String

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

    ruleGroupEnabled Boolean

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

    tags Map<String>

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AlertPrometheusRuleGroup resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing AlertPrometheusRuleGroup Resource

    Get an existing AlertPrometheusRuleGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AlertPrometheusRuleGroupState, opts?: CustomResourceOptions): AlertPrometheusRuleGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_name: Optional[str] = None,
            description: Optional[str] = None,
            interval: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            rule_group_enabled: Optional[bool] = None,
            rules: Optional[Sequence[AlertPrometheusRuleGroupRuleArgs]] = None,
            scopes: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None) -> AlertPrometheusRuleGroup
    func GetAlertPrometheusRuleGroup(ctx *Context, name string, id IDInput, state *AlertPrometheusRuleGroupState, opts ...ResourceOption) (*AlertPrometheusRuleGroup, error)
    public static AlertPrometheusRuleGroup Get(string name, Input<string> id, AlertPrometheusRuleGroupState? state, CustomResourceOptions? opts = null)
    public static AlertPrometheusRuleGroup get(String name, Output<String> id, AlertPrometheusRuleGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    Description string

    The description of the Alert Management Prometheus Rule Group.

    Interval string

    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.

    Location string

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

    Name string

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

    ResourceGroupName string

    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.

    RuleGroupEnabled bool

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

    Rules List<AlertPrometheusRuleGroupRule>

    A rule block as defined below.

    Scopes List<string>

    Specifies the resource ID of the Azure Monitor Workspace.

    Tags Dictionary<string, string>

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

    ClusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    Description string

    The description of the Alert Management Prometheus Rule Group.

    Interval string

    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.

    Location string

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

    Name string

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

    ResourceGroupName string

    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.

    RuleGroupEnabled bool

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

    Rules []AlertPrometheusRuleGroupRuleArgs

    A rule block as defined below.

    Scopes []string

    Specifies the resource ID of the Azure Monitor Workspace.

    Tags map[string]string

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

    clusterName String

    Specifies the name of the Managed Kubernetes Cluster.

    description String

    The description of the Alert Management Prometheus Rule Group.

    interval String

    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.

    location String

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

    name String

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

    resourceGroupName String

    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.

    ruleGroupEnabled Boolean

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

    rules List<AlertPrometheusRuleGroupRule>

    A rule block as defined below.

    scopes List<String>

    Specifies the resource ID of the Azure Monitor Workspace.

    tags Map<String,String>

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

    clusterName string

    Specifies the name of the Managed Kubernetes Cluster.

    description string

    The description of the Alert Management Prometheus Rule Group.

    interval string

    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.

    location string

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

    name string

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

    resourceGroupName string

    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.

    ruleGroupEnabled boolean

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

    rules AlertPrometheusRuleGroupRule[]

    A rule block as defined below.

    scopes string[]

    Specifies the resource ID of the Azure Monitor Workspace.

    tags {[key: string]: string}

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

    cluster_name str

    Specifies the name of the Managed Kubernetes Cluster.

    description str

    The description of the Alert Management Prometheus Rule Group.

    interval str

    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.

    location str

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

    name str

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

    resource_group_name str

    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.

    rule_group_enabled bool

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

    rules Sequence[AlertPrometheusRuleGroupRuleArgs]

    A rule block as defined below.

    scopes Sequence[str]

    Specifies the resource ID of the Azure Monitor Workspace.

    tags Mapping[str, str]

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

    clusterName String

    Specifies the name of the Managed Kubernetes Cluster.

    description String

    The description of the Alert Management Prometheus Rule Group.

    interval String

    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.

    location String

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

    name String

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

    resourceGroupName String

    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.

    ruleGroupEnabled Boolean

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

    rules List<Property Map>

    A rule block as defined below.

    scopes List<String>

    Specifies the resource ID of the Azure Monitor Workspace.

    tags Map<String>

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

    Supporting Types

    AlertPrometheusRuleGroupRule, AlertPrometheusRuleGroupRuleArgs

    Expression string

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    Actions List<AlertPrometheusRuleGroupRuleAction>

    An action block as defined below.

    Alert string

    Specifies the Alert rule name.

    AlertResolution AlertPrometheusRuleGroupRuleAlertResolution

    An alert_resolution block as defined below.

    Annotations Dictionary<string, string>

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    Enabled bool

    Is this rule enabled? Possible values are true and false.

    For string

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    Labels Dictionary<string, string>

    Specifies the labels to add or overwrite before storing the result.

    Record string

    Specifies the recorded metrics name.

    Severity int

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    Expression string

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    Actions []AlertPrometheusRuleGroupRuleAction

    An action block as defined below.

    Alert string

    Specifies the Alert rule name.

    AlertResolution AlertPrometheusRuleGroupRuleAlertResolution

    An alert_resolution block as defined below.

    Annotations map[string]string

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    Enabled bool

    Is this rule enabled? Possible values are true and false.

    For string

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    Labels map[string]string

    Specifies the labels to add or overwrite before storing the result.

    Record string

    Specifies the recorded metrics name.

    Severity int

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    expression String

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    actions List<AlertPrometheusRuleGroupRuleAction>

    An action block as defined below.

    alert String

    Specifies the Alert rule name.

    alertResolution AlertPrometheusRuleGroupRuleAlertResolution

    An alert_resolution block as defined below.

    annotations Map<String,String>

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    enabled Boolean

    Is this rule enabled? Possible values are true and false.

    for_ String

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    labels Map<String,String>

    Specifies the labels to add or overwrite before storing the result.

    record String

    Specifies the recorded metrics name.

    severity Integer

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    expression string

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    actions AlertPrometheusRuleGroupRuleAction[]

    An action block as defined below.

    alert string

    Specifies the Alert rule name.

    alertResolution AlertPrometheusRuleGroupRuleAlertResolution

    An alert_resolution block as defined below.

    annotations {[key: string]: string}

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    enabled boolean

    Is this rule enabled? Possible values are true and false.

    for string

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    labels {[key: string]: string}

    Specifies the labels to add or overwrite before storing the result.

    record string

    Specifies the recorded metrics name.

    severity number

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    expression str

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    actions Sequence[AlertPrometheusRuleGroupRuleAction]

    An action block as defined below.

    alert str

    Specifies the Alert rule name.

    alert_resolution AlertPrometheusRuleGroupRuleAlertResolution

    An alert_resolution block as defined below.

    annotations Mapping[str, str]

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    enabled bool

    Is this rule enabled? Possible values are true and false.

    for_ str

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    labels Mapping[str, str]

    Specifies the labels to add or overwrite before storing the result.

    record str

    Specifies the recorded metrics name.

    severity int

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    expression String

    Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval and record the result as a new set of time series with the metric name given by record.

    actions List<Property Map>

    An action block as defined below.

    alert String

    Specifies the Alert rule name.

    alertResolution Property Map

    An alert_resolution block as defined below.

    annotations Map<String>

    Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.

    enabled Boolean

    Is this rule enabled? Possible values are true and false.

    for String

    Specifies the amount of time alert must be active before firing, represented in ISO 8601 duration format.

    labels Map<String>

    Specifies the labels to add or overwrite before storing the result.

    record String

    Specifies the recorded metrics name.

    severity Number

    Specifies the severity of the alerts fired by the rule. Possible values are between 0 and 4.

    AlertPrometheusRuleGroupRuleAction, AlertPrometheusRuleGroupRuleActionArgs

    ActionGroupId string

    Specifies the resource id of the monitor action group.

    ActionProperties Dictionary<string, string>

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    ActionGroupId string

    Specifies the resource id of the monitor action group.

    ActionProperties map[string]string

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    actionGroupId String

    Specifies the resource id of the monitor action group.

    actionProperties Map<String,String>

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    actionGroupId string

    Specifies the resource id of the monitor action group.

    actionProperties {[key: string]: string}

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    action_group_id str

    Specifies the resource id of the monitor action group.

    action_properties Mapping[str, str]

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    actionGroupId String

    Specifies the resource id of the monitor action group.

    actionProperties Map<String>

    Specifies the properties of an action group object.

    Note: action_properties can only be configured for IcM Connector Action Groups for now. Other public features will be supported in the future.

    AlertPrometheusRuleGroupRuleAlertResolution, AlertPrometheusRuleGroupRuleAlertResolutionArgs

    AutoResolved bool

    Is the alert auto-resolution? Possible values are true and false.

    TimeToResolve string

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    AutoResolved bool

    Is the alert auto-resolution? Possible values are true and false.

    TimeToResolve string

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    autoResolved Boolean

    Is the alert auto-resolution? Possible values are true and false.

    timeToResolve String

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    autoResolved boolean

    Is the alert auto-resolution? Possible values are true and false.

    timeToResolve string

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    auto_resolved bool

    Is the alert auto-resolution? Possible values are true and false.

    time_to_resolve str

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    autoResolved Boolean

    Is the alert auto-resolution? Possible values are true and false.

    timeToResolve String

    Specifies the alert auto-resolution interval, represented in ISO 8601 duration format.

    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
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi