Domain name for API request: vpc.tencentcloudapi.com.
This API (DescribeNetDetectStates) is used to query the list of network detection verification results.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeNetDetectStates. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
NetDetectIds.N | No | Array of String | The array of network detection instance IDs , such as [netd-12345678 ]. |
Filters.N | No | Array of Filter | Filter conditions. NetDetectIds and Filters cannot be specified at the same time. |
Offset | No | Integer | The offset. Default: 0. |
Limit | No | Integer | The number of returned values. Default: 20. Maximum: 100. |
Parameter Name | Type | Description |
---|---|---|
NetDetectStateSet | Array of NetDetectState | The array of network detection verification results that meet requirements. Note: This field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | The number of network detection verification results that meet requirements. Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://vpc.tencentcloudapi.com/?Action=DescribeNetDetectStates
&NetDetectIds.0=netd-12345678
&<Common request parameters>
{
"Response": {
"NetDetectStateSet": [
{
"NetDetectId": "netd-2owwwwd0",
"NetDetectIpStateSet": [
{
"DetectDestinationIp": "10.0.0.2",
"State": 0,
"Delay": 0,
"PacketLossRate": 0
},
{
"DetectDestinationIp": "10.0.0.3",
"State": 0,
"Delay": 0,
"PacketLossRate": 0
}
]
}
],
"TotalCount": 1,
"RequestId": "6aa316a4-07d2-4355-b87d-40b7f22972b0"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.NetDetectTimeOut | Network probe timed out. Please retry later. |
InvalidParameter | A parameter error occurred. |
InvalidParameter.Coexist | The parameters cannot be specified at the same time. |
InvalidParameter.FilterInvalidKey | The specified filter condition does not exist. |
InvalidParameterValue | Incorrect parameter value. |
InvalidParameterValue.Malformed | Invalid input parameter format. |
InvalidParameterValue.Range | The parameter value is not in the specified range. |
InvalidParameterValue.ResourceNotFound | This resource is not found. |
ResourceNotFound | The resource does not exist. |
本页内容是否解决了您的问题?