Restarts a running Tair (Redis OSS-compatible) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:RestartInstance |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
r-bp1zxszhcgatnx**** |
| EffectiveTime |
string |
No |
The restart time. Default value: Immediately. Valid values:
|
Immediately |
| UpgradeMinorVersion |
boolean |
No |
Whether to update to the latest minor version during the restart. Valid values:
Note
The default value is true. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
EFC9161F-15E3-4A6E-8A99-C33331**** |
| InstanceId |
string |
The ID of the instance. |
r-bp1zxszhcgatnx**** |
| TaskId |
string |
The ID of the task. |
11111**** |
Examples
Success response
JSON format
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C33331****",
"InstanceId": "r-bp1zxszhcgatnx****",
"TaskId": "11111****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | IncorrectEngineVersion | Current engine version does not support this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.