Membuat tugas untuk memantau proses.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreateMonitoringAgentProcess |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProcessName |
string |
No |
Nama proses. |
java |
| InstanceId |
string |
Yes |
ID instans. |
i-2ze51wjtwox01r8g**** |
| ProcessUser |
string |
No |
Pengguna yang menjalankan proses. |
admin |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status. Catatan
Kode status 200 menunjukkan bahwa permintaan berhasil. |
200 |
| Message |
string |
Pesan kesalahan. |
User not authorized to operate on the specified resource. |
| RequestId |
string |
ID permintaan. |
0DFCB47D-E7E1-4CBE-A381-8339F7B300EF |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Id |
integer |
ID proses. |
12345 |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "User not authorized to operate on the specified resource.",
"RequestId": "0DFCB47D-E7E1-4CBE-A381-8339F7B300EF",
"Success": true,
"Id": 12345
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.