Menonaktifkan fitur Penyesuaian Skala Otomatis untuk Instansiasi basis data.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:DisableInstanceDasConfig |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Instansiasi basis data. |
r-bp1nti25tc7bq5**** |
| Engine |
string |
Yes |
Engine database. Atur nilainya menjadi Redis. |
Redis |
| ScaleType |
string |
Yes |
Tipe Penyesuaian Skala Otomatis. Nilai valid:
|
bandwidthScale |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Code |
string |
The HTTP status code returned. |
200 |
| Message |
string |
The returned message. Catatan
If the request was successful, Successful is returned. If the request failed, an error message such as an error code is returned. |
Successful |
| Data |
string |
The result of disabling the auto scaling feature for the database instance. |
success |
| RequestId |
string |
The request ID. |
7172BECE-588A-5961-8126-C216E16B**** |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "Successful",
"Data": "success",
"RequestId": "7172BECE-588A-5961-8126-C216E16B****",
"Success": "true"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | |
| 403 | NoPermission | You are not authorized to do this action. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.