Mencabut entri rute yang dipublikasikan dari instans Virtual Private Cloud (VPC) atau Virtual Border Router (VBR) ke Cloud Enterprise Network (CEN).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:WithdrawPublishedRouteEntries |
update |
*CenInstance
*VPC
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans CEN. |
cen-sxjfjkjfkjfiein**** |
| ChildInstanceId |
string |
Yes |
ID instans jaringan. |
vpc-rj9gt5nll27onu7**** |
| ChildInstanceType |
string |
Yes |
Tipe instans jaringan. Nilai valid:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
ID wilayah instans jaringan. Panggil operasi DescribeChildInstanceRegions untuk mendapatkan ID wilayah. |
cn-hangzhou |
| ChildInstanceRouteTableId |
string |
Yes |
ID tabel rute instans jaringan. |
vtb-bp174d1gje79u1g4t**** |
| DestinationCidrBlock |
string |
Yes |
Blok CIDR tujuan entri rute yang ingin Anda cabut. |
172.16.1.0/24 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FBDB18D8-E91E-4978-8D6C-6E2E3EE10133 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "FBDB18D8-E91E-4978-8D6C-6E2E3EE10133"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOperation.UnsupportnexthopType | The specified next hop type is not supported by this operation. | The specified next hop type is not supported by this operation. |
| 400 | InvalidOperation.NotFoundRoute | You cannot query the system routing information of the specified instance. | |
| 400 | ParameterIllegal.CenInstanceId | The parameter of CEN instance id is illegal. | |
| 400 | ParameterIllegal.ChildInstanceRegionId | The parameter of child instance region id is illegal. | |
| 400 | ParameterIllegal.ChildInstanceType | The parameter of child instance type is illegal. | |
| 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. |
| 404 | Instance.NotExist | The instance is not exist. | The error message returned because the specified instance does not exist. |
| 409 | InvalidOperation.ChildInstanceStatus | The child-instance is not in a valid state for the operation. | |
| 409 | InvalidOperation.CenInstanceStatus | The CEN instance is not in a valid state for the operation. | The error message returned because the status of the CEN instance does not support this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.