Performs minor version updates to the components of a multi-zone ApsaraDB for HBase cluster.

Request parameters

Parameter Type Required Example Description
Action String Yes UpgradeMultiZoneCluster

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

ClusterId String Yes ld-***************

The ID of the multi-zone cluster.

Components String Yes LINDORM

The name of the component. Separate multiple names with commas (,).

RunMode String No serial

Optional. The execution mode. If you specify the UpgradeInsName parameter, the value of this parameter is fixed to single. If you do not specify the UpgradeInsName parameter and this parameter, the default execution mode is serial. Valid values:

serial: The components of all child clusters are updated.

single: The components of the specified child cluster are updated.

UpgradeInsName String No ld-t4n40m3171t4******-az-b

Optional. The name of the child cluster whose components require updates. You can call the DescribeMultiZoneCluster operation to obtain the value of this parameter. You can find the value in the MultiZoneInstanceModels response parameter. If you do not specify this parameter, the components of all child clusters are updated.

Versions String No t-apsara-lindorm-2.1.20-20200518175539.alios7.x86_64

Optional. The RPM version to which you want the components to update. If you do not specify this parameter, the component is updated to the latest version. If you specify multiple components in the Components parameter, you must specify multiple versions in this parameter. Separate the versions with commas (,).

RestartComponents String No LPROXY

Optional. The name of the component that requires restart after the update. Separate multiple names with commas (,).

Response parameters

Parameter Type Example Description
RequestId String C532A4D4-9451-4460-BB3E-300FEC852D3F

The ID of the request.

UpgradingComponents String LINDORM

The names of the components that started the update.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpgradeMultiZoneCluster
&ClusterId=ld-***************
&Components=LINDORM
&<Common request parameters>

Sample success responses

XML format

<RequestId>C532A4D4-9451-4460-BB3E-300FEC852D3F</RequestId>
<UpgradingComponents>LINDORM</UpgradingComponents>

JSON format

{
    "RequestId": "C532A4D4-9451-4460-BB3E-300FEC852D3F",
    "UpgradingComponents": "LINDORM"
}

Error codes

For a list of error codes, see Service error codes.