tencent cloud

文档反馈

DescribeProxyDetail

最后更新时间:2023-07-13 15:25:39

1. API Description

Domain name for API request: gaap.tencentcloudapi.com.

This API (DescribeProxyDetail) is used to query connection details.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeProxyDetail.
Version Yes String Common Params. The value used for this API: 2018-05-29.
Region No String Common Params. This parameter is not required.
ProxyId Yes String Connection ID to be queried.

3. Output Parameters

Parameter Name Type Description
ProxyDetail ProxyInfo Connection details
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying connection details

Input Example

https://gaap.tencentcloudapi.com/?Action=DescribeProxyDetail
&ProxyId=link-12345678
&<Common request parameters>

Output Example

{
    "Response": {
        "ProxyDetail": {
            "AccessRegionInfo": {
                "RegionId": "xx",
                "RegionAreaName": "xx",
                "IDCType": "xx",
                "FeatureBitmap": 1,
                "RegionArea": "xx",
                "RegionName": "xx"
            },
            "RelatedGlobalDomains": [
                "xx"
            ],
            "Version": "xx",
            "PolicyId": "xx",
            "Scalarable": 1,
            "IPList": [
                {
                    "IP": "xx",
                    "Bandwidth": 0,
                    "Provider": "xx"
                }
            ],
            "Status": "xx",
            "ProxyType": 1,
            "ForwardIP": "xx",
            "ProxyId": "xx",
            "RealServerRegion": "xx",
            "Concurrent": 2,
            "RealServerRegionInfo": {
                "RegionId": "xx",
                "RegionAreaName": "xx",
                "IDCType": "xx",
                "FeatureBitmap": 1,
                "RegionArea": "xx",
                "RegionName": "xx"
            },
            "IP": "xx",
            "Http3Supported": 0,
            "InBanBlacklist": 0,
            "AccessRegion": "xx",
            "ProjectId": 0,
            "BillingType": 0,
            "SupportProtocols": [
                "TCP",
                "UDP"
            ],
            "PackageType": "xx",
            "Domain": "xx",
            "IPAddressVersion": "xx",
            "BanStatus": "xx",
            "CreateTime": 1,
            "InstanceId": "xx",
            "Bandwidth": 10,
            "SupportSecurity": 1,
            "TagSet": [
                {
                    "TagKey": "xx",
                    "TagValue": "xx"
                }
            ],
            "ClientIPMethod": [
                0
            ],
            "ProxyName": "xx",
            "NetworkType": "xx",
            "ModifyConfigTime": 1,
            "GroupId": "xx"
        },
        "RequestId": "xx"
    }
}

Example2 Querying connection group details

Input Example

POST / HTTP/1.1
Host: gaap.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeProxyDetail
<Common request parameters>

{
    "ProxyId": "link-4m6fx36h"
}

Output Example

{
    "Response": {
        "RequestId": "fe6deb4c-3bf9-4b92-9bec-047d44d8d7c4",
        "ProxyDetail": {
            "InstanceId": "link-4m6fx36h",
            "ProxyId": "link-4m6fx36h",
            "CreateTime": 1646712299,
            "ProjectId": 0,
            "ProxyName": "test8",
            "ProxyType": 100,
            "AccessRegion": "Guangzhou",
            "RealServerRegion": "Shanghai",
            "Bandwidth": 10,
            "NetworkType": "normal",
            "Concurrent": 2,
            "Status": "RUNNING",
            "Domain": "link-4m6fx36h.gaapacc.com.cn",
            "IP": "1.14.225.21",
            "IPList": [
                {
                    "IP": "1.14.225.21",
                    "Provider": "BGP",
                    "Bandwidth": 10
                }
            ],
            "AccessRegionInfo": {
                "RegionId": "Guangzhou",
                "RegionName": "Guangzhou (formerly Chinese mainland - South China)",
                "RegionArea": "SouthChina",
                "RegionAreaName": "SouthChina",
                "IDCType": "dc",
                "FeatureBitmap": 79
            },
            "RealServerRegionInfo": {
                "RegionId": "Shanghai",
                "RegionName": "Shanghai (formerly Chinese mainland - East China)",
                "RegionArea": "EastChina",
                "RegionAreaName": "EastChina",
                "IDCType": "dc",
                "FeatureBitmap": 79
            },
            "TagSet": [],
            "ModifyConfigTime": 1646712299,
            "IPAddressVersion": "IPv4",
            "PackageType": "Thunder",
            "BanStatus": "RECOVER",
            "Http3Supported": 0,
            "InBanBlacklist": 0,
            "ClientIPMethod": [
                0,
                1
            ],
            "GroupId": null,
            "PolicyId": "sp-nahrld9t",
            "Version": "3.0",
            "SupportProtocols": [
                "TCP",
                "UDP"
            ],
            "Scalarable": 1,
            "SupportSecurity": 1,
            "BillingType": 0,
            "RelatedGlobalDomains": [
                "gd-rv1p5ak9.gaapacc.com.cn"
            ],
            "ForwardIP": "124.222.196.15;124.221.127.42;"
        }
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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 CAM signature/authentication error.
AuthFailure.NotEnterpriseAuthorization Not an organizational customer.
AuthFailure.UnauthorizedOperation The sub-account is not authorized for this operation.
FailedOperation Operation failed.
FailedOperation.ActionIsDoing The operation is being performed. Do not perform it again.
FailedOperation.ActionOperateTooQuickly Too many attempts. Please try again later.
FailedOperation.ResourceCanNotAccess This resource is not accessible.
InternalError Internal error.
InvalidParameter Incorrect parameter.
InvalidParameterValue Incorrect parameter value.
InvalidParameterValue.ProjectIdNotBelong The project does not belong to this user.
MissingParameter Missing parameter.
ResourceNotFound The resource does not exist.
ResourceUnavailable.AccountViolation Restricted resources found in your account. Check your inbox and email for details.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.
联系我们

联系我们,为您的业务提供专属服务。

技术支持

如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

7x24 电话支持