Updates a cluster.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the cluster. |
xxljob-c20f7ec9a78 |
| ClusterName |
string |
Yes |
The name of the cluster. |
xx-test-1107 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned in the response. |
||
| Code |
integer |
The response code. |
200 |
| RequestId |
string |
The unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues. |
EEF9AF15-AEEF-5E59-BF7B-BCBB119DC53F |
| Message |
string |
The error message returned if the request fails. |
Parameter error: content is null. |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Examples
Success response
JSON format
{
"Code": 200,
"RequestId": "EEF9AF15-AEEF-5E59-BF7B-BCBB119DC53F",
"Message": "Parameter error: content is null.",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Parameter error: %s. | Parameter error: %s |
| 401 | IllegalRequest | IllegalRequest: %s. | Illegal request:%s |
| 500 | InternalError | InternalError: %s. | System Internal Error: %s |
| 403 | NoPermission | No permission to perform this operation: %s. | No permission to perform this operation: %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.