Queries the monitoring frequency of an ApsaraDB for RDS instance.

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 Yes DescribeDBInstanceMonitor

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

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxx

The client token that is used to ensure the idempotency of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.

Response parameters

Parameter Type Example Description
Period String 60

The monitoring frequency. Unit: seconds.

RequestId String 30829FD4-1A84-4C2A-A625-2EADECB95CA3

The ID of the request.

Examples

Sample requests

http(s)://rds.aliyuncs.com/? Action=DescribeDBInstanceMonitor
&DBInstanceId=rm-uf6wjk5xxxxxxx
&<Common request parameters>

Sample success responses

XML format

<DescribeDBInstanceMonitorResponse>
      <period>60</period>
      <requestId>30829FD4-1A84-4C2A-A625-2EADECB95CA3</requestId>
</DescribeDBInstanceMonitorResponse>

JSON format

{
    "period": "60", 
    "requestId": "30829FD4-1A84-4C2A-A625-2EADECB95CA3"
}

Error codes

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