Package | Description |
---|---|
com.tencentcloudapi.as.v20180419 | |
com.tencentcloudapi.as.v20180419.models |
Modifier and Type | Method and Description |
---|---|
StopAutoScalingInstancesResponse |
AsClient.StopAutoScalingInstances(StopAutoScalingInstancesRequest req)
本接口(StopAutoScalingInstances)用于关闭伸缩组内 CVM 实例。
关机方式采用`SOFT_FIRST`方式,表示在正常关闭失败后进行强制关闭
关闭`IN_SERVICE`状态的实例,会减少期望实例数,期望实例数不可低于设置的最小值
使用`STOP_CHARGING`选项关机,待关机的实例需要满足[关机不收费条件](https://cloud.tencent.com/document/product/213/19918)
本接口支持批量操作,每次请求关机实例的上限为100
|
Constructor and Description |
---|
StopAutoScalingInstancesRequest(StopAutoScalingInstancesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2022. All rights reserved.