Menguninstall Agen CloudMonitor dari host pihak ketiga.
Deskripsi operasi
This API operation is not applicable to Elastic Compute Service (ECS) instances. To uninstall the agent from an ECS instance, see Install and uninstall the CloudMonitor agent.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UninstallMonitoringAgent |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID host. |
host-**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Catatan
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
Successfully |
| RequestId |
string |
The request ID. |
466902B9-2842-40B0-B796-00FE772B6EF3 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "Successfully",
"RequestId": "466902B9-2842-40B0-B796-00FE772B6EF3",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | %s | |
| 412 | AgentStateError | Expected agent running state is stopped. | |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.