Domain name for API request: cloudaudit.tencentcloudapi.com.
This API is used to modify the resources to monitor, recorder name, and other recorder configurations.
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: UpdateRecorder. |
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. |
AllSupported | No | Boolean | Whether to select all currently supported resource types |
Enable | No | Boolean | Whether to enable the recorder. Valid values: true (enable), false (disable). |
Name | No | String | Recorder name after modification |
Parameter Name | Type | Description |
---|---|---|
IsSuccess | Boolean | Whether the modification is successful |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://cloudaudit.tencentcloudapi.com/?Action=UpdateRecorder
&AllSupported=true
&Enable=true
&Name=default
&ResourceTypes.0=string
&<Common request parameters>
{
"Response": {
"IsSuccess": true,
"RequestId": "19594468-dc7a-4ec8-a49a-5ce65f216674"
}
}
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 |
---|---|
InvalidParameterValue.RecorderNameRepeat | Duplicate recorder name. |
ResourceNotFound.RecorderNotFound | Recorder not found. |
Was this page helpful?