Call the RestartServiceInstance operation to restart a service instance whose status is Deployed.
Operation description
Prerequisites
Ensure that you add the restart Operations and Maintenance (O&M) operation when you create the service. For more information, see Create a service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:RestartServiceInstance |
update |
*ServiceInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter. The value of ClientToken can contain only ASCII characters. |
10CM943JP0EN9**** |
| 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 get the service instance ID. |
si-d6ab3a63ccbb4b17**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX |
Examples
Success response
JSON format
{
"RequestId": "B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.