Domain name for API request: cwp.tencentcloudapi.com.
This API is used to obtain the installation command of the public network access 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: DescribePublicProxyInstallCommand. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Ip | No | String | List of Nginx host IP addresses, separated by commas |
Parameter Name | Type | Description |
---|---|---|
NginxCommand | String | Nginx Installation Command |
KeepAliveCommand | String | Keepalived Installation Command Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cwp.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribePublicProxyInstallCommand
<Common request parameters>
{
"Ip": "0.0.0.0"
}
{
"Response": {
"KeepAliveCommand": "abc",
"NginxCommand": "abc",
"RequestId": "abc"
}
}
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.APIServerFail | Failed to invoke the API service. |
InternalError | Internal error |
InvalidParameter | Incorrect parameter. |
InvalidParameter.InvalidFormat | Incorrect parameter format. |
Was this page helpful?