Modify Direct Connect Tunnel

Last updated: 2020-06-04 18:54:59


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new DC API 3.0 which is standardized and faster.


    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": ""

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback