Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to query exclusive DDoS protection info of a site.
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: DescribeDDoSProtection. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Zone ID. |
| Parameter Name | Type | Description |
|---|---|---|
| DDoSProtection | DDoSProtection | Exclusive DDoS protection configuration. Used to control the effective scope of exclusive DDoS protection. |
| 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. |
Query exclusive DDoS protection info of the site.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDDoSProtection
<Common request parameters>
{
"ZoneId": "zone-2jaltqbdhq37"
}
{
"Response": {
"RequestId": "1362c269-9931-4b12-b148-3d1df0818600",
"DDoSProtection": {
"ProtectionOption": "protect_specified_domains",
"DomainDDoSProtections": [
{
"Domain": "www.example.com",
"Switch": "on"
}
],
"SharedCNAMEDDoSProtections": [
{
"Domain": "a.example.com",
"Switch": "off"
}
]
}
}
}
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 | Operation failed. |
| InternalError.ProxyServer | Unknown error occurs on the real server. |
| InvalidParameter.Security | Parameter error. |
| OperationDenied | Operation denied. |
| UnauthorizedOperation.CamUnauthorized | Unauthorized Cam operation. |
| UnauthorizedOperation.NoPermission | The sub-account does not have operation permissions. Add the required permissions and try again. |
| UnauthorizedOperation.Unknown | Unknown error occurs on the real server. |
フィードバック