Menonaktifkan fitur pembatasan (throttling) SQL otomatis untuk beberapa instans database sekaligus.
Deskripsi operasi
Jika Anda menggunakan SDK untuk memanggil operasi Database Autonomy Service (DAS), Anda harus mengatur ID wilayah ke cn-shanghai.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:DisableAutoThrottleRules |
none |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ConsoleContext |
string |
No |
Parameter yang dicadangkan. |
None |
| InstanceIds |
string |
Yes |
ID instans database. Catatan
Atur parameter ini ke array JSON yang terdiri dari beberapa ID instans. Pisahkan ID instans dengan koma (,). Contoh: |
['rm-2ze8g2am97624****','rm-2ze9xrhze0709****'] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Code |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan. Catatan
Jika permintaan berhasil, Successful dikembalikan. Jika permintaan gagal, pesan kesalahan seperti kode kesalahan akan dikembalikan. |
Successful |
| Data |
object |
Data yang dikembalikan. |
|
| TotalInstanceCount |
integer |
Jumlah total instans database. |
2 |
| ConfigSuccessInstanceCount |
integer |
Jumlah instans database yang fitur pembatasan SQL otomatisnya berhasil dinonaktifkan. |
1 |
| ConfigFailInstanceCount |
integer |
Jumlah instans database yang fitur pembatasan SQL otomatisnya gagal dinonaktifkan. |
1 |
| ConfigSuccessInstanceList |
array<object> |
Instans database yang fitur pembatasan SQL otomatisnya berhasil dinonaktifkan. |
|
|
object |
|||
| ConfigSuccess |
boolean |
Indicates whether the automatic SQL throttling feature is disabled. Valid values:
|
true |
| InstanceId |
string |
The database instance ID. |
rm-2ze8g2am97624**** |
| ConfigFailInstanceList |
array<object> |
Instans database yang fitur pembatasan SQL otomatisnya gagal dinonaktifkan. |
|
|
object |
|||
| ConfigSuccess |
boolean |
Indicates whether the automatic SQL throttling feature is disabled. Valid values:
|
false |
| InstanceId |
string |
The database instance ID. |
rm-2ze9xrhze0709**** |
| ErrorMessage |
string |
The error message returned. |
cannot found instance by rm-2ze9xrhze0709**** |
| RequestId |
string |
ID permintaan. |
B6D17591-B48B-4D31-9CD6-9B9796B2**** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": 200,
"Message": "Successful",
"Data": {
"TotalInstanceCount": 2,
"ConfigSuccessInstanceCount": 1,
"ConfigFailInstanceCount": 1,
"ConfigSuccessInstanceList": [
{
"ConfigSuccess": true,
"InstanceId": "rm-2ze8g2am97624****"
}
],
"ConfigFailInstanceList": [
{
"ConfigSuccess": false,
"InstanceId": "rm-2ze9xrhze0709****",
"ErrorMessage": "cannot found instance by rm-2ze9xrhze0709****"
}
]
},
"RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
"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.