1. Interface Description
Interface request domain name: vpc.api3.convergecloud.com.
This API (CheckAssistantCidr) is used to check whether the auxiliary CIDR conflicts with existing routes, PCs (peer VPC's CIDR), and other resources. If there is an overlap, the overlapping resources will be returned. (This API is in beta. Submit a ticket if you need to use it.)
- Check whether the auxiliary CIDR overlaps with the main CIDR and auxiliary CIDR of the current VPC.
- Check whether the auxiliary CIDR overlaps with the destinations of the routes in the current VPC.
- Check whether the auxiliary CIDR overlaps with the PC, the main CIDR, or auxiliary CIDR under the customer VPC.
Default interface request rate limit: 100 times per second.
Interface update time: 2020-04-09 22:17:34.
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: CheckAssistantCidr |
| 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 |
| VpcId | Yes | No | String | VPC instance ID, e.g., vpc-6v2ht8q5. Example: vpc-demoag78 |
| NewCidrBlocks | No | No | Array of String | Load CIDR to be added. CIDR array, e.g., ["10.0.0.0/16", "172.16.0.0/16"]. Example: ["172.16.0.0/24\n"] |
| OldCidrBlocks | No | No | Array of String | Load balancer CIDR to be deleted. CIDR array, e.g., ["10.0.0.0/16", "172.16.0.0/16"]. Example: ["172.16.1.0/25\n"] |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| ConflictSourceSet | Array of ConflictSource | Array of conflicting resource information. Example:View |
| 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 | The parameter value is invalid. |
| LimitExceeded | Exceeded the limit |
| InvalidParameterValue.Malformed | Invalid input format. |
| ResourceNotFound | The resource does not exist |
| InvalidParameterValue.SubnetConflict | There's a subnet CIDR conflict. |
| InvalidParameterValue.Duplicate | Input Parameters are repetitive. |
| InvalidParameterValue.LimitExceeded | The parameter value exceeds the limit. |