forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
6.7 KiB
6.7 KiB
Restarting a Cluster
Function
This API is used to restart a cluster. Restarting the cluster will interrupt ongoing services.
URI
POST /v1.0/{project_id}/clusters/{cluster_id}/restart
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 to be restarted. |
Request
None
Response
None
Examples
None
Status Code
Table 2 describes the status code.
Status Code |
Code |
Status Code Description |
---|---|---|
400 |
BadRequest |
Invalid request. The client should not repeat the request without modifications. |
404 |
NotFound |
The requested resource cannot be found. The client should not repeat the request without modifications. |
200 |
OK |
The request is processed successfully. |
Parent topic: Cluster Management APIs