AttachNetworkInterface

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

1. Interface Description

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

This API is used to bind an ENI to a CVM instance.

  • One CVM instance can bind multiple ENIs but can have only one primary network interface. For details on limits, see Usage Limits.
  • One ENI can only be bound to one CVM instance at a time.
  • Only CVM instances that are running or have been shut down can bind ENIs. See InstanceStatus for specific CVM instance statuses.
  • The CVM instance bound to an ENI should be on a VPC, and the availability zone of the CVM instance should be the same as that of the ENI's subnet.

Default interface request rate limit: 100 times per second.

Interface update time: 2019-12-14 01:11:56.

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: AttachNetworkInterface
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
NetworkInterfaceId Yes No String ENI instance ID, e.g., eni-m6dyj72l.
Example: eni-m6dyj72l
InstanceId Yes No String CVM instance ID, e.g., ins-r8hr2upy.
Example: ins-r8hr2upy

3. Output Parameters

Parameter name Type Description
taskId Int64 Des task taskId
Example:
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
InvalidParameterValue.Malformed Invalid input format.
ResourceNotFound The resource does not exist
UnsupportedOperation.VpcMismatch The resources do not belong to the same VPC.