Package | Description |
---|---|
com.tencentcloudapi.cvm.v20170312 |
Modifier and Type | Method and Description |
---|---|
StopInstancesResponse |
CvmClient.StopInstances(StopInstancesRequest req)
本接口 (StopInstances) 用于关闭一个或多个实例。
只有状态为`RUNNING`的实例才可以进行此操作。
接口调用成功时,实例会进入`STOPPING`状态;关闭实例成功时,实例会进入`STOPPED`状态。
支持强制关闭。强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
支持批量操作。每次请求批量实例的上限为100。
|
Copyright © 2019. All rights reserved.