Anda dapat memanggil operasi DeleteCenChildInstanceRouteEntryToCen untuk menghapus entri rute dari instans jaringan.
Deskripsi operasi
-
The DeleteCenChildInstanceRouteEntryToCen operation is not available by default. To use this operation, submit a ticket.
-
You cannot use the DeleteCenChildInstanceRouteEntryToCen operation to delete routes from a network instance that is attached to an Enterprise Edition transit router.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteCenChildInstanceRouteEntryToCen |
delete |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID Instans Cloud Enterprise Network (CEN). |
cen-7febra5nqj7jjh**** |
| ChildInstanceId |
string |
Yes |
ID instans jaringan. |
vpc-k1alm2jbuwibhxtx2**** |
| ChildInstanceType |
string |
Yes |
Tipe instans jaringan. Nilai valid:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
ID Wilayah tempat instans jaringan di-deploy. Anda dapat memanggil operasi DescribeRegions untuk memperoleh ID Wilayah. |
ap-southeast-5 |
| ChildInstanceAliUid |
integer |
No |
ID akun Alibaba Cloud tempat instans jaringan berada. Catatan
Parameter ini wajib diisi jika instans jaringan berada di akun Alibaba Cloud lain. |
1787100000000000 |
| RouteTableId |
string |
Yes |
ID tabel rute instans jaringan. |
vtb-k1aa8ulqs39f86op8**** |
| DestinationCidrBlock |
string |
Yes |
Blok CIDR tujuan dari entri rute. Blok CIDR tujuan harus dalam format CIDR. Contoh: 192.168.10.0/24. |
192.168.22.0/24 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C05000A4-2FC5-5B2C-9527-954044DE2CF3 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C05000A4-2FC5-5B2C-9527-954044DE2CF3"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.VpcNotAttachedToCen | Operation failed because vpc not attached to cen. | The error message returned because the specified VPC is not associated with a CEN instance. |
| 400 | OperationFailed.InvalidChildInstanceType | Child instance type is invalid for this operation. | |
| 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.