Deletes a stress testing task.

Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature checks whether your instances need to be scaled up or out to handle workloads during peak hours. For more information, see Intelligent stress testing.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteCloudBenchTask

The operation that you want to perform. Set the value to DeleteCloudBenchTask.

TaskId String Yes e5cec704-0518-430f-8263-76f4dcds****

The ID of the task. To view the value of this parameter, you can call the DescribeCloudBenchTasks operation.

Response parameters

Parameter Type Example Description
RequestId String B6D17591-B48B-4D31-9CD6-9B9796B2****

The ID of the request.

Message String Successful

The message returned for the request.

Note If the request was successful, Successful was returned. If the request failed, an error message such as an error code was returned.
Data String "Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }

The list of detailed information.

Code String 200

The returned status code.

Success String true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK

    <Data>"Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }</Data>

JSON format

HTTP/1.1 200 OK

  "RequestId" : "B6D17591-B48B-4D31-9CD6-9B9796B2****",
  "Message" : "Successful",
  "Synchro" : "None",
  "Data" : "\"Data\": { \"total\": 1, \"list\":[...] }, \"Code\": 200, \"Success\": true }",
  "Code" : "200",
  "Success" : "true"

Error codes

For a list of error codes, visit the API Error Center.