Modifies the name and description of a route table on an Enterprise Edition transit router.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateTransitRouterRouteTable

The operation that you want to perform. Set the value to UpdateTransitRouterRouteTable.

TransitRouterRouteTableId String Yes vtb-bp1dudbh2d5na6b50****

The ID of the route table of the Enterprise Edition transit router.

TransitRouterRouteTableName String No testname

The name of the route table.

The name must be 1 to 128 characters in length, and can contain letters, digits, and the following special characters: , . ; / @ _ -. You can also leave the name empty.

TransitRouterRouteTableDescription String No testdesc

The description of the route table.

The description must be 2 to 256 characters in length, and can contain letters, digits, and the following special characters: , . ; / @ _ -. You can also leave the description empty.

ClientToken String No 02fb3da4-130e-11e9-8e44-001****

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters.

Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
DryRun Boolean No false

Specifies whether to perform a precheck to check information such as the permissions and instance status. Valid values:

  • false (default): sends the request. If the request passes the precheck, the name and description of the route table are modified.
  • true: prechecks the request but does not modify the name or description of the route table. If you use this value, the system checks the required parameters and the request syntax. If the request fails to pass the precheck, an error message is returned. If the request passes the check, the DryRunOperation error code is returned.

Response parameters

Parameter Type Example Description
RequestId String 9D6D5548-F271-41C4-AA9F-A62F5599085B

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateTransitRouterRouteTable
&TransitRouterRouteTableId=vtb-bp1dudbh2d5na6b50****
&TransitRouterRouteTableName=testname
&TransitRouterRouteTableDescription=testdesc
&ClientToken=02fb3da4-130e-11e9-8e44-001****
&DryRun=false
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateTransitRouterRouteTableResponse>
    <RequestId>9D6D5548-F271-41C4-AA9F-A62F5599085B</RequestId>
</UpdateTransitRouterRouteTableResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "9D6D5548-F271-41C4-AA9F-A62F5599085B"
}

Error codes

HttpCode Error code Error message Description
400 InvalidTransitRouterRouteTableId.NotFound TransitRouterRouteTableId is not found. The error message returned because the specified route table ID of the transit router does not exist.

For a list of error codes, visit the Error Center.