Mengubah kata sandi akun basis data untuk kluster PolarDB yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyAccountPassword |
update |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************ |
| AccountName |
string |
Yes |
Nama pengguna akun. |
testacc |
| NewAccountPassword |
string |
Yes |
Kata sandi baru akun. Kata sandi baru harus memenuhi persyaratan berikut:
|
Pw123456 |
| PasswordType |
string |
No |
Jenis kata sandi. |
Tair |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2FED790E-FB61-4721-8C1C-07C627****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2FED790E-FB61-4721-8C1C-07C627******"
}
Respons error
JSONformat
{
"RequestId": "2FED790E-FB61-4721-8C1C-07C627FA5A19"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EngineMigration.ActionDisabled | Specified action is disabled while custins is in engine migration. | The specified operation is disabled when custins is being migrated across engines. |
| 400 | LockTimeout | The request processing has failed due to lock timeout. | Failed to process the request due to a lock timeout. |
| 400 | InvalidAccountPassword.Malformed | The specified parameter AccountPassword is not valid. | The specified AccountPassword parameter is invalid. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.