Disables the auto scaling feature for a database instance.
Operation description
Before you call this operation, take note of the following items:
- If you use Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
- If you use an SDK to call operations of DAS, you must set the region ID to cn-shanghai.
- This operation is applicable only to ApsaraDB for Redis instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The database instance ID. | r-bp1nti25tc7bq5**** |
Engine | string | Yes | The database engine. Set the value to Redis. | Redis |
ScaleType | string | Yes | The type of auto scaling. Valid values:
| bandwidthScale |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "Successful",
"Data": "success",
"RequestId": "7172BECE-588A-5961-8126-C216E16B****",
"Success": "true"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidParams | The request parameters are invalid. |
403 | NoPermission | You are not authorized to do this action. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history