Stops 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 | No | StopCloudBenchTask |
The operation that you want to perform. Set the value to StopCloudBenchTask. |
ConsoleContext | String | No | None |
A hidden parameter. |
TaskId | String | No | 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 |
---|---|---|---|
Code | String | 200 |
The returned status code. |
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, including the error codes and the number of error messages. |
RequestId | String | B6D17591-B48B-4D31-9CD6-9B9796B2**** |
The ID of the request. |
Success | String | true |
Indicates whether the request was successful. Valid values:
|
Examples
Sample requests
http(s)://das.cn-shanghai.aliyuncs.com/?Action=StopCloudBenchTask
&ConsoleContext=None
&TaskId=e5cec704-0518-430f-8263-76f4dcds****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<StopCloudBenchTaskResponse>
<Code>200</Code>
<Message>Successful</Message>
<Data>"Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }</Data>
<RequestId>B6D17591-B48B-4D31-9CD6-9B9796B2****</RequestId>
<Success>true</Success>
</StopCloudBenchTaskResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Code" : "200",
"Message" : "Successful",
"Data" : "\"Data\": { \"total\": 1, \"list\":[...] }, \"Code\": 200, \"Success\": true }",
"RequestId" : "B6D17591-B48B-4D31-9CD6-9B9796B2****",
"Success" : "true"
}
Error codes
For a list of error codes, visit the API Error Center.