Domain name for API request: config.intl.tencentcloudapi.com.
This API is used to trigger evaluation for account groups.
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: StartAggregateConfigRuleEvaluation. |
| Version | Yes | String | Common Params. The value used for this API: 2022-08-02. |
| Region | No | String | Common Params. This parameter is not required. |
| TriggerType | Yes | String | Valid values: MANUAL (manual triggering) and SCHEDULE (periodic triggering). |
| AccountGroupId | Yes | String | Account group ID. |
| RuleId | No | String | Rule ID |
| CompliancePackId | No | String | Compliance package ID. |
| Parameter Name | Type | Description |
|---|---|---|
| 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. |
This API is used to trigger evaluations.
POST / HTTP/1.1
Host: config.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: StartAggregateConfigRuleEvaluation
<Common request parameters>
{
"RuleId": "cr-xhsd76j603v0a8ma0i73",
"AccountGroupId": "ca-sdfs7734h24h3",
"TriggerType": "MANUAL"
}
{
"Response": {
"RequestId": "857db07e-d8b5-41f8-ae80-e9c4eec09386"
}
}
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 | Internal error. |
| InvalidParameter | Parameter error. |
| ResourceNotFound.AccountGroupIsNotExist | Account group does not exist. |
| ResourceNotFound.RuleIsNotExist | The rule does not exist. |
| UnauthorizedOperation | Unauthorized operation. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan