ModifyRouteEntry
Description
call ModifyRouteEntry modify the name and description of the custom routing entry.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifyRouteEntry
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
RouteEntryId | BODY | string | Yes | rte-acfvgfsghfdd**** | custom route entry ID. |
Description | BODY | string | No | EntryDescription | description of the route entry. The description length is 2 to 256 characters and must start with a letter or Chinese, but cannot be http:// or https://. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RouteEntryName | BODY | string | No | EntryName | the name of the route entry. The name must be 2 to 128 characters in length and must start with a letter or Chinese. It contains numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID where the route entry is located. You can obtain the region ID by calling the DescribeRegions interface. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}