Mereset kata sandi akun untuk instance Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Hanya instance Tair (kompatibel dengan Redis OSS) versi Redis 4.0 atau yang lebih baru yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ResetAccountPassword |
update |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans tempat akun tersebut berada. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
Nama akun. Anda dapat memanggil operasi DescribeAccounts untuk mendapatkan nama akun tersebut. |
demoaccount |
| AccountPassword |
string |
Yes |
Password baru untuk akun tersebut. Password harus terdiri dari 8 hingga 32 karakter dan mengandung minimal tiga jenis karakter berikut: huruf kapital, huruf kecil, angka, dan karakter khusus. Karakter khusus meliputi |
uWonno_221**** |
| SourceBiz |
string |
No |
Parameter ini hanya digunakan untuk maintenance internal. Anda tidak perlu menentukan parameter ini. |
SDK |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
8BE02313-5395-4EBE-BAE7-E90A053F**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8BE02313-5395-4EBE-BAE7-E90A053F****"
}
Respons error
JSONformat
{
"RequestId": "8BE02313-5395-4EBE-BAE7-E90A053F1E07"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountName.Duplicate | Specified AccountName already exists in this instance. | |
| 400 | InvalidAccountName.Format | Specified AccountName is not valid. | |
| 400 | InvalidEngineVersion.Format | Current EngineVersion does not support operations. | |
| 400 | InvalidAccountPassword.Format | Specified AccountPassword is not valid. | |
| 400 | TaskExists | Specified task have existed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.