debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ContactName | string | Yes | The name of the alert contact. | Alice |
Describe | string | Yes | The description of the alert contact. | ECS_Instance |
Channels.SMS | string | No | The phone number of the alert contact. After you add or modify a phone number, the recipient receives a text message that contains an activation link. The system adds the recipient to the list of alert contacts only after the recipient activates the phone number. Specify at least one of the following alert notification targets: email address or webhook URL of the DingTalk chatbot. | 1333333**** |
Channels.Mail | string | No | The email address of the alert contact. After you add or modify an email address, the recipient receives an email that contains an activation link. The system adds the recipient to the list of alert contacts only after the recipient activates the email address. Specify at least one of the following alert notification targets: email address or webhook URL of the DingTalk chatbot. | test@aliyun.com |
Channels.AliIM | string | No | The TradeManager ID of the alert contact. Specify at least one of the following alert notification targets: email address or webhook URL of the DingTalk chatbot. | Jim |
Channels.DingWebHook | string | No | The webhook URL of the DingTalk chatbot. Specify at least one of the following alert notification targets: email address or webhook URL of the DingTalk chatbot. | https://oapi.dingtalk.com/robot/send?access_token=7d49515e8ebf21106a80a9cc4bb3d247771305d52fb15d6201234565**** |
Lang | string | No | The language in which the alert information is displayed. Valid values:
Note
If you do not specify a value for this parameter, Cloud Monitor identifies the language of the alert information based on the region of your Alibaba Cloud account.
| zh-cn |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "The Request is not authorization.",
"RequestId": "181C406E-9DE4-484C-9C61-37AE9A1A12EE",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameterValue | %s | - |
403 | InvalidAuthorization | Permission denied | Permission denied. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|