You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
This API has been deprecated. We recommend migrating to CS(2015-12-15) - DescribeTaskInfo for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:GetUpgradeStatus |
get |
*Cluster
|
None | None |
Request syntax
GET /api/v2/clusters/{ClusterId}/upgrade/status HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
c106f377e16f34eb1808d6b9362c9**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The details about the update progress of the cluster. |
||
| error_message |
string |
The error message returned during the update. |
subject to actual return |
| precheck_report_id |
string |
The ID of the precheck report. |
be4c8eb72de94d459ea7ace7c811d119 |
| status |
string |
The status of the update. Valid values:
|
running |
| upgrade_step |
string |
The current phase of the update. Valid values:
|
prechecking |
| upgrade_task |
object |
The details of the update task. |
|
| status |
string |
The status of the update task. Valid values:
|
running |
| message |
string |
The description of the update task. |
subject to actual return |
Examples
Success response
JSON format
{
"error_message": "subject to actual return",
"precheck_report_id": "be4c8eb72de94d459ea7ace7c811d119",
"status": "running",
"upgrade_step": "prechecking",
"upgrade_task": {
"status": "running",
"message": "subject to actual return"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.