Bir veritabanı hesabının temel bilgilerini değiştirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:ModifyDatabaseAccount |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Değiştirilecek veritabanı hesabının bulunduğu Bastionhost örneğinin kimliği. Not
Bu parametreyi almak için DescribeInstances işlemini çağırabilirsiniz. |
bastionhost-cn-zpr2zyqx603 |
| RegionId |
string |
No |
Değiştirilecek veritabanı hesabının bulunduğu Bastionhost örneğinin bölge kimliği. Not
Bölge kimlikleri ile bölge adları arasındaki eşleştirme hakkında daha fazla bilgi için Bölgeler ve alanlar konusuna bakın. |
cn-hangzhou |
| DatabaseAccountId |
string |
Yes |
Değiştirilecek veritabanı hesabının kimliği. Not
Bu parametreyi almak için ListDatabaseAccounts işlemini çağırabilirsiniz. |
2 |
| Password |
string |
No |
Veritabanı hesabının yeni parolası. |
14SZ!****** |
| DatabaseAccountName |
string |
No |
Veritabanı hesabının yeni adı. Ad en fazla 128 karakter uzunluğunda olabilir. |
aaa |
| DatabaseSchema |
string |
No |
Yeni veritabanı şeması adı. DatabaseId ile belirtilen veritabanı bir PostgreSQL veya Oracle veritabanı olduğunda bu parametre gereklidir. |
orcl |
| ProjectId |
integer |
No |
Proje kimliği. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Alibaba Cloud tarafından istek için oluşturulan benzersiz tanımlayıcı. |
850FA4B4-5BD2-5269-903E-3B7E07E6C975 |
Examples
Success response
JSON format
{
"RequestId": "850FA4B4-5BD2-5269-903E-3B7E07E6C975"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 400 | DatabaseAccountAlreadyExists | The database account already exists. | |
| 500 | InternalError | An unknown error occurred. | |
| 404 | DatabaseAccountNotFound | The database account is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.