Updates an alert rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:UpdateAlert |
update |
*All Resource
|
None | None |
Request syntax
PUT /alerts/{alertName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| alertName |
string |
Yes |
The ID of the alert rule. |
alert-0123456789-123456 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
| body |
object |
No |
The new configurations of the alert rule. |
|
| displayName |
string |
Yes |
The display name of the alert rule. |
this is alert |
| description |
string |
No |
The description of the alert rule. |
this is description |
| configuration | AlertConfiguration |
Yes |
The detailed configurations of the alert rule. |
|
| schedule | Schedule |
Yes |
The scheduling settings of the alert rule. |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.