Mengaktifkan fitur PolarDB for AI.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:OpenAITask |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-**************** |
| Username |
string |
No |
Akun database tempat fitur PolarDB for AI akan diaktifkan. |
testAccountName |
| Password |
string |
No |
Password akun database. |
testPassword |
| NodeType |
string |
No |
Tipe node. Nilai yang valid:
|
DLNode |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| RequestId |
string |
ID permintaan. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| TaskId |
string |
ID task. |
53879cdb-9a00-428e-acaf-ff4cff****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"TaskId": "53879cdb-9a00-428e-acaf-ff4cff******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissParameter.NodeType | The parameter nodeType is needed. | |
| 400 | InvalidParameter.NodeType | The parameter NodeType is not valid. | |
| 400 | CallDB4AI.Error | Call db4ai api error. | |
| 500 | InvalidAccount.Malformed | The specified parameter account or password is not valid. | |
| 500 | InvalidAINode.NotFound | The AINode provided does not exist in our records. | |
| 404 | InvalidDBCluster.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.