Menghapus instans IPAM.
Deskripsi operasi
Prasyarat
-
Sebelum menghapus instans IPAM, pastikan semua Kolam IPAM dalam instans tersebut telah dihapus. Anda dapat memanggil operasi DeleteIpamPool untuk menghapus Kolam IPAM.
-
Sebelum menghapus instans IPAM, pastikan semua cakupan IPAM kustom dalam instans tersebut telah dihapus. Anda dapat memanggil operasi DeleteIpamScope untuk menghapus cakupan IPAM.
-
Sebelum menghapus instans IPAM, pastikan instans penemuan resource default tidak sedang dibagikan.
-
Sebelum menghapus instans IPAM, pastikan tidak ada instans penemuan resource yang dibagikan yang terkait dengan instans IPAM tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteIpam |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat instans IPAM ditempatkan. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah. |
cn-hangzhou |
| IpamId |
string |
Yes |
ID instans IPAM. |
ipam-ccxbnsbhew0d6t**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Memastikan idempotensi. Berikan token ASCII unik yang dihasilkan oleh client Anda. Token baru harus disediakan untuk setiap permintaan yang berbeda. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai client token. ID permintaan untuk setiap permintaan API bersifat unik. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
30A20EE2-6223-5D0F-BF49-D7C78F206063 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "30A20EE2-6223-5D0F-BF49-D7C78F206063"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.Ipam | The specified resource of ipam is not found. | |
| 400 | OperationFailed.IpamScopeExist | The operation is failed because user IPAM scope exist. | |
| 400 | OperationFailed.IpamPoolExist | The operation is failed because user IPAM pool exist. | |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | OperationDenied.SharedResourceDiscoveryAssociated | The operation is not allowed because the IPAM is associated with a shared resource discovery. | |
| 400 | DependencyViolation.ShareResource | The operation is not allowed because the default resource discovery of this IPAM is sharing. | |
| 400 | DependencyViolation.IpamMembers | The IPAM [%s] has managed members [%s], so the IPAM cannot be deleted. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.