Mengambil status fitur PolarDB Basis Data Relasional Cloud-Native for AI.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAITaskStatus |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
ID Kluster. |
pc-xxxxxxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| DBClusterId |
string |
The cluster ID. |
pc-xxxxxxxxxx |
| RequestId |
string |
The request ID. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| Status |
string |
The status of the PolarDB for AI feature. Valid values:
|
1 |
| StatusName |
string |
A description of the feature status. |
关闭状态 |
| AccountName |
string |
The most recently configured account name. |
testacc |
Contoh
Respons sukses
JSONformat
{
"DBClusterId": "pc-xxxxxxxxxx",
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"Status": "1",
"StatusName": "关闭状态",
"AccountName": "testacc"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CallDB4AI.Error | Call db4ai api error. | An error occurred when the DB4AI API is called |
| 404 | InvalidDBInstance.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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.