ModifyDirectConnectGatewayAttribute

Last Updated At: 2026-08-02 00:06:16

1. Interface Description

Interface request domain name: vpc.api3.convergecloud.com.

This API (ModifyDirectConnectGatewayAttribute) is used to modify the attributes of a Direct Connect gateway.

Default interface request rate limit: 20 times per second.

Interface update time: 2025-09-28 11:26:39.

The interface is both signature verification and authentication.

2. Input Parameters

The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

Parameter name Required Allow NULL Type Description
Action Yes No String Public parameter, The value of this interface: ModifyDirectConnectGatewayAttribute
Version Yes No String Public parameter, The value of this interface: 2017-03-12
Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
DirectConnectGatewayId Yes No String Unique ID of Direct Connect gateway, e.g., dcg-9o233uri.
Example: dcg-k6cswwhx
DirectConnectGatewayName No No String Direct Connect gateway name, which can be named arbitrarily, but must not exceed 60 characters.
Example: new+name
CcnRouteType No No String CCN route learning type, options: BGP (Automatic learning), STATIC (Static, i.e., user configuration). Modification of CcnRouteType is only supported for CCN type Direct Connect gateways that have enabled the BGP feature.
Example: BGP
EnableBGPCommunity No No Bool The BGP community attribute is enabled for Direct Connect gateway.
Example: True
Bandwidth No No Int64 Bandwidth rate limit value of Direct Connect gateway.
Example: 100

3. Output Parameters

Parameter name Type Description
RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

4. Error Code

The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

Error Code Description
UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity The Direct Connect gateway is updating the BGP Community attribute.
InvalidParameter Invalid input parameters.
UnsupportedOperation Operation unsupported.
ResourceNotFound The resource does not exist
InvalidParameterValue.TooLong Invalid input: Excessive length of the parameter.