Description
Recreates a cluster instance by releasing the current instance and restarting a new instance.
Request syntax
POST /clusters/{ClusterId}/groups/{GroupName}/instances/{InstanceId}/recreate
Attribute description
| Attribute | Type | Required or Not | Description | |
|---|---|---|---|---|
| ClusterId | String | Yes | Cluster ID. | |
| GroupName | String | Yes | Name of a group in the cluster | |
| InstanceId | String | Yes | ID of the instance in the group. |
Response
Success
The 201 status code is returned.
Error codes
| Error code | Error message | Status code | Syntax |
|---|---|---|---|
| InvalidResource.NotFound | Specified resource is not found. | 404 | The user requested resource does not exist. |
| StateConflict | User operation is invalid. The current resource state is {state}. | 409 | The current resource is in {state} state. The operation is invalid. |