Uses of Class
com.tencentcloudapi.as.v20180419.models.ScaleInInstancesRequest
-
Packages that use ScaleInInstancesRequest Package Description com.tencentcloudapi.as.v20180419 com.tencentcloudapi.as.v20180419.models -
-
Uses of ScaleInInstancesRequest in com.tencentcloudapi.as.v20180419
Methods in com.tencentcloudapi.as.v20180419 with parameters of type ScaleInInstancesRequest Modifier and Type Method Description ScaleInInstancesResponseAsClient. ScaleInInstances(ScaleInInstancesRequest req)为伸缩组指定数量缩容实例,返回缩容活动的 ActivityId。 伸缩组需要未处于活动中 伸缩组处于停用状态时,该接口也会生效,可参考[停用伸缩组](https://cloud.tencent.com/document/api/377/20435)文档查看伸缩组停用状态的影响范围 根据伸缩组的`TerminationPolicies`策略,选择被缩容的实例,可参考[缩容处理](https://cloud.tencent.com/document/product/377/8563) 接口只会选择`IN_SERVICE`实例缩容,如果需要缩容其他状态实例,可以使用 [DetachInstances](https://cloud.tencent.com/document/api/377/20436) 或 [RemoveInstances](https://cloud.tencent.com/document/api/377/20431) 接口 接口会减少期望实例数,新的期望实例数需要大于等于最小实例数 缩容如果失败或者部分成功,最后期望实例数只会扣减实际缩容成功的实例数量 -
Uses of ScaleInInstancesRequest in com.tencentcloudapi.as.v20180419.models
Constructors in com.tencentcloudapi.as.v20180419.models with parameters of type ScaleInInstancesRequest Constructor Description ScaleInInstancesRequest(ScaleInInstancesRequest 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.
-