Creates a global aggregation instance in Managed Service for Prometheus and retrieves the list of global aggregation instances.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The list of global aggregation instances, returned as a JSON-formatted string. |
[ {groupName: "聚合实例名称", clusterId: "global-v2-clusterid", endpoint: "cn-hangzhou"}, // ..... more items ] |
| RequestId |
string |
The request ID, which can be used to query logs and troubleshoot issues. |
DBDCE95A-A0DD-5FC5-97CC-EEFC3D814385 |
| Code |
integer |
The status code. A value of 200 indicates success. |
200 |
| Message |
string |
Additional information about the response. |
success |
Examples
Success response
JSON format
{
"Data": "[ {groupName: \"聚合实例名称\", clusterId: \"global-v2-clusterid\", endpoint: \"cn-hangzhou\"}, // ..... more items ]",
"RequestId": "DBDCE95A-A0DD-5FC5-97CC-EEFC3D814385",
"Code": 200,
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.