UpdateAggTaskGroupStatus
Updates the status of an aggregation task group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateAggTaskGroupStatus |
update |
*AggTaskGroup
|
None | None |
Request syntax
PUT /prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The ID of the Prometheus instance to which the aggregation task group belongs. Aggregation tasks read data from this instance. |
rw-pq4apob9jm |
| groupId |
string |
Yes |
The ID of the aggregation task group. |
aggTaskGroup-xxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request struct. |
|
| status |
string |
Yes |
The status of the aggregation task group. Valid values: Running and Stopped. Default value: Running. Valid values:
|
Running |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| aggTaskGroupConfigHash |
string |
The summary of the aggregation task group configuration. |
a54136014dc386a92c83a6ef1e97ff22 |
| aggTaskGroupId |
string |
The ID of the aggregation task group. |
aggTaskGroup-xxx |
| aggTaskGroupName |
string |
The name of the aggregation task group. |
pipeline-aggtask-group |
| requestId |
string |
The ID of the request. |
0CEC5375-C554-562B-A65F-*** |
| sourcePrometheusId |
string |
The source Prometheus instance ID of the aggregation node group. |
rw-xxx |
| status |
string |
The current status of the aggregation task group. |
Running |
Examples
Success response
JSON format
{
"aggTaskGroupConfigHash": "a54136014dc386a92c83a6ef1e97ff22",
"aggTaskGroupId": "aggTaskGroup-xxx",
"aggTaskGroupName": "pipeline-aggtask-group",
"requestId": "0CEC5375-C554-562B-A65F-***",
"sourcePrometheusId": "rw-xxx",
"status": "Running"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.