Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to query the list of abnormal request rules for k8sapi. It supports fuzzy search by cluster name (ClusterName) and Cluster ID, with cluster rules (is_all=1) always returned. The response includes newly-added RuleInfoList (sub-rule content), RuleActions (deduplicated execution action list), and the EffectAllCluster field.
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: DescribeK8sApiAbnormalRuleList. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| By | No | String | Sorting field.UpdateTime - String - Optional - Last updatedEffectClusterCount - String - Optional - Number of clusters affected |
| Filters.N | No | Array of RunTimeFilters | Filter criteria |
| Limit | No | Integer | The number of results returned. Default value: 10. Maximum value: 100. |
| Offset | No | Integer | Offset. Default value: 0 |
| Order | No | String | Sort order |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of K8sApiAbnormalRuleListItem | Rule list |
| TotalCount | Integer | Total count |
| 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: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeK8sApiAbnormalRuleList
<Common request parameters>
{}
{
"Response": {
"List": [],
"RequestId": "522d7714-ef53-4940-b0ed-46d59a3cf0fd",
"TotalCount": 0
}
}
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 | An internal error occurred. |
| InvalidParameter | The parameter is incorrect. |
文档反馈