Mengkueri set karakter, aturan pengurutan, dan properti lain yang didukung oleh database PolarDB Basis Data Relasional Cloud-Native.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBInitializeVariable |
get |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster. Catatan
Panggil operasi DescribeDBClusters untuk melihat Tampilan informasi tentang semua Kluster di Wilayah tujuan, termasuk ID Kluster. |
pc-**************** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Variables |
object |
||
| Variable |
array<object> |
The result set. |
|
|
object |
|||
| Charset |
string |
The character set that is supported. |
EUC_CN |
| Collate |
string |
The language that indicates the collation of the databases that are created. Catatan
To view the valid values for this parameter, perform the following steps: Log on to the PolarDB console and click the ID of a cluster. In the left-side navigation pane, choose Settings and Management > Databases. Then, click Create Database. |
C |
| Ctype |
string |
The language that indicates the character type of the database. Catatan
To view the valid values of this parameter, perform the following steps: First, log on to the PolarDB console and click the ID of a cluster. Then, in the left-side navigation pane, choose Settings and Management > Databases. Finally, click Create Database. |
C |
| DBVersion |
string |
The database version. |
11 |
| RequestId |
string |
The request ID. |
475F58B7-F394-4394-AA6E-4F1CBA****** |
| DBType |
string |
The database type. Valid values:
|
PostgreSQL |
Contoh
Respons sukses
JSONformat
{
"Variables": {
"Variable": [
{
"Charset": "EUC_CN",
"Collate": "C",
"Ctype": "C"
}
]
},
"DBVersion": "11",
"RequestId": "475F58B7-F394-4394-AA6E-4F1CBA******",
"DBType": "PostgreSQL"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBType.Malformed | The Specified DBType is not valid. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.