|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The alert rule management response data. |
||
| alertRule | AlertRuleV2 |
The V2 alert rule. |
{"uuid":"cms_v2_81d01768-fee9-459f-af49-ab2704f1db2b","displayName":"drill-e2e-verification rule","enabled":true} |
| deletedCount |
integer |
The number of successfully deleted rules. |
1 |
| deletedUuidList |
array |
The list of UUIDs of successfully deleted rules. |
["cms_v2_81d01768-fee9-459f-af49-ab2704f1db2b"] |
|
string |
The UUID of a successfully deleted rule. |
xxx-xxx-xxx |
|
| drillUuid |
string |
The unique identifier of the current alert drill (returned only when action=DRILL_ALERT). The drill is an asynchronous action. The drillUuid is returned immediately after the API operation is accepted. The alert events generated by the drill are stored in the database and carry the labels _cms_alert_drill=true, _cms_alert_drill_uuid=drillUuid, and _cms_alert_drill_request_id=request ID of the current call for tracing. You can use the existing event query API operation to retrieve the OCCURRED, PERSISTENT, or RECOVERED events generated by the drill based on these labels. |
7c27ee14-5f94-469f-912d-476f79c8a861 |
| dryRunResult | DryRunResult |
The fixed three items: exitCode is the result code (0 for success, 1 for business rule rejection, and 2 for unparsable request structure), result is the result text (ok or rejected, and empty when the structure is unparsable), and violations is the list of violation details (an empty array when the exit code is 0). This field is returned only for calls with dryRun=true and is not returned for other calls. |
{"exitCode":1,"result":"rejected","violations":[{"field":"schedule.intervalSecs","message":"schedule interval must be a multiple of 15 seconds","suggestion":"must satisfy: 15-86400 seconds and a multiple of 15"}]} |
| updatedCount |
integer |
The number of successfully enabled or disabled rules. |
1 |
| updatedUuidList |
array |
The list of UUIDs of successfully enabled or disabled rules. |
["a1b2c3d4-e5f6-7890-abcd-ef1234567890","b2c3d4e5-f6a7-8901-bcde-f12345678901"] |
|
string |
The unique identifier of the updated alert rule. |
a1b2c3d4-e5f6-7890-abcd-ef1234567890 |
ManageAlertRulesResult
Updated at:
Is this page helpful?