PolarDB邊緣叢集查詢版本
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
polardb:DescribeDBClusterVersionZonal |
get |
*全部資源
|
無 | 無 |
請求文法
GET HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| DBClusterId |
string |
是 |
叢集 ID。 |
pc-**************** |
| DescribeType |
string |
否 |
指定返回最新版本資訊或者可升級版本列表。取值範圍如下:
|
LATEST_VERSION |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| IsLatestVersion |
string |
當前資料庫核心引擎版本是否為最新版本,取值範圍如下:
|
true |
| IsProxyLatestVersion |
string |
當前資料庫核心引擎版本是否為最新版本,取值範圍如下:
|
true |
| DBVersion |
string |
資料庫引擎的大版本號碼,取值範圍如下:
|
5.6 |
| DBRevisionVersion |
string |
資料庫引擎的修訂版本號碼。 |
8.0.1.1.7 |
| RequestId |
string |
請求 ID。 |
47921222-0D37-4133-8C0D-017DC3****** |
| DBVersionStatus |
string |
當前資料庫小版本狀態,取值範圍如下:
|
Stable |
| DBClusterId |
string |
叢集 ID。 |
pc-**************** |
| DBMinorVersion |
string |
資料庫引擎小版本號碼。
|
8.0.1 |
| ProxyRevisionVersion |
string |
資料庫代理的版本。 |
2.4.15 |
| ProxyVersionStatus |
string |
資料庫代理的版本狀態。取值範圍如下:
|
Stable |
| ProxyLatestVersion |
string |
資料庫代理的最新版本。 |
2.4.17 |
| DBLatestVersion |
string |
資料庫核心引擎的最新版本。 |
8.0.1.1.16 |
| DBRevisionVersionList |
array<object> |
可升級的版本資訊列表。 |
|
|
object |
|||
| ReleaseType |
string |
資料庫版本發布狀態。取值範圍如下:
|
Stable |
| RevisionVersionCode |
string |
資料庫引擎的修訂版本 Code,用於指定升級到該目標版本。 |
20230707 |
| RevisionVersionName |
string |
資料庫引擎的修訂版本號碼。 |
8.0.1.1.35.1 |
| ReleaseNote |
string |
版本發布說明。 |
ReleaseNote |
| ProxyRevisionVersionList |
array<object> |
資料庫 Proxy 版本發布狀態。取值範圍如下:
|
|
|
object |
|||
| ReleaseType |
string |
發布類型。傳回值:
|
LTS |
| RevisionVersionCode |
string |
資料庫 Proxy 引擎的修訂版本 Code,用於指定升級到該目標版本。 |
20230707 |
| RevisionVersionName |
string |
資料庫 Proxy 引擎的修訂版本號碼。 |
2.8.24 |
| ReleaseNote |
string |
版本發布說明。 |
ReleaseNote |
樣本
正常返回樣本
JSON格式
{
"IsLatestVersion": "true",
"IsProxyLatestVersion": "true",
"DBVersion": "5.6",
"DBRevisionVersion": "8.0.1.1.7",
"RequestId": "47921222-0D37-4133-8C0D-017DC3******",
"DBVersionStatus": "Stable",
"DBClusterId": "pc-****************",
"DBMinorVersion": "8.0.1",
"ProxyRevisionVersion": "2.4.15",
"ProxyVersionStatus": "Stable",
"ProxyLatestVersion": "2.4.17",
"DBLatestVersion": "8.0.1.1.16",
"DBRevisionVersionList": [
{
"ReleaseType": "Stable",
"RevisionVersionCode": "20230707",
"RevisionVersionName": "8.0.1.1.35.1",
"ReleaseNote": "ReleaseNote"
}
],
"ProxyRevisionVersionList": [
{
"ReleaseType": "LTS",
"RevisionVersionCode": "20230707",
"RevisionVersionName": "2.8.24",
"ReleaseNote": "ReleaseNote"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 400 | InvalidDBVersion.Malformed | The Specified DBVersion is not valid. | 指定的DBVersion無效 |
| 400 | InvalidEngineVersion.Older | The primary cluster version is too old, please upgrade it. | 主叢集執行個體版本太舊,請對其進行升級。 |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | 當前的記錄中不存在提供的 DBClusterId。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。