Updates the information about a Prometheus instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. | cn-hangzhou |
ResourceGroupId | string | No | The ID of the resource group. | rg-acfmxyexli2**** |
ClusterId | string | Yes | The ID of the Prometheus instance. | vpc-xxx |
StorageDuration | integer | No | Storage duration (days). | 90 |
ArchiveDuration | integer | No | The number of days for automatic archiving after storage expiration (optional values: 60, 90, 180, 365). 0 means not archive. | 90 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6A9AEA84-7186-4D8D-B498-4585C6A2****",
"Data": "success",
"Message": "message",
"Code": 200
}
Error codes
For a list of error codes, visit the Service error codes.