Database Workshop
Parameter | Type | Is it required? | Sample | Description |
InstanceType | String | Yes | Postgres | Database type. Currently, only the value Postgres is supported, indicating RDS for PostgreSQL. |
InstanceId | String | Yes | postgres-5d1****** | Instance ID. tip You can call the DescribeDBInstances API to query the instance IDs of all RDS for PostgreSQL instances in the target region. |
RegionId | String | Yes | cn-guangzhou | Region ID. |
Metric | String | Yes | Disk | Scaling indicator. Currently, only disk scaling out is supported, meaning this parameter takes the value Disk. |
autoScaleSearchParam | No | { "StartTime": 1787638268, "EndTime": 1787640068 } | Event filter criteria. | |
PageNumber | Integer | No | 1 | Page number. The value range is 1 to 1,000, with a default of 1. |
PageSize | Integer | No | 10 | Number of records per page. The value range is 1 to 1,000, with a default of 10. |
Name | Type | Sample | Description |
Total | Integer | 10 | Total number of scaling events. |
AutoScaleEvents | | [ { "Action": "Expand", "After": "0G", "AfterAutoScale": 0, "AutoScaleMetricName": "Disk", "Before": "300G", "BeforeAutoScale": 0, "EndTime": "2026-08-25T06:30:44Z", "EventId": "2092137580354129920", "EventStatus": "EventScaling", "Memo": "", "MetricUnit": "%", "RuleId": "2031045967368716288", "RuleType": "Auto", "StartTime": "2026-08-25T06:30:44Z", "TriggerCondition": [ { "ComparisonOperator": "\u003e", "MetricName": "磁盘使用率", "Threshold": "90.00%", "TimeInfo": "" } ], "TriggerInfo": "", "TriggerValue": "100.26%" } ] | Scaling event list. |