You can call the ModifyMonitorGroup operation to modify an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ModifyMonitorGroup |
update |
*MonitorGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the application group. |
123456 |
| GroupName |
string |
No |
The name of the application group. |
ecs_group |
| ContactGroups |
string |
No |
The alert contact group. |
alarm_ecs_group |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The status code. Note
A value of 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
C85A2870-5DF4-4269-BC50-ECB5E4591A80 |
| Success |
boolean |
Indicates whether the operation was successful. A value of true indicates success. A value of false indicates failure. |
true |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "The specified resource is not found.",
"RequestId": "C85A2870-5DF4-4269-BC50-ECB5E4591A80",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
| 409 | ResourceConflict | Concurrent modification of resources. | |
| 409 | ResourceExist | Resources already exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.