Changes the number of nodes in an instance.

You can increase the number of core nodes in an instance. Fifty core nodes can be added at most at a time and a maximum of 250 nodes can be configured for an instance. If you want to use more nodes, submit a ticket.

Request parameters

Parameter Type Required Example Description
Action String Yes ResizeNodeCount

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

ClusterId String Yes hb-bp16o0pd52e3y****

The ID of the instance.

NodeCount Integer Yes 5

The number of core nodes in the cluster.

Fifty core nodes can be added at most at a time and a maximum of 250 nodes can be configured for an instance. If you want to use more nodes, submit a ticket.

ZoneId String No cn-hangzhou-f

The ID of the zone.

VSwitchId String No vsw-bp191otqj1ssyl****

The ID of the vSwitch.

Response parameters

Parameter Type Example Description
OrderId String 20470860005****

The ID of the order.

RequestId String B288B41F-6681-42A6-8905-47C3C42B19B0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ResizeNodeCount
&ClusterId=hb-bp16o0pd52e3y****
&NodeCount=5
&<Common request parameters>

Sample success responses

XML format

<RequestId>B288B41F-6681-42A6-8905-47C3C42B19B0</RequestId>
<OrderId>20470860005****</OrderId>

JSON format

{"RequestId":"B288B41F-6681-42A6-8905-47C3C42B19B0","OrderId":"20470860005****"}

Error codes

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