Modify Direct Connect Tunnel

Last updated: 2018-06-25 15:04:51


This API (ModifyDirectConnectTunnel) is used to modify the parameters of a direct connect tunnel.
Domain name:

Request Parameters

Parameter Type Required Description
directConnectTunnelId String Yes Direct connect tunnel ID
For example: dcx-abcdefgh
directConnectTunnelName String No Direct connect tunnel name
peerAsn Int No Customer's BGP asn
authKey String No Customer's BGP key
routeFilterPrefixes.n.cidr String No Customer's peer IP address range
For example:
localGatewayIp String No localGatewayIp, Tencent's interconnection IP
peerGatewayIp String No peerGatewayIp, customer's interconnection IP
peeringSubnetMask String No The mask of interconnection IP, which must be defined in the same subnet. It supports 24-30 bits, and is represented in dotted decimal notation, for example:

Response Parameters

Parameter Type Description
code Int Error code
0: Successful
Other values: Failed
message String Error message

Sample Code

Request example

  &<<a href="">common request parameters</a>>

Response example

    "code": 0,
    "message": ""