CreateNetDetect

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

1. Interface Description

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

This API (CreateNetDetect) is used to create network probe.

Default interface request rate limit: 100 times per second.

Interface update time: 2025-04-30 17:27:48.

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: CreateNetDetect
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 The VPC instance ID, such as vpc-demoag78.
Example: vpc-demoag78
SubnetId Yes No String The subnet instance ID, such as subnet-demoag78.
Example: subnet-demoag78
NetDetectName Yes No String Network probe name, up to 60 bytes in length.
Example: demo
DetectDestinationIp Yes No Array of String Probe destination IPv4 address array. The maximum number is two.
Example: ["10.0.0.2\r\n","10.0.0.3\r\n"]
NextHopType Yes No String Type of next hop. Types currently supported are
VPN: VPN gateway;
DIRECTCONNECT: Direct Connect gateway;
PEERCONNECTION: Peering connection;
NAT: NAT gateway;
NORMAL_CVM: Ordinary CVM.
Example: NORMAL_CVM
NextHopDestination Yes No String The next hop target gateway, with valid values depending on the next hop type:
When the next hop type is VPN, the value should be the VPN gateway ID, such as vpngw-demoag78.
When the next hop type is DIRECTCONNECT, the value should be the Direct Connect gateway ID, such as dcg-demoag78.
When the next hop type is PEERCONNECTION, the value should be the peering connection ID, such as pcx-demoag78.
When the next hop type is NAT, the value should be the NAT gateway, such as nat-demoag78.
When the next hop type is NORMAL_CVM, the value should be the CVM IPv4 address, such as 10.0.0.12.
Example: 10.0.0.4
NetDetectDescription No No String Network probe description.
Example: demo

3. Output Parameters

Parameter name Type Description
NetDetect NetDetect NetDetect object.
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.
InvalidParameter Invalid input parameters.
LimitExceeded Exceeded the limit
InvalidParameterValue.Malformed Invalid input format.
ResourceNotFound The resource does not exist
InvalidParameterValue.TooLong Invalid input: Excessive length of the parameter.
UnsupportedOperation.VpcMismatch The resources do not belong to the same VPC.
InvalidParameter.NextHopMismatch The next hop type does not match it's gateway.
InvalidParameterValue.NetDetectSameIp The probe destination IP is the same as that of another network probe within the same VPC and subnet.
UnsupportedOperation.EcmpWithUserRoute An ECMP is formed with the user-defined route.