Adding Nodes for a Cluster Instance
Function
This API is used to add nodes for a specified cluster instance.
Constraints
This API supports GaussDB(for Cassandra) instances.
- This API supports GaussDB(for Cassandra) instances.
- This API supports both yearly/monthly and pay-per-use DB instances.
URI
Requests
- Parameter description
Name
Mandatory
Type
Description
num
Yes
Integer
Specifies the number of new nodes.
is_auto_pay
No
String
Specifies the payment method. When creating a yearly/monthly DB instance, you can specify whether to automatically pay with your account. This parameter does not affect the payment method of automatic renewal.
true: indicates that the fee is automatically paid from the account.
false: indicates that the fee is manually paid from the account. This payment method is used by default.
- Request header
POST https://GaussDB_NoSQL_Endpoint/v3/{project_id}/instances/{instance_id}/enlarge-node - Example request
{ "num": 1 }
Responses
- Parameter description
Table 2 Parameter description Name
Type
Description
job_id
String
Specifies the task ID. This parameter is returned only for pay-per-use DB instances.
order_id
String
Specifies the order ID. This parameter is returned when a yearly/monthly instance is created.
- Response example
{ "job_id": "3711e2ad-5787-49bc-a47f-3f0b066af9f5" }Yearly/monthly DB instance
{ "order_id": "CS20070721568OVO9" }
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Last Article: Scaling Up Storage Space
Next Article: Deleting Nodes from a Cluster Instance
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.