Updates the number of nodes or specifications of a registry and configuration center cluster (supports both pay-as-you-go and subscription).
Operation description
Updates the number of nodes or specifications of a registry and configuration center cluster (supports both pay-as-you-go and subscription). Adding nodes or upgrading specifications will incur corresponding fees. For more information, see [Pricing](~~1806469~~).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateClusterSpec |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The cluster ID. |
mse-09k1q11**** |
| InstanceId |
string |
Yes |
The instance ID. |
mse-cn-st21ri2**** |
| InstanceCount |
integer |
No |
The number of destination nodes. |
3 |
| ClusterSpecification |
string |
No |
The destination engine specifications. |
MSE_SC_2_4_200_c |
| MseVersion |
string |
No |
The MSE version. |
mse_pro |
| PubNetworkFlow |
integer |
No |
Internet bandwidth |
|
| AutoPay |
boolean |
No |
Specifies whether to automatically pay after placing an order. If this value is false, this interface will return a payment URL for the order, which you can manually confirm to pay |
|
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
5B170A0D-2C5D-4CF8-B808-03966B86**** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The message. |
The request is successfully processed. |
| Code |
integer |
The response code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
string |
This is a reserved field. |
null |
| ErrorCode |
string |
The error code. Take note of the following items:
|
mse-100-000 |
Examples
Success response
JSON format
{
"RequestId": "5B170A0D-2C5D-4CF8-B808-03966B86****",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": "null",
"ErrorCode": "mse-100-000"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.