Querying Alarm Notification Configurations
Function Description
This API is used to query alarm notification configurations.
URI
Request
Request parameters
None
Response
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies the unique ID of an alarm configuration. |
enabled |
Boolean |
Specifies whether to send an alarm notification.
|
topic_urn |
String |
Specifies the SMN topic to which an alarm is sent. |
sendfreq |
Integer |
Specifies the minimum interval between two alarms in minutes. The options are 5, 15, 30, and 60. |
times |
Integer |
Specifies the alarm threshold. Alarm notifications are sent when the number of attacks is greater than or equal to the threshold within the configured period. This value is greater than or equal to 1. |
threat |
List<String> |
Specifies the list of event types.
|
locale |
String |
Specifies the language configuration. Only zh-cn and en-us are supported. The default value is en-us. |
Example
{ "id": "37b4bbe8a562453aa0163a96e6b71dd6", "enabled": true, "topic_urn": "urn:smn:eude:fca6f667ac5f4d9798d1641dfd38106b:wbtest", "sendfreq": 5, "times": 200, "threat": ["xss", "sqli", "cmdi"], "locale": "en-us" }
Status Code
For details about error status codes, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot