To execute the shutdown operation to a single Cloud Physical Server, only the running server can be stopped
PUT
https://cps.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}:stopInstance
Name | Type | Required or not | Default value | Description |
---|---|---|---|---|
regionId | String | True | Region ID, the Region and Availability Zone Supported by the Cloud Physical Servers can be Obtained by Calling API (describeRegions) | |
instanceId | String | True | Cloud Physical Server ID |
Name | Type | Required or not | Default value | Description |
---|---|---|---|---|
clientToken | String | False | Generated by the client to ensure the idempotence of the request, and the length cannot exceed 36 characters; If multiple requests use the same clientToken, only the first request will be executed, and the following requests will directly return the result of the first request |
Name | Type | Description |
---|---|---|
result | Result | |
requestId | String |
Name | Type | Description |
---|---|---|
success | Boolean | Whether is the shutdown operation successful |
Return code | Description |
---|---|
200 | OK |
400 | Bad request |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通