Memanggil operasi DeleteCommand dan menentukan parameter RegionId serta CommandId untuk menghapus sebuah perintah Cloud Assistant. Perintah yang sedang dieksekusi tidak dapat dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteCommand |
delete |
*Command
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. Anda dapat memanggil operasi DescribeRegions untuk meminta daftar terbaru region Alibaba Cloud. |
cn-hangzhou |
| RegionId |
string |
Yes |
ID region. Anda dapat memanggil operasi DescribeRegions untuk meminta daftar terbaru region Alibaba Cloud. |
cn-hangzhou |
| CommandId |
string |
Yes |
ID perintah. Anda dapat memanggil operasi DescribeCommands untuk meminta semua ID perintah yang tersedia. |
c-4d34302d02424c5c8e10281e3a31**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Respons error
JSONformat
{
"RequestId":"E69EF3CC-94CD-42E7-8926-F133B86387C0",
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RegionId.ApiNotSupported | The api is not supported in this region. | |
| 500 | InternalError.Dispatch | An error occurred when you dispatched the request. | |
| 403 | InvalidStatus.CmdIdInUse | The specified commandId is in use by some runing Invocation. | |
| 403 | Operation.Forbidden | The operation is not permitted. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidCmdId.NotFound | The specified command ID does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.