All Products
Search
Document Center

Cloud Enterprise Network:DeleteCenChildInstanceRouteEntryToAttachment

Last Updated:Jun 10, 2026

Menghapus entri rute dari instans jaringan yang terhubung ke Router transit Edisi Perusahaan.

Deskripsi operasi

  • You can delete route entries from Virtual Private Cloud (VPC) instances and virtual border router (VBR) instances only if the next hop of the route entry is a transit router connection (a network instance connection).

  • DeleteCenChildInstanceRouteEntryToAttachment is an asynchronous operation. After you send a request, the system returns a RequestId, but the route entry is still being deleted in the background. You can call the DescribeRouteEntryList operation for VPC to query the status of the route entry.

    • If a route entry is in the Deleting state, it is being deleted. During this time, you can only query the route entry and cannot perform other operations on it.

    • If you cannot find the specified route entry, it has been deleted.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:DeleteCenChildInstanceRouteEntryToAttachment

delete

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ClientToken

string

No

Token klien yang digunakan untuk memastikan idempotensi permintaan.

Buat token dari Klien Anda untuk memastikan token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII.

Catatan

Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan.

02fb3da4-130e-11e9-8e44-001****

DryRun

boolean

No

Apakah akan menjalankan dry run. Dry run memeriksa potensi masalah, termasuk izin dan status instans. Nilai valid:

  • false (default): Mengirim permintaan normal. Entri rute instans jaringan dihapus setelah permintaan lolos pemeriksaan.

  • true: Mengirim permintaan pemeriksaan. Sistem memeriksa parameter yang diperlukan dan format permintaan. Jika pemeriksaan gagal, Paket error dikembalikan. Jika pemeriksaan berhasil, ID permintaan yang sesuai dikembalikan. Entri rute instans jaringan tidak dihapus.

Catatan

Parameter ini tidak berlaku.

false

CenId

string

Yes

ID Instans Cloud Enterprise Network (CEN).

cen-wgcl0ik5o8jakq****

TransitRouterAttachmentId

string

Yes

ID koneksi instans jaringan.

tr-attach-r1qhupkc19iadz****

RouteTableId

string

Yes

ID tabel entri rute yang termasuk dalam instans jaringan.

vtb-bp1osd9opvegfpowc****

DestinationCidrBlock

string

Yes

Blok CIDR tujuan entri rute.

10.0.1.0/24

Elemen respons

Element

Type

Description

Example

object

The returned data.

RequestId

string

The request ID.

250E717B-9823-5FD8-A1C6-5714234FB825

Contoh

Respons sukses

JSONformat

{
  "RequestId": "250E717B-9823-5FD8-A1C6-5714234FB825"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidRouteEntry.NotFound Route entry not exists. The error message returned because the route entry does not exist.
400 IncorrectStatus.VpcRouteEntry The resource is not in a valid state for the attachment operation. The error message returned because the status of the VPC route entry does not support this operation. Try again later.
400 InvalidTransitRouterAttachmentId.NotFound TransitRouterAttachmentId is not found. The error message returned because the ID of the network instance does not exist.
400 IncorrectStatus.Vpc The resource is not in a valid state for the attachment operation. The error message returned because the status of the VPC does not support this operation. Try again later.
400 InvalidCidrBlock.Malformed The specified CIDR block is not valid. The error message returned because the specified CIDR block is invalid.
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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.