Menghapus kelompok host.
Deskripsi operasi
Deletes a single host group. If all hosts in a host group no longer need to be managed through Bastionhost, you can delete the host group using this operation.
Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:DeleteHostGroup |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Host Bastion yang kelompok asetnya ingin Anda hapus. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mengkueri ID Host Bastion. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
ID Wilayah Host Bastion yang kelompok asetnya ingin Anda hapus. Catatan
Untuk informasi lebih lanjut tentang Pemetaan antara ID Wilayah dan nama Wilayah, lihat Regions and zones. |
cn-hangzhou |
| HostGroupId |
string |
Yes |
ID kelompok aset yang ingin Anda hapus. Catatan
Anda dapat memanggil operasi ListHostGroups untuk mengkueri ID kelompok aset. |
2 |
Saat Anda memanggil operasi API ini, Anda harus menyertakan parameter permintaan umum API Alibaba Cloud di permintaan Anda selain parameter permintaan yang dijelaskan di topik ini. Untuk informasi lebih lanjut tentang parameter permintaan umum, lihat Common parameters. Untuk format permintaan, lihat contoh permintaan di topik ini.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
EC9BF0F4-8983-491A-BC8C-1B4DD94976DE |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EC9BF0F4-8983-491A-BC8C-1B4DD94976DE"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 500 | InternalError | An unknown error occurred. | |
| 404 | HostGroupNotFound | The host group is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.