published on Thursday, Apr 23, 2026 by Volcengine
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)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:
- Effect
End stringAt - Policy expiration time, in HH:MM format.
- Effect
Start stringAt - Policy start time, in HH:MM format.
- Enable
State string - Alert policy status. enable: enabled, disable: disabled
- Evaluation
Count 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.
- Rule
Name string - Alert policy name.
- Rule
Type string - 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 string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- Alert
Methods List<string> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- Condition
Operator 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.
Rule Condition> - Contact
Group List<string>Ids - Alert notification group ID bound to the alert policy.
- Description string
- Alert policy description.
- Dimension
Conditions Volcengine.Rule Dimension Conditions - Dimension configuration.
- Level
Conditions List<Volcengine.Rule Level Condition> - Multiple
Conditions bool - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- No
Data Volcengine.Rule No Data - No data alert.
- Notification
Id string - Notification policy ID.
- Notify
Templates List<Volcengine.Rule Notify Template> - Original
Dimensions Volcengine.Rule Original Dimensions - Resource ID detected by the alert policy.
- Project
Name string - Project to which the alert policy belongs.
- Recovery
Notify Volcengine.Rule Recovery Notify - Alert recovery notification.
- Regions List<string>
- Availability zone ID of the cloud product.
-
List<Volcengine.
Rule Tag> - Webhook string
- Alarm callback URL bound to the alarm policy.
- Webhook
Ids List<string> - Alarm callback ID list when an alarm occurs.
- Effect
End stringAt - Policy expiration time, in HH:MM format.
- Effect
Start stringAt - Policy start time, in HH:MM format.
- Enable
State string - Alert policy status. enable: enabled, disable: disabled
- Evaluation
Count 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.
- Rule
Name string - Alert policy name.
- Rule
Type string - 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 string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- Alert
Methods []string - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- Condition
Operator 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
[]Rule
Condition Args - Contact
Group []stringIds - Alert notification group ID bound to the alert policy.
- Description string
- Alert policy description.
- Dimension
Conditions RuleDimension Conditions Args - Dimension configuration.
- Level
Conditions []RuleLevel Condition Args - Multiple
Conditions bool - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- No
Data RuleNo Data Args - No data alert.
- Notification
Id string - Notification policy ID.
- Notify
Templates []RuleNotify Template Args - Original
Dimensions RuleOriginal Dimensions Args - Resource ID detected by the alert policy.
- Project
Name string - Project to which the alert policy belongs.
- Recovery
Notify RuleRecovery Notify Args - Alert recovery notification.
- Regions []string
- Availability zone ID of the cloud product.
-
[]Rule
Tag Args - Webhook string
- Alarm callback URL bound to the alarm policy.
- Webhook
Ids []string - Alarm callback ID list when an alarm occurs.
- effect
End StringAt - Policy expiration time, in HH:MM format.
- effect
Start StringAt - Policy start time, in HH:MM format.
- enable
State String - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count 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.
- rule
Name String - Alert policy name.
- rule
Type String - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time Integer - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace String - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- alert
Methods List<String> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- condition
Operator 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<Rule
Condition> - contact
Group List<String>Ids - Alert notification group ID bound to the alert policy.
- description String
- Alert policy description.
- dimension
Conditions RuleDimension Conditions - Dimension configuration.
- level
Conditions List<RuleLevel Condition> - multiple
Conditions Boolean - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- no
Data RuleNo Data - No data alert.
- notification
Id String - Notification policy ID.
- notify
Templates List<RuleNotify Template> - original
Dimensions RuleOriginal Dimensions - Resource ID detected by the alert policy.
- project
Name String - Project to which the alert policy belongs.
- recovery
Notify RuleRecovery Notify - Alert recovery notification.
- regions List<String>
- Availability zone ID of the cloud product.
-
List<Rule
Tag> - webhook String
- Alarm callback URL bound to the alarm policy.
- webhook
Ids List<String> - Alarm callback ID list when an alarm occurs.
- effect
End stringAt - Policy expiration time, in HH:MM format.
- effect
Start stringAt - Policy start time, in HH:MM format.
- enable
State string - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count 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.
- rule
Name string - Alert policy name.
- rule
Type string - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time number - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- alert
Methods string[] - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- condition
Operator 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
Rule
Condition[] - contact
Group string[]Ids - Alert notification group ID bound to the alert policy.
- description string
- Alert policy description.
- dimension
Conditions RuleDimension Conditions - Dimension configuration.
- level
Conditions RuleLevel Condition[] - multiple
Conditions boolean - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- no
Data RuleNo Data - No data alert.
- notification
Id string - Notification policy ID.
- notify
Templates RuleNotify Template[] - original
Dimensions RuleOriginal Dimensions - Resource ID detected by the alert policy.
- project
Name string - Project to which the alert policy belongs.
- recovery
Notify RuleRecovery Notify - Alert recovery notification.
- regions string[]
- Availability zone ID of the cloud product.
-
Rule
Tag[] - webhook string
- Alarm callback URL bound to the alarm policy.
- webhook
Ids string[] - Alarm callback ID list when an alarm occurs.
- effect_
end_ strat - Policy expiration time, in HH:MM format.
- effect_
start_ strat - 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[Rule
Condition Args] - contact_
group_ Sequence[str]ids - Alert notification group ID bound to the alert policy.
- description str
- Alert policy description.
- dimension_
conditions RuleDimension Conditions Args - Dimension configuration.
- level_
conditions Sequence[RuleLevel Condition Args] - multiple_
conditions bool - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- no_
data RuleNo Data Args - No data alert.
- notification_
id str - Notification policy ID.
- notify_
templates Sequence[RuleNotify Template Args] - original_
dimensions RuleOriginal Dimensions Args - Resource ID detected by the alert policy.
- project_
name str - Project to which the alert policy belongs.
- recovery_
notify RuleRecovery Notify Args - Alert recovery notification.
- regions Sequence[str]
- Availability zone ID of the cloud product.
-
Sequence[Rule
Tag Args] - webhook str
- Alarm callback URL bound to the alarm policy.
- webhook_
ids Sequence[str] - Alarm callback ID list when an alarm occurs.
- effect
End StringAt - Policy expiration time, in HH:MM format.
- effect
Start StringAt - Policy start time, in HH:MM format.
- enable
State String - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count 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.
- rule
Name String - Alert policy name.
- rule
Type String - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time Number - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace String - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- alert
Methods List<String> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- condition
Operator 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>
- contact
Group List<String>Ids - Alert notification group ID bound to the alert policy.
- description String
- Alert policy description.
- dimension
Conditions Property Map - Dimension configuration.
- level
Conditions List<Property Map> - multiple
Conditions Boolean - Does the alert policy use multiple metrics? true: multiple metrics, false: single metric (default).
- no
Data Property Map - No data alert.
- notification
Id String - Notification policy ID.
- notify
Templates List<Property Map> - original
Dimensions Property Map - Resource ID detected by the alert policy.
- project
Name String - Project to which the alert policy belongs.
- recovery
Notify Property Map - Alert recovery notification.
- regions List<String>
- Availability zone ID of the cloud product.
- List<Property Map>
- webhook String
- Alarm callback URL bound to the alarm policy.
- webhook
Ids 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:
- Alert
State string - Alert status. alerting: In alert; normal: Normal.
- Created
At string - Alert policy creation time, in timestamp format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Type string - Resource type detected by the alert policy.
- Rule
Id string - Alarm policy ID.
- Updated
At string - Alarm policy update time, in timestamp format.
- Alert
State string - Alert status. alerting: In alert; normal: Normal.
- Created
At string - Alert policy creation time, in timestamp format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Type string - Resource type detected by the alert policy.
- Rule
Id string - Alarm policy ID.
- Updated
At string - Alarm policy update time, in timestamp format.
- alert
State String - Alert status. alerting: In alert; normal: Normal.
- created
At String - Alert policy creation time, in timestamp format.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Type String - Resource type detected by the alert policy.
- rule
Id String - Alarm policy ID.
- updated
At String - Alarm policy update time, in timestamp format.
- alert
State string - Alert status. alerting: In alert; normal: Normal.
- created
At string - Alert policy creation time, in timestamp format.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Type string - Resource type detected by the alert policy.
- rule
Id string - Alarm policy ID.
- updated
At 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.
- alert
State String - Alert status. alerting: In alert; normal: Normal.
- created
At String - Alert policy creation time, in timestamp format.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Type String - Resource type detected by the alert policy.
- rule
Id String - Alarm policy ID.
- updated
At 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) -> Rulefunc 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.
- Alert
Methods List<string> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- Alert
State string - Alert status. alerting: In alert; normal: Normal.
- Condition
Operator 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.
Rule Condition> - Contact
Group List<string>Ids - Alert notification group ID bound to the alert policy.
- Created
At string - Alert policy creation time, in timestamp format.
- Description string
- Alert policy description.
- Dimension
Conditions Volcengine.Rule Dimension Conditions - Dimension configuration.
- Effect
End stringAt - Policy expiration time, in HH:MM format.
- Effect
Start stringAt - Policy start time, in HH:MM format.
- Enable
State string - Alert policy status. enable: enabled, disable: disabled
- Evaluation
Count int - Duration required to trigger an alert, in minutes.
- Level string
- Alert level. critical: critical, warning: warning, notice: notification
- Level
Conditions List<Volcengine.Rule Level Condition> - Multiple
Conditions 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.
- No
Data Volcengine.Rule No Data - No data alert.
- Notification
Id string - Notification policy ID.
- Notify
Templates List<Volcengine.Rule Notify Template> - Original
Dimensions Volcengine.Rule Original Dimensions - Resource ID detected by the alert policy.
- Project
Name string - Project to which the alert policy belongs.
- Recovery
Notify Volcengine.Rule Recovery Notify - Alert recovery notification.
- Regions List<string>
- Availability zone ID of the cloud product.
- Resource
Type string - Resource type detected by the alert policy.
- Rule
Id string - Alarm policy ID.
- Rule
Name string - Alert policy name.
- Rule
Type string - 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 string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
-
List<Volcengine.
Rule Tag> - Updated
At string - Alarm policy update time, in timestamp format.
- Webhook string
- Alarm callback URL bound to the alarm policy.
- Webhook
Ids List<string> - Alarm callback ID list when an alarm occurs.
- Alert
Methods []string - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- Alert
State string - Alert status. alerting: In alert; normal: Normal.
- Condition
Operator 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
[]Rule
Condition Args - Contact
Group []stringIds - Alert notification group ID bound to the alert policy.
- Created
At string - Alert policy creation time, in timestamp format.
- Description string
- Alert policy description.
- Dimension
Conditions RuleDimension Conditions Args - Dimension configuration.
- Effect
End stringAt - Policy expiration time, in HH:MM format.
- Effect
Start stringAt - Policy start time, in HH:MM format.
- Enable
State string - Alert policy status. enable: enabled, disable: disabled
- Evaluation
Count int - Duration required to trigger an alert, in minutes.
- Level string
- Alert level. critical: critical, warning: warning, notice: notification
- Level
Conditions []RuleLevel Condition Args - Multiple
Conditions 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.
- No
Data RuleNo Data Args - No data alert.
- Notification
Id string - Notification policy ID.
- Notify
Templates []RuleNotify Template Args - Original
Dimensions RuleOriginal Dimensions Args - Resource ID detected by the alert policy.
- Project
Name string - Project to which the alert policy belongs.
- Recovery
Notify RuleRecovery Notify Args - Alert recovery notification.
- Regions []string
- Availability zone ID of the cloud product.
- Resource
Type string - Resource type detected by the alert policy.
- Rule
Id string - Alarm policy ID.
- Rule
Name string - Alert policy name.
- Rule
Type string - 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 string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
-
[]Rule
Tag Args - Updated
At string - Alarm policy update time, in timestamp format.
- Webhook string
- Alarm callback URL bound to the alarm policy.
- Webhook
Ids []string - Alarm callback ID list when an alarm occurs.
- alert
Methods List<String> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- alert
State String - Alert status. alerting: In alert; normal: Normal.
- condition
Operator 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<Rule
Condition> - contact
Group List<String>Ids - Alert notification group ID bound to the alert policy.
- created
At String - Alert policy creation time, in timestamp format.
- description String
- Alert policy description.
- dimension
Conditions RuleDimension Conditions - Dimension configuration.
- effect
End StringAt - Policy expiration time, in HH:MM format.
- effect
Start StringAt - Policy start time, in HH:MM format.
- enable
State String - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count Integer - Duration required to trigger an alert, in minutes.
- level String
- Alert level. critical: critical, warning: warning, notice: notification
- level
Conditions List<RuleLevel Condition> - multiple
Conditions 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.
- no
Data RuleNo Data - No data alert.
- notification
Id String - Notification policy ID.
- notify
Templates List<RuleNotify Template> - original
Dimensions RuleOriginal Dimensions - Resource ID detected by the alert policy.
- project
Name String - Project to which the alert policy belongs.
- recovery
Notify RuleRecovery Notify - Alert recovery notification.
- regions List<String>
- Availability zone ID of the cloud product.
- resource
Type String - Resource type detected by the alert policy.
- rule
Id String - Alarm policy ID.
- rule
Name String - Alert policy name.
- rule
Type String - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time Integer - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace String - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
-
List<Rule
Tag> - updated
At String - Alarm policy update time, in timestamp format.
- webhook String
- Alarm callback URL bound to the alarm policy.
- webhook
Ids List<String> - Alarm callback ID list when an alarm occurs.
- alert
Methods string[] - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- alert
State string - Alert status. alerting: In alert; normal: Normal.
- condition
Operator 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
Rule
Condition[] - contact
Group string[]Ids - Alert notification group ID bound to the alert policy.
- created
At string - Alert policy creation time, in timestamp format.
- description string
- Alert policy description.
- dimension
Conditions RuleDimension Conditions - Dimension configuration.
- effect
End stringAt - Policy expiration time, in HH:MM format.
- effect
Start stringAt - Policy start time, in HH:MM format.
- enable
State string - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count number - Duration required to trigger an alert, in minutes.
- level string
- Alert level. critical: critical, warning: warning, notice: notification
- level
Conditions RuleLevel Condition[] - multiple
Conditions 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.
- no
Data RuleNo Data - No data alert.
- notification
Id string - Notification policy ID.
- notify
Templates RuleNotify Template[] - original
Dimensions RuleOriginal Dimensions - Resource ID detected by the alert policy.
- project
Name string - Project to which the alert policy belongs.
- recovery
Notify RuleRecovery Notify - Alert recovery notification.
- regions string[]
- Availability zone ID of the cloud product.
- resource
Type string - Resource type detected by the alert policy.
- rule
Id string - Alarm policy ID.
- rule
Name string - Alert policy name.
- rule
Type string - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time number - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace string - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
-
Rule
Tag[] - updated
At string - Alarm policy update time, in timestamp format.
- webhook string
- Alarm callback URL bound to the alarm policy.
- webhook
Ids 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[Rule
Condition Args] - contact_
group_ Sequence[str]ids - 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 RuleDimension Conditions Args - Dimension configuration.
- effect_
end_ strat - Policy expiration time, in HH:MM format.
- effect_
start_ strat - 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[RuleLevel Condition Args] - 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 RuleNo Data Args - No data alert.
- notification_
id str - Notification policy ID.
- notify_
templates Sequence[RuleNotify Template Args] - original_
dimensions RuleOriginal Dimensions Args - Resource ID detected by the alert policy.
- project_
name str - Project to which the alert policy belongs.
- recovery_
notify RuleRecovery Notify Args - 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.
-
Sequence[Rule
Tag Args] - 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.
- alert
Methods List<String> - Alert notification method. Email: email, Phone: phone, SMS: SMS, Webhook: webhook callback.
- alert
State String - Alert status. alerting: In alert; normal: Normal.
- condition
Operator 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>
- contact
Group List<String>Ids - Alert notification group ID bound to the alert policy.
- created
At String - Alert policy creation time, in timestamp format.
- description String
- Alert policy description.
- dimension
Conditions Property Map - Dimension configuration.
- effect
End StringAt - Policy expiration time, in HH:MM format.
- effect
Start StringAt - Policy start time, in HH:MM format.
- enable
State String - Alert policy status. enable: enabled, disable: disabled
- evaluation
Count Number - Duration required to trigger an alert, in minutes.
- level String
- Alert level. critical: critical, warning: warning, notice: notification
- level
Conditions List<Property Map> - multiple
Conditions 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.
- no
Data Property Map - No data alert.
- notification
Id String - Notification policy ID.
- notify
Templates List<Property Map> - original
Dimensions Property Map - Resource ID detected by the alert policy.
- project
Name String - Project to which the alert policy belongs.
- recovery
Notify Property Map - Alert recovery notification.
- regions List<String>
- Availability zone ID of the cloud product.
- resource
Type String - Resource type detected by the alert policy.
- rule
Id String - Alarm policy ID.
- rule
Name String - Alert policy name.
- rule
Type String - Alert policy type. static: manual selection, dynamic: select by resource name, project, and tag.
- silence
Time Number - Alert sending interval, in minutes. Supported values: 5, 10, 15, 30, 60, 180, 360, 720, 1440.
- sub
Namespace String - Dimension of the metric referenced by this policy. For details, see SubNamespace for each product in Cloud Product Monitoring Metrics.
- List<Property Map>
- updated
At String - Alarm policy update time, in timestamp format.
- webhook String
- Alarm callback URL bound to the alarm policy.
- webhook
Ids List<String> - Alarm callback ID list when an alarm occurs.
Supporting Types
RuleCondition, RuleConditionArgs
- Comparison
Operator 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.
- Metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- Metric
Unit 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 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.
- Metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- Metric
Unit 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 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.
- metric
Name String - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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 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.
- metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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.
- comparison
Operator 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.
- metric
Name String - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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
- Meta
Condition Volcengine.Rule Dimension Conditions Meta Condition - Condition for selecting alert objects based on resource name. Required when Type is meta.
- Project
Condition Volcengine.Rule Dimension Conditions Project Condition - Condition for selecting alert targets by project. Required when Type is project.
- Tag
Condition Volcengine.Rule Dimension Conditions Tag Condition - 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 RuleDimension Conditions Meta Condition - Condition for selecting alert objects based on resource name. Required when Type is meta.
- Project
Condition RuleDimension Conditions Project Condition - Condition for selecting alert targets by project. Required when Type is project.
- Tag
Condition RuleDimension Conditions Tag Condition - 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 RuleDimension Conditions Meta Condition - Condition for selecting alert objects based on resource name. Required when Type is meta.
- project
Condition RuleDimension Conditions Project Condition - Condition for selecting alert targets by project. Required when Type is project.
- tag
Condition RuleDimension Conditions Tag Condition - 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 RuleDimension Conditions Meta Condition - Condition for selecting alert objects based on resource name. Required when Type is meta.
- project
Condition RuleDimension Conditions Project Condition - Condition for selecting alert targets by project. Required when Type is project.
- tag
Condition RuleDimension Conditions Tag Condition - 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 RuleDimension Conditions Meta Condition - Condition for selecting alert objects based on resource name. Required when Type is meta.
- project_
condition RuleDimension Conditions Project Condition - Condition for selecting alert targets by project. Required when Type is project.
- tag_
condition RuleDimension Conditions Tag Condition - 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.
- meta
Condition Property Map - Condition for selecting alert objects based on resource name. Required when Type is meta.
- project
Condition Property Map - Condition for selecting alert targets by project. Required when Type is project.
- tag
Condition 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
- All
Dimensions 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.
Rule Dimension Conditions Meta Condition Meta>
- All
Dimensions bool - Whether all resources are included. true: All resources. false: Partial resources.
- Condition string
- Condition. and: All conditions met. or: Any condition met.
- Metas
[]Rule
Dimension Conditions Meta Condition Meta
- all
Dimensions 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<Rule
Dimension Conditions Meta Condition Meta>
- all
Dimensions boolean - Whether all resources are included. true: All resources. false: Partial resources.
- condition string
- Condition. and: All conditions met. or: Any condition met.
- metas
Rule
Dimension Conditions Meta Condition Meta[]
- 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[Rule
Dimension Conditions Meta Condition Meta]
- all
Dimensions 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.
-
List<Volcengine.
Rule Dimension Conditions Tag Condition Tag>
- Condition string
- Condition. and: All conditions met. or: Any condition met.
-
[]Rule
Dimension Conditions Tag Condition Tag
- condition String
- Condition. and: All conditions met. or: Any condition met.
-
List<Rule
Dimension Conditions Tag Condition Tag>
- condition string
- Condition. and: All conditions met. or: Any condition met.
-
Rule
Dimension Conditions Tag Condition Tag[]
- condition str
- Condition. and: All conditions met. or: Any condition met.
-
Sequence[Rule
Dimension Conditions Tag Condition Tag]
- condition String
- Condition. and: All conditions met. or: Any condition met.
- 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.
Rule Level Condition Condition> - Level string
- Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
- Conditions
[]Rule
Level Condition Condition - Level string
- Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
- conditions
List<Rule
Level Condition Condition> - level String
- Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
- conditions
Rule
Level Condition Condition[] - level string
- Alert notification level. Options: notice: notification, warning: warning, critical: critical, recovery: recovery.
- conditions
Sequence[Rule
Level Condition Condition] - 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
- Comparison
Operator 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.
- Display
Name string - Metric display name.
- Metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- Metric
Unit 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 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.
- Display
Name string - Metric display name.
- Metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- Metric
Unit 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 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.
- display
Name String - Metric display name.
- metric
Name String - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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 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.
- display
Name string - Metric display name.
- metric
Name string - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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.
- comparison
Operator 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.
- display
Name String - Metric display name.
- metric
Name String - Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
- metric
Unit 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.
- 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 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.
- evaluation
Count 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.
- evaluation
Count 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.
- evaluation
Count 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.
- Notify
Template stringId - 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.
- Notify
Template stringId - 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.
- notify
Template StringId - 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.
- notify
Template stringId - 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_ strid - 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.
- notify
Template StringId - 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
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
