1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (AttachCcnInstances) is used to load network instances into CCN instances, which include VPCs and Direct Connect gateways.
The number of network instances that can be associated with each CCN is limited. For details, refer to the product documentation. If expansion is needed, contact the online customer service.
Default interface request rate limit: 100 times per second.
Interface update time: 2019-05-30 20:12:15.
The interface only verifies the signature but does not authenticate.
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: AttachCcnInstances |
| 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 |
| CcnId | Yes | No | String | CCN instance ID, e.g., ccn-f49l6u0z. Example: ccn-gree226l |
| CcnUin | No | No | String | UIN of CCN (root account). The default is the UIN of the current account. Example: 100000072292 |
| Instances | Yes | No | Array of CcnInstance | Associated Network Instance List Example:View |
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 |
|---|---|
| LimitExceeded | Exceeded the limit |
| ResourceNotFound | The resource does not exist |
| UnsupportedOperation.CcnAttached | The instance is already associated with a CCN. |
| UnsupportedOperation.UnableCrossBorder | Cross-border is not supported. |
| UnsupportedOperation.UinNotFound | The account ID does not exist. |
| InvalidParameterValue.CcnAttachBmvpcLimitExceeded | The number of BM VPCs associated with the specified CCN has reached the upper limit. |
| UnsupportedOperation.UnableCrossFinance | The current CCN cannot be associated with Finance Cloud instances. |