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
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteCenChildInstanceRouteEntryToAttachment |
delete |
*CenInstance
|
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:
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.