Changing a Cluster Name
Function
Changing a Cluster Name
URI
PUT /v2/{project_id}/clusters/{cluster_id}/cluster-name
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
The project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
cluster_id |
Yes |
String |
The cluster ID. For details about how to obtain the cluster ID, see Obtaining a Cluster ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
cluster_name |
Yes |
String |
The new cluster name. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
result |
String |
The operation result of the mapping update request. Value **succeeded** indicates that the operation is successful, and value **failed** indicates that the operation fails. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
The error code. |
error_msg |
String |
The error message. |
Example Request
{ "cluster_name" : "mrs_jdRU_dm01" }
Example Response
Status code: 200
The cluster name is changed.
{ "result" : "succeeded" }
Status Codes
See Status Codes.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot