You can call the DescribeDBInstancePerformance operation to query the performance of instances.
Operation description
This operation is phased out.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClientToken | string | No | The client token that is used to ensure the idempotence 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. | ETnLKlblzczshOTUbOCzxxxxxx |
proxyId | string | No | The ID of the proxy mode. | API |
DBInstanceId | string | No | The ID of the instance. | rm-uf6wjk5xxxxxx |
PageSize | integer | No | The number of entries to return on each page. Valid values: 5 to 100. Default value: 30. | 30 |
PageNumber | integer | No | The number of the page to return. Valid values: any non-zero positive integer. Default value: 1. | 1 |
SortMethod | string | No | The sorting method. | ASC |
SortKey | string | No | The sorting basis. | CPU_Usage |
Tags | string | No | The tags that are added to the instances. Each tag is a key-value pair that consists of two parts: TagKey and TagValue. Format: | {"key1":"value1"} |
Tag.1.key | string | No | The key of tag 1 that is added to the instances. | key1 |
Tag.2.key | string | No | The key of tag 2 that is added to the instances. | key2 |
Tag.3.key | string | No | The key of tag 3 that is added to the instances. | key3 |
Tag.4.key | string | No | The key of tag 4 that is added to the instances. | key4 |
Tag.5.key | string | No | The key of tag 5 that is added to the instances. | key5 |
Tag.1.value | string | No | The value of tag 1 that is added to the instances. | value1 |
Tag.2.value | string | No | The value of tag 2 that is added to the instances. | value2 |
Tag.3.value | string | No | The value of tag 3 that is added to the instances. | value3 |
Tag.4.value | string | No | The value of tag 4 that is added to the instances. | value4 |
Tag.5.value | string | No | The value of tag 5 that is added to the instances. | value5 |
RegionId | string | No | The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ResourceGroupId | string | No | The ID of the resource group. | rg-acfmy***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "23907437-79B9-411A-9EE6-75A8F0F1C619",
"PageNumber": 1,
"PageRecordCount": 28,
"TotalRecordCount": 28,
"Items": {
"DBInstancePerformance": [
{
"CPUUsage": "0.70",
"SessionUsage": "0.10",
"DBInstanceId": "rm-uf6wjk5xxxxxx",
"DBInstanceDescription": "DatabaseTest",
"IOPSUsage": "0.15",
"DiskUsage": "14.56"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.