This operation stops a service instance that is in the Deployed or StopFailed state.
Operation description
Prerequisites
Ensure that you configured the startup and shutdown operations and maintenance (O&M) when you created 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:StopServiceInstance |
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 on your client. The token 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 obtain the service instance ID. |
si-c39ed4779cec449f**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema. |
||
| RequestId |
string |
The request ID. |
49A369EF-A302-5006-B0CE-94CED47C38CF |
Examples
Success response
JSON format
{
"RequestId": "49A369EF-A302-5006-B0CE-94CED47C38CF"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.