Restarts one or more cloud phone instances.
Operation description
You can restart an instance only when it is in the Available, Exception, Backup Failed, or Recovery Failed state.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AndroidInstanceIds |
array |
No |
The list of instance IDs. |
|
|
string |
No |
The instance ID. |
acp-sgicbcdadjs**** |
|
| ForceStop |
boolean |
No |
Specifies whether to force a restart. You can force a restart if a cloud phone cannot be shut down due to system or network exceptions. Unsaved data may be lost. Valid values:
|
false |
| SaleMode |
string |
No |
[Deprecated] The sales mode. Valid values:
|
Instance |
| IgnoreParamValidation |
boolean |
No |
Specifies whether to skip parameter validation. A value of true indicates that validation is skipped. If the value is false or not specified, validation is performed. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
227CBB4C-F5DC-589D-A667-C5CA3D52**** |
| Tasks |
object |
The task information. |
|
| ParentTaskId |
string |
The parent task ID. |
t-xxxx |
| ChildTasks |
array<object> |
The child tasks. |
|
|
object |
The child task object. |
||
| InstanceId |
string |
The instance ID. |
acp-xxxx |
| TaskId |
string |
The child task ID. |
t-xxxx |
Examples
Success response
JSON format
{
"RequestId": "227CBB4C-F5DC-589D-A667-C5CA3D52****",
"Tasks": {
"ParentTaskId": "t-xxxx",
"ChildTasks": [
{
"InstanceId": "acp-xxxx",
"TaskId": "t-xxxx"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.