
ksyun.client.kmr.scaleininstancegroups.v20210902.ScaleInInstanceGroupsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ksyun-java-sdk Show documentation
Show all versions of ksyun-java-sdk Show documentation
The KSYUN Web Services SDK for Java provides Java APIs
for building software on KSYUN' cost-effective, scalable, and reliable
infrastructure products. The KSYUN Java SDK allows developers to code
against APIs for all of KSYUN's infrastructure web services (KSC
S3, KSC KEC, KSC RDS etc).
package ksyun.client.kmr.scaleininstancegroups.v20210902;
import common.annotation.KsYunField;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import java.util.List;
import java.util.Arrays;
/**
* @Classname ScaleInInstanceGroupsRequest
* @Description 请求参数
*/
@Data
public class ScaleInInstanceGroupsRequest{
/**集群ID*/
@KsYunField(name="ClusterId")
private String ClusterId;
/**要缩容的节点组,需要注意的是,一次只能对一个节点组进行操作*/
@KsYunField(name="InstanceGroups",type=2)
private List InstanceGroupsList;
@Data
@ToString
public static class InstanceGroupsDto {
/**节点组 id,需要注意的是,仅可对 Task 节点或 Gateway 节点进行缩容操作。节点组 id 可通过 DescribeCluster 接口获得*/
private String Id;
/**要缩容的实例列表,不支持缩容中间实例,如果要缩容中间实例需提工单处理*/
@KsYunField(name="instance",type=2)
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy