You can call this operation to modify the interval for collecting monitoring data of an Apsara PolarDB cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No ModifyDBClusterMonitor

The operation that you want to perform. Set the value to ModifyDBClusterMonitor.

DBClusterId String Yes pc-bp1xxxxxxxxxxxxxx

The ID of the Apsara PolarDB cluster.

Period String Yes 5

The interval at which monitoring data is collected. Valid values:

  • 5
  • 60

Unit: seconds.

Response parameters

Parameter Type Example Description
RequestId String 75B92353-73B4-447B-8477-C85F3C66041A

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/? Action=ModifyDBClusterMonitor
&DBClusterId=pc-bp1xxxxxxxxxxxxxx
&Period=5
&<Common request parameters>

Sample success responses

XML format

<RequestId>75B92353-73B4-447B-8477-C85F3C66041A</RequestId>

JSON format

{
    "RequestId": "75B92353-73B4-447B-8477-C85F3C66041A"
}

Error codes

For a list of error codes, visit the API Error Center.