forked from laiweijian4/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
6.1 KiB
6.1 KiB
Replacing a Node
Function
This API is used to replace a failed node.
Debugging
You can debug this API in . Automatic authentication is supported.
URI
PUT /v1.0/{project_id}/clusters/{cluster_id}/instance/{instance_id}/replace
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
cluster_id |
Yes |
String |
ID of the cluster where nodes are to be replaced |
instance_id |
Yes |
String |
ID of the node to be replaced |
Request Parameters
None
Response Parameters
None
Request Example
PUT /v1.0/{project_id}/clusters/{cluster_id}/instance/{instance_id}/replace
Response Example
None
Status Codes
Status Code |
Description |
---|---|
200 |
The request is processed successfully. |
400 |
Invalid request. Modify the request instead of retrying. |
404 |
The requested resource cannot be found. Modify the request instead of retrying. |
Parent topic: Cluster Management APIs