Domain name for API request: teo.tencentcloudapi.com.
This API is used to obtain the details of an application proxy.
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.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeApplicationProxyDetail. |
Version | Yes | String | Common Params. The value used for this API: 2022-01-06. |
Region | No | String | Common Params. This parameter is not required for this API. |
ZoneId | Yes | String | Site ID |
ProxyId | Yes | String | Instance ID |
Parameter Name | Type | Description |
---|---|---|
ProxyId | String | Instance ID |
ProxyName | String | Name of the proxy: Domain name or subdomain name when ProxyType=hostname Instance name when ProxyType=instance |
PlatType | String | Proxy mode. Valid values:ip : Anycast IPdomain : CNAME |
SecurityType | Integer | 0 : Disable security protection; 1 : Enable security protection. |
AccelerateType | Integer | 0 : Disable acceleration; 1 : Enable acceleration. |
ForwardClientIp | String | This field is moved to Rule.ForwardClientIp . |
SessionPersist | Boolean | This field is moved to Rule.SessionPersist . |
Rule | Array of ApplicationProxyRule | List of rules |
Status | String | Status. Valid values:online : Enableoffline : Disableprogress : Deploying |
ScheduleValue | Array of String | Scheduling information |
UpdateTime | Timestamp ISO8601 | Update time |
ZoneId | String | Site ID |
ZoneName | String | Site name |
SessionPersistTime | Integer | Session persistence time |
ProxyType | String | Specifies how a layer-4 proxy is created.hostname : Create by subdomain nameinstance : Create by instance |
HostId | String | When ProxyType=hostname :ProxyName indicates a specified domain name, such as test.123.comHostId indicates a unique ID of the domain name. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeApplicationProxyDetail
<Common request parameters>
{
"ProxyId": "proxy-xxx",
"ZoneId": "zone-xxx"
}
{
"Response": {
"RequestId": "xx",
"ProxyId": "xx",
"ProxyName": "ins name",
"ProxyType": "instance",
"PlatType": "domain",
"SecurityType": 1,
"AccelerateType": 0,
"ForwardClientIp": "OFF",
"SessionPersist": false,
"SessionPersistTime": 0,
"Status": "xx",
"ZoneId": "zone-xxx",
"ZoneName": "123.com",
"UpdateTime": "2020-09-22T00:00:00+00:00",
"ScheduleValue": [
"xx"
],
"Rule": [],
"HostId": ""
}
}
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 |
---|---|
InternalError.ProxyServer | An unknown error occurred in the backend server. |
ResourceNotFound | The resource doesn’t exist. |
本页内容是否解决了您的问题?