Restarts a service instance in the Deployed state.
Operation description
Prerequisites
Ensure that the service provider enabled the restart O&M operation when the service was created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:RestartServiceInstance |
update |
*ServiceInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. The token must be unique for each request. The token can contain only ASCII characters and cannot be longer than 64 characters. |
123e4567-e89b-12d3-a456-42665544**** |
| RegionId |
string |
Yes |
The region ID of the service instance. |
cn-hangzhou |
| ServiceInstanceId |
string |
Yes |
The ID of the service instance. Call the ListServiceInstances operation to obtain the service instance ID. |
si-d6ab3a63ccbb4b17**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
13FE89A5-C036-56BF-A0FF-A31C59819FD7 |
Examples
Success response
JSON format
{
"RequestId": "13FE89A5-C036-56BF-A0FF-A31C59819FD7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.