Restarts a Hologres instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hologram:RestartInstance |
update |
*Instance
|
None | None |
Request syntax
POST /api/v1/instances/{instanceId}/restart HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
hgprecn-cn-i7m2ucpyu005 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
36291497-CDB0-53DC-8CD7-762E054F57A6 |
| Data |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
| Success |
boolean |
Indicates whether an exception occurred during the request. This parameter is not related to the business outcome. |
true |
| ErrorCode |
string |
The error code. |
null |
| ErrorMessage |
string |
The error message. |
null |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "36291497-CDB0-53DC-8CD7-762E054F57A6",
"Data": true,
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.