Package | Description |
---|---|
com.tencentcloudapi.as.v20180419 | |
com.tencentcloudapi.as.v20180419.models |
Modifier and Type | Method and Description |
---|---|
RemoveInstancesResponse |
AsClient.RemoveInstances(RemoveInstancesRequest req)
本接口(RemoveInstances)用于从伸缩组删除 CVM 实例。根据当前的产品逻辑,如果实例由弹性伸缩自动创建,则实例会被销毁;如果实例系创建后加入伸缩组的,则会从伸缩组中移除,保留实例。
如果删除指定实例后,伸缩组内处于`IN_SERVICE`状态的实例数量小于伸缩组最小值,接口将报错
如果伸缩组处于`DISABLED`状态,删除操作不校验`IN_SERVICE`实例数量和最小值的关系
对于伸缩组配置的 CLB,实例在离开伸缩组时,AS 会进行解挂载动作
|
Constructor and Description |
---|
RemoveInstancesResponse(RemoveInstancesResponse 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.