Stops a stress testing task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:StopBenchmarkTask |
*BenchmarkTask
|
None | None |
Request syntax
PUT /api/v2/benchmark-tasks/{ClusterId}/{TaskName}/stop HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the region where the stress testing task is performed. |
cn-shanghai |
| TaskName |
string |
Yes |
The name of the stress testing task. To query task names, see ListBenchmarkTask. |
benchmark-larec-test-dbe5 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| Message |
string |
The returned message. |
Benchmark task [benchmark-larec-test-dbe5] is Stopping |
Examples
Success response
JSON format
{
"RequestId": "40325405-579C-4D82****",
"Message": "Benchmark task [benchmark-larec-test-dbe5] is Stopping"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.