Menghapus entri rute dari instans jaringan.
Deskripsi operasi
Operasi DeleteCenChildInstanceRouteEntryToCen tidak tersedia secara default. Untuk menggunakan operasi ini, ajukan Tiket.
Operasi DeleteCenChildInstanceRouteEntryToCen tidak mendukung penghapusan entri rute dari instans jaringan yang terhubung ke router transit Edisi Perusahaan.
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 instans jaringan. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
ap-southeast-5 |
| ChildInstanceAliUid |
integer |
No |
ID akun Alibaba Cloud tempat instans jaringan berada. Catatan
Parameter ini wajib diisi jika instans jaringan berada di bawah akun Alibaba Cloud yang berbeda. |
1787100000000000 |
| RouteTableId |
string |
Yes |
ID tabel rute instans jaringan. |
vtb-k1aa8ulqs39f86op8**** |
| DestinationCidrBlock |
string |
Yes |
Blok CIDR tujuan entri rute. Blok CIDR tujuan harus menggunakan Notasi CIDR. Contoh: 192.168.10.0/24. |
192.168.22.0/24 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
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. | VPC yang ditentukan tidak terkait dengan instans CEN. |
| 400 | OperationFailed.InvalidChildInstanceType | Child instance type is invalid for this operation. | Tipe instans anak yang ditentukan untuk operasi ini tidak valid. |
| 400 | InvalidParameter | Invalid parameter. | Parameter tidak valid. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | Akun tidak memiliki izin untuk melakukan operasi ini. |
| 400 | InvalidParameter.CenId | The specified parameter CenId is invalid. | |
| 400 | InvalidParameter.RouteTableId | The specified parameter RouteTableId is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.