The ModifyMonitorGroupInstances operation modifies the resources in an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ModifyMonitorGroupInstances |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
The ID of the application group. |
12345 |
| Instances |
array<object> |
Yes |
The list of instances. You can specify up to 2,000 instances. |
|
|
object |
No |
|||
| InstanceName |
string |
Yes |
The name of the instance. |
HostName |
| Category |
string |
Yes |
The cloud service to which the resource instance belongs. The following cloud services are supported:
|
ECS |
| InstanceId |
string |
Yes |
The ID of the resource instance. |
i-a2d5q7pm12**** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
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 returned message. |
success |
| RequestId |
string |
The request ID. |
FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A |
| Success |
boolean |
Indicates whether the operation was successful. A value of true indicates a success. A value of false indicates a failure. |
true |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Parameter invalid. | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 412 | ResourcesOverLimit | %s | |
| 500 | InternalError | %s | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | AccessForbidden | The X.509 certificate or cms access key ID provided does not exist in our records. | |
| 206 | %s | %s | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 429 | Throttli∂ngException | The request was denied due to request throttling. | |
| 409 | %s | %s | |
| 409 | ResourceConflict | %s | |
| 409 | ResourceExist | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.