1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. cms
  6. getAlertRulesV2
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi

    This data source provides Cms Alert Rule V2 available to the user.What is Alert Rule V2

    NOTE: Available since v1.285.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const defaultAlertRuleV2 = new alicloud.cms.AlertRuleV2("default", {
        contentTemplate: "umodel test alert on ${metric}",
        scheduleConfig: {
            type: "FIXED",
            intervalSecs: 60,
        },
        datasourceConfig: {
            type: "UMODEL",
        },
        actionIntegrationConfig: {
            enabled: false,
        },
        armsIntegrationConfig: {
            enabled: false,
        },
        queryConfig: {
            entityType: "instance",
            type: "UMODEL_METRICSET_QUERY",
            entityDomain: "ecs",
            metric: "CPUUtilization",
            labelFilters: [
                {
                    operator: "=",
                    value: "web-server",
                    name: "app",
                },
                {
                    operator: "=",
                    value: "production",
                    name: "env",
                },
            ],
            metricSet: "acs_ecs_dashboard",
        },
        displayName: "regression-umodel-10",
        enabled: true,
        notifyConfig: {
            type: "DIRECT_NOTIFY",
            channels: [{
                type: "GROUP",
                identifiers: ["regression-test"],
            }],
        },
        conditionConfig: {
            operator: "GT",
            type: "UMODEL_METRICSET_CONDITION",
            severity: "CRITICAL",
            durationSecs: 60,
            threshold: 90,
        },
    });
    const _default = alicloud.cms.getAlertRulesV2Output({
        ids: [defaultAlertRuleV2.id],
    });
    export const alicloudCmsAlertRuleV2ExampleId = _default.apply(_default => _default.rules?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default_alert_rule_v2 = alicloud.cms.AlertRuleV2("default",
        content_template="umodel test alert on ${metric}",
        schedule_config={
            "type": "FIXED",
            "interval_secs": 60,
        },
        datasource_config={
            "type": "UMODEL",
        },
        action_integration_config={
            "enabled": False,
        },
        arms_integration_config={
            "enabled": False,
        },
        query_config={
            "entity_type": "instance",
            "type": "UMODEL_METRICSET_QUERY",
            "entity_domain": "ecs",
            "metric": "CPUUtilization",
            "label_filters": [
                {
                    "operator": "=",
                    "value": "web-server",
                    "name": "app",
                },
                {
                    "operator": "=",
                    "value": "production",
                    "name": "env",
                },
            ],
            "metric_set": "acs_ecs_dashboard",
        },
        display_name="regression-umodel-10",
        enabled=True,
        notify_config={
            "type": "DIRECT_NOTIFY",
            "channels": [{
                "type": "GROUP",
                "identifiers": ["regression-test"],
            }],
        },
        condition_config={
            "operator": "GT",
            "type": "UMODEL_METRICSET_CONDITION",
            "severity": "CRITICAL",
            "duration_secs": 60,
            "threshold": float(90),
        })
    default = alicloud.cms.get_alert_rules_v2_output(ids=[default_alert_rule_v2.id])
    pulumi.export("alicloudCmsAlertRuleV2ExampleId", default.rules[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultAlertRuleV2, err := cms.NewAlertRuleV2(ctx, "default", &cms.AlertRuleV2Args{
    			ContentTemplate: pulumi.String("umodel test alert on ${metric}"),
    			ScheduleConfig: &cms.AlertRuleV2ScheduleConfigArgs{
    				Type:         pulumi.String("FIXED"),
    				IntervalSecs: pulumi.Int(60),
    			},
    			DatasourceConfig: &cms.AlertRuleV2DatasourceConfigArgs{
    				Type: pulumi.String("UMODEL"),
    			},
    			ActionIntegrationConfig: &cms.AlertRuleV2ActionIntegrationConfigArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			ArmsIntegrationConfig: &cms.AlertRuleV2ArmsIntegrationConfigArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			QueryConfig: &cms.AlertRuleV2QueryConfigArgs{
    				EntityType:   pulumi.String("instance"),
    				Type:         pulumi.String("UMODEL_METRICSET_QUERY"),
    				EntityDomain: pulumi.String("ecs"),
    				Metric:       pulumi.String("CPUUtilization"),
    				LabelFilters: cms.AlertRuleV2QueryConfigLabelFilterArray{
    					&cms.AlertRuleV2QueryConfigLabelFilterArgs{
    						Operator: pulumi.String("="),
    						Value:    pulumi.String("web-server"),
    						Name:     pulumi.String("app"),
    					},
    					&cms.AlertRuleV2QueryConfigLabelFilterArgs{
    						Operator: pulumi.String("="),
    						Value:    pulumi.String("production"),
    						Name:     pulumi.String("env"),
    					},
    				},
    				MetricSet: pulumi.String("acs_ecs_dashboard"),
    			},
    			DisplayName: pulumi.String("regression-umodel-10"),
    			Enabled:     pulumi.Bool(true),
    			NotifyConfig: &cms.AlertRuleV2NotifyConfigArgs{
    				Type: pulumi.String("DIRECT_NOTIFY"),
    				Channels: cms.AlertRuleV2NotifyConfigChannelArray{
    					&cms.AlertRuleV2NotifyConfigChannelArgs{
    						Type: pulumi.String("GROUP"),
    						Identifiers: pulumi.StringArray{
    							pulumi.String("regression-test"),
    						},
    					},
    				},
    			},
    			ConditionConfig: &cms.AlertRuleV2ConditionConfigArgs{
    				Operator:     pulumi.String("GT"),
    				Type:         pulumi.String("UMODEL_METRICSET_CONDITION"),
    				Severity:     pulumi.String("CRITICAL"),
    				DurationSecs: pulumi.Int(60),
    				Threshold:    pulumi.Float64(90),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_default := cms.GetAlertRulesV2Output(ctx, cms.GetAlertRulesV2OutputArgs{
    			Ids: pulumi.StringArray{
    				defaultAlertRuleV2.ID(),
    			},
    		}, nil)
    		ctx.Export("alicloudCmsAlertRuleV2ExampleId", _default.ApplyT(func(_default cms.GetAlertRulesV2Result) (*string, error) {
    			return _default.Rules[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var defaultAlertRuleV2 = new AliCloud.Cms.AlertRuleV2("default", new()
        {
            ContentTemplate = "umodel test alert on ${metric}",
            ScheduleConfig = new AliCloud.Cms.Inputs.AlertRuleV2ScheduleConfigArgs
            {
                Type = "FIXED",
                IntervalSecs = 60,
            },
            DatasourceConfig = new AliCloud.Cms.Inputs.AlertRuleV2DatasourceConfigArgs
            {
                Type = "UMODEL",
            },
            ActionIntegrationConfig = new AliCloud.Cms.Inputs.AlertRuleV2ActionIntegrationConfigArgs
            {
                Enabled = false,
            },
            ArmsIntegrationConfig = new AliCloud.Cms.Inputs.AlertRuleV2ArmsIntegrationConfigArgs
            {
                Enabled = false,
            },
            QueryConfig = new AliCloud.Cms.Inputs.AlertRuleV2QueryConfigArgs
            {
                EntityType = "instance",
                Type = "UMODEL_METRICSET_QUERY",
                EntityDomain = "ecs",
                Metric = "CPUUtilization",
                LabelFilters = new[]
                {
                    new AliCloud.Cms.Inputs.AlertRuleV2QueryConfigLabelFilterArgs
                    {
                        Operator = "=",
                        Value = "web-server",
                        Name = "app",
                    },
                    new AliCloud.Cms.Inputs.AlertRuleV2QueryConfigLabelFilterArgs
                    {
                        Operator = "=",
                        Value = "production",
                        Name = "env",
                    },
                },
                MetricSet = "acs_ecs_dashboard",
            },
            DisplayName = "regression-umodel-10",
            Enabled = true,
            NotifyConfig = new AliCloud.Cms.Inputs.AlertRuleV2NotifyConfigArgs
            {
                Type = "DIRECT_NOTIFY",
                Channels = new[]
                {
                    new AliCloud.Cms.Inputs.AlertRuleV2NotifyConfigChannelArgs
                    {
                        Type = "GROUP",
                        Identifiers = new[]
                        {
                            "regression-test",
                        },
                    },
                },
            },
            ConditionConfig = new AliCloud.Cms.Inputs.AlertRuleV2ConditionConfigArgs
            {
                Operator = "GT",
                Type = "UMODEL_METRICSET_CONDITION",
                Severity = "CRITICAL",
                DurationSecs = 60,
                Threshold = 90,
            },
        });
    
        var @default = AliCloud.Cms.GetAlertRulesV2.Invoke(new()
        {
            Ids = new[]
            {
                defaultAlertRuleV2.Id,
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudCmsAlertRuleV2ExampleId"] = @default.Apply(@default => @default.Apply(getAlertRulesV2Result => getAlertRulesV2Result.Rules[0]?.Id)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cms.AlertRuleV2;
    import com.pulumi.alicloud.cms.AlertRuleV2Args;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2ScheduleConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2DatasourceConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2ActionIntegrationConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2ArmsIntegrationConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2QueryConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2QueryConfigLabelFilterArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2NotifyConfigArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2NotifyConfigChannelArgs;
    import com.pulumi.alicloud.cms.inputs.AlertRuleV2ConditionConfigArgs;
    import com.pulumi.alicloud.cms.CmsFunctions;
    import com.pulumi.alicloud.cms.inputs.GetAlertRulesV2Args;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var defaultAlertRuleV2 = new AlertRuleV2("defaultAlertRuleV2", AlertRuleV2Args.builder()
                .contentTemplate("umodel test alert on ${metric}")
                .scheduleConfig(AlertRuleV2ScheduleConfigArgs.builder()
                    .type("FIXED")
                    .intervalSecs(60)
                    .build())
                .datasourceConfig(AlertRuleV2DatasourceConfigArgs.builder()
                    .type("UMODEL")
                    .build())
                .actionIntegrationConfig(AlertRuleV2ActionIntegrationConfigArgs.builder()
                    .enabled(false)
                    .build())
                .armsIntegrationConfig(AlertRuleV2ArmsIntegrationConfigArgs.builder()
                    .enabled(false)
                    .build())
                .queryConfig(AlertRuleV2QueryConfigArgs.builder()
                    .entityType("instance")
                    .type("UMODEL_METRICSET_QUERY")
                    .entityDomain("ecs")
                    .metric("CPUUtilization")
                    .labelFilters(                
                        AlertRuleV2QueryConfigLabelFilterArgs.builder()
                            .operator("=")
                            .value("web-server")
                            .name("app")
                            .build(),
                        AlertRuleV2QueryConfigLabelFilterArgs.builder()
                            .operator("=")
                            .value("production")
                            .name("env")
                            .build())
                    .metricSet("acs_ecs_dashboard")
                    .build())
                .displayName("regression-umodel-10")
                .enabled(true)
                .notifyConfig(AlertRuleV2NotifyConfigArgs.builder()
                    .type("DIRECT_NOTIFY")
                    .channels(AlertRuleV2NotifyConfigChannelArgs.builder()
                        .type("GROUP")
                        .identifiers("regression-test")
                        .build())
                    .build())
                .conditionConfig(AlertRuleV2ConditionConfigArgs.builder()
                    .operator("GT")
                    .type("UMODEL_METRICSET_CONDITION")
                    .severity("CRITICAL")
                    .durationSecs(60)
                    .threshold(90.0)
                    .build())
                .build());
    
            final var default = CmsFunctions.getAlertRulesV2(GetAlertRulesV2Args.builder()
                .ids(defaultAlertRuleV2.id())
                .build());
    
            ctx.export("alicloudCmsAlertRuleV2ExampleId", default_.applyValue(_default_ -> _default_.rules()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultAlertRuleV2:
        type: alicloud:cms:AlertRuleV2
        name: default
        properties:
          contentTemplate: umodel test alert on $${metric}
          scheduleConfig:
            type: FIXED
            intervalSecs: '60'
          datasourceConfig:
            type: UMODEL
          actionIntegrationConfig:
            enabled: false
          armsIntegrationConfig:
            enabled: false
          queryConfig:
            entityType: instance
            type: UMODEL_METRICSET_QUERY
            entityDomain: ecs
            metric: CPUUtilization
            labelFilters:
              - operator: =
                value: web-server
                name: app
              - operator: =
                value: production
                name: env
            metricSet: acs_ecs_dashboard
          displayName: regression-umodel-10
          enabled: true
          notifyConfig:
            type: DIRECT_NOTIFY
            channels:
              - type: GROUP
                identifiers:
                  - regression-test
          conditionConfig:
            operator: GT
            type: UMODEL_METRICSET_CONDITION
            severity: CRITICAL
            durationSecs: '60'
            threshold: 90
    variables:
      default:
        fn::invoke:
          function: alicloud:cms:getAlertRulesV2
          arguments:
            ids:
              - ${defaultAlertRuleV2.id}
    outputs:
      alicloudCmsAlertRuleV2ExampleId: ${default.rules[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_cms_getalertrulesv2" "default" {
      ids = [alicloud_cms_alertrulev2.default.id]
    }
    
    resource "alicloud_cms_alertrulev2" "default" {
      content_template = "umodel test alert on $${metric}"
      schedule_config = {
        type          = "FIXED"
        interval_secs = "60"
      }
      datasource_config = {
        type = "UMODEL"
      }
      action_integration_config = {
        enabled = false
      }
      arms_integration_config = {
        enabled = false
      }
      query_config = {
        entity_type   = "instance"
        type          = "UMODEL_METRICSET_QUERY"
        entity_domain = "ecs"
        metric        = "CPUUtilization"
        label_filters = [{
          "operator" = "="
          "value"    = "web-server"
          "name"     = "app"
          }, {
          "operator" = "="
          "value"    = "production"
          "name"     = "env"
        }]
        metric_set = "acs_ecs_dashboard"
      }
      display_name = "regression-umodel-10"
      enabled      = true
      notify_config = {
        type = "DIRECT_NOTIFY"
        channels = [{
          "type"        = "GROUP"
          "identifiers" = ["regression-test"]
        }]
      }
      condition_config = {
        operator      = "GT"
        type          = "UMODEL_METRICSET_CONDITION"
        severity      = "CRITICAL"
        duration_secs = "60"
        threshold     = 90
      }
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    output "alicloudCmsAlertRuleV2ExampleId" {
      value = data.alicloud_cms_getalertrulesv2.default.rules[0].id
    }
    

    Using getAlertRulesV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAlertRulesV2(args: GetAlertRulesV2Args, opts?: InvokeOptions): Promise<GetAlertRulesV2Result>
    function getAlertRulesV2Output(args: GetAlertRulesV2OutputArgs, opts?: InvokeOptions): Output<GetAlertRulesV2Result>
    def get_alert_rules_v2(filter_datasource_type_eq: Optional[str] = None,
                           filter_display_name_contains: Optional[str] = None,
                           filter_display_name_not_contains: Optional[str] = None,
                           filter_enabled_eq: Optional[bool] = None,
                           filter_labels_all_of_key: Optional[str] = None,
                           filter_labels_all_of_value: Optional[str] = None,
                           filter_labels_any_of_key: Optional[str] = None,
                           filter_labels_any_of_value: Optional[str] = None,
                           filter_notify_strategy_id_eq: Optional[str] = None,
                           filter_observe_resource_global_scope_eq: Optional[bool] = None,
                           filter_observe_resource_instance_id: Optional[str] = None,
                           filter_observe_resource_list_contains: Optional[str] = None,
                           filter_observe_resource_type_eq: Optional[str] = None,
                           filter_partition_key_eq: Optional[str] = None,
                           filter_severity_levels_contains: Optional[str] = None,
                           filter_status_eq: Optional[str] = None,
                           filter_uuid_eq: Optional[str] = None,
                           filter_uuid_in: Optional[str] = None,
                           ids: Optional[Sequence[str]] = None,
                           output_file: Optional[str] = None,
                           workspace: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAlertRulesV2Result
    def get_alert_rules_v2_output(filter_datasource_type_eq: pulumi.Input[Optional[str]] = None,
                           filter_display_name_contains: pulumi.Input[Optional[str]] = None,
                           filter_display_name_not_contains: pulumi.Input[Optional[str]] = None,
                           filter_enabled_eq: pulumi.Input[Optional[bool]] = None,
                           filter_labels_all_of_key: pulumi.Input[Optional[str]] = None,
                           filter_labels_all_of_value: pulumi.Input[Optional[str]] = None,
                           filter_labels_any_of_key: pulumi.Input[Optional[str]] = None,
                           filter_labels_any_of_value: pulumi.Input[Optional[str]] = None,
                           filter_notify_strategy_id_eq: pulumi.Input[Optional[str]] = None,
                           filter_observe_resource_global_scope_eq: pulumi.Input[Optional[bool]] = None,
                           filter_observe_resource_instance_id: pulumi.Input[Optional[str]] = None,
                           filter_observe_resource_list_contains: pulumi.Input[Optional[str]] = None,
                           filter_observe_resource_type_eq: pulumi.Input[Optional[str]] = None,
                           filter_partition_key_eq: pulumi.Input[Optional[str]] = None,
                           filter_severity_levels_contains: pulumi.Input[Optional[str]] = None,
                           filter_status_eq: pulumi.Input[Optional[str]] = None,
                           filter_uuid_eq: pulumi.Input[Optional[str]] = None,
                           filter_uuid_in: pulumi.Input[Optional[str]] = None,
                           ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                           output_file: pulumi.Input[Optional[str]] = None,
                           workspace: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAlertRulesV2Result]
    func GetAlertRulesV2(ctx *Context, args *GetAlertRulesV2Args, opts ...InvokeOption) (*GetAlertRulesV2Result, error)
    func GetAlertRulesV2Output(ctx *Context, args *GetAlertRulesV2OutputArgs, opts ...InvokeOption) GetAlertRulesV2ResultOutput

    > Note: This function is named GetAlertRulesV2 in the Go SDK.

    public static class GetAlertRulesV2 
    {
        public static Task<GetAlertRulesV2Result> InvokeAsync(GetAlertRulesV2Args args, InvokeOptions? opts = null)
        public static Output<GetAlertRulesV2Result> Invoke(GetAlertRulesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlertRulesV2Result> getAlertRulesV2(GetAlertRulesV2Args args, InvokeOptions options)
    public static Output<GetAlertRulesV2Result> getAlertRulesV2(GetAlertRulesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:cms/getAlertRulesV2:getAlertRulesV2
      arguments:
        # arguments dictionary
    data "alicloud_cms_get_alert_rules_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    FilterDatasourceTypeEq string
    Filter by exact match of data source type
    FilterDisplayNameContains string
    Filter by display name using contains matching
    FilterDisplayNameNotContains string
    Filter by display name that does not contain the specified value
    FilterEnabledEq bool
    Filter by exact match on enabled status.
    FilterLabelsAllOfKey string
    Filter by full match of label keys (all specified keys must exist)
    FilterLabelsAllOfValue string
    Filter by label values using full matching (all specified key-value pairs must match)
    FilterLabelsAnyOfKey string
    Filter by label keys using any matching (any of the specified keys exist)
    FilterLabelsAnyOfValue string
    Filter by matching any label value (matches if any specified key-value pair matches)
    FilterNotifyStrategyIdEq string
    Filter by Exact Match on Notification Policy ID
    FilterObserveResourceGlobalScopeEq bool
    Filters by exact match based on whether the rule applies globally to the resource type.
    FilterObserveResourceInstanceId string
    Filter by observable resource instance ID
    FilterObserveResourceListContains string
    Filter by matching based on the inclusion of observable resources in the list
    FilterObserveResourceTypeEq string
    Filters by exact match of the observable resource type.
    FilterPartitionKeyEq string
    Filter by partition key using exact matching
    FilterSeverityLevelsContains string
    Filter by severity levels that contain the specified value
    FilterStatusEq string
    Filter by alert status using exact matching
    FilterUuidEq string
    Filter by exact UUID match
    FilterUuidIn string
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    Ids List<string>
    A list of Alert Rule V2 IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Workspace string
    Workspace.
    FilterDatasourceTypeEq string
    Filter by exact match of data source type
    FilterDisplayNameContains string
    Filter by display name using contains matching
    FilterDisplayNameNotContains string
    Filter by display name that does not contain the specified value
    FilterEnabledEq bool
    Filter by exact match on enabled status.
    FilterLabelsAllOfKey string
    Filter by full match of label keys (all specified keys must exist)
    FilterLabelsAllOfValue string
    Filter by label values using full matching (all specified key-value pairs must match)
    FilterLabelsAnyOfKey string
    Filter by label keys using any matching (any of the specified keys exist)
    FilterLabelsAnyOfValue string
    Filter by matching any label value (matches if any specified key-value pair matches)
    FilterNotifyStrategyIdEq string
    Filter by Exact Match on Notification Policy ID
    FilterObserveResourceGlobalScopeEq bool
    Filters by exact match based on whether the rule applies globally to the resource type.
    FilterObserveResourceInstanceId string
    Filter by observable resource instance ID
    FilterObserveResourceListContains string
    Filter by matching based on the inclusion of observable resources in the list
    FilterObserveResourceTypeEq string
    Filters by exact match of the observable resource type.
    FilterPartitionKeyEq string
    Filter by partition key using exact matching
    FilterSeverityLevelsContains string
    Filter by severity levels that contain the specified value
    FilterStatusEq string
    Filter by alert status using exact matching
    FilterUuidEq string
    Filter by exact UUID match
    FilterUuidIn string
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    Ids []string
    A list of Alert Rule V2 IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Workspace string
    Workspace.
    filter_datasource_type_eq string
    Filter by exact match of data source type
    filter_display_name_contains string
    Filter by display name using contains matching
    filter_display_name_not_contains string
    Filter by display name that does not contain the specified value
    filter_enabled_eq bool
    Filter by exact match on enabled status.
    filter_labels_all_of_key string
    Filter by full match of label keys (all specified keys must exist)
    filter_labels_all_of_value string
    Filter by label values using full matching (all specified key-value pairs must match)
    filter_labels_any_of_key string
    Filter by label keys using any matching (any of the specified keys exist)
    filter_labels_any_of_value string
    Filter by matching any label value (matches if any specified key-value pair matches)
    filter_notify_strategy_id_eq string
    Filter by Exact Match on Notification Policy ID
    filter_observe_resource_global_scope_eq bool
    Filters by exact match based on whether the rule applies globally to the resource type.
    filter_observe_resource_instance_id string
    Filter by observable resource instance ID
    filter_observe_resource_list_contains string
    Filter by matching based on the inclusion of observable resources in the list
    filter_observe_resource_type_eq string
    Filters by exact match of the observable resource type.
    filter_partition_key_eq string
    Filter by partition key using exact matching
    filter_severity_levels_contains string
    Filter by severity levels that contain the specified value
    filter_status_eq string
    Filter by alert status using exact matching
    filter_uuid_eq string
    Filter by exact UUID match
    filter_uuid_in string
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    ids list(string)
    A list of Alert Rule V2 IDs.
    output_file string
    File name where to save data source results (after running pulumi preview).
    workspace string
    Workspace.
    filterDatasourceTypeEq String
    Filter by exact match of data source type
    filterDisplayNameContains String
    Filter by display name using contains matching
    filterDisplayNameNotContains String
    Filter by display name that does not contain the specified value
    filterEnabledEq Boolean
    Filter by exact match on enabled status.
    filterLabelsAllOfKey String
    Filter by full match of label keys (all specified keys must exist)
    filterLabelsAllOfValue String
    Filter by label values using full matching (all specified key-value pairs must match)
    filterLabelsAnyOfKey String
    Filter by label keys using any matching (any of the specified keys exist)
    filterLabelsAnyOfValue String
    Filter by matching any label value (matches if any specified key-value pair matches)
    filterNotifyStrategyIdEq String
    Filter by Exact Match on Notification Policy ID
    filterObserveResourceGlobalScopeEq Boolean
    Filters by exact match based on whether the rule applies globally to the resource type.
    filterObserveResourceInstanceId String
    Filter by observable resource instance ID
    filterObserveResourceListContains String
    Filter by matching based on the inclusion of observable resources in the list
    filterObserveResourceTypeEq String
    Filters by exact match of the observable resource type.
    filterPartitionKeyEq String
    Filter by partition key using exact matching
    filterSeverityLevelsContains String
    Filter by severity levels that contain the specified value
    filterStatusEq String
    Filter by alert status using exact matching
    filterUuidEq String
    Filter by exact UUID match
    filterUuidIn String
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    ids List<String>
    A list of Alert Rule V2 IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    workspace String
    Workspace.
    filterDatasourceTypeEq string
    Filter by exact match of data source type
    filterDisplayNameContains string
    Filter by display name using contains matching
    filterDisplayNameNotContains string
    Filter by display name that does not contain the specified value
    filterEnabledEq boolean
    Filter by exact match on enabled status.
    filterLabelsAllOfKey string
    Filter by full match of label keys (all specified keys must exist)
    filterLabelsAllOfValue string
    Filter by label values using full matching (all specified key-value pairs must match)
    filterLabelsAnyOfKey string
    Filter by label keys using any matching (any of the specified keys exist)
    filterLabelsAnyOfValue string
    Filter by matching any label value (matches if any specified key-value pair matches)
    filterNotifyStrategyIdEq string
    Filter by Exact Match on Notification Policy ID
    filterObserveResourceGlobalScopeEq boolean
    Filters by exact match based on whether the rule applies globally to the resource type.
    filterObserveResourceInstanceId string
    Filter by observable resource instance ID
    filterObserveResourceListContains string
    Filter by matching based on the inclusion of observable resources in the list
    filterObserveResourceTypeEq string
    Filters by exact match of the observable resource type.
    filterPartitionKeyEq string
    Filter by partition key using exact matching
    filterSeverityLevelsContains string
    Filter by severity levels that contain the specified value
    filterStatusEq string
    Filter by alert status using exact matching
    filterUuidEq string
    Filter by exact UUID match
    filterUuidIn string
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    ids string[]
    A list of Alert Rule V2 IDs.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    workspace string
    Workspace.
    filter_datasource_type_eq str
    Filter by exact match of data source type
    filter_display_name_contains str
    Filter by display name using contains matching
    filter_display_name_not_contains str
    Filter by display name that does not contain the specified value
    filter_enabled_eq bool
    Filter by exact match on enabled status.
    filter_labels_all_of_key str
    Filter by full match of label keys (all specified keys must exist)
    filter_labels_all_of_value str
    Filter by label values using full matching (all specified key-value pairs must match)
    filter_labels_any_of_key str
    Filter by label keys using any matching (any of the specified keys exist)
    filter_labels_any_of_value str
    Filter by matching any label value (matches if any specified key-value pair matches)
    filter_notify_strategy_id_eq str
    Filter by Exact Match on Notification Policy ID
    filter_observe_resource_global_scope_eq bool
    Filters by exact match based on whether the rule applies globally to the resource type.
    filter_observe_resource_instance_id str
    Filter by observable resource instance ID
    filter_observe_resource_list_contains str
    Filter by matching based on the inclusion of observable resources in the list
    filter_observe_resource_type_eq str
    Filters by exact match of the observable resource type.
    filter_partition_key_eq str
    Filter by partition key using exact matching
    filter_severity_levels_contains str
    Filter by severity levels that contain the specified value
    filter_status_eq str
    Filter by alert status using exact matching
    filter_uuid_eq str
    Filter by exact UUID match
    filter_uuid_in str
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    ids Sequence[str]
    A list of Alert Rule V2 IDs.
    output_file str
    File name where to save data source results (after running pulumi preview).
    workspace str
    Workspace.
    filterDatasourceTypeEq String
    Filter by exact match of data source type
    filterDisplayNameContains String
    Filter by display name using contains matching
    filterDisplayNameNotContains String
    Filter by display name that does not contain the specified value
    filterEnabledEq Boolean
    Filter by exact match on enabled status.
    filterLabelsAllOfKey String
    Filter by full match of label keys (all specified keys must exist)
    filterLabelsAllOfValue String
    Filter by label values using full matching (all specified key-value pairs must match)
    filterLabelsAnyOfKey String
    Filter by label keys using any matching (any of the specified keys exist)
    filterLabelsAnyOfValue String
    Filter by matching any label value (matches if any specified key-value pair matches)
    filterNotifyStrategyIdEq String
    Filter by Exact Match on Notification Policy ID
    filterObserveResourceGlobalScopeEq Boolean
    Filters by exact match based on whether the rule applies globally to the resource type.
    filterObserveResourceInstanceId String
    Filter by observable resource instance ID
    filterObserveResourceListContains String
    Filter by matching based on the inclusion of observable resources in the list
    filterObserveResourceTypeEq String
    Filters by exact match of the observable resource type.
    filterPartitionKeyEq String
    Filter by partition key using exact matching
    filterSeverityLevelsContains String
    Filter by severity levels that contain the specified value
    filterStatusEq String
    Filter by alert status using exact matching
    filterUuidEq String
    Filter by exact UUID match
    filterUuidIn String
    Filter by UUID list inclusion match. Separate multiple UUIDs with commas (,).
    ids List<String>
    A list of Alert Rule V2 IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    workspace String
    Workspace.

    getAlertRulesV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Alert Rule V2 IDs.
    Rules List<Pulumi.AliCloud.Cms.Outputs.GetAlertRulesV2Rule>
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    FilterDatasourceTypeEq string
    FilterDisplayNameContains string
    FilterDisplayNameNotContains string
    FilterEnabledEq bool
    FilterLabelsAllOfKey string
    FilterLabelsAllOfValue string
    FilterLabelsAnyOfKey string
    FilterLabelsAnyOfValue string
    FilterNotifyStrategyIdEq string
    FilterObserveResourceGlobalScopeEq bool
    FilterObserveResourceInstanceId string
    FilterObserveResourceListContains string
    FilterObserveResourceTypeEq string
    FilterPartitionKeyEq string
    FilterSeverityLevelsContains string
    FilterStatusEq string
    FilterUuidEq string
    FilterUuidIn string
    OutputFile string
    Workspace string
    Workspace.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Alert Rule V2 IDs.
    Rules []GetAlertRulesV2Rule
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    FilterDatasourceTypeEq string
    FilterDisplayNameContains string
    FilterDisplayNameNotContains string
    FilterEnabledEq bool
    FilterLabelsAllOfKey string
    FilterLabelsAllOfValue string
    FilterLabelsAnyOfKey string
    FilterLabelsAnyOfValue string
    FilterNotifyStrategyIdEq string
    FilterObserveResourceGlobalScopeEq bool
    FilterObserveResourceInstanceId string
    FilterObserveResourceListContains string
    FilterObserveResourceTypeEq string
    FilterPartitionKeyEq string
    FilterSeverityLevelsContains string
    FilterStatusEq string
    FilterUuidEq string
    FilterUuidIn string
    OutputFile string
    Workspace string
    Workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    A list of Alert Rule V2 IDs.
    rules list(object)
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    filter_datasource_type_eq string
    filter_display_name_contains string
    filter_display_name_not_contains string
    filter_enabled_eq bool
    filter_labels_all_of_key string
    filter_labels_all_of_value string
    filter_labels_any_of_key string
    filter_labels_any_of_value string
    filter_notify_strategy_id_eq string
    filter_observe_resource_global_scope_eq bool
    filter_observe_resource_instance_id string
    filter_observe_resource_list_contains string
    filter_observe_resource_type_eq string
    filter_partition_key_eq string
    filter_severity_levels_contains string
    filter_status_eq string
    filter_uuid_eq string
    filter_uuid_in string
    output_file string
    workspace string
    Workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Alert Rule V2 IDs.
    rules List<GetAlertRulesV2Rule>
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    filterDatasourceTypeEq String
    filterDisplayNameContains String
    filterDisplayNameNotContains String
    filterEnabledEq Boolean
    filterLabelsAllOfKey String
    filterLabelsAllOfValue String
    filterLabelsAnyOfKey String
    filterLabelsAnyOfValue String
    filterNotifyStrategyIdEq String
    filterObserveResourceGlobalScopeEq Boolean
    filterObserveResourceInstanceId String
    filterObserveResourceListContains String
    filterObserveResourceTypeEq String
    filterPartitionKeyEq String
    filterSeverityLevelsContains String
    filterStatusEq String
    filterUuidEq String
    filterUuidIn String
    outputFile String
    workspace String
    Workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Alert Rule V2 IDs.
    rules GetAlertRulesV2Rule[]
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    filterDatasourceTypeEq string
    filterDisplayNameContains string
    filterDisplayNameNotContains string
    filterEnabledEq boolean
    filterLabelsAllOfKey string
    filterLabelsAllOfValue string
    filterLabelsAnyOfKey string
    filterLabelsAnyOfValue string
    filterNotifyStrategyIdEq string
    filterObserveResourceGlobalScopeEq boolean
    filterObserveResourceInstanceId string
    filterObserveResourceListContains string
    filterObserveResourceTypeEq string
    filterPartitionKeyEq string
    filterSeverityLevelsContains string
    filterStatusEq string
    filterUuidEq string
    filterUuidIn string
    outputFile string
    workspace string
    Workspace.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Alert Rule V2 IDs.
    rules Sequence[GetAlertRulesV2Rule]
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    filter_datasource_type_eq str
    filter_display_name_contains str
    filter_display_name_not_contains str
    filter_enabled_eq bool
    filter_labels_all_of_key str
    filter_labels_all_of_value str
    filter_labels_any_of_key str
    filter_labels_any_of_value str
    filter_notify_strategy_id_eq str
    filter_observe_resource_global_scope_eq bool
    filter_observe_resource_instance_id str
    filter_observe_resource_list_contains str
    filter_observe_resource_type_eq str
    filter_partition_key_eq str
    filter_severity_levels_contains str
    filter_status_eq str
    filter_uuid_eq str
    filter_uuid_in str
    output_file str
    workspace str
    Workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Alert Rule V2 IDs.
    rules List<Property Map>
    A list of Alert Rule V2 Entries. Each element contains the following attributes:
    filterDatasourceTypeEq String
    filterDisplayNameContains String
    filterDisplayNameNotContains String
    filterEnabledEq Boolean
    filterLabelsAllOfKey String
    filterLabelsAllOfValue String
    filterLabelsAnyOfKey String
    filterLabelsAnyOfValue String
    filterNotifyStrategyIdEq String
    filterObserveResourceGlobalScopeEq Boolean
    filterObserveResourceInstanceId String
    filterObserveResourceListContains String
    filterObserveResourceTypeEq String
    filterPartitionKeyEq String
    filterSeverityLevelsContains String
    filterStatusEq String
    filterUuidEq String
    filterUuidIn String
    outputFile String
    workspace String
    Workspace.

    Supporting Types

    GetAlertRulesV2Rule

    ActionIntegrationConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleActionIntegrationConfig>
    Action integration configuration.
    AlertRuleV2Id string
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    Annotations Dictionary<string, string>
    Annotations.
    ArmsIntegrationConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleArmsIntegrationConfig>
    ARMS integration configuration.
    ConditionConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfig>
    Unified alert condition configuration.
    ContentTemplate string
    The alert content template.
    CreatedAt string
    Creation time (read-only), in ISO 8601 format.
    DatasourceConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleDatasourceConfig>
    Unified data source configuration.
    DatasourceType string
    Data source type (read-only, derived).
    DisplayName string
    The display name of the alert rule.
    Enabled bool
    Specifies whether the alert rule is enabled.
    Id string
    The ID of the resource supplied above.
    Labels Dictionary<string, string>
    Labels.
    NotifyConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleNotifyConfig>
    Unified notification configuration.
    NotifyStrategyId string
    Notification policy ID (read-only, derived).
    ObserveResourceGlobalScope bool
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    ObserveResourceType string
    Observable resource type (read-only, derived).
    PartitionKey string
    The partition key.
    QueryConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfig>
    Unified query configuration.
    ScheduleConfigs List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleScheduleConfig>
    Unified scheduling configuration.
    SeverityLevels string
    The severity levels covered by this rule, separated by commas (read-only derived).
    Status string
    Alert status (read-only).
    UpdatedAt string
    The update time (read-only), in ISO 8601 format.
    Workspace string
    Workspace.
    ActionIntegrationConfigs []GetAlertRulesV2RuleActionIntegrationConfig
    Action integration configuration.
    AlertRuleV2Id string
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    Annotations map[string]string
    Annotations.
    ArmsIntegrationConfigs []GetAlertRulesV2RuleArmsIntegrationConfig
    ARMS integration configuration.
    ConditionConfigs []GetAlertRulesV2RuleConditionConfig
    Unified alert condition configuration.
    ContentTemplate string
    The alert content template.
    CreatedAt string
    Creation time (read-only), in ISO 8601 format.
    DatasourceConfigs []GetAlertRulesV2RuleDatasourceConfig
    Unified data source configuration.
    DatasourceType string
    Data source type (read-only, derived).
    DisplayName string
    The display name of the alert rule.
    Enabled bool
    Specifies whether the alert rule is enabled.
    Id string
    The ID of the resource supplied above.
    Labels map[string]string
    Labels.
    NotifyConfigs []GetAlertRulesV2RuleNotifyConfig
    Unified notification configuration.
    NotifyStrategyId string
    Notification policy ID (read-only, derived).
    ObserveResourceGlobalScope bool
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    ObserveResourceType string
    Observable resource type (read-only, derived).
    PartitionKey string
    The partition key.
    QueryConfigs []GetAlertRulesV2RuleQueryConfig
    Unified query configuration.
    ScheduleConfigs []GetAlertRulesV2RuleScheduleConfig
    Unified scheduling configuration.
    SeverityLevels string
    The severity levels covered by this rule, separated by commas (read-only derived).
    Status string
    Alert status (read-only).
    UpdatedAt string
    The update time (read-only), in ISO 8601 format.
    Workspace string
    Workspace.
    action_integration_configs list(object)
    Action integration configuration.
    alert_rule_v2_id string
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    annotations map(string)
    Annotations.
    arms_integration_configs list(object)
    ARMS integration configuration.
    condition_configs list(object)
    Unified alert condition configuration.
    content_template string
    The alert content template.
    created_at string
    Creation time (read-only), in ISO 8601 format.
    datasource_configs list(object)
    Unified data source configuration.
    datasource_type string
    Data source type (read-only, derived).
    display_name string
    The display name of the alert rule.
    enabled bool
    Specifies whether the alert rule is enabled.
    id string
    The ID of the resource supplied above.
    labels map(string)
    Labels.
    notify_configs list(object)
    Unified notification configuration.
    notify_strategy_id string
    Notification policy ID (read-only, derived).
    observe_resource_global_scope bool
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    observe_resource_type string
    Observable resource type (read-only, derived).
    partition_key string
    The partition key.
    query_configs list(object)
    Unified query configuration.
    schedule_configs list(object)
    Unified scheduling configuration.
    severity_levels string
    The severity levels covered by this rule, separated by commas (read-only derived).
    status string
    Alert status (read-only).
    updated_at string
    The update time (read-only), in ISO 8601 format.
    workspace string
    Workspace.
    actionIntegrationConfigs List<GetAlertRulesV2RuleActionIntegrationConfig>
    Action integration configuration.
    alertRuleV2Id String
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    annotations Map<String,String>
    Annotations.
    armsIntegrationConfigs List<GetAlertRulesV2RuleArmsIntegrationConfig>
    ARMS integration configuration.
    conditionConfigs List<GetAlertRulesV2RuleConditionConfig>
    Unified alert condition configuration.
    contentTemplate String
    The alert content template.
    createdAt String
    Creation time (read-only), in ISO 8601 format.
    datasourceConfigs List<GetAlertRulesV2RuleDatasourceConfig>
    Unified data source configuration.
    datasourceType String
    Data source type (read-only, derived).
    displayName String
    The display name of the alert rule.
    enabled Boolean
    Specifies whether the alert rule is enabled.
    id String
    The ID of the resource supplied above.
    labels Map<String,String>
    Labels.
    notifyConfigs List<GetAlertRulesV2RuleNotifyConfig>
    Unified notification configuration.
    notifyStrategyId String
    Notification policy ID (read-only, derived).
    observeResourceGlobalScope Boolean
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    observeResourceType String
    Observable resource type (read-only, derived).
    partitionKey String
    The partition key.
    queryConfigs List<GetAlertRulesV2RuleQueryConfig>
    Unified query configuration.
    scheduleConfigs List<GetAlertRulesV2RuleScheduleConfig>
    Unified scheduling configuration.
    severityLevels String
    The severity levels covered by this rule, separated by commas (read-only derived).
    status String
    Alert status (read-only).
    updatedAt String
    The update time (read-only), in ISO 8601 format.
    workspace String
    Workspace.
    actionIntegrationConfigs GetAlertRulesV2RuleActionIntegrationConfig[]
    Action integration configuration.
    alertRuleV2Id string
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    annotations {[key: string]: string}
    Annotations.
    armsIntegrationConfigs GetAlertRulesV2RuleArmsIntegrationConfig[]
    ARMS integration configuration.
    conditionConfigs GetAlertRulesV2RuleConditionConfig[]
    Unified alert condition configuration.
    contentTemplate string
    The alert content template.
    createdAt string
    Creation time (read-only), in ISO 8601 format.
    datasourceConfigs GetAlertRulesV2RuleDatasourceConfig[]
    Unified data source configuration.
    datasourceType string
    Data source type (read-only, derived).
    displayName string
    The display name of the alert rule.
    enabled boolean
    Specifies whether the alert rule is enabled.
    id string
    The ID of the resource supplied above.
    labels {[key: string]: string}
    Labels.
    notifyConfigs GetAlertRulesV2RuleNotifyConfig[]
    Unified notification configuration.
    notifyStrategyId string
    Notification policy ID (read-only, derived).
    observeResourceGlobalScope boolean
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    observeResourceType string
    Observable resource type (read-only, derived).
    partitionKey string
    The partition key.
    queryConfigs GetAlertRulesV2RuleQueryConfig[]
    Unified query configuration.
    scheduleConfigs GetAlertRulesV2RuleScheduleConfig[]
    Unified scheduling configuration.
    severityLevels string
    The severity levels covered by this rule, separated by commas (read-only derived).
    status string
    Alert status (read-only).
    updatedAt string
    The update time (read-only), in ISO 8601 format.
    workspace string
    Workspace.
    action_integration_configs Sequence[GetAlertRulesV2RuleActionIntegrationConfig]
    Action integration configuration.
    alert_rule_v2_id str
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    annotations Mapping[str, str]
    Annotations.
    arms_integration_configs Sequence[GetAlertRulesV2RuleArmsIntegrationConfig]
    ARMS integration configuration.
    condition_configs Sequence[GetAlertRulesV2RuleConditionConfig]
    Unified alert condition configuration.
    content_template str
    The alert content template.
    created_at str
    Creation time (read-only), in ISO 8601 format.
    datasource_configs Sequence[GetAlertRulesV2RuleDatasourceConfig]
    Unified data source configuration.
    datasource_type str
    Data source type (read-only, derived).
    display_name str
    The display name of the alert rule.
    enabled bool
    Specifies whether the alert rule is enabled.
    id str
    The ID of the resource supplied above.
    labels Mapping[str, str]
    Labels.
    notify_configs Sequence[GetAlertRulesV2RuleNotifyConfig]
    Unified notification configuration.
    notify_strategy_id str
    Notification policy ID (read-only, derived).
    observe_resource_global_scope bool
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    observe_resource_type str
    Observable resource type (read-only, derived).
    partition_key str
    The partition key.
    query_configs Sequence[GetAlertRulesV2RuleQueryConfig]
    Unified query configuration.
    schedule_configs Sequence[GetAlertRulesV2RuleScheduleConfig]
    Unified scheduling configuration.
    severity_levels str
    The severity levels covered by this rule, separated by commas (read-only derived).
    status str
    Alert status (read-only).
    updated_at str
    The update time (read-only), in ISO 8601 format.
    workspace str
    Workspace.
    actionIntegrationConfigs List<Property Map>
    Action integration configuration.
    alertRuleV2Id String
    The unique identifier of the alert rule, mapped to a UUID (system-generated).
    annotations Map<String>
    Annotations.
    armsIntegrationConfigs List<Property Map>
    ARMS integration configuration.
    conditionConfigs List<Property Map>
    Unified alert condition configuration.
    contentTemplate String
    The alert content template.
    createdAt String
    Creation time (read-only), in ISO 8601 format.
    datasourceConfigs List<Property Map>
    Unified data source configuration.
    datasourceType String
    Data source type (read-only, derived).
    displayName String
    The display name of the alert rule.
    enabled Boolean
    Specifies whether the alert rule is enabled.
    id String
    The ID of the resource supplied above.
    labels Map<String>
    Labels.
    notifyConfigs List<Property Map>
    Unified notification configuration.
    notifyStrategyId String
    Notification policy ID (read-only, derived).
    observeResourceGlobalScope Boolean
    Indicates whether the rule applies to all resources of this resource type (read-only, derived).
    observeResourceType String
    Observable resource type (read-only, derived).
    partitionKey String
    The partition key.
    queryConfigs List<Property Map>
    Unified query configuration.
    scheduleConfigs List<Property Map>
    Unified scheduling configuration.
    severityLevels String
    The severity levels covered by this rule, separated by commas (read-only derived).
    status String
    Alert status (read-only).
    updatedAt String
    The update time (read-only), in ISO 8601 format.
    workspace String
    Workspace.

    GetAlertRulesV2RuleActionIntegrationConfig

    Actions List<string>
    List of actions.
    Enabled bool
    Specifies whether the alert rule is enabled.
    Actions []string
    List of actions.
    Enabled bool
    Specifies whether the alert rule is enabled.
    actions list(string)
    List of actions.
    enabled bool
    Specifies whether the alert rule is enabled.
    actions List<String>
    List of actions.
    enabled Boolean
    Specifies whether the alert rule is enabled.
    actions string[]
    List of actions.
    enabled boolean
    Specifies whether the alert rule is enabled.
    actions Sequence[str]
    List of actions.
    enabled bool
    Specifies whether the alert rule is enabled.
    actions List<String>
    List of actions.
    enabled Boolean
    Specifies whether the alert rule is enabled.

    GetAlertRulesV2RuleArmsIntegrationConfig

    Enabled bool
    Specifies whether the alert rule is enabled.
    Enabled bool
    Specifies whether the alert rule is enabled.
    enabled bool
    Specifies whether the alert rule is enabled.
    enabled Boolean
    Specifies whether the alert rule is enabled.
    enabled boolean
    Specifies whether the alert rule is enabled.
    enabled bool
    Specifies whether the alert rule is enabled.
    enabled Boolean
    Specifies whether the alert rule is enabled.

    GetAlertRulesV2RuleConditionConfig

    Aggregate string
    Aggregation Function.
    CompareLists List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigCompareList>
    Comparison condition list (type=APM_COMPOSITE).
    CompositeEscalations List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigCompositeEscalation>
    The multi-metric composite trigger configuration.
    DurationSecs int
    Duration (seconds).
    EscalationType string
    The escalation policy type (type=CLOUD_MONITORING).
    ExpressEscalations List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigExpressEscalation>
    Expression trigger configuration.
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    NoDataPolicy string
    No-data processing policy (type=CLOUD_MONITORING).
    Operator string
    Label filter operator.
    Prometheuses List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigPrometheus>
    The PromQL trigger configuration.
    Relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    Severity string
    Severity Level.
    SimpleEscalations List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigSimpleEscalation>
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    Threshold double
    Threshold.
    ThresholdLists List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigThresholdList>
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    Type string
    The scheduling type.
    YoyTimeUnit string
    Year-over-year time unit.
    YoyTimeValue int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    Aggregate string
    Aggregation Function.
    CompareLists []GetAlertRulesV2RuleConditionConfigCompareList
    Comparison condition list (type=APM_COMPOSITE).
    CompositeEscalations []GetAlertRulesV2RuleConditionConfigCompositeEscalation
    The multi-metric composite trigger configuration.
    DurationSecs int
    Duration (seconds).
    EscalationType string
    The escalation policy type (type=CLOUD_MONITORING).
    ExpressEscalations []GetAlertRulesV2RuleConditionConfigExpressEscalation
    Expression trigger configuration.
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    NoDataPolicy string
    No-data processing policy (type=CLOUD_MONITORING).
    Operator string
    Label filter operator.
    Prometheuses []GetAlertRulesV2RuleConditionConfigPrometheus
    The PromQL trigger configuration.
    Relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    Severity string
    Severity Level.
    SimpleEscalations []GetAlertRulesV2RuleConditionConfigSimpleEscalation
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    Threshold float64
    Threshold.
    ThresholdLists []GetAlertRulesV2RuleConditionConfigThresholdList
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    Type string
    The scheduling type.
    YoyTimeUnit string
    Year-over-year time unit.
    YoyTimeValue int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate string
    Aggregation Function.
    compare_lists list(object)
    Comparison condition list (type=APM_COMPOSITE).
    composite_escalations list(object)
    The multi-metric composite trigger configuration.
    duration_secs number
    Duration (seconds).
    escalation_type string
    The escalation policy type (type=CLOUD_MONITORING).
    express_escalations list(object)
    Expression trigger configuration.
    legacy_raw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    no_data_policy string
    No-data processing policy (type=CLOUD_MONITORING).
    operator string
    Label filter operator.
    prometheuses list(object)
    The PromQL trigger configuration.
    relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity string
    Severity Level.
    simple_escalations list(object)
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    threshold number
    Threshold.
    threshold_lists list(object)
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    type string
    The scheduling type.
    yoy_time_unit string
    Year-over-year time unit.
    yoy_time_value number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate String
    Aggregation Function.
    compareLists List<GetAlertRulesV2RuleConditionConfigCompareList>
    Comparison condition list (type=APM_COMPOSITE).
    compositeEscalations List<GetAlertRulesV2RuleConditionConfigCompositeEscalation>
    The multi-metric composite trigger configuration.
    durationSecs Integer
    Duration (seconds).
    escalationType String
    The escalation policy type (type=CLOUD_MONITORING).
    expressEscalations List<GetAlertRulesV2RuleConditionConfigExpressEscalation>
    Expression trigger configuration.
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    noDataPolicy String
    No-data processing policy (type=CLOUD_MONITORING).
    operator String
    Label filter operator.
    prometheuses List<GetAlertRulesV2RuleConditionConfigPrometheus>
    The PromQL trigger configuration.
    relation String
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity String
    Severity Level.
    simpleEscalations List<GetAlertRulesV2RuleConditionConfigSimpleEscalation>
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    threshold Double
    Threshold.
    thresholdLists List<GetAlertRulesV2RuleConditionConfigThresholdList>
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    type String
    The scheduling type.
    yoyTimeUnit String
    Year-over-year time unit.
    yoyTimeValue Integer
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate string
    Aggregation Function.
    compareLists GetAlertRulesV2RuleConditionConfigCompareList[]
    Comparison condition list (type=APM_COMPOSITE).
    compositeEscalations GetAlertRulesV2RuleConditionConfigCompositeEscalation[]
    The multi-metric composite trigger configuration.
    durationSecs number
    Duration (seconds).
    escalationType string
    The escalation policy type (type=CLOUD_MONITORING).
    expressEscalations GetAlertRulesV2RuleConditionConfigExpressEscalation[]
    Expression trigger configuration.
    legacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    noDataPolicy string
    No-data processing policy (type=CLOUD_MONITORING).
    operator string
    Label filter operator.
    prometheuses GetAlertRulesV2RuleConditionConfigPrometheus[]
    The PromQL trigger configuration.
    relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity string
    Severity Level.
    simpleEscalations GetAlertRulesV2RuleConditionConfigSimpleEscalation[]
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    threshold number
    Threshold.
    thresholdLists GetAlertRulesV2RuleConditionConfigThresholdList[]
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    type string
    The scheduling type.
    yoyTimeUnit string
    Year-over-year time unit.
    yoyTimeValue number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate str
    Aggregation Function.
    compare_lists Sequence[GetAlertRulesV2RuleConditionConfigCompareList]
    Comparison condition list (type=APM_COMPOSITE).
    composite_escalations Sequence[GetAlertRulesV2RuleConditionConfigCompositeEscalation]
    The multi-metric composite trigger configuration.
    duration_secs int
    Duration (seconds).
    escalation_type str
    The escalation policy type (type=CLOUD_MONITORING).
    express_escalations Sequence[GetAlertRulesV2RuleConditionConfigExpressEscalation]
    Expression trigger configuration.
    legacy_raw str
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type str
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    no_data_policy str
    No-data processing policy (type=CLOUD_MONITORING).
    operator str
    Label filter operator.
    prometheuses Sequence[GetAlertRulesV2RuleConditionConfigPrometheus]
    The PromQL trigger configuration.
    relation str
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity str
    Severity Level.
    simple_escalations Sequence[GetAlertRulesV2RuleConditionConfigSimpleEscalation]
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    threshold float
    Threshold.
    threshold_lists Sequence[GetAlertRulesV2RuleConditionConfigThresholdList]
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    type str
    The scheduling type.
    yoy_time_unit str
    Year-over-year time unit.
    yoy_time_value int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate String
    Aggregation Function.
    compareLists List<Property Map>
    Comparison condition list (type=APM_COMPOSITE).
    compositeEscalations List<Property Map>
    The multi-metric composite trigger configuration.
    durationSecs Number
    Duration (seconds).
    escalationType String
    The escalation policy type (type=CLOUD_MONITORING).
    expressEscalations List<Property Map>
    Expression trigger configuration.
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    noDataPolicy String
    No-data processing policy (type=CLOUD_MONITORING).
    operator String
    Label filter operator.
    prometheuses List<Property Map>
    The PromQL trigger configuration.
    relation String
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity String
    Severity Level.
    simpleEscalations List<Property Map>
    Single-metric trigger configuration (Required when type=CLOUD_MONITORING and escalationType=simple).
    threshold Number
    Threshold.
    thresholdLists List<Property Map>
    Multi-severity threshold list (used when UMODEL_METRICSET is specified).
    type String
    The scheduling type.
    yoyTimeUnit String
    Year-over-year time unit.
    yoyTimeValue Number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).

    GetAlertRulesV2RuleConditionConfigCompareList

    Aggregate string
    Aggregation Function.
    Operator string
    Label filter operator.
    Threshold double
    Threshold.
    YoyTimeUnit string
    Year-over-year time unit.
    YoyTimeValue int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    Aggregate string
    Aggregation Function.
    Operator string
    Label filter operator.
    Threshold float64
    Threshold.
    YoyTimeUnit string
    Year-over-year time unit.
    YoyTimeValue int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate string
    Aggregation Function.
    operator string
    Label filter operator.
    threshold number
    Threshold.
    yoy_time_unit string
    Year-over-year time unit.
    yoy_time_value number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate String
    Aggregation Function.
    operator String
    Label filter operator.
    threshold Double
    Threshold.
    yoyTimeUnit String
    Year-over-year time unit.
    yoyTimeValue Integer
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate string
    Aggregation Function.
    operator string
    Label filter operator.
    threshold number
    Threshold.
    yoyTimeUnit string
    Year-over-year time unit.
    yoyTimeValue number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate str
    Aggregation Function.
    operator str
    Label filter operator.
    threshold float
    Threshold.
    yoy_time_unit str
    Year-over-year time unit.
    yoy_time_value int
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).
    aggregate String
    Aggregation Function.
    operator String
    Label filter operator.
    threshold Number
    Threshold.
    yoyTimeUnit String
    Year-over-year time unit.
    yoyTimeValue Number
    Year-over-Year Time Value (Effective only when type=APM_SIMPLE and operator=YOY_UP or YOY_DOWN).

    GetAlertRulesV2RuleConditionConfigCompositeEscalation

    Escalations List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation>
    Trigger Condition List.
    Relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    Escalations []GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation
    Trigger Condition List.
    Relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    escalations list(object)
    Trigger Condition List.
    relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    escalations List<GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation>
    Trigger Condition List.
    relation String
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity String
    Severity Level.
    times Integer
    Consecutive Trigger Count.
    escalations GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation[]
    Trigger Condition List.
    relation string
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    escalations Sequence[GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation]
    Trigger Condition List.
    relation str
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity str
    Severity Level.
    times int
    Consecutive Trigger Count.
    escalations List<Property Map>
    Trigger Condition List.
    relation String
    The logical relationship between conditions (type=APM_COMPOSITE).
    severity String
    Severity Level.
    times Number
    Consecutive Trigger Count.

    GetAlertRulesV2RuleConditionConfigCompositeEscalationEscalation

    ComparisonOperator string
    Comparison Operator.
    MetricName string
    Metric Name.
    Period int
    Collection Period (Seconds).
    PreCondition string
    Precondition.
    Statistics string
    Statistical Method.
    Threshold string
    Threshold.
    ComparisonOperator string
    Comparison Operator.
    MetricName string
    Metric Name.
    Period int
    Collection Period (Seconds).
    PreCondition string
    Precondition.
    Statistics string
    Statistical Method.
    Threshold string
    Threshold.
    comparison_operator string
    Comparison Operator.
    metric_name string
    Metric Name.
    period number
    Collection Period (Seconds).
    pre_condition string
    Precondition.
    statistics string
    Statistical Method.
    threshold string
    Threshold.
    comparisonOperator String
    Comparison Operator.
    metricName String
    Metric Name.
    period Integer
    Collection Period (Seconds).
    preCondition String
    Precondition.
    statistics String
    Statistical Method.
    threshold String
    Threshold.
    comparisonOperator string
    Comparison Operator.
    metricName string
    Metric Name.
    period number
    Collection Period (Seconds).
    preCondition string
    Precondition.
    statistics string
    Statistical Method.
    threshold string
    Threshold.
    comparison_operator str
    Comparison Operator.
    metric_name str
    Metric Name.
    period int
    Collection Period (Seconds).
    pre_condition str
    Precondition.
    statistics str
    Statistical Method.
    threshold str
    Threshold.
    comparisonOperator String
    Comparison Operator.
    metricName String
    Metric Name.
    period Number
    Collection Period (Seconds).
    preCondition String
    Precondition.
    statistics String
    Statistical Method.
    threshold String
    Threshold.

    GetAlertRulesV2RuleConditionConfigExpressEscalation

    RawExpression string
    Raw Expression.
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    RawExpression string
    Raw Expression.
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    raw_expression string
    Raw Expression.
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    rawExpression String
    Raw Expression.
    severity String
    Severity Level.
    times Integer
    Consecutive Trigger Count.
    rawExpression string
    Raw Expression.
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    raw_expression str
    Raw Expression.
    severity str
    Severity Level.
    times int
    Consecutive Trigger Count.
    rawExpression String
    Raw Expression.
    severity String
    Severity Level.
    times Number
    Consecutive Trigger Count.

    GetAlertRulesV2RuleConditionConfigPrometheus

    PromQl string
    [Deprecated] Legacy PromQL field.
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    PromQl string
    [Deprecated] Legacy PromQL field.
    Severity string
    Severity Level.
    Times int
    Consecutive Trigger Count.
    prom_ql string
    [Deprecated] Legacy PromQL field.
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    promQl String
    [Deprecated] Legacy PromQL field.
    severity String
    Severity Level.
    times Integer
    Consecutive Trigger Count.
    promQl string
    [Deprecated] Legacy PromQL field.
    severity string
    Severity Level.
    times number
    Consecutive Trigger Count.
    prom_ql str
    [Deprecated] Legacy PromQL field.
    severity str
    Severity Level.
    times int
    Consecutive Trigger Count.
    promQl String
    [Deprecated] Legacy PromQL field.
    severity String
    Severity Level.
    times Number
    Consecutive Trigger Count.

    GetAlertRulesV2RuleConditionConfigSimpleEscalation

    Escalations []GetAlertRulesV2RuleConditionConfigSimpleEscalationEscalation
    Trigger Condition List.
    MetricName string
    Metric Name.
    Period int
    Collection Period (Seconds).
    escalations list(object)
    Trigger Condition List.
    metric_name string
    Metric Name.
    period number
    Collection Period (Seconds).
    escalations List<GetAlertRulesV2RuleConditionConfigSimpleEscalationEscalation>
    Trigger Condition List.
    metricName String
    Metric Name.
    period Integer
    Collection Period (Seconds).
    escalations GetAlertRulesV2RuleConditionConfigSimpleEscalationEscalation[]
    Trigger Condition List.
    metricName string
    Metric Name.
    period number
    Collection Period (Seconds).
    escalations Sequence[GetAlertRulesV2RuleConditionConfigSimpleEscalationEscalation]
    Trigger Condition List.
    metric_name str
    Metric Name.
    period int
    Collection Period (Seconds).
    escalations List<Property Map>
    Trigger Condition List.
    metricName String
    Metric Name.
    period Number
    Collection Period (Seconds).

    GetAlertRulesV2RuleConditionConfigSimpleEscalationEscalation

    ComparisonOperator string
    Comparison Operator.
    PreCondition string
    Precondition.
    Severity string
    Severity Level.
    Statistics string
    Statistical Method.
    Threshold string
    Threshold.
    Times int
    Consecutive Trigger Count.
    ComparisonOperator string
    Comparison Operator.
    PreCondition string
    Precondition.
    Severity string
    Severity Level.
    Statistics string
    Statistical Method.
    Threshold string
    Threshold.
    Times int
    Consecutive Trigger Count.
    comparison_operator string
    Comparison Operator.
    pre_condition string
    Precondition.
    severity string
    Severity Level.
    statistics string
    Statistical Method.
    threshold string
    Threshold.
    times number
    Consecutive Trigger Count.
    comparisonOperator String
    Comparison Operator.
    preCondition String
    Precondition.
    severity String
    Severity Level.
    statistics String
    Statistical Method.
    threshold String
    Threshold.
    times Integer
    Consecutive Trigger Count.
    comparisonOperator string
    Comparison Operator.
    preCondition string
    Precondition.
    severity string
    Severity Level.
    statistics string
    Statistical Method.
    threshold string
    Threshold.
    times number
    Consecutive Trigger Count.
    comparison_operator str
    Comparison Operator.
    pre_condition str
    Precondition.
    severity str
    Severity Level.
    statistics str
    Statistical Method.
    threshold str
    Threshold.
    times int
    Consecutive Trigger Count.
    comparisonOperator String
    Comparison Operator.
    preCondition String
    Precondition.
    severity String
    Severity Level.
    statistics String
    Statistical Method.
    threshold String
    Threshold.
    times Number
    Consecutive Trigger Count.

    GetAlertRulesV2RuleConditionConfigThresholdList

    Severity string
    Severity Level.
    Threshold double
    Threshold.
    Severity string
    Severity Level.
    Threshold float64
    Threshold.
    severity string
    Severity Level.
    threshold number
    Threshold.
    severity String
    Severity Level.
    threshold Double
    Threshold.
    severity string
    Severity Level.
    threshold number
    Threshold.
    severity str
    Severity Level.
    threshold float
    Threshold.
    severity String
    Severity Level.
    threshold Number
    Threshold.

    GetAlertRulesV2RuleDatasourceConfig

    InstanceId string
    The Prometheus instance ID.
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    ProductCategory string
    The cloud service category.
    RegionId string
    The region ID.
    Type string
    The scheduling type.
    InstanceId string
    The Prometheus instance ID.
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    ProductCategory string
    The cloud service category.
    RegionId string
    The region ID.
    Type string
    The scheduling type.
    instance_id string
    The Prometheus instance ID.
    legacy_raw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    product_category string
    The cloud service category.
    region_id string
    The region ID.
    type string
    The scheduling type.
    instanceId String
    The Prometheus instance ID.
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    productCategory String
    The cloud service category.
    regionId String
    The region ID.
    type String
    The scheduling type.
    instanceId string
    The Prometheus instance ID.
    legacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    productCategory string
    The cloud service category.
    regionId string
    The region ID.
    type string
    The scheduling type.
    instance_id str
    The Prometheus instance ID.
    legacy_raw str
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type str
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    product_category str
    The cloud service category.
    region_id str
    The region ID.
    type str
    The scheduling type.
    instanceId String
    The Prometheus instance ID.
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    productCategory String
    The cloud service category.
    regionId String
    The region ID.
    type String
    The scheduling type.

    GetAlertRulesV2RuleNotifyConfig

    ActiveDays List<int>
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    ActiveEndTime string
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    ActiveStartTime string
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    Channels List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleNotifyConfigChannel>
    List of notification channels (type=DIRECT_NOTIFY).
    NotifyStrategies List<string>
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    SilenceTimeSecs int
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    Type string
    The scheduling type.
    UtcOffset string
    UTC time zone offset (type=DIRECT_NOTIFY).
    ActiveDays []int
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    ActiveEndTime string
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    ActiveStartTime string
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    Channels []GetAlertRulesV2RuleNotifyConfigChannel
    List of notification channels (type=DIRECT_NOTIFY).
    NotifyStrategies []string
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    SilenceTimeSecs int
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    Type string
    The scheduling type.
    UtcOffset string
    UTC time zone offset (type=DIRECT_NOTIFY).
    active_days list(number)
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    active_end_time string
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    active_start_time string
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    channels list(object)
    List of notification channels (type=DIRECT_NOTIFY).
    notify_strategies list(string)
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    silence_time_secs number
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    type string
    The scheduling type.
    utc_offset string
    UTC time zone offset (type=DIRECT_NOTIFY).
    activeDays List<Integer>
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    activeEndTime String
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    activeStartTime String
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    channels List<GetAlertRulesV2RuleNotifyConfigChannel>
    List of notification channels (type=DIRECT_NOTIFY).
    notifyStrategies List<String>
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    silenceTimeSecs Integer
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    type String
    The scheduling type.
    utcOffset String
    UTC time zone offset (type=DIRECT_NOTIFY).
    activeDays number[]
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    activeEndTime string
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    activeStartTime string
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    channels GetAlertRulesV2RuleNotifyConfigChannel[]
    List of notification channels (type=DIRECT_NOTIFY).
    notifyStrategies string[]
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    silenceTimeSecs number
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    type string
    The scheduling type.
    utcOffset string
    UTC time zone offset (type=DIRECT_NOTIFY).
    active_days Sequence[int]
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    active_end_time str
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    active_start_time str
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    channels Sequence[GetAlertRulesV2RuleNotifyConfigChannel]
    List of notification channels (type=DIRECT_NOTIFY).
    notify_strategies Sequence[str]
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    silence_time_secs int
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    type str
    The scheduling type.
    utc_offset str
    UTC time zone offset (type=DIRECT_NOTIFY).
    activeDays List<Number>
    The days of the week on which notifications are sent, 1-7 (type=DIRECT_NOTIFY).
    activeEndTime String
    The daily end time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    activeStartTime String
    The daily start time of the effective notification period (HH:mm, type=DIRECT_NOTIFY).
    channels List<Property Map>
    List of notification channels (type=DIRECT_NOTIFY).
    notifyStrategies List<String>
    List of notification policy IDs (type=NOTIFY_POLICY, up to 1 for the current business).
    silenceTimeSecs Number
    The channel silence period in seconds (type=DIRECT_NOTIFY).
    type String
    The scheduling type.
    utcOffset String
    UTC time zone offset (type=DIRECT_NOTIFY).

    GetAlertRulesV2RuleNotifyConfigChannel

    Identifiers List<string>
    List of channel identifiers.
    Type string
    The scheduling type.
    Identifiers []string
    List of channel identifiers.
    Type string
    The scheduling type.
    identifiers list(string)
    List of channel identifiers.
    type string
    The scheduling type.
    identifiers List<String>
    List of channel identifiers.
    type String
    The scheduling type.
    identifiers string[]
    List of channel identifiers.
    type string
    The scheduling type.
    identifiers Sequence[str]
    List of channel identifiers.
    type str
    The scheduling type.
    identifiers List<String>
    List of channel identifiers.
    type String
    The scheduling type.

    GetAlertRulesV2RuleQueryConfig

    Dimensions List<ImmutableDictionary<string, string>>
    The dimension list (type=CLOUD_MONITORING_QUERY).
    EnableDataCompleteCheck bool
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    EntityDomain string
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    EntityFields List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfigEntityField>
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    EntityFilters List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfigEntityFilter>
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    EntityType string
    Entity type (type=UMODEL_METRICSET_QUERY).
    Expr string
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    FilterLists List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfigFilterList>
    The APM filter condition list (type=APM_MULTI_QUERY).
    GroupId string
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    LabelFilters List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfigLabelFilter>
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    MeasureLists List<Pulumi.AliCloud.Cms.Inputs.GetAlertRulesV2RuleQueryConfigMeasureList>
    APM measure configuration list (type=APM_MULTI_QUERY).
    Metric string
    Metric name (type=UMODEL_METRICSET_QUERY).
    MetricSet string
    Metric set name (type=UMODEL_METRICSET_QUERY).
    Namespace string
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    PromQl string
    [Deprecated] Legacy PromQL field.
    RelationType string
    Resource association type (type=CLOUD_MONITORING_QUERY).
    ServiceIdLists List<string>
    Application Service ID List (type=APM_MULTI_QUERY).
    Type string
    The scheduling type.
    Dimensions []map[string]string
    The dimension list (type=CLOUD_MONITORING_QUERY).
    EnableDataCompleteCheck bool
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    EntityDomain string
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    EntityFields []GetAlertRulesV2RuleQueryConfigEntityField
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    EntityFilters []GetAlertRulesV2RuleQueryConfigEntityFilter
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    EntityType string
    Entity type (type=UMODEL_METRICSET_QUERY).
    Expr string
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    FilterLists []GetAlertRulesV2RuleQueryConfigFilterList
    The APM filter condition list (type=APM_MULTI_QUERY).
    GroupId string
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    LabelFilters []GetAlertRulesV2RuleQueryConfigLabelFilter
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    LegacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    LegacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    MeasureLists []GetAlertRulesV2RuleQueryConfigMeasureList
    APM measure configuration list (type=APM_MULTI_QUERY).
    Metric string
    Metric name (type=UMODEL_METRICSET_QUERY).
    MetricSet string
    Metric set name (type=UMODEL_METRICSET_QUERY).
    Namespace string
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    PromQl string
    [Deprecated] Legacy PromQL field.
    RelationType string
    Resource association type (type=CLOUD_MONITORING_QUERY).
    ServiceIdLists []string
    Application Service ID List (type=APM_MULTI_QUERY).
    Type string
    The scheduling type.
    dimensions list(map(string))
    The dimension list (type=CLOUD_MONITORING_QUERY).
    enable_data_complete_check bool
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    entity_domain string
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    entity_fields list(object)
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    entity_filters list(object)
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    entity_type string
    Entity type (type=UMODEL_METRICSET_QUERY).
    expr string
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    filter_lists list(object)
    The APM filter condition list (type=APM_MULTI_QUERY).
    group_id string
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    label_filters list(object)
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    legacy_raw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    measure_lists list(object)
    APM measure configuration list (type=APM_MULTI_QUERY).
    metric string
    Metric name (type=UMODEL_METRICSET_QUERY).
    metric_set string
    Metric set name (type=UMODEL_METRICSET_QUERY).
    namespace string
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    prom_ql string
    [Deprecated] Legacy PromQL field.
    relation_type string
    Resource association type (type=CLOUD_MONITORING_QUERY).
    service_id_lists list(string)
    Application Service ID List (type=APM_MULTI_QUERY).
    type string
    The scheduling type.
    dimensions List<Map<String,String>>
    The dimension list (type=CLOUD_MONITORING_QUERY).
    enableDataCompleteCheck Boolean
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    entityDomain String
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    entityFields List<GetAlertRulesV2RuleQueryConfigEntityField>
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    entityFilters List<GetAlertRulesV2RuleQueryConfigEntityFilter>
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    entityType String
    Entity type (type=UMODEL_METRICSET_QUERY).
    expr String
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    filterLists List<GetAlertRulesV2RuleQueryConfigFilterList>
    The APM filter condition list (type=APM_MULTI_QUERY).
    groupId String
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    labelFilters List<GetAlertRulesV2RuleQueryConfigLabelFilter>
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    measureLists List<GetAlertRulesV2RuleQueryConfigMeasureList>
    APM measure configuration list (type=APM_MULTI_QUERY).
    metric String
    Metric name (type=UMODEL_METRICSET_QUERY).
    metricSet String
    Metric set name (type=UMODEL_METRICSET_QUERY).
    namespace String
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    promQl String
    [Deprecated] Legacy PromQL field.
    relationType String
    Resource association type (type=CLOUD_MONITORING_QUERY).
    serviceIdLists List<String>
    Application Service ID List (type=APM_MULTI_QUERY).
    type String
    The scheduling type.
    dimensions {[key: string]: string}[]
    The dimension list (type=CLOUD_MONITORING_QUERY).
    enableDataCompleteCheck boolean
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    entityDomain string
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    entityFields GetAlertRulesV2RuleQueryConfigEntityField[]
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    entityFilters GetAlertRulesV2RuleQueryConfigEntityFilter[]
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    entityType string
    Entity type (type=UMODEL_METRICSET_QUERY).
    expr string
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    filterLists GetAlertRulesV2RuleQueryConfigFilterList[]
    The APM filter condition list (type=APM_MULTI_QUERY).
    groupId string
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    labelFilters GetAlertRulesV2RuleQueryConfigLabelFilter[]
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    legacyRaw string
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType string
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    measureLists GetAlertRulesV2RuleQueryConfigMeasureList[]
    APM measure configuration list (type=APM_MULTI_QUERY).
    metric string
    Metric name (type=UMODEL_METRICSET_QUERY).
    metricSet string
    Metric set name (type=UMODEL_METRICSET_QUERY).
    namespace string
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    promQl string
    [Deprecated] Legacy PromQL field.
    relationType string
    Resource association type (type=CLOUD_MONITORING_QUERY).
    serviceIdLists string[]
    Application Service ID List (type=APM_MULTI_QUERY).
    type string
    The scheduling type.
    dimensions Sequence[Mapping[str, str]]
    The dimension list (type=CLOUD_MONITORING_QUERY).
    enable_data_complete_check bool
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    entity_domain str
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    entity_fields Sequence[GetAlertRulesV2RuleQueryConfigEntityField]
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    entity_filters Sequence[GetAlertRulesV2RuleQueryConfigEntityFilter]
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    entity_type str
    Entity type (type=UMODEL_METRICSET_QUERY).
    expr str
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    filter_lists Sequence[GetAlertRulesV2RuleQueryConfigFilterList]
    The APM filter condition list (type=APM_MULTI_QUERY).
    group_id str
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    label_filters Sequence[GetAlertRulesV2RuleQueryConfigLabelFilter]
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    legacy_raw str
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacy_type str
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    measure_lists Sequence[GetAlertRulesV2RuleQueryConfigMeasureList]
    APM measure configuration list (type=APM_MULTI_QUERY).
    metric str
    Metric name (type=UMODEL_METRICSET_QUERY).
    metric_set str
    Metric set name (type=UMODEL_METRICSET_QUERY).
    namespace str
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    prom_ql str
    [Deprecated] Legacy PromQL field.
    relation_type str
    Resource association type (type=CLOUD_MONITORING_QUERY).
    service_id_lists Sequence[str]
    Application Service ID List (type=APM_MULTI_QUERY).
    type str
    The scheduling type.
    dimensions List<Map<String>>
    The dimension list (type=CLOUD_MONITORING_QUERY).
    enableDataCompleteCheck Boolean
    Whether to Enable Data Completeness Check (type=PROMETHEUS_SINGLE_QUERY).
    entityDomain String
    Domain to which the entity belongs (type=UMODEL_METRICSET_QUERY).
    entityFields List<Property Map>
    List of Entity Fields to Return (type=UMODEL_METRICSET_QUERY).
    entityFilters List<Property Map>
    The list of entity filter conditions (type=UMODEL_METRICSET_QUERY).
    entityType String
    Entity type (type=UMODEL_METRICSET_QUERY).
    expr String
    Prometheus query statement (type=PROMETHEUS_SINGLE_QUERY, recommended field).
    filterLists List<Property Map>
    The APM filter condition list (type=APM_MULTI_QUERY).
    groupId String
    Resource group ID (used when type=CLOUD_MONITORING_QUERY and relationType=GROUP).
    labelFilters List<Property Map>
    List of label filter conditions (type=UMODEL_METRICSET_QUERY).
    legacyRaw String
    The raw V1 query JSON string returned when type=UNKNOWN_QUERY and parsing fails.
    legacyType String
    Returned when type=UNKNOWN_QUERY, indicating that this rule cannot be edited through the new API.
    measureLists List<Property Map>
    APM measure configuration list (type=APM_MULTI_QUERY).
    metric String
    Metric name (type=UMODEL_METRICSET_QUERY).
    metricSet String
    Metric set name (type=UMODEL_METRICSET_QUERY).
    namespace String
    CloudMonitor namespace (cloud service name, type=CLOUD_MONITORING_QUERY).
    promQl String
    [Deprecated] Legacy PromQL field.
    relationType String
    Resource association type (type=CLOUD_MONITORING_QUERY).
    serviceIdLists List<String>
    Application Service ID List (type=APM_MULTI_QUERY).
    type String
    The scheduling type.

    GetAlertRulesV2RuleQueryConfigEntityField

    Field string
    The entity filter field name.
    Value string
    Label value.
    Field string
    The entity filter field name.
    Value string
    Label value.
    field string
    The entity filter field name.
    value string
    Label value.
    field String
    The entity filter field name.
    value String
    Label value.
    field string
    The entity filter field name.
    value string
    Label value.
    field str
    The entity filter field name.
    value str
    Label value.
    field String
    The entity filter field name.
    value String
    Label value.

    GetAlertRulesV2RuleQueryConfigEntityFilter

    Field string
    The entity filter field name.
    Operator string
    Label filter operator.
    Value string
    Label value.
    Field string
    The entity filter field name.
    Operator string
    Label filter operator.
    Value string
    Label value.
    field string
    The entity filter field name.
    operator string
    Label filter operator.
    value string
    Label value.
    field String
    The entity filter field name.
    operator String
    Label filter operator.
    value String
    Label value.
    field string
    The entity filter field name.
    operator string
    Label filter operator.
    value string
    Label value.
    field str
    The entity filter field name.
    operator str
    Label filter operator.
    value str
    Label value.
    field String
    The entity filter field name.
    operator String
    Label filter operator.
    value String
    Label value.

    GetAlertRulesV2RuleQueryConfigFilterList

    Key string
    APM filter dimension key.
    Type string
    The scheduling type.
    Value string
    Label value.
    Key string
    APM filter dimension key.
    Type string
    The scheduling type.
    Value string
    Label value.
    key string
    APM filter dimension key.
    type string
    The scheduling type.
    value string
    Label value.
    key String
    APM filter dimension key.
    type String
    The scheduling type.
    value String
    Label value.
    key string
    APM filter dimension key.
    type string
    The scheduling type.
    value string
    Label value.
    key str
    APM filter dimension key.
    type str
    The scheduling type.
    value str
    Label value.
    key String
    APM filter dimension key.
    type String
    The scheduling type.
    value String
    Label value.

    GetAlertRulesV2RuleQueryConfigLabelFilter

    Name string
    Label name.
    Operator string
    Label filter operator.
    Value string
    Label value.
    Name string
    Label name.
    Operator string
    Label filter operator.
    Value string
    Label value.
    name string
    Label name.
    operator string
    Label filter operator.
    value string
    Label value.
    name String
    Label name.
    operator String
    Label filter operator.
    value String
    Label value.
    name string
    Label name.
    operator string
    Label filter operator.
    value string
    Label value.
    name str
    Label name.
    operator str
    Label filter operator.
    value str
    Label value.
    name String
    Label name.
    operator String
    Label filter operator.
    value String
    Label value.

    GetAlertRulesV2RuleQueryConfigMeasureList

    GroupBies List<string>
    Grouping dimension list.
    MeasureCode string
    APM metric code.
    WindowSecs int
    Query Time Window (Seconds).
    GroupBies []string
    Grouping dimension list.
    MeasureCode string
    APM metric code.
    WindowSecs int
    Query Time Window (Seconds).
    group_bies list(string)
    Grouping dimension list.
    measure_code string
    APM metric code.
    window_secs number
    Query Time Window (Seconds).
    groupBies List<String>
    Grouping dimension list.
    measureCode String
    APM metric code.
    windowSecs Integer
    Query Time Window (Seconds).
    groupBies string[]
    Grouping dimension list.
    measureCode string
    APM metric code.
    windowSecs number
    Query Time Window (Seconds).
    group_bies Sequence[str]
    Grouping dimension list.
    measure_code str
    APM metric code.
    window_secs int
    Query Time Window (Seconds).
    groupBies List<String>
    Grouping dimension list.
    measureCode String
    APM metric code.
    windowSecs Number
    Query Time Window (Seconds).

    GetAlertRulesV2RuleScheduleConfig

    IntervalSecs int
    The scheduling interval in seconds.
    Type string
    The scheduling type.
    IntervalSecs int
    The scheduling interval in seconds.
    Type string
    The scheduling type.
    interval_secs number
    The scheduling interval in seconds.
    type string
    The scheduling type.
    intervalSecs Integer
    The scheduling interval in seconds.
    type String
    The scheduling type.
    intervalSecs number
    The scheduling interval in seconds.
    type string
    The scheduling type.
    interval_secs int
    The scheduling interval in seconds.
    type str
    The scheduling type.
    intervalSecs Number
    The scheduling interval in seconds.
    type String
    The scheduling type.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.105.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial