Menghapus koneksi ke PrivateZone.
Deskripsi operasi
Operasi UnroutePrivateZoneInCenToVpc bersifat asinkron. Sistem mengembalikan RequestId dan menjalankan tugas penghapusan di latar belakang. Panggil operasi DescribeCenPrivateZoneRoutes untuk mengkueri status PrivateZone.
Status Deleting menunjukkan bahwa koneksi PrivateZone sedang dalam proses penghapusan. Pada kondisi ini, Anda hanya dapat melakukan operasi kueri.
Jika koneksi PrivateZone yang ditentukan tidak ditemukan, berarti koneksi tersebut telah dihapus.
Jika koneksi PrivateZone memiliki wilayah akses berupa wilayah Cloud Connect Network (CCN), Anda harus terlebih dahulu menghapus koneksi PrivateZone untuk wilayah CCN sebelum menghapus koneksi tersebut untuk wilayah lainnya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:UnroutePrivateZoneInCenToVpc |
delete |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans Cloud Enterprise Network (CEN). |
cen-7qthudw0ll6jmc**** |
| AccessRegionId |
string |
Yes |
ID wilayah tempat koneksi PrivateZone diakses. Panggil operasi DescribeChildInstanceRegions untuk mendapatkan ID wilayah tersebut. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
C0245BEF-52AC-44A8-A776-EF96FD26A5CA |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C0245BEF-52AC-44A8-A776-EF96FD26A5CA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 409 | InvalidOperation.PrivatezoneRouteExisted | Privatezone routes already existed. | The error message returned because the PrivateZone route already exists. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.