Memodifikasi deskripsi akun dari instans ApsaraDB for Redis (kompatibel dengan Redis).
Deskripsi operasi
Operasi ini hanya didukung untuk instans yang kompatibel dengan Redis 4.0 atau yang lebih baru.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyAccountDescription |
update |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
Nama akun. Anda dapat memanggil operasi DescribeAccounts untuk meminta nama akun. |
demoaccount |
| AccountDescription |
string |
Yes |
Deskripsi baru untuk akun.
|
testescription |
| SourceBiz |
string |
No |
Parameter ini hanya digunakan untuk pemeliharaan internal. Anda tidak perlu menentukan parameter ini. |
SDK |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
8D0C0AFC-E9CD-47A4-8395-5C31BF9B**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8D0C0AFC-E9CD-47A4-8395-5C31BF9B****"
}
Respons error
JSONformat
{
"RequestId":"8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidEngineVersion.Format | Current EngineVersion does not support operations. | |
| 400 | InvalidAccountDescription.Format | Specified AccountDescription is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.