Upgrades the cluster client to the target version.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpgradeClient

The operation that you want to perform. Set the value to UpgradeClient.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

ClientVersion String No 2.0.0

The version to which the client will be upgraded. By default, the client is upgraded to the latest version. You can call the ListCurrentClientVersion operation to query the latest version number of the Elastic High Performance Computing (E-HPC) client.

Response parameters

Parameter Type Example Description
RequestId String 4994fbcd-2a09-4045-b2b2-2c3bee8e9296

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=UpgradeClient
&ClusterId=ehpc-hz-FYUr32****
&<Common request parameters>

Sample success responses

XML format

<RequestId>4994fbcd-2a09-4045-b2b2-2c3bee8e9296</RequestId>

JSON format

{
    "RequestId":"4994fbcd-2a09-4045-b2b2-2c3bee8e9296"
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.