You can call this operation to scale out nodes in a data center.
Debugging
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 | cds-bp1b136j****5d59 |
The ID of the cluster. |
DataCenterId | String | Yes | cn-hangzhou-g |
The ID of the data center. |
NodeCount | Integer | Yes | 3 |
The number of nodes in the data center. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D7D3088F-AA4F-49C3-BB46-B04F3E35041A |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ResizeNodeCount
&ClusterId=cds-bp1b136j****5d59
&DataCenterId= cn-hangzhou-g
&NodeCount=3
&<Common request parameters>
Sample success responses
XML
format
<ResizeNodeCountResponse>
<RequestId>D7D3088F-AA4F-49C3-BB46-B04F3E35041A</RequestId>
</ResizeNodeCountResponse>
JSON
format
{
"RequestId": "D7D3088F-AA4F-49C3-BB46-B04F3E35041A"
}
Error codes
For a list of error codes, visit the API Error Center.