Menghapus scope IPAM.
Deskripsi operasi
Catatan penggunaan
-
Anda tidak dapat menghapus dua scope IPAM default yang dibuat sistem secara otomatis.
-
Sebelum Anda menghapus scope IPAM kustom, pastikan semua pool IPAM dalam scope tersebut telah dihapus. Anda dapat memanggil operasi DeleteIpamPool untuk menghapus pool IPAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteIpamScope |
delete |
*IpamScope
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region tempat IPAM dihosting. Panggil operasi DescribeRegions untuk mendapatkan ID region. |
cn-hangzhou |
| IpamScopeId |
string |
Yes |
ID instance dari scope IPAM. |
ipam-scope-glfmcyldpm8lsy**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Hasilkan nilai untuk parameter ini di klien Anda untuk memastikan bahwa nilainya unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan sebagai ClientToken. RequestId setiap permintaan berbeda-beda. |
88144bdb-b190-4813-a3f5-66cc86694162 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
9F8315CB-560E-5F1E-B069-6E44B440CAF8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9F8315CB-560E-5F1E-B069-6E44B440CAF8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.IpamScope | The specified resource of IPAM scope is not found. | The input IPAM scope does not exist. |
| 400 | IncorrectStatus.IpamScope | The status of the IPAM scope is incorrect. | The status of the IPAM scope is incorrect. |
| 400 | OperationDenied.DeleteDefaultScope | The operation is not allowed because of deleting default scope. | The operation was denied because the default IPAM scope was deleted. |
| 400 | OperationFailed.IpamPoolExist | The operation is failed because user IPAM pool exist. | The operation failed because IPAM has a user-created address pool. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.