获取可升级版本列表
调试
您可以在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/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"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。