Memeriksa nama database di kluster edge untuk PolarDB Basis Data Relasional Cloud-Native on ENS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CheckDBNameZonal |
get |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-**************** |
| DBName |
string |
Yes |
Nama database. |
test_db |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CDB3258F-B5DE-43C4-8935-CBA0CA****** |
| DBName |
string |
The name of the database. |
test_db |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CDB3258F-B5DE-43C4-8935-CBA0CA******",
"DBName": "test_db"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBName.Duplicate | The specified DB name already exists. | |
| 400 | InvalidAccountName.Malformed | The specified parameter AccountName is not valid. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.