1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
- This API is used to add IPv6 translation rules to a translation instance.
- It supports adding translation rules in batch under the same translation instance, with a maximum of 50 rules per account in a region.
- A complete translation rule includes vip6:vport6:protocol:vip:vport, where vip6:vport6:protocol must be unique.
Default interface request rate limit: 20 times per second.
Interface update time: 2020-04-04 03:29:14.
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: AddIp6Rules |
| 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 |
| Ip6TranslatorId | Yes | No | String | The unique ID of the IPv6 translation instance, such as ip6-37xao8t. Example: ip6-90pt7p9q |
| Ip6RuleName | No | No | String | Name of IPV6 Translation Rules Example: "IPv6 Rule1" |
| Ip6RuleInfos | Yes | No | Array of Ip6RuleInfo | IPv6 Translation Rule Information Example:View |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| Ip6RuleSet | Array of String | Unique ID array of the IPv6 translation rule, such as rule6-7v3vwgec. Example: ["rule6-f3se1mki"] |
| TaskId | String | TaskId, used by O&M, without any actual business meaning Example: 481e9b6e-81d1-4859-b8cf-a673e010b388 |
| 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 |
|---|---|
| InvalidParameter | Invalid input parameters. |
| LimitExceeded | Exceeded the limit |
| InternalServerError | Internal operation error. |