1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. cloudmonitor
  6. Rule
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    If you need to monitor the data status of a cloud product resource, you can create a cloud monitoring alert policy. When the monitored resource data meets the alert trigger conditions, the system will send alert notifications using your specified method, helping you quickly identify resources with abnormal data.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      cloudMonitorRuleDemo:
        type: volcenginecc:cloudmonitor:Rule
        name: CloudMonitorRuleDemo
        properties:
          ruleName: CloudMonitorRuleDemo
          description: this is a description
          ruleType: static
          namespace: VCM_AgentKitMcp
          subNamespace: MCP_Service
          originalDimensions:
            key: ResourceID
            values:
              - '*'
          level: warning
          evaluationCount: 1
          enableState: enable
          regions:
            - cn-beijing
          multipleConditions: false
          noData:
            enable: false
            evaluation_count: 4
          levelConditions:
            - level: warning
              conditions:
                - metricName: istio_requests_total
                  statistics: sum
                  comparisonOperator: '>'
                  threshold: '100000'
                  metricUnit: Count
          conditions:
            - metric_name: istio_requests_total
              statistics: sum
              comparison_operator: '>'
              threshold: '100000'
              metric_unit: Count
          conditionOperator: '&&'
          silenceTime: 5
          recoveryNotify:
            enable: true
          projectName: default
          tags:
            - key: env
              value: test
          alertMethods:
            - Email
            - Webhook
          webhookIds:
            - 2005838xxxxx67xxxxx
          contactGroupIds:
            - 20041xxxxxx06xxxxx
          effectStartAt: 00:00
          effectEndAt: 23:59
    

    Create Rule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Rule(name: string, args: RuleArgs, opts?: CustomResourceOptions);
    @overload
    def Rule(resource_name: str,
             args: RuleArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Rule(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             rule_name: Optional[str] = None,
             silence_time: Optional[int] = None,
             sub_namespace: Optional[str] = None,
             namespace: Optional[str] = None,
             rule_type: Optional[str] = None,
             level: Optional[str] = None,
             effect_end_at: Optional[str] = None,
             effect_start_at: Optional[str] = None,
             enable_state: Optional[str] = None,
             evaluation_count: Optional[int] = None,
             recovery_notify: Optional[RuleRecoveryNotifyArgs] = None,
             regions: Optional[Sequence[str]] = None,
             project_name: Optional[str] = None,
             multiple_conditions: Optional[bool] = None,
             description: Optional[str] = None,
             notification_id: Optional[str] = None,
             notify_templates: Optional[Sequence[RuleNotifyTemplateArgs]] = None,
             dimension_conditions: Optional[RuleDimensionConditionsArgs] = None,
             level_conditions: Optional[Sequence[RuleLevelConditionArgs]] = None,
             original_dimensions: Optional[RuleOriginalDimensionsArgs] = None,
             condition_operator: Optional[str] = None,
             alert_methods: Optional[Sequence[str]] = None,
             no_data: Optional[RuleNoDataArgs] = None,
             contact_group_ids: Optional[Sequence[str]] = None,
             conditions: Optional[Sequence[RuleConditionArgs]] = None,
             tags: Optional[Sequence[RuleTagArgs]] = None,
             webhook: Optional[str] = None,
             webhook_ids: Optional[Sequence[str]] = None)
    func NewRule(ctx *Context, name string, args RuleArgs, opts ...ResourceOption) (*Rule, error)
    public Rule(string name, RuleArgs args, CustomResourceOptions? opts = null)
    public Rule(String name, RuleArgs args)
    public Rule(String name, RuleArgs args, CustomResourceOptions options)
    
    type: volcenginecc:cloudmonitor:Rule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Rule Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Rule resource accepts the following input properties:

    EffectEndAt string
    Policy expiration time, in HH:MM format.
    EffectStartAt string
    Policy start time, in HH:MM format.
    EnableState string
    Alert policy status. enable: enabled, disable: disabled
    EvaluationCount int
    Duration required to trigger an alert, in minutes.
    Level string
    Alert level. critical: critical, warning: warning, notice: notification
    Namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    RuleName string
    Alert policy name.
    RuleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    SilenceTime int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    SubNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    AlertMethods List<string>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    ConditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    Conditions List<Volcengine.RuleCondition>
    ContactGroupIds List<string>
    Alert notification group ID bound to the alert policy.
    Description string
    Alert policy description.
    DimensionConditions Volcengine.RuleDimensionConditions
    Dimension configuration.
    LevelConditions List<Volcengine.RuleLevelCondition>
    MultipleConditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    NoData Volcengine.RuleNoData
    No data alert.
    NotificationId string
    Notification policy ID.
    NotifyTemplates List<Volcengine.RuleNotifyTemplate>
    OriginalDimensions Volcengine.RuleOriginalDimensions
    Resource ID detected by the alert policy.
    ProjectName string
    Project to which the alert policy belongs.
    RecoveryNotify Volcengine.RuleRecoveryNotify
    Alert recovery notification.
    Regions List<string>
    Availability zone ID of the cloud product.
    Tags List<Volcengine.RuleTag>
    Webhook string
    Alarm callback URL bound to the alarm policy.
    WebhookIds List<string>
    Alarm callback ID list when an alarm occurs.
    EffectEndAt string
    Policy expiration time, in HH:MM format.
    EffectStartAt string
    Policy start time, in HH:MM format.
    EnableState string
    Alert policy status. enable: enabled, disable: disabled
    EvaluationCount int
    Duration required to trigger an alert, in minutes.
    Level string
    Alert level. critical: critical, warning: warning, notice: notification
    Namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    RuleName string
    Alert policy name.
    RuleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    SilenceTime int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    SubNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    AlertMethods []string
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    ConditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    Conditions []RuleConditionArgs
    ContactGroupIds []string
    Alert notification group ID bound to the alert policy.
    Description string
    Alert policy description.
    DimensionConditions RuleDimensionConditionsArgs
    Dimension configuration.
    LevelConditions []RuleLevelConditionArgs
    MultipleConditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    NoData RuleNoDataArgs
    No data alert.
    NotificationId string
    Notification policy ID.
    NotifyTemplates []RuleNotifyTemplateArgs
    OriginalDimensions RuleOriginalDimensionsArgs
    Resource ID detected by the alert policy.
    ProjectName string
    Project to which the alert policy belongs.
    RecoveryNotify RuleRecoveryNotifyArgs
    Alert recovery notification.
    Regions []string
    Availability zone ID of the cloud product.
    Tags []RuleTagArgs
    Webhook string
    Alarm callback URL bound to the alarm policy.
    WebhookIds []string
    Alarm callback ID list when an alarm occurs.
    effectEndAt String
    Policy expiration time, in HH:MM format.
    effectStartAt String
    Policy start time, in HH:MM format.
    enableState String
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount Integer
    Duration required to trigger an alert, in minutes.
    level String
    Alert level. critical: critical, warning: warning, notice: notification
    namespace String
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    ruleName String
    Alert policy name.
    ruleType String
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime Integer
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace String
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    alertMethods List<String>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    conditionOperator String
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions List<RuleCondition>
    contactGroupIds List<String>
    Alert notification group ID bound to the alert policy.
    description String
    Alert policy description.
    dimensionConditions RuleDimensionConditions
    Dimension configuration.
    levelConditions List<RuleLevelCondition>
    multipleConditions Boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    noData RuleNoData
    No data alert.
    notificationId String
    Notification policy ID.
    notifyTemplates List<RuleNotifyTemplate>
    originalDimensions RuleOriginalDimensions
    Resource ID detected by the alert policy.
    projectName String
    Project to which the alert policy belongs.
    recoveryNotify RuleRecoveryNotify
    Alert recovery notification.
    regions List<String>
    Availability zone ID of the cloud product.
    tags List<RuleTag>
    webhook String
    Alarm callback URL bound to the alarm policy.
    webhookIds List<String>
    Alarm callback ID list when an alarm occurs.
    effectEndAt string
    Policy expiration time, in HH:MM format.
    effectStartAt string
    Policy start time, in HH:MM format.
    enableState string
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount number
    Duration required to trigger an alert, in minutes.
    level string
    Alert level. critical: critical, warning: warning, notice: notification
    namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    ruleName string
    Alert policy name.
    ruleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime number
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    alertMethods string[]
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    conditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions RuleCondition[]
    contactGroupIds string[]
    Alert notification group ID bound to the alert policy.
    description string
    Alert policy description.
    dimensionConditions RuleDimensionConditions
    Dimension configuration.
    levelConditions RuleLevelCondition[]
    multipleConditions boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    noData RuleNoData
    No data alert.
    notificationId string
    Notification policy ID.
    notifyTemplates RuleNotifyTemplate[]
    originalDimensions RuleOriginalDimensions
    Resource ID detected by the alert policy.
    projectName string
    Project to which the alert policy belongs.
    recoveryNotify RuleRecoveryNotify
    Alert recovery notification.
    regions string[]
    Availability zone ID of the cloud product.
    tags RuleTag[]
    webhook string
    Alarm callback URL bound to the alarm policy.
    webhookIds string[]
    Alarm callback ID list when an alarm occurs.
    effect_end_at str
    Policy expiration time, in HH:MM format.
    effect_start_at str
    Policy start time, in HH:MM format.
    enable_state str
    Alert policy status. enable: enabled, disable: disabled
    evaluation_count int
    Duration required to trigger an alert, in minutes.
    level str
    Alert level. critical: critical, warning: warning, notice: notification
    namespace str
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    rule_name str
    Alert policy name.
    rule_type str
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silence_time int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    sub_namespace str
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    alert_methods Sequence[str]
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    condition_operator str
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions Sequence[RuleConditionArgs]
    contact_group_ids Sequence[str]
    Alert notification group ID bound to the alert policy.
    description str
    Alert policy description.
    dimension_conditions RuleDimensionConditionsArgs
    Dimension configuration.
    level_conditions Sequence[RuleLevelConditionArgs]
    multiple_conditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    no_data RuleNoDataArgs
    No data alert.
    notification_id str
    Notification policy ID.
    notify_templates Sequence[RuleNotifyTemplateArgs]
    original_dimensions RuleOriginalDimensionsArgs
    Resource ID detected by the alert policy.
    project_name str
    Project to which the alert policy belongs.
    recovery_notify RuleRecoveryNotifyArgs
    Alert recovery notification.
    regions Sequence[str]
    Availability zone ID of the cloud product.
    tags Sequence[RuleTagArgs]
    webhook str
    Alarm callback URL bound to the alarm policy.
    webhook_ids Sequence[str]
    Alarm callback ID list when an alarm occurs.
    effectEndAt String
    Policy expiration time, in HH:MM format.
    effectStartAt String
    Policy start time, in HH:MM format.
    enableState String
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount Number
    Duration required to trigger an alert, in minutes.
    level String
    Alert level. critical: critical, warning: warning, notice: notification
    namespace String
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    ruleName String
    Alert policy name.
    ruleType String
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime Number
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace String
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    alertMethods List<String>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    conditionOperator String
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions List<Property Map>
    contactGroupIds List<String>
    Alert notification group ID bound to the alert policy.
    description String
    Alert policy description.
    dimensionConditions Property Map
    Dimension configuration.
    levelConditions List<Property Map>
    multipleConditions Boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    noData Property Map
    No data alert.
    notificationId String
    Notification policy ID.
    notifyTemplates List<Property Map>
    originalDimensions Property Map
    Resource ID detected by the alert policy.
    projectName String
    Project to which the alert policy belongs.
    recoveryNotify Property Map
    Alert recovery notification.
    regions List<String>
    Availability zone ID of the cloud product.
    tags List<Property Map>
    webhook String
    Alarm callback URL bound to the alarm policy.
    webhookIds List<String>
    Alarm callback ID list when an alarm occurs.

    Outputs

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

    AlertState string
    Alert status. alerting: In alert; normal: Normal.
    CreatedAt string
    Alert policy creation time, in timestamp format.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    Resource type detected by the alert policy.
    RuleId string
    Alarm policy ID.
    UpdatedAt string
    Alarm policy update time, in timestamp format.
    AlertState string
    Alert status. alerting: In alert; normal: Normal.
    CreatedAt string
    Alert policy creation time, in timestamp format.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    Resource type detected by the alert policy.
    RuleId string
    Alarm policy ID.
    UpdatedAt string
    Alarm policy update time, in timestamp format.
    alertState String
    Alert status. alerting: In alert; normal: Normal.
    createdAt String
    Alert policy creation time, in timestamp format.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    Resource type detected by the alert policy.
    ruleId String
    Alarm policy ID.
    updatedAt String
    Alarm policy update time, in timestamp format.
    alertState string
    Alert status. alerting: In alert; normal: Normal.
    createdAt string
    Alert policy creation time, in timestamp format.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceType string
    Resource type detected by the alert policy.
    ruleId string
    Alarm policy ID.
    updatedAt string
    Alarm policy update time, in timestamp format.
    alert_state str
    Alert status. alerting: In alert; normal: Normal.
    created_at str
    Alert policy creation time, in timestamp format.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_type str
    Resource type detected by the alert policy.
    rule_id str
    Alarm policy ID.
    updated_at str
    Alarm policy update time, in timestamp format.
    alertState String
    Alert status. alerting: In alert; normal: Normal.
    createdAt String
    Alert policy creation time, in timestamp format.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    Resource type detected by the alert policy.
    ruleId String
    Alarm policy ID.
    updatedAt String
    Alarm policy update time, in timestamp format.

    Look up Existing Rule Resource

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

    public static get(name: string, id: Input<ID>, state?: RuleState, opts?: CustomResourceOptions): Rule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_methods: Optional[Sequence[str]] = None,
            alert_state: Optional[str] = None,
            condition_operator: Optional[str] = None,
            conditions: Optional[Sequence[RuleConditionArgs]] = None,
            contact_group_ids: Optional[Sequence[str]] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            dimension_conditions: Optional[RuleDimensionConditionsArgs] = None,
            effect_end_at: Optional[str] = None,
            effect_start_at: Optional[str] = None,
            enable_state: Optional[str] = None,
            evaluation_count: Optional[int] = None,
            level: Optional[str] = None,
            level_conditions: Optional[Sequence[RuleLevelConditionArgs]] = None,
            multiple_conditions: Optional[bool] = None,
            namespace: Optional[str] = None,
            no_data: Optional[RuleNoDataArgs] = None,
            notification_id: Optional[str] = None,
            notify_templates: Optional[Sequence[RuleNotifyTemplateArgs]] = None,
            original_dimensions: Optional[RuleOriginalDimensionsArgs] = None,
            project_name: Optional[str] = None,
            recovery_notify: Optional[RuleRecoveryNotifyArgs] = None,
            regions: Optional[Sequence[str]] = None,
            resource_type: Optional[str] = None,
            rule_id: Optional[str] = None,
            rule_name: Optional[str] = None,
            rule_type: Optional[str] = None,
            silence_time: Optional[int] = None,
            sub_namespace: Optional[str] = None,
            tags: Optional[Sequence[RuleTagArgs]] = None,
            updated_at: Optional[str] = None,
            webhook: Optional[str] = None,
            webhook_ids: Optional[Sequence[str]] = None) -> Rule
    func GetRule(ctx *Context, name string, id IDInput, state *RuleState, opts ...ResourceOption) (*Rule, error)
    public static Rule Get(string name, Input<string> id, RuleState? state, CustomResourceOptions? opts = null)
    public static Rule get(String name, Output<String> id, RuleState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:cloudmonitor:Rule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlertMethods List<string>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    AlertState string
    Alert status. alerting: In alert; normal: Normal.
    ConditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    Conditions List<Volcengine.RuleCondition>
    ContactGroupIds List<string>
    Alert notification group ID bound to the alert policy.
    CreatedAt string
    Alert policy creation time, in timestamp format.
    Description string
    Alert policy description.
    DimensionConditions Volcengine.RuleDimensionConditions
    Dimension configuration.
    EffectEndAt string
    Policy expiration time, in HH:MM format.
    EffectStartAt string
    Policy start time, in HH:MM format.
    EnableState string
    Alert policy status. enable: enabled, disable: disabled
    EvaluationCount int
    Duration required to trigger an alert, in minutes.
    Level string
    Alert level. critical: critical, warning: warning, notice: notification
    LevelConditions List<Volcengine.RuleLevelCondition>
    MultipleConditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    Namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    NoData Volcengine.RuleNoData
    No data alert.
    NotificationId string
    Notification policy ID.
    NotifyTemplates List<Volcengine.RuleNotifyTemplate>
    OriginalDimensions Volcengine.RuleOriginalDimensions
    Resource ID detected by the alert policy.
    ProjectName string
    Project to which the alert policy belongs.
    RecoveryNotify Volcengine.RuleRecoveryNotify
    Alert recovery notification.
    Regions List<string>
    Availability zone ID of the cloud product.
    ResourceType string
    Resource type detected by the alert policy.
    RuleId string
    Alarm policy ID.
    RuleName string
    Alert policy name.
    RuleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    SilenceTime int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    SubNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    Tags List<Volcengine.RuleTag>
    UpdatedAt string
    Alarm policy update time, in timestamp format.
    Webhook string
    Alarm callback URL bound to the alarm policy.
    WebhookIds List<string>
    Alarm callback ID list when an alarm occurs.
    AlertMethods []string
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    AlertState string
    Alert status. alerting: In alert; normal: Normal.
    ConditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    Conditions []RuleConditionArgs
    ContactGroupIds []string
    Alert notification group ID bound to the alert policy.
    CreatedAt string
    Alert policy creation time, in timestamp format.
    Description string
    Alert policy description.
    DimensionConditions RuleDimensionConditionsArgs
    Dimension configuration.
    EffectEndAt string
    Policy expiration time, in HH:MM format.
    EffectStartAt string
    Policy start time, in HH:MM format.
    EnableState string
    Alert policy status. enable: enabled, disable: disabled
    EvaluationCount int
    Duration required to trigger an alert, in minutes.
    Level string
    Alert level. critical: critical, warning: warning, notice: notification
    LevelConditions []RuleLevelConditionArgs
    MultipleConditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    Namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    NoData RuleNoDataArgs
    No data alert.
    NotificationId string
    Notification policy ID.
    NotifyTemplates []RuleNotifyTemplateArgs
    OriginalDimensions RuleOriginalDimensionsArgs
    Resource ID detected by the alert policy.
    ProjectName string
    Project to which the alert policy belongs.
    RecoveryNotify RuleRecoveryNotifyArgs
    Alert recovery notification.
    Regions []string
    Availability zone ID of the cloud product.
    ResourceType string
    Resource type detected by the alert policy.
    RuleId string
    Alarm policy ID.
    RuleName string
    Alert policy name.
    RuleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    SilenceTime int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    SubNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    Tags []RuleTagArgs
    UpdatedAt string
    Alarm policy update time, in timestamp format.
    Webhook string
    Alarm callback URL bound to the alarm policy.
    WebhookIds []string
    Alarm callback ID list when an alarm occurs.
    alertMethods List<String>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    alertState String
    Alert status. alerting: In alert; normal: Normal.
    conditionOperator String
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions List<RuleCondition>
    contactGroupIds List<String>
    Alert notification group ID bound to the alert policy.
    createdAt String
    Alert policy creation time, in timestamp format.
    description String
    Alert policy description.
    dimensionConditions RuleDimensionConditions
    Dimension configuration.
    effectEndAt String
    Policy expiration time, in HH:MM format.
    effectStartAt String
    Policy start time, in HH:MM format.
    enableState String
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount Integer
    Duration required to trigger an alert, in minutes.
    level String
    Alert level. critical: critical, warning: warning, notice: notification
    levelConditions List<RuleLevelCondition>
    multipleConditions Boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    namespace String
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    noData RuleNoData
    No data alert.
    notificationId String
    Notification policy ID.
    notifyTemplates List<RuleNotifyTemplate>
    originalDimensions RuleOriginalDimensions
    Resource ID detected by the alert policy.
    projectName String
    Project to which the alert policy belongs.
    recoveryNotify RuleRecoveryNotify
    Alert recovery notification.
    regions List<String>
    Availability zone ID of the cloud product.
    resourceType String
    Resource type detected by the alert policy.
    ruleId String
    Alarm policy ID.
    ruleName String
    Alert policy name.
    ruleType String
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime Integer
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace String
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    tags List<RuleTag>
    updatedAt String
    Alarm policy update time, in timestamp format.
    webhook String
    Alarm callback URL bound to the alarm policy.
    webhookIds List<String>
    Alarm callback ID list when an alarm occurs.
    alertMethods string[]
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    alertState string
    Alert status. alerting: In alert; normal: Normal.
    conditionOperator string
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions RuleCondition[]
    contactGroupIds string[]
    Alert notification group ID bound to the alert policy.
    createdAt string
    Alert policy creation time, in timestamp format.
    description string
    Alert policy description.
    dimensionConditions RuleDimensionConditions
    Dimension configuration.
    effectEndAt string
    Policy expiration time, in HH:MM format.
    effectStartAt string
    Policy start time, in HH:MM format.
    enableState string
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount number
    Duration required to trigger an alert, in minutes.
    level string
    Alert level. critical: critical, warning: warning, notice: notification
    levelConditions RuleLevelCondition[]
    multipleConditions boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    namespace string
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    noData RuleNoData
    No data alert.
    notificationId string
    Notification policy ID.
    notifyTemplates RuleNotifyTemplate[]
    originalDimensions RuleOriginalDimensions
    Resource ID detected by the alert policy.
    projectName string
    Project to which the alert policy belongs.
    recoveryNotify RuleRecoveryNotify
    Alert recovery notification.
    regions string[]
    Availability zone ID of the cloud product.
    resourceType string
    Resource type detected by the alert policy.
    ruleId string
    Alarm policy ID.
    ruleName string
    Alert policy name.
    ruleType string
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime number
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace string
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    tags RuleTag[]
    updatedAt string
    Alarm policy update time, in timestamp format.
    webhook string
    Alarm callback URL bound to the alarm policy.
    webhookIds string[]
    Alarm callback ID list when an alarm occurs.
    alert_methods Sequence[str]
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    alert_state str
    Alert status. alerting: In alert; normal: Normal.
    condition_operator str
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions Sequence[RuleConditionArgs]
    contact_group_ids Sequence[str]
    Alert notification group ID bound to the alert policy.
    created_at str
    Alert policy creation time, in timestamp format.
    description str
    Alert policy description.
    dimension_conditions RuleDimensionConditionsArgs
    Dimension configuration.
    effect_end_at str
    Policy expiration time, in HH:MM format.
    effect_start_at str
    Policy start time, in HH:MM format.
    enable_state str
    Alert policy status. enable: enabled, disable: disabled
    evaluation_count int
    Duration required to trigger an alert, in minutes.
    level str
    Alert level. critical: critical, warning: warning, notice: notification
    level_conditions Sequence[RuleLevelConditionArgs]
    multiple_conditions bool
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    namespace str
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    no_data RuleNoDataArgs
    No data alert.
    notification_id str
    Notification policy ID.
    notify_templates Sequence[RuleNotifyTemplateArgs]
    original_dimensions RuleOriginalDimensionsArgs
    Resource ID detected by the alert policy.
    project_name str
    Project to which the alert policy belongs.
    recovery_notify RuleRecoveryNotifyArgs
    Alert recovery notification.
    regions Sequence[str]
    Availability zone ID of the cloud product.
    resource_type str
    Resource type detected by the alert policy.
    rule_id str
    Alarm policy ID.
    rule_name str
    Alert policy name.
    rule_type str
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silence_time int
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    sub_namespace str
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    tags Sequence[RuleTagArgs]
    updated_at str
    Alarm policy update time, in timestamp format.
    webhook str
    Alarm callback URL bound to the alarm policy.
    webhook_ids Sequence[str]
    Alarm callback ID list when an alarm occurs.
    alertMethods List<String>
    Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
    alertState String
    Alert status. alerting: In alert; normal: Normal.
    conditionOperator String
    Multi-metric determination condition. &&: Alert is triggered only if all metrics meet the condition; ||: Alert is triggered if any metric meets the condition.
    conditions List<Property Map>
    contactGroupIds List<String>
    Alert notification group ID bound to the alert policy.
    createdAt String
    Alert policy creation time, in timestamp format.
    description String
    Alert policy description.
    dimensionConditions Property Map
    Dimension configuration.
    effectEndAt String
    Policy expiration time, in HH:MM format.
    effectStartAt String
    Policy start time, in HH:MM format.
    enableState String
    Alert policy status. enable: enabled, disable: disabled
    evaluationCount Number
    Duration required to trigger an alert, in minutes.
    level String
    Alert level. critical: critical, warning: warning, notice: notification
    levelConditions List<Property Map>
    multipleConditions Boolean
    Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
    namespace String
    Cloud product associated with the monitoring metric. For details, see Namespace for each product in Cloud Product Monitoring Metrics.
    noData Property Map
    No data alert.
    notificationId String
    Notification policy ID.
    notifyTemplates List<Property Map>
    originalDimensions Property Map
    Resource ID detected by the alert policy.
    projectName String
    Project to which the alert policy belongs.
    recoveryNotify Property Map
    Alert recovery notification.
    regions List<String>
    Availability zone ID of the cloud product.
    resourceType String
    Resource type detected by the alert policy.
    ruleId String
    Alarm policy ID.
    ruleName String
    Alert policy name.
    ruleType String
    Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
    silenceTime Number
    Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
    subNamespace String
    Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
    tags List<Property Map>
    updatedAt String
    Alarm policy update time, in timestamp format.
    webhook String
    Alarm callback URL bound to the alarm policy.
    webhookIds List<String>
    Alarm callback ID list when an alarm occurs.

    Supporting Types

    RuleCondition, RuleConditionArgs

    ComparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    MetricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    MetricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    Period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    Statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    Threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    ComparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    MetricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    MetricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    Period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    Statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    Threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator String
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    metricName String
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit String
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period String
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics String
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold String
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    metricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparison_operator str
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    metric_name str
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metric_unit str
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period str
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics str
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold str
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator String
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    metricName String
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit String
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period String
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics String
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold String
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.

    RuleDimensionConditions, RuleDimensionConditionsArgs

    MetaCondition Volcengine.RuleDimensionConditionsMetaCondition
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    ProjectCondition Volcengine.RuleDimensionConditionsProjectCondition
    Condition for selecting alert targets by project. Required when Type is project.
    TagCondition Volcengine.RuleDimensionConditionsTagCondition
    Condition for selecting alert objects by tag. Required when Type is tag.
    Type string
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
    MetaCondition RuleDimensionConditionsMetaCondition
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    ProjectCondition RuleDimensionConditionsProjectCondition
    Condition for selecting alert targets by project. Required when Type is project.
    TagCondition RuleDimensionConditionsTagCondition
    Condition for selecting alert objects by tag. Required when Type is tag.
    Type string
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
    metaCondition RuleDimensionConditionsMetaCondition
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    projectCondition RuleDimensionConditionsProjectCondition
    Condition for selecting alert targets by project. Required when Type is project.
    tagCondition RuleDimensionConditionsTagCondition
    Condition for selecting alert objects by tag. Required when Type is tag.
    type String
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
    metaCondition RuleDimensionConditionsMetaCondition
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    projectCondition RuleDimensionConditionsProjectCondition
    Condition for selecting alert targets by project. Required when Type is project.
    tagCondition RuleDimensionConditionsTagCondition
    Condition for selecting alert objects by tag. Required when Type is tag.
    type string
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
    meta_condition RuleDimensionConditionsMetaCondition
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    project_condition RuleDimensionConditionsProjectCondition
    Condition for selecting alert targets by project. Required when Type is project.
    tag_condition RuleDimensionConditionsTagCondition
    Condition for selecting alert objects by tag. Required when Type is tag.
    type str
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.
    metaCondition Property Map
    Condition for selecting alert objects based on resource name. Required when Type is meta.
    projectCondition Property Map
    Condition for selecting alert targets by project. Required when Type is project.
    tagCondition Property Map
    Condition for selecting alert objects by tag. Required when Type is tag.
    type String
    Dimensions type. Values: project: Select alert targets by project. tag: Select alert targets by tag. meta: Select alert targets by resource name.

    RuleDimensionConditionsMetaCondition, RuleDimensionConditionsMetaConditionArgs

    AllDimensions bool
    Whether all resources are included. true: All resources. false: Partial resources.
    Condition string
    Condition. and: All conditions met. or: Any condition met.
    Metas List<Volcengine.RuleDimensionConditionsMetaConditionMeta>
    AllDimensions bool
    Whether all resources are included. true: All resources. false: Partial resources.
    Condition string
    Condition. and: All conditions met. or: Any condition met.
    Metas []RuleDimensionConditionsMetaConditionMeta
    allDimensions Boolean
    Whether all resources are included. true: All resources. false: Partial resources.
    condition String
    Condition. and: All conditions met. or: Any condition met.
    metas List<RuleDimensionConditionsMetaConditionMeta>
    allDimensions boolean
    Whether all resources are included. true: All resources. false: Partial resources.
    condition string
    Condition. and: All conditions met. or: Any condition met.
    metas RuleDimensionConditionsMetaConditionMeta[]
    all_dimensions bool
    Whether all resources are included. true: All resources. false: Partial resources.
    condition str
    Condition. and: All conditions met. or: Any condition met.
    metas Sequence[RuleDimensionConditionsMetaConditionMeta]
    allDimensions Boolean
    Whether all resources are included. true: All resources. false: Partial resources.
    condition String
    Condition. and: All conditions met. or: Any condition met.
    metas List<Property Map>

    RuleDimensionConditionsMetaConditionMeta, RuleDimensionConditionsMetaConditionMetaArgs

    Comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    Key string
    Tag key.
    Values List<string>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    Comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    Key string
    Tag key.
    Values []string
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator String
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key String
    Tag key.
    values List<String>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key string
    Tag key.
    values string[]
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator str
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key str
    Tag key.
    values Sequence[str]
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator String
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key String
    Tag key.
    values List<String>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.

    RuleDimensionConditionsProjectCondition, RuleDimensionConditionsProjectConditionArgs

    Projects List<string>
    Project name list, in array format. Separate multiple values with commas.
    Projects []string
    Project name list, in array format. Separate multiple values with commas.
    projects List<String>
    Project name list, in array format. Separate multiple values with commas.
    projects string[]
    Project name list, in array format. Separate multiple values with commas.
    projects Sequence[str]
    Project name list, in array format. Separate multiple values with commas.
    projects List<String>
    Project name list, in array format. Separate multiple values with commas.

    RuleDimensionConditionsTagCondition, RuleDimensionConditionsTagConditionArgs

    Condition string
    Condition. and: All conditions met. or: Any condition met.
    Tags List<Volcengine.RuleDimensionConditionsTagConditionTag>
    Condition string
    Condition. and: All conditions met. or: Any condition met.
    Tags []RuleDimensionConditionsTagConditionTag
    condition String
    Condition. and: All conditions met. or: Any condition met.
    tags List<RuleDimensionConditionsTagConditionTag>
    condition string
    Condition. and: All conditions met. or: Any condition met.
    tags RuleDimensionConditionsTagConditionTag[]
    condition str
    Condition. and: All conditions met. or: Any condition met.
    tags Sequence[RuleDimensionConditionsTagConditionTag]
    condition String
    Condition. and: All conditions met. or: Any condition met.
    tags List<Property Map>

    RuleDimensionConditionsTagConditionTag, RuleDimensionConditionsTagConditionTagArgs

    Comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    Key string
    Tag key.
    Values List<string>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    Comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    Key string
    Tag key.
    Values []string
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator String
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key String
    Tag key.
    values List<String>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator string
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key string
    Tag key.
    values string[]
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator str
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key str
    Tag key.
    values Sequence[str]
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.
    comparator String
    Tag match operator. contain: Contains notcontain: Does not contain prefixmatch: Prefix match suffixmatch: Suffix match equal: Equals notequal: Does not equal exist: Exists.
    key String
    Tag key.
    values List<String>
    Tag value (Value). When Comparator is exist, includes all Values corresponding to the Key and does not support input. When Comparator is equal or notequal, supports multiple Value inputs. When Comparator is contain, notcontain, prefixmatch, or suffixmatch, only one Value can be entered.

    RuleLevelCondition, RuleLevelConditionArgs

    Conditions List<Volcengine.RuleLevelConditionCondition>
    Level string
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
    Conditions []RuleLevelConditionCondition
    Level string
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
    conditions List<RuleLevelConditionCondition>
    level String
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
    conditions RuleLevelConditionCondition[]
    level string
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
    conditions Sequence[RuleLevelConditionCondition]
    level str
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
    conditions List<Property Map>
    level String
    Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.

    RuleLevelConditionCondition, RuleLevelConditionConditionArgs

    ComparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    DisplayName string
    Metric display name.
    MetricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    MetricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    Period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    Statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    Threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    ComparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    DisplayName string
    Metric display name.
    MetricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    MetricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    Period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    Statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    Threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator String
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    displayName String
    Metric display name.
    metricName String
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit String
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period String
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics String
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold String
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator string
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    displayName string
    Metric display name.
    metricName string
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit string
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period string
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics string
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold string
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparison_operator str
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    display_name str
    Metric display name.
    metric_name str
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metric_unit str
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period str
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics str
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold str
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
    comparisonOperator String
    Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: lastperiodincreasepct: Increased compared to last period. lastperioddecreasepct: Decreased compared to last period. lastperiodabspct: Increased or decreased compared to last period. lastdayincreasepct: Increased compared to the same period yesterday. lastdaydecreasepct: Decreased compared to the same period yesterday. lastdayabspct: Increased or decreased compared to the same period yesterday. lastweekincreasepct: Increased compared to the same period last week. lastweekdecreasepct: Decreased compared to the same period last week. lastweekabs_pct: Increased or decreased compared to the same period last week.
    displayName String
    Metric display name.
    metricName String
    Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
    metricUnit String
    Unit of the monitoring metric. For details, see MetricUnit for each product in Cloud Monitoring Metric Query. For period-over-period alerting, MetricUnit must be set to "Percent." Whether IEC is included in MetricUnit indicates different base values: With IEC: base is 1024; Without IEC: base is 1000.
    period String
    Statistical period for monitoring metrics. For details, see Period for each product in Cloud Monitoring Metric Query.
    statistics String
    Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
    threshold String
    Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.

    RuleNoData, RuleNoDataArgs

    Enable bool
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    EvaluationCount int
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
    Enable bool
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    EvaluationCount int
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
    enable Boolean
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    evaluationCount Integer
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
    enable boolean
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    evaluationCount number
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
    enable bool
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    evaluation_count int
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
    enable Boolean
    Enable no data alert. Values: true: enable no data alert. false (default): disable no data alert.
    evaluationCount Number
    No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.

    RuleNotifyTemplate, RuleNotifyTemplateArgs

    Channel string
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    NotifyTemplateId string
    Notification template ID. Note: Each notification channel supports only one notification template ID.
    Channel string
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    NotifyTemplateId string
    Notification template ID. Note: Each notification channel supports only one notification template ID.
    channel String
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    notifyTemplateId String
    Notification template ID. Note: Each notification channel supports only one notification template ID.
    channel string
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    notifyTemplateId string
    Notification template ID. Note: Each notification channel supports only one notification template ID.
    channel str
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    notify_template_id str
    Notification template ID. Note: Each notification channel supports only one notification template ID.
    channel String
    Notification channel. Options: email: Email sms: SMS phone: Phone feishu: Feishu dingtalk: DingTalk wecom: WeCom slack: Slack api: Callback URL.
    notifyTemplateId String
    Notification template ID. Note: Each notification channel supports only one notification template ID.

    RuleOriginalDimensions, RuleOriginalDimensionsArgs

    Key string
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    Values List<string>
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .
    Key string
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    Values []string
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .
    key String
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    values List<String>
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .
    key string
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    values string[]
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .
    key str
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    values Sequence[str]
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .
    key String
    Metric Dimension name, such as ResourceID, NodeName, etc. Dimension names vary by cloud product. For details, see Cloud Monitoring Metric Query. ResourceID is required, and its capitalization must match Cloud Monitoring Metric Query. Supports multiple Dimension names and grouping by multiple Dimension names. For example: If you only enter ResourceID, the system groups alerts by ResourceID. If you enter both ResourceID and NodeName, the system first groups alerts by ResourceID, then groups within each ResourceID group by NodeName.
    values List<String>
    Metric Dimension values, in array format. Separate multiple values with commas. Wildcard * can be used to select all instance values. For example: ["*"] .

    RuleRecoveryNotify, RuleRecoveryNotifyArgs

    Enable bool
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.
    Enable bool
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.
    enable Boolean
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.
    enable boolean
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.
    enable bool
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.
    enable Boolean
    Enable alert recovery notification. Options: true: (default) enable alert recovery notification, false: disable alert recovery notification.

    RuleTag, RuleTagArgs

    Key string
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    Value string
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.
    Key string
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    Value string
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.
    key String
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    value String
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.
    key string
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    value string
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.
    key str
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    value str
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.
    key String
    Tag key. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. volc: and /sys: are system-reserved tag keys. When adding a tag, the tag key cannot start with any case form of volc: or /sys:. Tag key length must be 1–128 characters.
    value String
    Tag value. Supports Chinese, uppercase and lowercase English letters, numbers, and spaces. The following special characters are supported: _ . : / = + - @. Cannot start or end with a space. Tag key length must be 0–255 characters.

    Import

    $ pulumi import volcenginecc:cloudmonitor/rule:Rule example "rule_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.