Menghapus instans IPAM.
Deskripsi operasi
Prasyarat
-
Sebelum Anda menghapus instans IPAM, pastikan bahwa semua kumpulan IPAM (IPAM pool) dalam instans tersebut telah dihapus. Anda dapat memanggil operasi DeleteIpamPool untuk menghapus kumpulan IPAM.
-
Sebelum Anda menghapus instans IPAM, pastikan bahwa semua scope IPAM kustom dalam instans tersebut telah dihapus. Anda dapat memanggil operasi DeleteIpamScope untuk menghapus scope IPAM.
-
Sebelum Anda menghapus instans IPAM, pastikan bahwa instans resource discovery default tidak dibagikan.
-
Sebelum Anda menghapus instans IPAM, pastikan bahwa tidak ada instans shared resource discovery yang terkait dengan instans IPAM.
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 region tempat instans IPAM digunakan. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID region. |
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 klien Anda. Token baru disediakan untuk setiap permintaan yang berbeda. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai token klien. ID permintaan dari 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.