GetUpgradeStatus
Description
call GetUpgradeStatus to query cluster upgrade status.
Request Method
POST
Request Path
/apsara/route/CS/GetUpgradeStatus
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ClusterId | BODY | string | Yes | c106f377e16f34eb1808d6b9362c9**** | cluster ID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
error_message | string | subject to actual return | error message in cluster upgrade. |
upgrade_task | object | {"message":"subject to actual return","status":"running "} | upgrade task details. |
precheck_report_id | string | be4c8eb72de94d459ea7ace7c811d119 | pre-check return ID. |
message | string | subject to actual return | upgrade task description information. |
status | string | running | upgrade task status. |
upgrade_step | string | prechecking | the current upgrade phase of the cluster. |
Example
Successful Response example
{
"error_message":"subject to actual return",
"upgrade_task":
{
"message":"subject to actual return",
"status":"running "
},
"precheck_report_id":"be4c8eb72de94d459ea7ace7c811d119",
"message":"subject to actual return",
"status":"running",
"upgrade_step":"prechecking"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}