Queries a list of custom alert rules.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNumber | integer | Yes | The number of the page to return. Valid values: 1 to 30. Default value: 1. | 1 |
PageSize | integer | Yes | The number of entries to return on each page. Default value: 10. Maximum value: 100. | 10 |
Founder | string | No | The ID of the Alibaba Cloud account that is used to create the custom alert rules. | 9527952795**** |
NodeId | long | No | The ID of the node to which the custom alert rules are applied. You can use the ID to search for the custom alert rules that are applied to the node. | 1234 |
RemindTypes | string | No | The conditions that trigger an alert for the node. Valid values: FINISHED, UNFINISHED, ERROR, CYCLE_UNFINISHED, and TIMEOUT. The value FINISHED indicates that the node finishes running. The value UNFINISHED indicates that the node is still running at the specified point in time. The value ERROR indicates that an error occurs when the node is running. The value CYCLE_UNFINISHED indicates that the node does not finish running in the specified scheduling cycle. The value TIMEOUT indicates that the node times out. You can specify multiple conditions for a custom alert rule. If you specify multiple condition, separate them with commas (,). | FINISHED,ERROR |
AlertTarget | string | No | The ID of the Alibaba Cloud account that is used to receive alert notifications. | 9527952795**** |
SearchText | string | No | The keyword in a rule name that is used to search for the rule. Fuzzy search is supported. | Keyword |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Reminds": [
{
"Founder": "952795****",
"RemindId": 1234,
"AlertUnit": "OWNER",
"RemindType": "FINISHED",
"DndEnd": "08:00",
"DndStart": "00:00",
"RemindUnit": "NODE",
"Useflag": true,
"RemindName": "Alert Rule",
"AlertTargets": [
"952795****"
],
"NodeIds": [
1234
],
"BizProcessIds": [
9527
],
"ProjectIds": [
1234
],
"BaselineIds": [
9527
],
"AlertMethods": [
"SMS"
]
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | - |
429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | - |
429 | Throttling.User | Your request is too frequent. Try again later. | - |
500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | - |
500 | InternalError.System | An internal system error occurred. Try again later. | - |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|