Call the StopServiceInstance operation to shut down a service instance that is in the Deployed or StopFailed state.
Operation description
Prerequisites
Ensure that the service provider configured the Operations and Maintenance (O&M) operations for startup and shutdown when the service was created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:StopServiceInstance |
update |
*ServiceInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique token 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 ID of the region where the service instance resides. |
cn-hangzhou |
| ServiceInstanceId |
string |
Yes |
The ID of the service instance. Call the ListServiceInstances operation to obtain the service instance ID. |
si-b58c874912fc4294**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
4DB0F536-B3BE-4F0D-BD29-E83FB56D550C |
Examples
Success response
JSON format
{
"RequestId": "4DB0F536-B3BE-4F0D-BD29-E83FB56D550C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.