Domain name for API request: cloudaudit.tencentcloudapi.com.
This API is used to create resource recorders to detect and record resource configuration changes.
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 parameter. The value used for this API: CreateRecorder. |
Version | Yes | String | Common parameter. The value used for this API: 2019-03-19. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. |
Role | Yes | String | Role name authorized to CFA |
AllSupported | No | Boolean | Whether to select all supported resource types. Valid values: true (default), false. |
Enable | No | Boolean | Whether to enable the resource recorder. Valid values: true (default), false. |
Name | No | String | Resource recorder name. Default name: default. |
Parameter Name | Type | Description |
---|---|---|
IsSuccess | Boolean | Whether the recorder was created successfully |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://cloudaudit.tencentcloudapi.com/?Action=CreateRecorder
&AllSupported=true
&Enable=true
&Name=default
&Role=root
&ResourceTypes.0=string
&<Common request parameters>
{
"Response": {
"IsSuccess": true,
"RequestId": "0a1d572f-57f9-4b2c-8c45-e61168e337ee"
}
}
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 |
---|---|
LimitExceeded.RecorderOverAmount | The number of resource recorders exceeds the limit. |
Was this page helpful?