Mengubah sumber daya dalam kelompok aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ModifyMonitorGroupInstances |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
ID kelompok aplikasi. |
12345 |
| Instances |
array<object> |
Yes |
Daftar instans. Anda dapat menentukan hingga 2.000 instans. |
|
|
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 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The status code. Catatan
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 |
Contoh
Respons sukses
JSONformat
{
"Code": 200,
"Message": "success",
"RequestId": "FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A",
"Success": true
}
Kode kesalahan
|
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. | |
| 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 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.