取得可升級版本清單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /api/v1/instances/{instanceId}/upgrade/listReleaseVersions HTTP/1.1
路徑參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| instanceId |
string |
否 |
執行個體 ID。 |
hgprecn-cn-20p33yhxxxxx |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
否 |
地域 ID。 |
cn-shenzhen |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F6DFB9EA-0E2A-52AC-BFD5-1ADBBFFB6A2B |
| Data |
array<object> |
回傳資料。 |
|
|
object |
|||
| Version |
string |
版本號碼。 |
r2.2.47 |
| Type |
string |
版本狀態。 |
Stable |
| UpgradeStrategy |
array |
升級策略。 |
|
|
string |
升級策略。例如熱升級。 |
hot |
|
| ReleaseNotesUrl |
string |
版本 ReleaseNote。 |
https://www.alibabacloud.com/help/zh-TW/hologres/product-overview/release-notes |
| Success |
boolean |
請求結果,表示此次請求是否發生異常,與業務無關。 |
true |
| ErrorCode |
string |
錯誤碼。 |
null |
| ErrorMessage |
string |
錯誤訊息。 |
null |
| HttpStatusCode |
string |
HTTP 狀態碼。 |
200 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "F6DFB9EA-0E2A-52AC-BFD5-1ADBBFFB6A2B",
"Data": [
{
"Version": "r2.2.47",
"Type": "Stable",
"UpgradeStrategy": [
"hot"
],
"ReleaseNotesUrl": "https://www.alibabacloud.com/help/zh/hologres/product-overview/release-notes"
}
],
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。