Domain name for API request: gaap.tencentcloudapi.com.
This API (DescribeProxies) is used to query the connection instance list.
A maximum of 20 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.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeProxies. |
Version | Yes | String | Common parameter. The value used for this API: 2018-05-29. |
Region | No | String | Common parameter. This parameter is not required for this API. |
InstanceIds.N | No | Array of String | Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It's an old parameter, please switch to ProxyIds. |
Offset | No | Integer | Offset. The default value is 0. |
Limit | No | Integer | Number of results to be returned. The default value is 20, and the maximum value is 100. |
Filters.N | No | Array of Filter | Filter condition The upper limit for Filters in each request is 10 and 5 for Filter.Values . You cannot specify both InstanceIds and Filters with this parameter. ProjectId - String - Required: No - Filter by project ID. AccessRegion - String - Required: No - Filter by access region. RealServerRegion - String - Required: No - Filter by origin server region. GroupId - String - Required: No - Filter by connection group ID. IPAddressVersion - String - Required: No - Filter by IP version. PackageType - String - Required: No - Filter by package type of connection groups. |
ProxyIds.N | No | Array of String | Queries by one or multiple instance IDs. The upper limit on the number of instances for each request is 100. This parameter does not support specifying InstanceIds and Filters at the same time. It's a new parameter, and replaces InstanceIds. |
TagSet.N | No | Array of TagPair | Tag list. If this field exists, the list of the resources with the tag will be pulled. It supports up to 5 tags. If there are two or more tags, the connections tagged any of them will be pulled. |
Independent | No | Integer | When this field is 1, only not-grouped connections are pulled. When this field is 0, only grouped connections are pulled. When this field does not exist, all connections are pulled, including both not-grouped and grouped connections. |
Order | No | String | Specifies how connections are listed. Valid values:asc : ascending orderdesc : descending orderDefault: desc |
OrderField | No | String | Sorting field. Valid values:create_time : sort by the creation timeproxy_id : sort by the connection IDbandwidth :sort by the bandwidth limitconcurrent_connections : sort by the number of concurrent connectionsDefault: create_time |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Number of connections. |
InstanceSet | Array of ProxyInfo | Connection instance information list; It's an old parameter, please switch to ProxySet. |
ProxySet | Array of ProxyInfo | Connection instance information list; It's a new parameter. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://gaap.tencentcloudapi.com/?Action=DescribeProxies
&Offset=0
&Limit=1
&Filters.0.Name=AccessRegion
&Filters.0.Values.0=ap-hongkong
&<Common request parameters>
{
"Response": {
"InstanceSet": [
{
"AccessRegionInfo": {
"RegionId": "EastChina",
"RegionName": "Chinese mainland - East China",
"RegionArea": "EastChina",
"RegionAreaName": "EastChina",
"IDCType": "ec"
},
"RelatedGlobalDomains": [
"xx"
],
"Version": "3.0",
"PolicyId": null,
"Scalarable": 1,
"Status": "RUNNING",
"ProxyType": 1,
"ForwardIP": "1.1.1.1",
"ProxyId": "link-12345678",
"RealServerRegion": "NorthChina",
"Concurrent": 2,
"RealServerRegionInfo": {
"RegionId": "NorthChina",
"RegionName": "Chinese mainland - North China"
},
"IP": "1.1.1.2",
"IPList": [],
"AccessRegion": "EastChina",
"ProjectId": 0,
"BillingType": 0,
"SupportProtocols": [
"TCP",
"UDP",
"HTTP",
"HTTPS"
],
"PackageType": "Thunder",
"Domain": "link-12345678.gaapqcloud.com",
"IPAddressVersion": "IPv4",
"BanStatus": "RECOVER",
"CreateTime": 1,
"InstanceId": "link-12345678",
"Bandwidth": 10,
"SupportSecurity": 0,
"TagSet": [
{
"TagKey": "gaaptest",
"TagValue": "www"
}
],
"ClientIPMethod": [
0
],
"ProxyName": "test",
"NetworkType": "xx",
"ModifyConfigTime": 1,
"GroupId": null
}
],
"TotalCount": 1,
"ProxySet": [
{
"AccessRegionInfo": {
"RegionId": "EastChina",
"RegionName": "Chinese mainland - East China",
"RegionArea": "EastChina",
"RegionAreaName": "EastChina",
"IDCType": "ec"
},
"RelatedGlobalDomains": [
"xx"
],
"Version": "3.0",
"PolicyId": null,
"Scalarable": 1,
"Status": "RUNNING",
"ProxyType": 1,
"ForwardIP": "1.1.1.1",
"ProxyId": "link-12345678",
"RealServerRegion": "NorthChina",
"Concurrent": 2,
"RealServerRegionInfo": {
"RegionId": "NorthChina",
"RegionName": "Chinese mainland - North China"
},
"IP": "1.1.1.2",
"IPList": [],
"AccessRegion": "EastChina",
"ProjectId": 0,
"BillingType": 0,
"SupportProtocols": [
"TCP",
"UDP",
"HTTP",
"HTTPS"
],
"PackageType": "Thunder",
"Domain": "link-12345678.gaapqcloud.com",
"IPAddressVersion": "IPv4",
"BanStatus": "RECOVER",
"CreateTime": 1,
"InstanceId": "link-12345678",
"Bandwidth": 10,
"SupportSecurity": 0,
"TagSet": [
{
"TagKey": "gaaptest",
"TagValue": "www"
}
],
"ClientIPMethod": [
0
],
"ProxyName": "test",
"NetworkType": "",
"ModifyConfigTime": 1,
"GroupId": null
}
],
"RequestId": "1c54137e-e4da-42e1-8565-1bc2d99794a3"
}
}
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 |
---|---|
AuthFailure.NotEnterpriseAuthorization | Not an organizational customer. |
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Incorrect parameter value. |
MissingParameter | Missing parameter. |
ResourceNotFound | The resource does not exist. |
ResourceUnavailable | The resource is unavailable. |
ResourceUnavailable.AccountViolation | Restricted resources found in your account. Check your inbox and email for details. |
UnknownParameter | Unknown parameter. |
本页内容是否解决了您的问题?