This API is used to query the storage autoscaling policy of a DB instance.
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
instance_id |
Yes |
Instance ID. |
Parameter |
Type |
Description |
---|---|---|
switch_option |
Boolean |
Whether autoscaling is enabled.
|
limit_size |
Integer |
Upper limit for autoscaling, in GB. |
trigger_threshold |
Integer |
Threshold to trigger autoscaling. If the available storage drops to this threshold or 10 GB, autoscaling is triggered. |
{ "switch_option" : true, "limit_size" : 4000, "trigger_threshold" : 10 }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.