Products

Cloud Physical Server

2019-02-22 06:12:50

stopInstance

Description

To execute the shutdown operation to a single Cloud Physical Server, only the running server can be stopped

Request method

PUT

Request address

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

Request parameter

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

Response parameter

Name Type Description
result Result
requestId String

Result

Name Type Description
success Boolean Whether is the shutdown operation successful

Response code

Return code Description
200 OK
400 Bad request
404 Not found
500 Internal server error
503 Service unavailable
Feedback

开始与售前顾问沟通

可直接拨打电话 400-098-8505转1

我们的产品专家为您找到最合适的产品/解决⽅案

在线咨询 5*8⼩时

1v1线上咨询获取售前专业咨询

点击咨询
企微服务助手

专业产品顾问,随时随地沟通