Retrieves all URLs of a cluster, including remote read/write URLs, Pushgateway URLs, and Grafana URLs.
This API has been deprecated. We recommend migrating to ARMS(2019-08-08) - GetPrometheusInstance for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Default value: cn-hangzhou. |
cn-hangzhou |
| ClusterId |
string |
Yes |
The cluster ID. |
cc7a37ee31aea4ed1a059eff8034b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The response in JSON format. |
{ "RequestId": "41877338-646B-5DD6-BFBE-F89F1E7245AD", "Data": "{\"clusterType\":\"ManagedKubernetes\",\"remoteWriteUrl\":\"http:/" } |
| RequestId |
string |
The request ID. |
40B10E04-81E8-4643-970D-F1B38F2E**** |
| Code |
integer |
The status code. A value of 200 indicates success. Other values indicate errors. |
200 |
| Message |
string |
The message returned with the response. |
success |
| Success |
boolean |
Indicates whether the request was successful:
|
true |
Examples
Success response
JSON format
{
"Data": "{\n \"RequestId\": \"41877338-646B-5DD6-BFBE-F89F1E7245AD\",\n \"Data\": \"{\\\"clusterType\\\":\\\"ManagedKubernetes\\\",\\\"remoteWriteUrl\\\":\\\"http:/\" }",
"RequestId": "40B10E04-81E8-4643-970D-F1B38F2E****",
"Code": 200,
"Message": "success",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.