diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClient.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClient.java
index a4d223ed..5d3d79ba 100644
--- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClient.java
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClient.java
@@ -17,6 +17,8 @@
import cn.ucloud.common.config.Config;
import cn.ucloud.common.credential.Credential;
import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.uk8s.models.AddUK8SAutoScalingGroupV2Request;
+import cn.ucloud.uk8s.models.AddUK8SAutoScalingGroupV2Response;
import cn.ucloud.uk8s.models.AddUK8SExistingUHostRequest;
import cn.ucloud.uk8s.models.AddUK8SExistingUHostResponse;
import cn.ucloud.uk8s.models.AddUK8SNodeGroupRequest;
@@ -33,16 +35,34 @@
import cn.ucloud.uk8s.models.DelUK8SClusterNodeV2Response;
import cn.ucloud.uk8s.models.DelUK8SClusterRequest;
import cn.ucloud.uk8s.models.DelUK8SClusterResponse;
+import cn.ucloud.uk8s.models.DeleteUK8SAutoScalingGroupRequest;
+import cn.ucloud.uk8s.models.DeleteUK8SAutoScalingGroupResponse;
import cn.ucloud.uk8s.models.DeleteUK8SULSConfigRequest;
import cn.ucloud.uk8s.models.DeleteUK8SULSConfigResponse;
+import cn.ucloud.uk8s.models.DescribeUK8SAutoscalerGroupRequest;
+import cn.ucloud.uk8s.models.DescribeUK8SAutoscalerGroupResponse;
import cn.ucloud.uk8s.models.DescribeUK8SClusterRequest;
import cn.ucloud.uk8s.models.DescribeUK8SClusterResponse;
import cn.ucloud.uk8s.models.DescribeUK8SImageRequest;
import cn.ucloud.uk8s.models.DescribeUK8SImageResponse;
import cn.ucloud.uk8s.models.DescribeUK8SNodeRequest;
import cn.ucloud.uk8s.models.DescribeUK8SNodeResponse;
+import cn.ucloud.uk8s.models.EnableUK8SAutoscalerRequest;
+import cn.ucloud.uk8s.models.EnableUK8SAutoscalerResponse;
import cn.ucloud.uk8s.models.GetClusterConfigRequest;
import cn.ucloud.uk8s.models.GetClusterConfigResponse;
+import cn.ucloud.uk8s.models.GetUK8SAvailableInstanceTypesRequest;
+import cn.ucloud.uk8s.models.GetUK8SAvailableInstanceTypesResponse;
+import cn.ucloud.uk8s.models.GetUK8SCNINodeInfoRequest;
+import cn.ucloud.uk8s.models.GetUK8SCNINodeInfoResponse;
+import cn.ucloud.uk8s.models.GetUK8SIpamdStatusRequest;
+import cn.ucloud.uk8s.models.GetUK8SIpamdStatusResponse;
+import cn.ucloud.uk8s.models.GetUK8SLoadBalancerControllerRequest;
+import cn.ucloud.uk8s.models.GetUK8SLoadBalancerControllerResponse;
+import cn.ucloud.uk8s.models.GetUK8SNodeGroupRequest;
+import cn.ucloud.uk8s.models.GetUK8SNodeGroupResponse;
+import cn.ucloud.uk8s.models.GetUK8SPluginInfoRequest;
+import cn.ucloud.uk8s.models.GetUK8SPluginInfoResponse;
import cn.ucloud.uk8s.models.GetUK8SVersionsRequest;
import cn.ucloud.uk8s.models.GetUK8SVersionsResponse;
import cn.ucloud.uk8s.models.ListUK8SClusterNodeV2Request;
@@ -57,6 +77,10 @@
import cn.ucloud.uk8s.models.ModifyUK8SClusterNameResponse;
import cn.ucloud.uk8s.models.RemoveUK8SNodeGroupRequest;
import cn.ucloud.uk8s.models.RemoveUK8SNodeGroupResponse;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoScalingGroupV2Request;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoScalingGroupV2Response;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoscalerRequest;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoscalerResponse;
import cn.ucloud.uk8s.models.UpdateUK8SNodeGroupRequest;
import cn.ucloud.uk8s.models.UpdateUK8SNodeGroupResponse;
import cn.ucloud.uk8s.models.UpdateUK8SULSConfigRequest;
@@ -68,6 +92,19 @@ public UK8SClient(Config config, Credential credential) {
super(config, credential);
}
+ /**
+ * AddUK8SAutoScalingGroupV2 - 集群增加伸缩组V2
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public AddUK8SAutoScalingGroupV2Response addUK8SAutoScalingGroupV2(
+ AddUK8SAutoScalingGroupV2Request request) throws UCloudException {
+ request.setAction("AddUK8SAutoScalingGroupV2");
+ return (AddUK8SAutoScalingGroupV2Response)
+ this.invoke(request, AddUK8SAutoScalingGroupV2Response.class);
+ }
+
/**
* AddUK8SExistingUHost - 添加Node节点(已有云主机)
*
@@ -168,6 +205,19 @@ public DelUK8SClusterNodeV2Response delUK8SClusterNodeV2(DelUK8SClusterNodeV2Req
this.invoke(request, DelUK8SClusterNodeV2Response.class);
}
+ /**
+ * DeleteUK8SAutoScalingGroup - 删除伸缩组
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUK8SAutoScalingGroupResponse deleteUK8SAutoScalingGroup(
+ DeleteUK8SAutoScalingGroupRequest request) throws UCloudException {
+ request.setAction("DeleteUK8SAutoScalingGroup");
+ return (DeleteUK8SAutoScalingGroupResponse)
+ this.invoke(request, DeleteUK8SAutoScalingGroupResponse.class);
+ }
+
/**
* DeleteUK8SULSConfig - 删除UK8S日志采集配置
*
@@ -181,6 +231,19 @@ public DeleteUK8SULSConfigResponse deleteUK8SULSConfig(DeleteUK8SULSConfigReques
this.invoke(request, DeleteUK8SULSConfigResponse.class);
}
+ /**
+ * DescribeUK8SAutoscalerGroup - 获取AutoscalerGroup信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUK8SAutoscalerGroupResponse describeUK8SAutoscalerGroup(
+ DescribeUK8SAutoscalerGroupRequest request) throws UCloudException {
+ request.setAction("DescribeUK8SAutoscalerGroup");
+ return (DescribeUK8SAutoscalerGroupResponse)
+ this.invoke(request, DescribeUK8SAutoscalerGroupResponse.class);
+ }
+
/**
* DescribeUK8SCluster - 获取集群信息
*
@@ -218,6 +281,19 @@ public DescribeUK8SNodeResponse describeUK8SNode(DescribeUK8SNodeRequest request
return (DescribeUK8SNodeResponse) this.invoke(request, DescribeUK8SNodeResponse.class);
}
+ /**
+ * EnableUK8SAutoscaler - 开启/关闭伸缩器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public EnableUK8SAutoscalerResponse enableUK8SAutoscaler(EnableUK8SAutoscalerRequest request)
+ throws UCloudException {
+ request.setAction("EnableUK8SAutoscaler");
+ return (EnableUK8SAutoscalerResponse)
+ this.invoke(request, EnableUK8SAutoscalerResponse.class);
+ }
+
/**
* GetClusterConfig - 获取集群配置文件
*
@@ -230,6 +306,80 @@ public GetClusterConfigResponse getClusterConfig(GetClusterConfigRequest request
return (GetClusterConfigResponse) this.invoke(request, GetClusterConfigResponse.class);
}
+ /**
+ * GetUK8SAvailableInstanceTypes - 获取可用机型
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SAvailableInstanceTypesResponse getUK8SAvailableInstanceTypes(
+ GetUK8SAvailableInstanceTypesRequest request) throws UCloudException {
+ request.setAction("GetUK8SAvailableInstanceTypes");
+ return (GetUK8SAvailableInstanceTypesResponse)
+ this.invoke(request, GetUK8SAvailableInstanceTypesResponse.class);
+ }
+
+ /**
+ * GetUK8SCNINodeInfo - 获取 UK8S CNI 节点信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SCNINodeInfoResponse getUK8SCNINodeInfo(GetUK8SCNINodeInfoRequest request)
+ throws UCloudException {
+ request.setAction("GetUK8SCNINodeInfo");
+ return (GetUK8SCNINodeInfoResponse) this.invoke(request, GetUK8SCNINodeInfoResponse.class);
+ }
+
+ /**
+ * GetUK8SIpamdStatus - 获取ipamd插件的状态
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SIpamdStatusResponse getUK8SIpamdStatus(GetUK8SIpamdStatusRequest request)
+ throws UCloudException {
+ request.setAction("GetUK8SIpamdStatus");
+ return (GetUK8SIpamdStatusResponse) this.invoke(request, GetUK8SIpamdStatusResponse.class);
+ }
+
+ /**
+ * GetUK8SLoadBalancerController - 获取 uk8s LoadBalancerController
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SLoadBalancerControllerResponse getUK8SLoadBalancerController(
+ GetUK8SLoadBalancerControllerRequest request) throws UCloudException {
+ request.setAction("GetUK8SLoadBalancerController");
+ return (GetUK8SLoadBalancerControllerResponse)
+ this.invoke(request, GetUK8SLoadBalancerControllerResponse.class);
+ }
+
+ /**
+ * GetUK8SNodeGroup - 列出某个UK8S节点池
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SNodeGroupResponse getUK8SNodeGroup(GetUK8SNodeGroupRequest request)
+ throws UCloudException {
+ request.setAction("GetUK8SNodeGroup");
+ return (GetUK8SNodeGroupResponse) this.invoke(request, GetUK8SNodeGroupResponse.class);
+ }
+
+ /**
+ * GetUK8SPluginInfo - 查询集群插件信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SPluginInfoResponse getUK8SPluginInfo(GetUK8SPluginInfoRequest request)
+ throws UCloudException {
+ request.setAction("GetUK8SPluginInfo");
+ return (GetUK8SPluginInfoResponse) this.invoke(request, GetUK8SPluginInfoResponse.class);
+ }
+
/**
* GetUK8SVersions - 获取支持创建的UK8S集群版本
*
@@ -317,6 +467,32 @@ public RemoveUK8SNodeGroupResponse removeUK8SNodeGroup(RemoveUK8SNodeGroupReques
this.invoke(request, RemoveUK8SNodeGroupResponse.class);
}
+ /**
+ * UpdateUK8SAutoScalingGroupV2 - 集群修改伸缩组V2
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUK8SAutoScalingGroupV2Response updateUK8SAutoScalingGroupV2(
+ UpdateUK8SAutoScalingGroupV2Request request) throws UCloudException {
+ request.setAction("UpdateUK8SAutoScalingGroupV2");
+ return (UpdateUK8SAutoScalingGroupV2Response)
+ this.invoke(request, UpdateUK8SAutoScalingGroupV2Response.class);
+ }
+
+ /**
+ * UpdateUK8SAutoscaler - 更新伸缩器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUK8SAutoscalerResponse updateUK8SAutoscaler(UpdateUK8SAutoscalerRequest request)
+ throws UCloudException {
+ request.setAction("UpdateUK8SAutoscaler");
+ return (UpdateUK8SAutoscalerResponse)
+ this.invoke(request, UpdateUK8SAutoscalerResponse.class);
+ }
+
/**
* UpdateUK8SNodeGroup - 修改UK8S节点池
*
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClientInterface.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClientInterface.java
index 412c4734..40136d51 100644
--- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClientInterface.java
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/client/UK8SClientInterface.java
@@ -15,6 +15,8 @@
import cn.ucloud.common.client.Client;
import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.uk8s.models.AddUK8SAutoScalingGroupV2Request;
+import cn.ucloud.uk8s.models.AddUK8SAutoScalingGroupV2Response;
import cn.ucloud.uk8s.models.AddUK8SExistingUHostRequest;
import cn.ucloud.uk8s.models.AddUK8SExistingUHostResponse;
import cn.ucloud.uk8s.models.AddUK8SNodeGroupRequest;
@@ -31,16 +33,34 @@
import cn.ucloud.uk8s.models.DelUK8SClusterNodeV2Response;
import cn.ucloud.uk8s.models.DelUK8SClusterRequest;
import cn.ucloud.uk8s.models.DelUK8SClusterResponse;
+import cn.ucloud.uk8s.models.DeleteUK8SAutoScalingGroupRequest;
+import cn.ucloud.uk8s.models.DeleteUK8SAutoScalingGroupResponse;
import cn.ucloud.uk8s.models.DeleteUK8SULSConfigRequest;
import cn.ucloud.uk8s.models.DeleteUK8SULSConfigResponse;
+import cn.ucloud.uk8s.models.DescribeUK8SAutoscalerGroupRequest;
+import cn.ucloud.uk8s.models.DescribeUK8SAutoscalerGroupResponse;
import cn.ucloud.uk8s.models.DescribeUK8SClusterRequest;
import cn.ucloud.uk8s.models.DescribeUK8SClusterResponse;
import cn.ucloud.uk8s.models.DescribeUK8SImageRequest;
import cn.ucloud.uk8s.models.DescribeUK8SImageResponse;
import cn.ucloud.uk8s.models.DescribeUK8SNodeRequest;
import cn.ucloud.uk8s.models.DescribeUK8SNodeResponse;
+import cn.ucloud.uk8s.models.EnableUK8SAutoscalerRequest;
+import cn.ucloud.uk8s.models.EnableUK8SAutoscalerResponse;
import cn.ucloud.uk8s.models.GetClusterConfigRequest;
import cn.ucloud.uk8s.models.GetClusterConfigResponse;
+import cn.ucloud.uk8s.models.GetUK8SAvailableInstanceTypesRequest;
+import cn.ucloud.uk8s.models.GetUK8SAvailableInstanceTypesResponse;
+import cn.ucloud.uk8s.models.GetUK8SCNINodeInfoRequest;
+import cn.ucloud.uk8s.models.GetUK8SCNINodeInfoResponse;
+import cn.ucloud.uk8s.models.GetUK8SIpamdStatusRequest;
+import cn.ucloud.uk8s.models.GetUK8SIpamdStatusResponse;
+import cn.ucloud.uk8s.models.GetUK8SLoadBalancerControllerRequest;
+import cn.ucloud.uk8s.models.GetUK8SLoadBalancerControllerResponse;
+import cn.ucloud.uk8s.models.GetUK8SNodeGroupRequest;
+import cn.ucloud.uk8s.models.GetUK8SNodeGroupResponse;
+import cn.ucloud.uk8s.models.GetUK8SPluginInfoRequest;
+import cn.ucloud.uk8s.models.GetUK8SPluginInfoResponse;
import cn.ucloud.uk8s.models.GetUK8SVersionsRequest;
import cn.ucloud.uk8s.models.GetUK8SVersionsResponse;
import cn.ucloud.uk8s.models.ListUK8SClusterNodeV2Request;
@@ -55,6 +75,10 @@
import cn.ucloud.uk8s.models.ModifyUK8SClusterNameResponse;
import cn.ucloud.uk8s.models.RemoveUK8SNodeGroupRequest;
import cn.ucloud.uk8s.models.RemoveUK8SNodeGroupResponse;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoScalingGroupV2Request;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoScalingGroupV2Response;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoscalerRequest;
+import cn.ucloud.uk8s.models.UpdateUK8SAutoscalerResponse;
import cn.ucloud.uk8s.models.UpdateUK8SNodeGroupRequest;
import cn.ucloud.uk8s.models.UpdateUK8SNodeGroupResponse;
import cn.ucloud.uk8s.models.UpdateUK8SULSConfigRequest;
@@ -63,6 +87,15 @@
/** This client is used to call actions of **UK8S** service */
public interface UK8SClientInterface extends Client {
+ /**
+ * AddUK8SAutoScalingGroupV2 - 集群增加伸缩组V2
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public AddUK8SAutoScalingGroupV2Response addUK8SAutoScalingGroupV2(
+ AddUK8SAutoScalingGroupV2Request request) throws UCloudException;
+
/**
* AddUK8SExistingUHost - 添加Node节点(已有云主机)
*
@@ -135,6 +168,15 @@ public DelUK8SClusterResponse delUK8SCluster(DelUK8SClusterRequest request)
public DelUK8SClusterNodeV2Response delUK8SClusterNodeV2(DelUK8SClusterNodeV2Request request)
throws UCloudException;
+ /**
+ * DeleteUK8SAutoScalingGroup - 删除伸缩组
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUK8SAutoScalingGroupResponse deleteUK8SAutoScalingGroup(
+ DeleteUK8SAutoScalingGroupRequest request) throws UCloudException;
+
/**
* DeleteUK8SULSConfig - 删除UK8S日志采集配置
*
@@ -144,6 +186,15 @@ public DelUK8SClusterNodeV2Response delUK8SClusterNodeV2(DelUK8SClusterNodeV2Req
public DeleteUK8SULSConfigResponse deleteUK8SULSConfig(DeleteUK8SULSConfigRequest request)
throws UCloudException;
+ /**
+ * DescribeUK8SAutoscalerGroup - 获取AutoscalerGroup信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUK8SAutoscalerGroupResponse describeUK8SAutoscalerGroup(
+ DescribeUK8SAutoscalerGroupRequest request) throws UCloudException;
+
/**
* DescribeUK8SCluster - 获取集群信息
*
@@ -171,6 +222,15 @@ public DescribeUK8SImageResponse describeUK8SImage(DescribeUK8SImageRequest requ
public DescribeUK8SNodeResponse describeUK8SNode(DescribeUK8SNodeRequest request)
throws UCloudException;
+ /**
+ * EnableUK8SAutoscaler - 开启/关闭伸缩器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public EnableUK8SAutoscalerResponse enableUK8SAutoscaler(EnableUK8SAutoscalerRequest request)
+ throws UCloudException;
+
/**
* GetClusterConfig - 获取集群配置文件
*
@@ -180,6 +240,60 @@ public DescribeUK8SNodeResponse describeUK8SNode(DescribeUK8SNodeRequest request
public GetClusterConfigResponse getClusterConfig(GetClusterConfigRequest request)
throws UCloudException;
+ /**
+ * GetUK8SAvailableInstanceTypes - 获取可用机型
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SAvailableInstanceTypesResponse getUK8SAvailableInstanceTypes(
+ GetUK8SAvailableInstanceTypesRequest request) throws UCloudException;
+
+ /**
+ * GetUK8SCNINodeInfo - 获取 UK8S CNI 节点信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SCNINodeInfoResponse getUK8SCNINodeInfo(GetUK8SCNINodeInfoRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUK8SIpamdStatus - 获取ipamd插件的状态
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SIpamdStatusResponse getUK8SIpamdStatus(GetUK8SIpamdStatusRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUK8SLoadBalancerController - 获取 uk8s LoadBalancerController
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SLoadBalancerControllerResponse getUK8SLoadBalancerController(
+ GetUK8SLoadBalancerControllerRequest request) throws UCloudException;
+
+ /**
+ * GetUK8SNodeGroup - 列出某个UK8S节点池
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SNodeGroupResponse getUK8SNodeGroup(GetUK8SNodeGroupRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUK8SPluginInfo - 查询集群插件信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUK8SPluginInfoResponse getUK8SPluginInfo(GetUK8SPluginInfoRequest request)
+ throws UCloudException;
+
/**
* GetUK8SVersions - 获取支持创建的UK8S集群版本
*
@@ -243,6 +357,24 @@ public ModifyUK8SClusterNameResponse modifyUK8SClusterName(ModifyUK8SClusterName
public RemoveUK8SNodeGroupResponse removeUK8SNodeGroup(RemoveUK8SNodeGroupRequest request)
throws UCloudException;
+ /**
+ * UpdateUK8SAutoScalingGroupV2 - 集群修改伸缩组V2
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUK8SAutoScalingGroupV2Response updateUK8SAutoScalingGroupV2(
+ UpdateUK8SAutoScalingGroupV2Request request) throws UCloudException;
+
+ /**
+ * UpdateUK8SAutoscaler - 更新伸缩器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUK8SAutoscalerResponse updateUK8SAutoscaler(UpdateUK8SAutoscalerRequest request)
+ throws UCloudException;
+
/**
* UpdateUK8SNodeGroup - 修改UK8S节点池
*
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Request.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Request.java
new file mode 100644
index 00000000..7ec13e48
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Request.java
@@ -0,0 +1,416 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class AddUK8SAutoScalingGroupV2Request extends Request {
+
+ /** 可用区 */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /** 项目ID */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 地域 */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 伸缩组名字 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 节点CPU大小 */
+ @NotEmpty
+ @UCloudParam("CPU")
+ private Integer cpu;
+
+ /** 节点Mem大小 */
+ @NotEmpty
+ @UCloudParam("Mem")
+ private Integer mem;
+
+ /** 云主机机型。该参数仍需传入;实际节点规格取自绑定的节点池。 */
+ @NotEmpty
+ @UCloudParam("MachineType")
+ private String machineType;
+
+ /** 最小节点数,范围 0–100,且不得大于 Max。必须显式传入,允许为 0。 */
+ @NotEmpty
+ @UCloudParam("Min")
+ private Integer min;
+
+ /** 最大节点数,范围 1–100,且不得小于 Min。 */
+ @NotEmpty
+ @UCloudParam("Max")
+ private Integer max;
+
+ /** 伸缩组绑定的有效节点池 ID。当前实现必须提供,节点配置取自该节点池。 */
+ @NotEmpty
+ @UCloudParam("NodeGroupId")
+ private String nodeGroupId;
+
+ /** Base64 编码的节点登录密码。LoginMode 为 Password(默认)时必填,不会自动生成随机密码;KeyPair 模式下可不填。 */
+ @UCloudParam("Password")
+ private String password;
+
+ /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。默认为SSD云盘 */
+ @UCloudParam("BootDiskType")
+ private String bootDiskType;
+
+ /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。默认为SSD云盘 */
+ @UCloudParam("DataDiskType")
+ private String dataDiskType;
+
+ /** 数据磁盘大小,单位GB。默认0。范围 :[20, 1000] */
+ @UCloudParam("DataDiskSize")
+ private Integer dataDiskSize;
+
+ /** 最低 CPU 平台的兼容字段;同时提供 MinimalCpuPlatform 时以其为准。 */
+ @UCloudParam("MinmalCpuPlatform")
+ private String minmalCpuPlatform;
+
+ /** GPU 类型;实际节点规格取自绑定的节点池。 */
+ @UCloudParam("GpuType")
+ private String gpuType;
+
+ /** GPU卡核心数。仅GPU机型支持此字段 */
+ @UCloudParam("GPU")
+ private Integer gpu;
+
+ /** key=value,多组用”,“隔开,最多5组 */
+ @UCloudParam("Labels")
+ private String labels;
+
+ /** 默认110, 支持16-512 */
+ @UCloudParam("MaxPods")
+ private Integer maxPods;
+
+ /** 系统盘大小,单位GB。默认40。范围:[40, 500]。注意SSD本地盘无法调整。 */
+ @UCloudParam("BootDiskSize")
+ private Integer bootDiskSize;
+
+ /** 镜像 Id,不填时后台程序会自动选用一个可用的镜像 Id,不支持用户自定义镜像,传入自定义镜像 Id 将报错 */
+ @UCloudParam("ImageId")
+ private String imageId;
+
+ /** Base64 编码的 cloud-init 用户数据。 */
+ @UCloudParam("UserData")
+ private String userData;
+
+ /** Base64 编码的用户脚本,在 UK8S 节点初始化完成后执行。 */
+ @UCloudParam("InitScript")
+ private String initScript;
+
+ /** 计费模式:Year、Month、Dynamic、Postpay,默认 Dynamic。此接口不接受 Preemptive。 */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 硬件隔离组id。可通过DescribeIsolationGroup获取。 */
+ @UCloudParam("IsolationGroup")
+ private String isolationGroup;
+
+ /** Node节点污点,形式为key=value:effect,多组taints用”,“隔开,最多支持五组。 */
+ @UCloudParam("Taints")
+ private String taints;
+
+ /** 业务组 */
+ @UCloudParam("Tag")
+ private String tag;
+
+ /** 伸缩组的优先级,取值[1, 100],数值越大优先级越高,在扩容的时候会被更优先考虑。 */
+ @UCloudParam("Priority")
+ private Integer priority;
+
+ /** 节点登录方式:Password 或 KeyPair,默认 Password。 */
+ @UCloudParam("LoginMode")
+ private String loginMode;
+
+ /** 登录密钥对 ID。LoginMode 为 KeyPair 时必填。 */
+ @UCloudParam("KeyPairId")
+ private String keyPairId;
+
+ /** 最低 CPU 平台;优先于兼容字段 MinmalCpuPlatform。 */
+ @UCloudParam("MinimalCpuPlatform")
+ private String minimalCpuPlatform;
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getCPU() {
+ return cpu;
+ }
+
+ public void setCPU(Integer cpu) {
+ this.cpu = cpu;
+ }
+
+ public Integer getMem() {
+ return mem;
+ }
+
+ public void setMem(Integer mem) {
+ this.mem = mem;
+ }
+
+ public String getMachineType() {
+ return machineType;
+ }
+
+ public void setMachineType(String machineType) {
+ this.machineType = machineType;
+ }
+
+ public Integer getMin() {
+ return min;
+ }
+
+ public void setMin(Integer min) {
+ this.min = min;
+ }
+
+ public Integer getMax() {
+ return max;
+ }
+
+ public void setMax(Integer max) {
+ this.max = max;
+ }
+
+ public String getNodeGroupId() {
+ return nodeGroupId;
+ }
+
+ public void setNodeGroupId(String nodeGroupId) {
+ this.nodeGroupId = nodeGroupId;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public String getBootDiskType() {
+ return bootDiskType;
+ }
+
+ public void setBootDiskType(String bootDiskType) {
+ this.bootDiskType = bootDiskType;
+ }
+
+ public String getDataDiskType() {
+ return dataDiskType;
+ }
+
+ public void setDataDiskType(String dataDiskType) {
+ this.dataDiskType = dataDiskType;
+ }
+
+ public Integer getDataDiskSize() {
+ return dataDiskSize;
+ }
+
+ public void setDataDiskSize(Integer dataDiskSize) {
+ this.dataDiskSize = dataDiskSize;
+ }
+
+ public String getMinmalCpuPlatform() {
+ return minmalCpuPlatform;
+ }
+
+ public void setMinmalCpuPlatform(String minmalCpuPlatform) {
+ this.minmalCpuPlatform = minmalCpuPlatform;
+ }
+
+ public String getGpuType() {
+ return gpuType;
+ }
+
+ public void setGpuType(String gpuType) {
+ this.gpuType = gpuType;
+ }
+
+ public Integer getGPU() {
+ return gpu;
+ }
+
+ public void setGPU(Integer gpu) {
+ this.gpu = gpu;
+ }
+
+ public String getLabels() {
+ return labels;
+ }
+
+ public void setLabels(String labels) {
+ this.labels = labels;
+ }
+
+ public Integer getMaxPods() {
+ return maxPods;
+ }
+
+ public void setMaxPods(Integer maxPods) {
+ this.maxPods = maxPods;
+ }
+
+ public Integer getBootDiskSize() {
+ return bootDiskSize;
+ }
+
+ public void setBootDiskSize(Integer bootDiskSize) {
+ this.bootDiskSize = bootDiskSize;
+ }
+
+ public String getImageId() {
+ return imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ }
+
+ public String getUserData() {
+ return userData;
+ }
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ }
+
+ public String getInitScript() {
+ return initScript;
+ }
+
+ public void setInitScript(String initScript) {
+ this.initScript = initScript;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public String getIsolationGroup() {
+ return isolationGroup;
+ }
+
+ public void setIsolationGroup(String isolationGroup) {
+ this.isolationGroup = isolationGroup;
+ }
+
+ public String getTaints() {
+ return taints;
+ }
+
+ public void setTaints(String taints) {
+ this.taints = taints;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public Integer getPriority() {
+ return priority;
+ }
+
+ public void setPriority(Integer priority) {
+ this.priority = priority;
+ }
+
+ public String getLoginMode() {
+ return loginMode;
+ }
+
+ public void setLoginMode(String loginMode) {
+ this.loginMode = loginMode;
+ }
+
+ public String getKeyPairId() {
+ return keyPairId;
+ }
+
+ public void setKeyPairId(String keyPairId) {
+ this.keyPairId = keyPairId;
+ }
+
+ public String getMinimalCpuPlatform() {
+ return minimalCpuPlatform;
+ }
+
+ public void setMinimalCpuPlatform(String minimalCpuPlatform) {
+ this.minimalCpuPlatform = minimalCpuPlatform;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Response.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Response.java
new file mode 100644
index 00000000..9e8f96d6
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/AddUK8SAutoScalingGroupV2Response.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class AddUK8SAutoScalingGroupV2Response extends Response {
+
+ /** 创建的伸缩组 ID。 */
+ @SerializedName("AsgId")
+ private String asgId;
+
+ public String getAsgId() {
+ return asgId;
+ }
+
+ public void setAsgId(String asgId) {
+ this.asgId = asgId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupRequest.java
new file mode 100644
index 00000000..743f5378
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupRequest.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteUK8SAutoScalingGroupRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 伸缩组ID */
+ @NotEmpty
+ @UCloudParam("Id")
+ private String id;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupResponse.java
new file mode 100644
index 00000000..30389afd
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DeleteUK8SAutoScalingGroupResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUK8SAutoScalingGroupResponse extends Response {}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupRequest.java
new file mode 100644
index 00000000..65ef57d6
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupRequest.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUK8SAutoscalerGroupRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区,可选。此接口按集群 ID 查询。 */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群id */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupResponse.java
new file mode 100644
index 00000000..0dcd51b7
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SAutoscalerGroupResponse.java
@@ -0,0 +1,1066 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeUK8SAutoscalerGroupResponse extends Response {
+
+ /** 伸缩器 */
+ @SerializedName("Autoscaler")
+ private Autoscaler autoscaler;
+
+ /** 伸缩组列表 */
+ @SerializedName("AutoScalingGroup")
+ private List autoScalingGroup;
+
+ /** 0:无需更新 1:有更新 2:强制更新 */
+ @SerializedName("Update")
+ private Integer update;
+
+ public Autoscaler getAutoscaler() {
+ return autoscaler;
+ }
+
+ public void setAutoscaler(Autoscaler autoscaler) {
+ this.autoscaler = autoscaler;
+ }
+
+ public List getAutoScalingGroup() {
+ return autoScalingGroup;
+ }
+
+ public void setAutoScalingGroup(List autoScalingGroup) {
+ this.autoScalingGroup = autoScalingGroup;
+ }
+
+ public Integer getUpdate() {
+ return update;
+ }
+
+ public void setUpdate(Integer update) {
+ this.update = update;
+ }
+
+ public static class AutoScalingGroup extends Response {
+
+ /** 可用区 */
+ @SerializedName("Zone")
+ private String zone;
+
+ /** 伸缩组ID */
+ @SerializedName("Id")
+ private String id;
+
+ /** 伸缩组名字 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 节点CPU */
+ @SerializedName("CPU")
+ private Integer cpu;
+
+ /** 节点内存 */
+ @SerializedName("Mem")
+ private Integer mem;
+
+ /** 节点数据盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。默认为SSD云盘 */
+ @SerializedName("DataDiskType")
+ private String dataDiskType;
+
+ /** 节点数据盘大小 */
+ @SerializedName("DataDiskSize")
+ private Integer dataDiskSize;
+
+ /** 节点系统盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。默认为SSD云盘 */
+ @SerializedName("BootDiskType")
+ private String bootDiskType;
+
+ /** 节点系统盘大小 */
+ @SerializedName("BootDiskSize")
+ private Integer bootDiskSize;
+
+ /** 云主机机型。 */
+ @SerializedName("MachineType")
+ private String machineType;
+
+ /** GPU 数量。 */
+ @SerializedName("GPU")
+ private Integer gpu;
+
+ /** GPU 类型。 */
+ @SerializedName("GpuType")
+ private String gpuType;
+
+ /** 节点标签 key=value,多组用”,“隔开,最多5组 */
+ @SerializedName("Labels")
+ private String labels;
+
+ /** Pods数量 默认110, 支持16-512 */
+ @SerializedName("MaxPods")
+ private Integer maxPods;
+
+ /** 最低 CPU 平台的兼容字段,与 MinimalCpuPlatform 相同。 */
+ @SerializedName("MinmalCpuPlatform")
+ private String minmalCpuPlatform;
+
+ /** 主机规格族 */
+ @SerializedName("UHostFamily")
+ private String uHostFamily;
+
+ /** 最小node数量 */
+ @SerializedName("Min")
+ private Integer min;
+
+ /** 最大node数量 */
+ @SerializedName("Max")
+ private Integer max;
+
+ /** 当前该伸缩组管理的node数量 */
+ @SerializedName("CurrentNodeNum")
+ private Integer currentNodeNum;
+
+ /** 创建时间,Unix 时间戳,单位秒。 */
+ @SerializedName("CreateTime")
+ private Integer createTime;
+
+ /** 更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 伸缩组的计费模式。 */
+ @SerializedName("ChargeType")
+ private String chargeType;
+
+ /** 硬件隔离组id。可通过DescribeIsolationGroup获取。 */
+ @SerializedName("IsolationGroup")
+ private String isolationGroup;
+
+ /** 优先级 */
+ @SerializedName("Priority")
+ private Integer priority;
+
+ /** 节点CPU【兼容】 */
+ @SerializedName("NodeCPU")
+ private Integer nodeCPU;
+
+ /** 节点内存【兼容】 */
+ @SerializedName("NodeMem")
+ private Integer nodeMem;
+
+ /** 节点数据盘类型【兼容】 */
+ @SerializedName("NodeDataDiskType")
+ private String nodeDataDiskType;
+
+ /** 节点数据盘大小【兼容】 */
+ @SerializedName("NodeDataDiskSize")
+ private Integer nodeDataDiskSize;
+
+ /** 旧伸缩组的系统盘类型。 */
+ @SerializedName("NodeBootDiskType")
+ private String nodeBootDiskType;
+
+ /** 节点云主机机型【兼容】 */
+ @SerializedName("NodeUHostType")
+ private String nodeUHostType;
+
+ /** 节点所属节点池id */
+ @SerializedName("NodeGroupId")
+ private String nodeGroupId;
+
+ /** 节点子网id 【兼容】 */
+ @SerializedName("SubnetId")
+ private String subnetId;
+
+ /** 节点登录方式:Password 或 KeyPair。 */
+ @SerializedName("LoginMode")
+ private String loginMode;
+
+ /** 登录密钥对 ID。 */
+ @SerializedName("KeyPairId")
+ private String keyPairId;
+
+ /** 最低 CPU 平台。 */
+ @SerializedName("MinimalCpuPlatform")
+ private String minimalCpuPlatform;
+
+ /** 节点污点配置。 */
+ @SerializedName("Taints")
+ private String taints;
+
+ /** 业务组。 */
+ @SerializedName("Tag")
+ private String tag;
+
+ /** 镜像 ID。 */
+ @SerializedName("ImageId")
+ private String imageId;
+
+ /** 操作系统名称。 */
+ @SerializedName("OsName")
+ private String osName;
+
+ /** Base64 编码的 cloud-init 用户数据。 */
+ @SerializedName("UserData")
+ private String userData;
+
+ /** Base64 编码的节点初始化后脚本。 */
+ @SerializedName("InitScript")
+ private String initScript;
+
+ /** 节点安全模式:Firewall 或 SecGroup。 */
+ @SerializedName("SecurityMode")
+ private String securityMode;
+
+ /** 安全组配置列表。 */
+ @SerializedName("SecGroupId")
+ private List secGroupId;
+
+ /** 防火墙 ID。 */
+ @SerializedName("SecurityGroupId")
+ private String securityGroupId;
+
+ /** 网卡配置列表。 */
+ @SerializedName("NetworkInterface")
+ private List networkInterface;
+
+ /** Kubelet 自定义配置。 */
+ @SerializedName("KubeletConfiguration")
+ private KubeletConfiguration kubeletConfiguration;
+
+ /** Base64 编码的节点登录密码。 */
+ @SerializedName("Password")
+ private String password;
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getCPU() {
+ return cpu;
+ }
+
+ public void setCPU(Integer cpu) {
+ this.cpu = cpu;
+ }
+
+ public Integer getMem() {
+ return mem;
+ }
+
+ public void setMem(Integer mem) {
+ this.mem = mem;
+ }
+
+ public String getDataDiskType() {
+ return dataDiskType;
+ }
+
+ public void setDataDiskType(String dataDiskType) {
+ this.dataDiskType = dataDiskType;
+ }
+
+ public Integer getDataDiskSize() {
+ return dataDiskSize;
+ }
+
+ public void setDataDiskSize(Integer dataDiskSize) {
+ this.dataDiskSize = dataDiskSize;
+ }
+
+ public String getBootDiskType() {
+ return bootDiskType;
+ }
+
+ public void setBootDiskType(String bootDiskType) {
+ this.bootDiskType = bootDiskType;
+ }
+
+ public Integer getBootDiskSize() {
+ return bootDiskSize;
+ }
+
+ public void setBootDiskSize(Integer bootDiskSize) {
+ this.bootDiskSize = bootDiskSize;
+ }
+
+ public String getMachineType() {
+ return machineType;
+ }
+
+ public void setMachineType(String machineType) {
+ this.machineType = machineType;
+ }
+
+ public Integer getGPU() {
+ return gpu;
+ }
+
+ public void setGPU(Integer gpu) {
+ this.gpu = gpu;
+ }
+
+ public String getGpuType() {
+ return gpuType;
+ }
+
+ public void setGpuType(String gpuType) {
+ this.gpuType = gpuType;
+ }
+
+ public String getLabels() {
+ return labels;
+ }
+
+ public void setLabels(String labels) {
+ this.labels = labels;
+ }
+
+ public Integer getMaxPods() {
+ return maxPods;
+ }
+
+ public void setMaxPods(Integer maxPods) {
+ this.maxPods = maxPods;
+ }
+
+ public String getMinmalCpuPlatform() {
+ return minmalCpuPlatform;
+ }
+
+ public void setMinmalCpuPlatform(String minmalCpuPlatform) {
+ this.minmalCpuPlatform = minmalCpuPlatform;
+ }
+
+ public String getUHostFamily() {
+ return uHostFamily;
+ }
+
+ public void setUHostFamily(String uHostFamily) {
+ this.uHostFamily = uHostFamily;
+ }
+
+ public Integer getMin() {
+ return min;
+ }
+
+ public void setMin(Integer min) {
+ this.min = min;
+ }
+
+ public Integer getMax() {
+ return max;
+ }
+
+ public void setMax(Integer max) {
+ this.max = max;
+ }
+
+ public Integer getCurrentNodeNum() {
+ return currentNodeNum;
+ }
+
+ public void setCurrentNodeNum(Integer currentNodeNum) {
+ this.currentNodeNum = currentNodeNum;
+ }
+
+ public Integer getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Integer createTime) {
+ this.createTime = createTime;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public String getIsolationGroup() {
+ return isolationGroup;
+ }
+
+ public void setIsolationGroup(String isolationGroup) {
+ this.isolationGroup = isolationGroup;
+ }
+
+ public Integer getPriority() {
+ return priority;
+ }
+
+ public void setPriority(Integer priority) {
+ this.priority = priority;
+ }
+
+ public Integer getNodeCPU() {
+ return nodeCPU;
+ }
+
+ public void setNodeCPU(Integer nodeCPU) {
+ this.nodeCPU = nodeCPU;
+ }
+
+ public Integer getNodeMem() {
+ return nodeMem;
+ }
+
+ public void setNodeMem(Integer nodeMem) {
+ this.nodeMem = nodeMem;
+ }
+
+ public String getNodeDataDiskType() {
+ return nodeDataDiskType;
+ }
+
+ public void setNodeDataDiskType(String nodeDataDiskType) {
+ this.nodeDataDiskType = nodeDataDiskType;
+ }
+
+ public Integer getNodeDataDiskSize() {
+ return nodeDataDiskSize;
+ }
+
+ public void setNodeDataDiskSize(Integer nodeDataDiskSize) {
+ this.nodeDataDiskSize = nodeDataDiskSize;
+ }
+
+ public String getNodeBootDiskType() {
+ return nodeBootDiskType;
+ }
+
+ public void setNodeBootDiskType(String nodeBootDiskType) {
+ this.nodeBootDiskType = nodeBootDiskType;
+ }
+
+ public String getNodeUHostType() {
+ return nodeUHostType;
+ }
+
+ public void setNodeUHostType(String nodeUHostType) {
+ this.nodeUHostType = nodeUHostType;
+ }
+
+ public String getNodeGroupId() {
+ return nodeGroupId;
+ }
+
+ public void setNodeGroupId(String nodeGroupId) {
+ this.nodeGroupId = nodeGroupId;
+ }
+
+ public String getSubnetId() {
+ return subnetId;
+ }
+
+ public void setSubnetId(String subnetId) {
+ this.subnetId = subnetId;
+ }
+
+ public String getLoginMode() {
+ return loginMode;
+ }
+
+ public void setLoginMode(String loginMode) {
+ this.loginMode = loginMode;
+ }
+
+ public String getKeyPairId() {
+ return keyPairId;
+ }
+
+ public void setKeyPairId(String keyPairId) {
+ this.keyPairId = keyPairId;
+ }
+
+ public String getMinimalCpuPlatform() {
+ return minimalCpuPlatform;
+ }
+
+ public void setMinimalCpuPlatform(String minimalCpuPlatform) {
+ this.minimalCpuPlatform = minimalCpuPlatform;
+ }
+
+ public String getTaints() {
+ return taints;
+ }
+
+ public void setTaints(String taints) {
+ this.taints = taints;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public String getImageId() {
+ return imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ }
+
+ public String getOsName() {
+ return osName;
+ }
+
+ public void setOsName(String osName) {
+ this.osName = osName;
+ }
+
+ public String getUserData() {
+ return userData;
+ }
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ }
+
+ public String getInitScript() {
+ return initScript;
+ }
+
+ public void setInitScript(String initScript) {
+ this.initScript = initScript;
+ }
+
+ public String getSecurityMode() {
+ return securityMode;
+ }
+
+ public void setSecurityMode(String securityMode) {
+ this.securityMode = securityMode;
+ }
+
+ public List getSecGroupId() {
+ return secGroupId;
+ }
+
+ public void setSecGroupId(List secGroupId) {
+ this.secGroupId = secGroupId;
+ }
+
+ public String getSecurityGroupId() {
+ return securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ }
+
+ public List getNetworkInterface() {
+ return networkInterface;
+ }
+
+ public void setNetworkInterface(List networkInterface) {
+ this.networkInterface = networkInterface;
+ }
+
+ public KubeletConfiguration getKubeletConfiguration() {
+ return kubeletConfiguration;
+ }
+
+ public void setKubeletConfiguration(KubeletConfiguration kubeletConfiguration) {
+ this.kubeletConfiguration = kubeletConfiguration;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+ }
+
+ public static class Autoscaler extends Response {
+
+ /** 节点持续不需要后触发缩容的等待时间,单位分钟。 */
+ @SerializedName("ScaleDownUnneededTime")
+ private Integer scaleDownUnneededTime;
+
+ /** 节点缩容利用率阈值,单位百分比,范围 0–100。 */
+ @SerializedName("ScaleDownUtilizationThreshold")
+ private Integer scaleDownUtilizationThreshold;
+
+ /** 添加节点后等待缩容的时间,单位分钟。 */
+ @SerializedName("ScaleDownDelayAfterAdd")
+ private Integer scaleDownDelayAfterAdd;
+
+ /** 打开/关闭 */
+ @SerializedName("Enabled")
+ private Integer enabled;
+
+ /** 伸缩器版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 配置更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** GPU 缩容利用率阈值,单位百分比,范围 0–100。 */
+ @SerializedName("ScaleDownGpuUtilizationThreshold")
+ private Integer scaleDownGpuUtilizationThreshold;
+
+ public Integer getScaleDownUnneededTime() {
+ return scaleDownUnneededTime;
+ }
+
+ public void setScaleDownUnneededTime(Integer scaleDownUnneededTime) {
+ this.scaleDownUnneededTime = scaleDownUnneededTime;
+ }
+
+ public Integer getScaleDownUtilizationThreshold() {
+ return scaleDownUtilizationThreshold;
+ }
+
+ public void setScaleDownUtilizationThreshold(Integer scaleDownUtilizationThreshold) {
+ this.scaleDownUtilizationThreshold = scaleDownUtilizationThreshold;
+ }
+
+ public Integer getScaleDownDelayAfterAdd() {
+ return scaleDownDelayAfterAdd;
+ }
+
+ public void setScaleDownDelayAfterAdd(Integer scaleDownDelayAfterAdd) {
+ this.scaleDownDelayAfterAdd = scaleDownDelayAfterAdd;
+ }
+
+ public Integer getEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(Integer enabled) {
+ this.enabled = enabled;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getScaleDownGpuUtilizationThreshold() {
+ return scaleDownGpuUtilizationThreshold;
+ }
+
+ public void setScaleDownGpuUtilizationThreshold(Integer scaleDownGpuUtilizationThreshold) {
+ this.scaleDownGpuUtilizationThreshold = scaleDownGpuUtilizationThreshold;
+ }
+ }
+
+ public static class EIP extends Response {
+
+ /**
+ * 【若绑定EIP,此参数必填】弹性IP的外网带宽, 单位为Mbps. 共享带宽模式下非必传, 非共享带宽模式必须指定非0Mbps带宽. 各地域非共享带宽的带宽范围如下:
+ * 流量计费[1-300],带宽计费[1-800]
+ */
+ @SerializedName("Bandwidth")
+ private Integer bandwidth;
+
+ /**
+ * 弹性IP的计费模式. 枚举值: "Traffic", 流量计费; "Bandwidth", 带宽计费; "ShareBandwidth",共享带宽模式.
+ * "Free":免费带宽模式,默认为 "Bandwidth"
+ */
+ @SerializedName("PayMode")
+ private String payMode;
+
+ /** 绑定的共享带宽Id,仅当PayMode为ShareBandwidth时有效 */
+ @SerializedName("ShareBandwidthId")
+ private String shareBandwidthId;
+
+ /**
+ * 【若绑定EIP,此参数必填】弹性IP的线路。枚举值: 国际: International,BGP: Bgp。 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2:
+ * Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk:
+ * International kr-seoul:International us-ws:International ge-fra:International
+ * sg:International tw-kh:International.其他海外线路均为 International
+ */
+ @SerializedName("OperatorName")
+ private String operatorName;
+
+ /** 当前EIP代金券id。请通过DescribeCoupon接口查询,或登录用户中心查看。 */
+ @SerializedName("CouponId")
+ private String couponId;
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getPayMode() {
+ return payMode;
+ }
+
+ public void setPayMode(String payMode) {
+ this.payMode = payMode;
+ }
+
+ public String getShareBandwidthId() {
+ return shareBandwidthId;
+ }
+
+ public void setShareBandwidthId(String shareBandwidthId) {
+ this.shareBandwidthId = shareBandwidthId;
+ }
+
+ public String getOperatorName() {
+ return operatorName;
+ }
+
+ public void setOperatorName(String operatorName) {
+ this.operatorName = operatorName;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+ }
+
+ public static class EvictionCondition extends Response {
+
+ /** 内存相关驱逐条件或宽限时间。 */
+ @SerializedName("MemoryAvailable")
+ private String memoryAvailable;
+
+ /** 镜像文件系统存储相关驱逐条件或宽限时间。 */
+ @SerializedName("ImagefsAvailable")
+ private String imagefsAvailable;
+
+ /** 节点存储余量相关驱逐条件或宽限时间。 */
+ @SerializedName("NodefsAvailable")
+ private String nodefsAvailable;
+
+ /** 节点剩余inodes驱逐条件或宽限时间。 */
+ @SerializedName("NodefsInodesFree")
+ private String nodefsInodesFree;
+
+ public String getMemoryAvailable() {
+ return memoryAvailable;
+ }
+
+ public void setMemoryAvailable(String memoryAvailable) {
+ this.memoryAvailable = memoryAvailable;
+ }
+
+ public String getImagefsAvailable() {
+ return imagefsAvailable;
+ }
+
+ public void setImagefsAvailable(String imagefsAvailable) {
+ this.imagefsAvailable = imagefsAvailable;
+ }
+
+ public String getNodefsAvailable() {
+ return nodefsAvailable;
+ }
+
+ public void setNodefsAvailable(String nodefsAvailable) {
+ this.nodefsAvailable = nodefsAvailable;
+ }
+
+ public String getNodefsInodesFree() {
+ return nodefsInodesFree;
+ }
+
+ public void setNodefsInodesFree(String nodefsInodesFree) {
+ this.nodefsInodesFree = nodefsInodesFree;
+ }
+ }
+
+ public static class KubeletConfiguration extends Response {
+
+ /** 最大日志文件数量 */
+ @SerializedName("ContainerLogMaxFiles")
+ private Integer containerLogMaxFiles;
+
+ /** 最大日志文件大小 */
+ @SerializedName("ContainerLogMaxSize")
+ private String containerLogMaxSize;
+
+ /** 硬性驱逐条件,EvictionCondition类型 */
+ @SerializedName("EvictionHard")
+ private EvictionCondition evictionHard;
+
+ /** 软性驱逐条件,EvictionCondition类型 */
+ @SerializedName("EvictionSoft")
+ private EvictionCondition evictionSoft;
+
+ /** 软性驱逐宽限时间,EvictionCondition类型 */
+ @SerializedName("EvictionSoftGracePeriod")
+ private EvictionCondition evictionSoftGracePeriod;
+
+ /** 镜像垃圾收集阈值 */
+ @SerializedName("ImageGCHighThresholdPercent")
+ private Integer imageGCHighThresholdPercent;
+
+ /** 停止镜像垃圾收集阈值 */
+ @SerializedName("ImageGCLowThresholdPercent")
+ private Integer imageGCLowThresholdPercent;
+
+ /** kubelet预留资源,ReservedResource类型 */
+ @SerializedName("KubeReserved")
+ private ReservedResource kubeReserved;
+
+ /** 系统预留资源,ReservedResource类型 */
+ @SerializedName("SystemReserved")
+ private ReservedResource systemReserved;
+
+ /** 最大Pod数量 */
+ @SerializedName("MaxPods")
+ private Integer maxPods;
+
+ public Integer getContainerLogMaxFiles() {
+ return containerLogMaxFiles;
+ }
+
+ public void setContainerLogMaxFiles(Integer containerLogMaxFiles) {
+ this.containerLogMaxFiles = containerLogMaxFiles;
+ }
+
+ public String getContainerLogMaxSize() {
+ return containerLogMaxSize;
+ }
+
+ public void setContainerLogMaxSize(String containerLogMaxSize) {
+ this.containerLogMaxSize = containerLogMaxSize;
+ }
+
+ public EvictionCondition getEvictionHard() {
+ return evictionHard;
+ }
+
+ public void setEvictionHard(EvictionCondition evictionHard) {
+ this.evictionHard = evictionHard;
+ }
+
+ public EvictionCondition getEvictionSoft() {
+ return evictionSoft;
+ }
+
+ public void setEvictionSoft(EvictionCondition evictionSoft) {
+ this.evictionSoft = evictionSoft;
+ }
+
+ public EvictionCondition getEvictionSoftGracePeriod() {
+ return evictionSoftGracePeriod;
+ }
+
+ public void setEvictionSoftGracePeriod(EvictionCondition evictionSoftGracePeriod) {
+ this.evictionSoftGracePeriod = evictionSoftGracePeriod;
+ }
+
+ public Integer getImageGCHighThresholdPercent() {
+ return imageGCHighThresholdPercent;
+ }
+
+ public void setImageGCHighThresholdPercent(Integer imageGCHighThresholdPercent) {
+ this.imageGCHighThresholdPercent = imageGCHighThresholdPercent;
+ }
+
+ public Integer getImageGCLowThresholdPercent() {
+ return imageGCLowThresholdPercent;
+ }
+
+ public void setImageGCLowThresholdPercent(Integer imageGCLowThresholdPercent) {
+ this.imageGCLowThresholdPercent = imageGCLowThresholdPercent;
+ }
+
+ public ReservedResource getKubeReserved() {
+ return kubeReserved;
+ }
+
+ public void setKubeReserved(ReservedResource kubeReserved) {
+ this.kubeReserved = kubeReserved;
+ }
+
+ public ReservedResource getSystemReserved() {
+ return systemReserved;
+ }
+
+ public void setSystemReserved(ReservedResource systemReserved) {
+ this.systemReserved = systemReserved;
+ }
+
+ public Integer getMaxPods() {
+ return maxPods;
+ }
+
+ public void setMaxPods(Integer maxPods) {
+ this.maxPods = maxPods;
+ }
+ }
+
+ public static class NetworkInterface extends Response {
+
+ /** EIP */
+ @SerializedName("EIP")
+ private EIP eip;
+
+ public EIP getEIP() {
+ return eip;
+ }
+
+ public void setEIP(EIP eip) {
+ this.eip = eip;
+ }
+ }
+
+ public static class ReservedResource extends Response {
+
+ /** CPU */
+ @SerializedName("CPU")
+ private String cpu;
+
+ /** 内存 */
+ @SerializedName("Memory")
+ private String memory;
+
+ /** 存储 */
+ @SerializedName("EphemeralStorage")
+ private String ephemeralStorage;
+
+ /** Pid */
+ @SerializedName("Pid")
+ private String pid;
+
+ public String getCPU() {
+ return cpu;
+ }
+
+ public void setCPU(String cpu) {
+ this.cpu = cpu;
+ }
+
+ public String getMemory() {
+ return memory;
+ }
+
+ public void setMemory(String memory) {
+ this.memory = memory;
+ }
+
+ public String getEphemeralStorage() {
+ return ephemeralStorage;
+ }
+
+ public void setEphemeralStorage(String ephemeralStorage) {
+ this.ephemeralStorage = ephemeralStorage;
+ }
+
+ public String getPid() {
+ return pid;
+ }
+
+ public void setPid(String pid) {
+ this.pid = pid;
+ }
+ }
+
+ public static class SecGroupId extends Response {
+
+ /** 安全组 ID */
+ @SerializedName("Id")
+ private String id;
+
+ /** 安全组名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 安全组优先级 */
+ @SerializedName("Priority")
+ private String priority;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPriority() {
+ return priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java
index a3288c9f..5aa8d780 100644
--- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/DescribeUK8SClusterResponse.java
@@ -479,17 +479,17 @@ public void setLoopbackClientCert(LoopbackClientCert loopbackClientCert) {
public static class Autoscaler extends Response {
- /** 缩容触发延时 */
+ /** 节点持续不需要后触发缩容的等待时间,单位分钟。 */
@SerializedName("ScaleDownUnneededTime")
- private String scaleDownUnneededTime;
+ private Integer scaleDownUnneededTime;
- /** CPU缩容阈值 */
+ /** 节点缩容利用率阈值,单位百分比,范围 0–100。 */
@SerializedName("ScaleDownUtilizationThreshold")
- private String scaleDownUtilizationThreshold;
+ private Integer scaleDownUtilizationThreshold;
- /** 静默时间 */
+ /** 添加节点后等待缩容的时间,单位分钟。 */
@SerializedName("ScaleDownDelayAfterAdd")
- private String scaleDownDelayAfterAdd;
+ private Integer scaleDownDelayAfterAdd;
/** 打开/关闭 */
@SerializedName("Enabled")
@@ -499,35 +499,35 @@ public static class Autoscaler extends Response {
@SerializedName("Version")
private String version;
- /** */
+ /** 配置更新时间,Unix 时间戳,单位秒。 */
@SerializedName("UpdateTime")
private Integer updateTime;
- /** GPU缩容阈值 */
+ /** GPU 缩容利用率阈值,单位百分比,范围 0–100。 */
@SerializedName("ScaleDownGpuUtilizationThreshold")
- private String scaleDownGpuUtilizationThreshold;
+ private Integer scaleDownGpuUtilizationThreshold;
- public String getScaleDownUnneededTime() {
+ public Integer getScaleDownUnneededTime() {
return scaleDownUnneededTime;
}
- public void setScaleDownUnneededTime(String scaleDownUnneededTime) {
+ public void setScaleDownUnneededTime(Integer scaleDownUnneededTime) {
this.scaleDownUnneededTime = scaleDownUnneededTime;
}
- public String getScaleDownUtilizationThreshold() {
+ public Integer getScaleDownUtilizationThreshold() {
return scaleDownUtilizationThreshold;
}
- public void setScaleDownUtilizationThreshold(String scaleDownUtilizationThreshold) {
+ public void setScaleDownUtilizationThreshold(Integer scaleDownUtilizationThreshold) {
this.scaleDownUtilizationThreshold = scaleDownUtilizationThreshold;
}
- public String getScaleDownDelayAfterAdd() {
+ public Integer getScaleDownDelayAfterAdd() {
return scaleDownDelayAfterAdd;
}
- public void setScaleDownDelayAfterAdd(String scaleDownDelayAfterAdd) {
+ public void setScaleDownDelayAfterAdd(Integer scaleDownDelayAfterAdd) {
this.scaleDownDelayAfterAdd = scaleDownDelayAfterAdd;
}
@@ -555,11 +555,11 @@ public void setUpdateTime(Integer updateTime) {
this.updateTime = updateTime;
}
- public String getScaleDownGpuUtilizationThreshold() {
+ public Integer getScaleDownGpuUtilizationThreshold() {
return scaleDownGpuUtilizationThreshold;
}
- public void setScaleDownGpuUtilizationThreshold(String scaleDownGpuUtilizationThreshold) {
+ public void setScaleDownGpuUtilizationThreshold(Integer scaleDownGpuUtilizationThreshold) {
this.scaleDownGpuUtilizationThreshold = scaleDownGpuUtilizationThreshold;
}
}
@@ -854,11 +854,11 @@ public void setWarn(Boolean warn) {
public static class SecGroupId extends Response {
- /** 安全组名称 */
+ /** 安全组 ID */
@SerializedName("Id")
private String id;
- /** 安全组id */
+ /** 安全组名称 */
@SerializedName("Name")
private String name;
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerRequest.java
new file mode 100644
index 00000000..6d62c2e9
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerRequest.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class EnableUK8SAutoscalerRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 1开启;0关闭 */
+ @NotEmpty
+ @UCloudParam("Enabled")
+ private Integer enabled;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public Integer getEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(Integer enabled) {
+ this.enabled = enabled;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerResponse.java
new file mode 100644
index 00000000..f041a9cd
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/EnableUK8SAutoscalerResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class EnableUK8SAutoscalerResponse extends Response {}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesRequest.java
new file mode 100644
index 00000000..bdeae44b
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesRequest.java
@@ -0,0 +1,62 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SAvailableInstanceTypesRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesResponse.java
new file mode 100644
index 00000000..a1f856d4
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SAvailableInstanceTypesResponse.java
@@ -0,0 +1,584 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUK8SAvailableInstanceTypesResponse extends Response {
+
+ /** 当前区域是否可售 */
+ @SerializedName("Status")
+ private String status;
+
+ /** UK8S 支持的可用机型列表 */
+ @SerializedName("AvailableInstanceTypes")
+ private List availableInstanceTypes;
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public List getAvailableInstanceTypes() {
+ return availableInstanceTypes;
+ }
+
+ public void setAvailableInstanceTypes(List availableInstanceTypes) {
+ this.availableInstanceTypes = availableInstanceTypes;
+ }
+
+ public static class InstanceTypeBootDisk extends Response {
+
+ /** 系统盘类型名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 是否支持即时扩容 */
+ @SerializedName("InstantResize")
+ private Boolean instantResize;
+
+ /** 最大磁盘容量 */
+ @SerializedName("MaximalSize")
+ private Integer maximalSize;
+
+ /** 磁盘特性列表 */
+ @SerializedName("Features")
+ private List features;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Boolean getInstantResize() {
+ return instantResize;
+ }
+
+ public void setInstantResize(Boolean instantResize) {
+ this.instantResize = instantResize;
+ }
+
+ public Integer getMaximalSize() {
+ return maximalSize;
+ }
+
+ public void setMaximalSize(Integer maximalSize) {
+ this.maximalSize = maximalSize;
+ }
+
+ public List getFeatures() {
+ return features;
+ }
+
+ public void setFeatures(List features) {
+ this.features = features;
+ }
+ }
+
+ public static class InstanceTypeCpuPlatform extends Response {
+
+ /** CPU 平台名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** CPU 型号列表 */
+ @SerializedName("CpuModels")
+ private List cpuModels;
+
+ /** CPU 频率 */
+ @SerializedName("CpuFrequency")
+ private String cpuFrequency;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getCpuModels() {
+ return cpuModels;
+ }
+
+ public void setCpuModels(List cpuModels) {
+ this.cpuModels = cpuModels;
+ }
+
+ public String getCpuFrequency() {
+ return cpuFrequency;
+ }
+
+ public void setCpuFrequency(String cpuFrequency) {
+ this.cpuFrequency = cpuFrequency;
+ }
+ }
+
+ public static class InstanceTypeDataDisk extends Response {
+
+ /** 数据盘类型名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 最小磁盘容量 */
+ @SerializedName("MinimalSize")
+ private Integer minimalSize;
+
+ /** 最大磁盘容量 */
+ @SerializedName("MaximalSize")
+ private Integer maximalSize;
+
+ /** 磁盘特性列表 */
+ @SerializedName("Features")
+ private List features;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getMinimalSize() {
+ return minimalSize;
+ }
+
+ public void setMinimalSize(Integer minimalSize) {
+ this.minimalSize = minimalSize;
+ }
+
+ public Integer getMaximalSize() {
+ return maximalSize;
+ }
+
+ public void setMaximalSize(Integer maximalSize) {
+ this.maximalSize = maximalSize;
+ }
+
+ public List getFeatures() {
+ return features;
+ }
+
+ public void setFeatures(List features) {
+ this.features = features;
+ }
+ }
+
+ public static class InstanceTypeDisk extends Response {
+
+ /** 磁盘配置名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 支持的系统盘配置 */
+ @SerializedName("BootDisk")
+ private List bootDisk;
+
+ /** 支持的数据盘配置 */
+ @SerializedName("DataDisk")
+ private List dataDisk;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getBootDisk() {
+ return bootDisk;
+ }
+
+ public void setBootDisk(List bootDisk) {
+ this.bootDisk = bootDisk;
+ }
+
+ public List getDataDisk() {
+ return dataDisk;
+ }
+
+ public void setDataDisk(List dataDisk) {
+ this.dataDisk = dataDisk;
+ }
+ }
+
+ public static class InstanceTypeFeature extends Response {
+
+ /** 特性名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 特性模式列表 */
+ @SerializedName("Modes")
+ private List modes;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getModes() {
+ return modes;
+ }
+
+ public void setModes(List modes) {
+ this.modes = modes;
+ }
+ }
+
+ public static class InstanceTypeFeatureMode extends Response {
+
+ /** 模式名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 关联的镜像特性 */
+ @SerializedName("RelatedToImageFeature")
+ private List relatedToImageFeature;
+
+ /** 最低 CPU 平台列表 */
+ @SerializedName("MinimalCpuPlatform")
+ private List minimalCpuPlatform;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getRelatedToImageFeature() {
+ return relatedToImageFeature;
+ }
+
+ public void setRelatedToImageFeature(List relatedToImageFeature) {
+ this.relatedToImageFeature = relatedToImageFeature;
+ }
+
+ public List getMinimalCpuPlatform() {
+ return minimalCpuPlatform;
+ }
+
+ public void setMinimalCpuPlatform(List minimalCpuPlatform) {
+ this.minimalCpuPlatform = minimalCpuPlatform;
+ }
+ }
+
+ public static class InstanceTypeMachineSize extends Response {
+
+ /** GPU 数量 */
+ @SerializedName("Gpu")
+ private Integer gpu;
+
+ /** CPU 与内存规格组合 */
+ @SerializedName("Collection")
+ private List collection;
+
+ public Integer getGpu() {
+ return gpu;
+ }
+
+ public void setGpu(Integer gpu) {
+ this.gpu = gpu;
+ }
+
+ public List getCollection() {
+ return collection;
+ }
+
+ public void setCollection(List collection) {
+ this.collection = collection;
+ }
+ }
+
+ public static class InstanceTypeMachineSizeCollection extends Response {
+
+ /** CPU 核数 */
+ @SerializedName("Cpu")
+ private Integer cpu;
+
+ /** 可用内存容量列表 */
+ @SerializedName("Memory")
+ private List memory;
+
+ /** 最低 CPU 平台列表 */
+ @SerializedName("MinimalCpuPlatform")
+ private List minimalCpuPlatform;
+
+ public Integer getCpu() {
+ return cpu;
+ }
+
+ public void setCpu(Integer cpu) {
+ this.cpu = cpu;
+ }
+
+ public List getMemory() {
+ return memory;
+ }
+
+ public void setMemory(List memory) {
+ this.memory = memory;
+ }
+
+ public List getMinimalCpuPlatform() {
+ return minimalCpuPlatform;
+ }
+
+ public void setMinimalCpuPlatform(List minimalCpuPlatform) {
+ this.minimalCpuPlatform = minimalCpuPlatform;
+ }
+ }
+
+ public static class InstanceTypeUHostFamily extends Response {
+
+ /** 规格族名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** CPU 频率 */
+ @SerializedName("CpuFrequency")
+ private String cpuFrequency;
+
+ /** 支持的 CPU 平台 */
+ @SerializedName("CpuPlatforms")
+ private List cpuPlatforms;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getCpuFrequency() {
+ return cpuFrequency;
+ }
+
+ public void setCpuFrequency(String cpuFrequency) {
+ this.cpuFrequency = cpuFrequency;
+ }
+
+ public List getCpuPlatforms() {
+ return cpuPlatforms;
+ }
+
+ public void setCpuPlatforms(List cpuPlatforms) {
+ this.cpuPlatforms = cpuPlatforms;
+ }
+ }
+
+ public static class InstanceTypeValueRate extends Response {
+
+ /** 数值 */
+ @SerializedName("Value")
+ private Double value;
+
+ /** 评分 */
+ @SerializedName("Rate")
+ private Integer rate;
+
+ public Double getValue() {
+ return value;
+ }
+
+ public void setValue(Double value) {
+ this.value = value;
+ }
+
+ public Integer getRate() {
+ return rate;
+ }
+
+ public void setRate(Integer rate) {
+ this.rate = rate;
+ }
+ }
+
+ public static class UK8SAvailableInstanceType extends Response {
+
+ /** 可用区 */
+ @SerializedName("Zone")
+ private String zone;
+
+ /** 机型名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 机型状态 */
+ @SerializedName("Status")
+ private String status;
+
+ /** 机型描述 */
+ @SerializedName("Description")
+ private String description;
+
+ /** 主机系列列表 */
+ @SerializedName("UHostFamilies")
+ private List uHostFamilies;
+
+ /** 支持的磁盘配置 */
+ @SerializedName("Disks")
+ private List disks;
+
+ /** 支持的机型规格 */
+ @SerializedName("MachineSizes")
+ private List machineSizes;
+
+ /** 机型特性列表 */
+ @SerializedName("Features")
+ private List features;
+
+ /** 机型类别 */
+ @SerializedName("MachineClass")
+ private String machineClass;
+
+ /** 实例类型 */
+ @SerializedName("InstanceType")
+ private String instanceType;
+
+ /** 父机型类型 */
+ @SerializedName("ParentType")
+ private String parentType;
+
+ /** 显存信息 */
+ @SerializedName("GraphicsMemory")
+ private InstanceTypeValueRate graphicsMemory;
+
+ /** 性能信息 */
+ @SerializedName("Performance")
+ private InstanceTypeValueRate performance;
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public List getUHostFamilies() {
+ return uHostFamilies;
+ }
+
+ public void setUHostFamilies(List uHostFamilies) {
+ this.uHostFamilies = uHostFamilies;
+ }
+
+ public List getDisks() {
+ return disks;
+ }
+
+ public void setDisks(List disks) {
+ this.disks = disks;
+ }
+
+ public List getMachineSizes() {
+ return machineSizes;
+ }
+
+ public void setMachineSizes(List machineSizes) {
+ this.machineSizes = machineSizes;
+ }
+
+ public List getFeatures() {
+ return features;
+ }
+
+ public void setFeatures(List features) {
+ this.features = features;
+ }
+
+ public String getMachineClass() {
+ return machineClass;
+ }
+
+ public void setMachineClass(String machineClass) {
+ this.machineClass = machineClass;
+ }
+
+ public String getInstanceType() {
+ return instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+
+ public String getParentType() {
+ return parentType;
+ }
+
+ public void setParentType(String parentType) {
+ this.parentType = parentType;
+ }
+
+ public InstanceTypeValueRate getGraphicsMemory() {
+ return graphicsMemory;
+ }
+
+ public void setGraphicsMemory(InstanceTypeValueRate graphicsMemory) {
+ this.graphicsMemory = graphicsMemory;
+ }
+
+ public InstanceTypeValueRate getPerformance() {
+ return performance;
+ }
+
+ public void setPerformance(InstanceTypeValueRate performance) {
+ this.performance = performance;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoRequest.java
new file mode 100644
index 00000000..4f1fc718
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoRequest.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SCNINodeInfoRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区,可选。 */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UK8S 集群 ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoResponse.java
new file mode 100644
index 00000000..c96c5f9f
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SCNINodeInfoResponse.java
@@ -0,0 +1,158 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUK8SCNINodeInfoResponse extends Response {
+
+ /** 节点 CNI 信息列表 */
+ @SerializedName("NodeInfoSet")
+ private List nodeInfoSet;
+
+ /** 数据来源:database 表示数据库记录,ipamd_http 表示通过 ipamd 实时查询。 */
+ @SerializedName("DataSource")
+ private String dataSource;
+
+ /** 是否存在部分节点实时查询失败 */
+ @SerializedName("Partial")
+ private Boolean partial;
+
+ /** 节点中的最高有效 CNI 版本 */
+ @SerializedName("HighestVersion")
+ private String highestVersion;
+
+ /** 是否所有节点实时查询成功且 CNI 版本一致。数据来源为 database 时返回 false。 */
+ @SerializedName("AllNodesSynced")
+ private Boolean allNodesSynced;
+
+ public List getNodeInfoSet() {
+ return nodeInfoSet;
+ }
+
+ public void setNodeInfoSet(List nodeInfoSet) {
+ this.nodeInfoSet = nodeInfoSet;
+ }
+
+ public String getDataSource() {
+ return dataSource;
+ }
+
+ public void setDataSource(String dataSource) {
+ this.dataSource = dataSource;
+ }
+
+ public Boolean getPartial() {
+ return partial;
+ }
+
+ public void setPartial(Boolean partial) {
+ this.partial = partial;
+ }
+
+ public String getHighestVersion() {
+ return highestVersion;
+ }
+
+ public void setHighestVersion(String highestVersion) {
+ this.highestVersion = highestVersion;
+ }
+
+ public Boolean getAllNodesSynced() {
+ return allNodesSynced;
+ }
+
+ public void setAllNodesSynced(Boolean allNodesSynced) {
+ this.allNodesSynced = allNodesSynced;
+ }
+
+ public static class NodePluginInfo extends Response {
+
+ /** Node节点名称 */
+ @SerializedName("Node")
+ private String node;
+
+ /** 插件版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件工作状态,0:未知,1:正常, 2:异常, 3: 升级中 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 插件信息更新时间 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果,0:没有上次操作结果,或当前正在执行升级或查询 1:获取成功 2 获取失败 3 升级成功 4 升级失败 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ /** Node节点IP */
+ @SerializedName("IP")
+ private String ip;
+
+ public String getNode() {
+ return node;
+ }
+
+ public void setNode(String node) {
+ this.node = node;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+
+ public String getIP() {
+ return ip;
+ }
+
+ public void setIP(String ip) {
+ this.ip = ip;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusRequest.java
new file mode 100644
index 00000000..d382b4fe
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusRequest.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SIpamdStatusRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区,可选。 */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群id */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusResponse.java
new file mode 100644
index 00000000..3cfb9942
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SIpamdStatusResponse.java
@@ -0,0 +1,106 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUK8SIpamdStatusResponse extends Response {
+
+ /** 是否已经安装 */
+ @SerializedName("Installed")
+ private Boolean installed;
+
+ /** 当前ipamd的版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** ipamd可用最新版本 */
+ @SerializedName("LastVersion")
+ private String lastVersion;
+
+ /** 最新版本的发布日期 */
+ @SerializedName("ReleaseDate")
+ private Integer releaseDate;
+
+ /** 当前 ipamd 插件的创建时间,Unix 时间戳,单位秒。 */
+ @SerializedName("OpenTime")
+ private Integer openTime;
+
+ /** 当前 CNI 初始化模式。 */
+ @SerializedName("CNIInitMode")
+ private String cniInitMode;
+
+ /** 当前已安装的 ipamd 版本是否支持切换 CNI 初始化模式。 */
+ @SerializedName("CNIInitVersionReady")
+ private Boolean cniInitVersionReady;
+
+ public Boolean getInstalled() {
+ return installed;
+ }
+
+ public void setInstalled(Boolean installed) {
+ this.installed = installed;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public String getLastVersion() {
+ return lastVersion;
+ }
+
+ public void setLastVersion(String lastVersion) {
+ this.lastVersion = lastVersion;
+ }
+
+ public Integer getReleaseDate() {
+ return releaseDate;
+ }
+
+ public void setReleaseDate(Integer releaseDate) {
+ this.releaseDate = releaseDate;
+ }
+
+ public Integer getOpenTime() {
+ return openTime;
+ }
+
+ public void setOpenTime(Integer openTime) {
+ this.openTime = openTime;
+ }
+
+ public String getCNIInitMode() {
+ return cniInitMode;
+ }
+
+ public void setCNIInitMode(String cniInitMode) {
+ this.cniInitMode = cniInitMode;
+ }
+
+ public Boolean getCNIInitVersionReady() {
+ return cniInitVersionReady;
+ }
+
+ public void setCNIInitVersionReady(Boolean cniInitVersionReady) {
+ this.cniInitVersionReady = cniInitVersionReady;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerRequest.java
new file mode 100644
index 00000000..680c8e94
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerRequest.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SLoadBalancerControllerRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区,可选。 */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群 id */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerResponse.java
new file mode 100644
index 00000000..af86daa8
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SLoadBalancerControllerResponse.java
@@ -0,0 +1,82 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUK8SLoadBalancerControllerResponse extends Response {
+
+ /** 最新可用版本。 */
+ @SerializedName("LastVersion")
+ private String lastVersion;
+
+ /** 当前安装版本。 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 是否安装 */
+ @SerializedName("Installed")
+ private Boolean installed;
+
+ /** 安装时间,Unix 时间戳,单位秒。 */
+ @SerializedName("CreateTime")
+ private Integer createTime;
+
+ /** 运行状态:unknown、running、notReady。 */
+ @SerializedName("Status")
+ private String status;
+
+ public String getLastVersion() {
+ return lastVersion;
+ }
+
+ public void setLastVersion(String lastVersion) {
+ this.lastVersion = lastVersion;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Boolean getInstalled() {
+ return installed;
+ }
+
+ public void setInstalled(Boolean installed) {
+ this.installed = installed;
+ }
+
+ public Integer getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Integer createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupRequest.java
new file mode 100644
index 00000000..826e0cc3
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupRequest.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SNodeGroupRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 节点池Id */
+ @NotEmpty
+ @UCloudParam("NodeGroupId")
+ private String nodeGroupId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getNodeGroupId() {
+ return nodeGroupId;
+ }
+
+ public void setNodeGroupId(String nodeGroupId) {
+ this.nodeGroupId = nodeGroupId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupResponse.java
new file mode 100644
index 00000000..fc2f4144
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SNodeGroupResponse.java
@@ -0,0 +1,961 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUK8SNodeGroupResponse extends Response {
+
+ /** 指定节点池的配置与关联信息 */
+ @SerializedName("NodeGroup")
+ private NodeGroupSet nodeGroup;
+
+ public NodeGroupSet getNodeGroup() {
+ return nodeGroup;
+ }
+
+ public void setNodeGroup(NodeGroupSet nodeGroup) {
+ this.nodeGroup = nodeGroup;
+ }
+
+ public static class EIP extends Response {
+
+ /**
+ * 【若绑定EIP,此参数必填】弹性IP的外网带宽, 单位为Mbps. 共享带宽模式下非必传, 非共享带宽模式必须指定非0Mbps带宽. 各地域非共享带宽的带宽范围如下:
+ * 流量计费[1-300],带宽计费[1-800]
+ */
+ @SerializedName("Bandwidth")
+ private Integer bandwidth;
+
+ /**
+ * 弹性IP的计费模式. 枚举值: "Traffic", 流量计费; "Bandwidth", 带宽计费; "ShareBandwidth",共享带宽模式.
+ * "Free":免费带宽模式,默认为 "Bandwidth"
+ */
+ @SerializedName("PayMode")
+ private String payMode;
+
+ /** 绑定的共享带宽Id,仅当PayMode为ShareBandwidth时有效 */
+ @SerializedName("ShareBandwidthId")
+ private String shareBandwidthId;
+
+ /**
+ * 【若绑定EIP,此参数必填】弹性IP的线路。枚举值: 国际: International,BGP: Bgp。 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2:
+ * Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk:
+ * International kr-seoul:International us-ws:International ge-fra:International
+ * sg:International tw-kh:International.其他海外线路均为 International
+ */
+ @SerializedName("OperatorName")
+ private String operatorName;
+
+ /** 当前EIP代金券id。请通过DescribeCoupon接口查询,或登录用户中心查看。 */
+ @SerializedName("CouponId")
+ private String couponId;
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getPayMode() {
+ return payMode;
+ }
+
+ public void setPayMode(String payMode) {
+ this.payMode = payMode;
+ }
+
+ public String getShareBandwidthId() {
+ return shareBandwidthId;
+ }
+
+ public void setShareBandwidthId(String shareBandwidthId) {
+ this.shareBandwidthId = shareBandwidthId;
+ }
+
+ public String getOperatorName() {
+ return operatorName;
+ }
+
+ public void setOperatorName(String operatorName) {
+ this.operatorName = operatorName;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+ }
+
+ public static class EvictionCondition extends Response {
+
+ /** 内存相关驱逐条件或宽限时间。 */
+ @SerializedName("MemoryAvailable")
+ private String memoryAvailable;
+
+ /** 镜像文件系统存储相关驱逐条件或宽限时间。 */
+ @SerializedName("ImagefsAvailable")
+ private String imagefsAvailable;
+
+ /** 节点存储余量相关驱逐条件或宽限时间。 */
+ @SerializedName("NodefsAvailable")
+ private String nodefsAvailable;
+
+ /** 节点剩余inodes驱逐条件或宽限时间。 */
+ @SerializedName("NodefsInodesFree")
+ private String nodefsInodesFree;
+
+ public String getMemoryAvailable() {
+ return memoryAvailable;
+ }
+
+ public void setMemoryAvailable(String memoryAvailable) {
+ this.memoryAvailable = memoryAvailable;
+ }
+
+ public String getImagefsAvailable() {
+ return imagefsAvailable;
+ }
+
+ public void setImagefsAvailable(String imagefsAvailable) {
+ this.imagefsAvailable = imagefsAvailable;
+ }
+
+ public String getNodefsAvailable() {
+ return nodefsAvailable;
+ }
+
+ public void setNodefsAvailable(String nodefsAvailable) {
+ this.nodefsAvailable = nodefsAvailable;
+ }
+
+ public String getNodefsInodesFree() {
+ return nodefsInodesFree;
+ }
+
+ public void setNodefsInodesFree(String nodefsInodesFree) {
+ this.nodefsInodesFree = nodefsInodesFree;
+ }
+ }
+
+ public static class KubeletConfiguration extends Response {
+
+ /** 最大日志文件数量 */
+ @SerializedName("ContainerLogMaxFiles")
+ private Integer containerLogMaxFiles;
+
+ /** 最大日志文件大小 */
+ @SerializedName("ContainerLogMaxSize")
+ private String containerLogMaxSize;
+
+ /** 硬性驱逐条件,EvictionCondition类型 */
+ @SerializedName("EvictionHard")
+ private EvictionCondition evictionHard;
+
+ /** 软性驱逐条件,EvictionCondition类型 */
+ @SerializedName("EvictionSoft")
+ private EvictionCondition evictionSoft;
+
+ /** 软性驱逐宽限时间,EvictionCondition类型 */
+ @SerializedName("EvictionSoftGracePeriod")
+ private EvictionCondition evictionSoftGracePeriod;
+
+ /** 镜像垃圾收集阈值 */
+ @SerializedName("ImageGCHighThresholdPercent")
+ private Integer imageGCHighThresholdPercent;
+
+ /** 停止镜像垃圾收集阈值 */
+ @SerializedName("ImageGCLowThresholdPercent")
+ private Integer imageGCLowThresholdPercent;
+
+ /** kubelet预留资源,ReservedResource类型 */
+ @SerializedName("KubeReserved")
+ private ReservedResource kubeReserved;
+
+ /** 系统预留资源,ReservedResource类型 */
+ @SerializedName("SystemReserved")
+ private ReservedResource systemReserved;
+
+ /** 最大Pod数量 */
+ @SerializedName("MaxPods")
+ private Integer maxPods;
+
+ public Integer getContainerLogMaxFiles() {
+ return containerLogMaxFiles;
+ }
+
+ public void setContainerLogMaxFiles(Integer containerLogMaxFiles) {
+ this.containerLogMaxFiles = containerLogMaxFiles;
+ }
+
+ public String getContainerLogMaxSize() {
+ return containerLogMaxSize;
+ }
+
+ public void setContainerLogMaxSize(String containerLogMaxSize) {
+ this.containerLogMaxSize = containerLogMaxSize;
+ }
+
+ public EvictionCondition getEvictionHard() {
+ return evictionHard;
+ }
+
+ public void setEvictionHard(EvictionCondition evictionHard) {
+ this.evictionHard = evictionHard;
+ }
+
+ public EvictionCondition getEvictionSoft() {
+ return evictionSoft;
+ }
+
+ public void setEvictionSoft(EvictionCondition evictionSoft) {
+ this.evictionSoft = evictionSoft;
+ }
+
+ public EvictionCondition getEvictionSoftGracePeriod() {
+ return evictionSoftGracePeriod;
+ }
+
+ public void setEvictionSoftGracePeriod(EvictionCondition evictionSoftGracePeriod) {
+ this.evictionSoftGracePeriod = evictionSoftGracePeriod;
+ }
+
+ public Integer getImageGCHighThresholdPercent() {
+ return imageGCHighThresholdPercent;
+ }
+
+ public void setImageGCHighThresholdPercent(Integer imageGCHighThresholdPercent) {
+ this.imageGCHighThresholdPercent = imageGCHighThresholdPercent;
+ }
+
+ public Integer getImageGCLowThresholdPercent() {
+ return imageGCLowThresholdPercent;
+ }
+
+ public void setImageGCLowThresholdPercent(Integer imageGCLowThresholdPercent) {
+ this.imageGCLowThresholdPercent = imageGCLowThresholdPercent;
+ }
+
+ public ReservedResource getKubeReserved() {
+ return kubeReserved;
+ }
+
+ public void setKubeReserved(ReservedResource kubeReserved) {
+ this.kubeReserved = kubeReserved;
+ }
+
+ public ReservedResource getSystemReserved() {
+ return systemReserved;
+ }
+
+ public void setSystemReserved(ReservedResource systemReserved) {
+ this.systemReserved = systemReserved;
+ }
+
+ public Integer getMaxPods() {
+ return maxPods;
+ }
+
+ public void setMaxPods(Integer maxPods) {
+ this.maxPods = maxPods;
+ }
+ }
+
+ public static class NetworkInterface extends Response {
+
+ /** EIP */
+ @SerializedName("EIP")
+ private EIP eip;
+
+ public EIP getEIP() {
+ return eip;
+ }
+
+ public void setEIP(EIP eip) {
+ this.eip = eip;
+ }
+ }
+
+ public static class NodeGroupDiskConfig extends Response {
+
+ /** 是否为系统盘 */
+ @SerializedName("IsBoot")
+ private Boolean isBoot;
+
+ /** 磁盘类型 */
+ @SerializedName("Type")
+ private String type;
+
+ /** 磁盘大小,单位 GB */
+ @SerializedName("Size")
+ private Integer size;
+
+ /** 磁盘加密密钥 ID */
+ @SerializedName("KmsKeyId")
+ private String kmsKeyId;
+
+ public Boolean getIsBoot() {
+ return isBoot;
+ }
+
+ public void setIsBoot(Boolean isBoot) {
+ this.isBoot = isBoot;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public Integer getSize() {
+ return size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ }
+
+ public String getKmsKeyId() {
+ return kmsKeyId;
+ }
+
+ public void setKmsKeyId(String kmsKeyId) {
+ this.kmsKeyId = kmsKeyId;
+ }
+ }
+
+ public static class NodeGroupSet extends Response {
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @SerializedName("Zone")
+ private String zone;
+
+ /** 镜像状态:Unknown、Normal、Deleted、NotLatest */
+ @SerializedName("ImageStatus")
+ private String imageStatus;
+
+ /** 数据盘加密密钥 ID */
+ @SerializedName("DataDiskKmsKeyId")
+ private String dataDiskKmsKeyId;
+
+ /** 节点池ID */
+ @SerializedName("NodeGroupId")
+ private String nodeGroupId;
+
+ /** 节点池名字 */
+ @SerializedName("NodeGroupName")
+ private String nodeGroupName;
+
+ /** 自定义Uhost主机名前缀。完整的自定义Uhost主机名为{NodeNamePrefix}-{NodeIP}。 */
+ @SerializedName("NodeNamePrefix")
+ private String nodeNamePrefix;
+
+ /** 镜像ID */
+ @SerializedName("ImageId")
+ private String imageId;
+
+ /** 机型 */
+ @SerializedName("MachineType")
+ private String machineType;
+
+ /** cpu平台 */
+ @SerializedName("MinimalCpuPlatform")
+ private String minimalCpuPlatform;
+
+ /** 主机规格族 */
+ @SerializedName("UHostFamily")
+ private String uHostFamily;
+
+ /** 虚拟CPU核数 */
+ @SerializedName("CPU")
+ private Integer cpu;
+
+ /** 内存大小 */
+ @SerializedName("Mem")
+ private Integer mem;
+
+ /** GPU类型 */
+ @SerializedName("GpuType")
+ private String gpuType;
+
+ /** GPU卡核心数 */
+ @SerializedName("GPU")
+ private Integer gpu;
+
+ /** 系统盘类型 */
+ @SerializedName("BootDiskType")
+ private String bootDiskType;
+
+ /** 系统盘大小 */
+ @SerializedName("BootDiskSize")
+ private Integer bootDiskSize;
+
+ /** 数据盘大小 */
+ @SerializedName("DataDiskSize")
+ private Integer dataDiskSize;
+
+ /** 数据盘类型 */
+ @SerializedName("DataDiskType")
+ private String dataDiskType;
+
+ /** 业务组 */
+ @SerializedName("Tag")
+ private String tag;
+
+ /** 付费方式 */
+ @SerializedName("ChargeType")
+ private String chargeType;
+
+ /** 节点id列表 */
+ @SerializedName("NodeList")
+ private List nodeList;
+
+ /** 子网 ID。默认为集群创建时填写的子网ID,也可以填写集群同VPC内的子网ID。 */
+ @SerializedName("SubnetId")
+ private String subnetId;
+
+ /** 硬件隔离组id。可通过DescribeIsolationGroup获取。 */
+ @SerializedName("IsolationGroupId")
+ private String isolationGroupId;
+
+ /** int 默认110,生产环境建议小于等于110。 */
+ @SerializedName("MaxPods")
+ private Integer maxPods;
+
+ /** 用户自定义数据。当镜像支持Cloud-init Feature时可填写此字段。注意:1、总数据量大小不超过 16K;2、使用base64编码。 */
+ @SerializedName("UserData")
+ private String userData;
+
+ /** 用户自定义Shell脚本。与UserData的区别在于InitScript在节点初始化完毕后才执行,UserData则是云主机初始化时执行。 */
+ @SerializedName("InitScript")
+ private String initScript;
+
+ /** Node节点污点,形式为key=value:effect,多组taints用”,“隔开,最多支持五组。 */
+ @SerializedName("Taints")
+ private String taints;
+
+ /** Node节点标签。key=value形式,多组用”,“隔开,最多5组。 如env=pro,type=game */
+ @SerializedName("Labels")
+ private String labels;
+
+ /** Node所属的安全组id(最多5个) */
+ @SerializedName("SecGroupId")
+ private List secGroupId;
+
+ /** 主机安全模式。Firewall:防火墙;SecGroup:安全组;默认值:Firewall。 */
+ @SerializedName("SecurityMode")
+ private String securityMode;
+
+ /**
+ * 防火墙ID,默认:Web推荐防火墙。如何查询SecurityGroupId请参见
+ * [DescribeFirewall](api/unet-api/describe_firewall.html)。
+ */
+ @SerializedName("SecurityGroupId")
+ private String securityGroupId;
+
+ /** Node节点网卡配置 */
+ @SerializedName("NetworkInterface")
+ private List networkInterface;
+
+ /** KubeletConfiguration */
+ @SerializedName("KubeletConfiguration")
+ private KubeletConfiguration kubeletConfiguration;
+
+ /** 镜像名称 */
+ @SerializedName("ImageName")
+ private String imageName;
+
+ /** 镜像类型 */
+ @SerializedName("ImageType")
+ private String imageType;
+
+ /** 操作系统类型 */
+ @SerializedName("OsType")
+ private String osType;
+
+ /** 操作系统名称 */
+ @SerializedName("OsName")
+ private String osName;
+
+ /** 网络配置 */
+ @SerializedName("NetCapability")
+ private String netCapability;
+
+ /** 是否启用 UNI 网络特性 */
+ @SerializedName("UNIFeature")
+ private Boolean uniFeature;
+
+ /** 磁盘列表 */
+ @SerializedName("Disks")
+ private List disks;
+
+ /** 节点池关联的弹性伸缩组ID */
+ @SerializedName("RelatedAsg")
+ private List relatedAsg;
+
+ /** 节点池创建时间 */
+ @SerializedName("CreateTime")
+ private Integer createTime;
+
+ /** 节点池更新时间 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getImageStatus() {
+ return imageStatus;
+ }
+
+ public void setImageStatus(String imageStatus) {
+ this.imageStatus = imageStatus;
+ }
+
+ public String getDataDiskKmsKeyId() {
+ return dataDiskKmsKeyId;
+ }
+
+ public void setDataDiskKmsKeyId(String dataDiskKmsKeyId) {
+ this.dataDiskKmsKeyId = dataDiskKmsKeyId;
+ }
+
+ public String getNodeGroupId() {
+ return nodeGroupId;
+ }
+
+ public void setNodeGroupId(String nodeGroupId) {
+ this.nodeGroupId = nodeGroupId;
+ }
+
+ public String getNodeGroupName() {
+ return nodeGroupName;
+ }
+
+ public void setNodeGroupName(String nodeGroupName) {
+ this.nodeGroupName = nodeGroupName;
+ }
+
+ public String getNodeNamePrefix() {
+ return nodeNamePrefix;
+ }
+
+ public void setNodeNamePrefix(String nodeNamePrefix) {
+ this.nodeNamePrefix = nodeNamePrefix;
+ }
+
+ public String getImageId() {
+ return imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ }
+
+ public String getMachineType() {
+ return machineType;
+ }
+
+ public void setMachineType(String machineType) {
+ this.machineType = machineType;
+ }
+
+ public String getMinimalCpuPlatform() {
+ return minimalCpuPlatform;
+ }
+
+ public void setMinimalCpuPlatform(String minimalCpuPlatform) {
+ this.minimalCpuPlatform = minimalCpuPlatform;
+ }
+
+ public String getUHostFamily() {
+ return uHostFamily;
+ }
+
+ public void setUHostFamily(String uHostFamily) {
+ this.uHostFamily = uHostFamily;
+ }
+
+ public Integer getCPU() {
+ return cpu;
+ }
+
+ public void setCPU(Integer cpu) {
+ this.cpu = cpu;
+ }
+
+ public Integer getMem() {
+ return mem;
+ }
+
+ public void setMem(Integer mem) {
+ this.mem = mem;
+ }
+
+ public String getGpuType() {
+ return gpuType;
+ }
+
+ public void setGpuType(String gpuType) {
+ this.gpuType = gpuType;
+ }
+
+ public Integer getGPU() {
+ return gpu;
+ }
+
+ public void setGPU(Integer gpu) {
+ this.gpu = gpu;
+ }
+
+ public String getBootDiskType() {
+ return bootDiskType;
+ }
+
+ public void setBootDiskType(String bootDiskType) {
+ this.bootDiskType = bootDiskType;
+ }
+
+ public Integer getBootDiskSize() {
+ return bootDiskSize;
+ }
+
+ public void setBootDiskSize(Integer bootDiskSize) {
+ this.bootDiskSize = bootDiskSize;
+ }
+
+ public Integer getDataDiskSize() {
+ return dataDiskSize;
+ }
+
+ public void setDataDiskSize(Integer dataDiskSize) {
+ this.dataDiskSize = dataDiskSize;
+ }
+
+ public String getDataDiskType() {
+ return dataDiskType;
+ }
+
+ public void setDataDiskType(String dataDiskType) {
+ this.dataDiskType = dataDiskType;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public List getNodeList() {
+ return nodeList;
+ }
+
+ public void setNodeList(List nodeList) {
+ this.nodeList = nodeList;
+ }
+
+ public String getSubnetId() {
+ return subnetId;
+ }
+
+ public void setSubnetId(String subnetId) {
+ this.subnetId = subnetId;
+ }
+
+ public String getIsolationGroupId() {
+ return isolationGroupId;
+ }
+
+ public void setIsolationGroupId(String isolationGroupId) {
+ this.isolationGroupId = isolationGroupId;
+ }
+
+ public Integer getMaxPods() {
+ return maxPods;
+ }
+
+ public void setMaxPods(Integer maxPods) {
+ this.maxPods = maxPods;
+ }
+
+ public String getUserData() {
+ return userData;
+ }
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ }
+
+ public String getInitScript() {
+ return initScript;
+ }
+
+ public void setInitScript(String initScript) {
+ this.initScript = initScript;
+ }
+
+ public String getTaints() {
+ return taints;
+ }
+
+ public void setTaints(String taints) {
+ this.taints = taints;
+ }
+
+ public String getLabels() {
+ return labels;
+ }
+
+ public void setLabels(String labels) {
+ this.labels = labels;
+ }
+
+ public List getSecGroupId() {
+ return secGroupId;
+ }
+
+ public void setSecGroupId(List secGroupId) {
+ this.secGroupId = secGroupId;
+ }
+
+ public String getSecurityMode() {
+ return securityMode;
+ }
+
+ public void setSecurityMode(String securityMode) {
+ this.securityMode = securityMode;
+ }
+
+ public String getSecurityGroupId() {
+ return securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ }
+
+ public List getNetworkInterface() {
+ return networkInterface;
+ }
+
+ public void setNetworkInterface(List networkInterface) {
+ this.networkInterface = networkInterface;
+ }
+
+ public KubeletConfiguration getKubeletConfiguration() {
+ return kubeletConfiguration;
+ }
+
+ public void setKubeletConfiguration(KubeletConfiguration kubeletConfiguration) {
+ this.kubeletConfiguration = kubeletConfiguration;
+ }
+
+ public String getImageName() {
+ return imageName;
+ }
+
+ public void setImageName(String imageName) {
+ this.imageName = imageName;
+ }
+
+ public String getImageType() {
+ return imageType;
+ }
+
+ public void setImageType(String imageType) {
+ this.imageType = imageType;
+ }
+
+ public String getOsType() {
+ return osType;
+ }
+
+ public void setOsType(String osType) {
+ this.osType = osType;
+ }
+
+ public String getOsName() {
+ return osName;
+ }
+
+ public void setOsName(String osName) {
+ this.osName = osName;
+ }
+
+ public String getNetCapability() {
+ return netCapability;
+ }
+
+ public void setNetCapability(String netCapability) {
+ this.netCapability = netCapability;
+ }
+
+ public Boolean getUNIFeature() {
+ return uniFeature;
+ }
+
+ public void setUNIFeature(Boolean uniFeature) {
+ this.uniFeature = uniFeature;
+ }
+
+ public List getDisks() {
+ return disks;
+ }
+
+ public void setDisks(List disks) {
+ this.disks = disks;
+ }
+
+ public List getRelatedAsg() {
+ return relatedAsg;
+ }
+
+ public void setRelatedAsg(List relatedAsg) {
+ this.relatedAsg = relatedAsg;
+ }
+
+ public Integer getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Integer createTime) {
+ this.createTime = createTime;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+ }
+
+ public static class ReservedResource extends Response {
+
+ /** CPU */
+ @SerializedName("CPU")
+ private String cpu;
+
+ /** 内存 */
+ @SerializedName("Memory")
+ private String memory;
+
+ /** 存储 */
+ @SerializedName("EphemeralStorage")
+ private String ephemeralStorage;
+
+ /** Pid */
+ @SerializedName("Pid")
+ private String pid;
+
+ public String getCPU() {
+ return cpu;
+ }
+
+ public void setCPU(String cpu) {
+ this.cpu = cpu;
+ }
+
+ public String getMemory() {
+ return memory;
+ }
+
+ public void setMemory(String memory) {
+ this.memory = memory;
+ }
+
+ public String getEphemeralStorage() {
+ return ephemeralStorage;
+ }
+
+ public void setEphemeralStorage(String ephemeralStorage) {
+ this.ephemeralStorage = ephemeralStorage;
+ }
+
+ public String getPid() {
+ return pid;
+ }
+
+ public void setPid(String pid) {
+ this.pid = pid;
+ }
+ }
+
+ public static class SecGroupId extends Response {
+
+ /** 安全组 ID */
+ @SerializedName("Id")
+ private String id;
+
+ /** 安全组名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 安全组优先级 */
+ @SerializedName("Priority")
+ private String priority;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPriority() {
+ return priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoRequest.java
new file mode 100644
index 00000000..edd44a37
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoRequest.java
@@ -0,0 +1,63 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUK8SPluginInfoRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoResponse.java
new file mode 100644
index 00000000..cf4d52a8
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/GetUK8SPluginInfoResponse.java
@@ -0,0 +1,847 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUK8SPluginInfoResponse extends Response {
+
+ /** 集群ID */
+ @SerializedName("ClusterId")
+ private String clusterId;
+
+ /** CNI插件信息, 参看NodePlugin */
+ @SerializedName("CNIInfoSet")
+ private NodePlugin cniInfoSet;
+
+ /** 集群状态信息 */
+ @SerializedName("ClusterStatus")
+ private String clusterStatus;
+
+ /** 集群升级相关信息 */
+ @SerializedName("ClusterUpgradeInfo")
+ private ClusterUpgradeInfo clusterUpgradeInfo;
+
+ /** 集群容器运行时转换信息。 */
+ @SerializedName("RuntimeConvertInfo")
+ private RuntimeConvertInfo runtimeConvertInfo;
+
+ /** vk插件信息 */
+ @SerializedName("VKInfo")
+ private VKNode vkInfo;
+
+ /** CSI 插件版本与状态。 */
+ @SerializedName("CSIInfo")
+ private CSIInfo csiInfo;
+
+ /** CloudProvider 插件版本与状态。 */
+ @SerializedName("CloudProviderInfo")
+ private CloudProviderInfo cloudProviderInfo;
+
+ /** 监控插件信息。 */
+ @SerializedName("MonitorInfo")
+ private MonitorInfo monitorInfo;
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public NodePlugin getCNIInfoSet() {
+ return cniInfoSet;
+ }
+
+ public void setCNIInfoSet(NodePlugin cniInfoSet) {
+ this.cniInfoSet = cniInfoSet;
+ }
+
+ public String getClusterStatus() {
+ return clusterStatus;
+ }
+
+ public void setClusterStatus(String clusterStatus) {
+ this.clusterStatus = clusterStatus;
+ }
+
+ public ClusterUpgradeInfo getClusterUpgradeInfo() {
+ return clusterUpgradeInfo;
+ }
+
+ public void setClusterUpgradeInfo(ClusterUpgradeInfo clusterUpgradeInfo) {
+ this.clusterUpgradeInfo = clusterUpgradeInfo;
+ }
+
+ public RuntimeConvertInfo getRuntimeConvertInfo() {
+ return runtimeConvertInfo;
+ }
+
+ public void setRuntimeConvertInfo(RuntimeConvertInfo runtimeConvertInfo) {
+ this.runtimeConvertInfo = runtimeConvertInfo;
+ }
+
+ public VKNode getVKInfo() {
+ return vkInfo;
+ }
+
+ public void setVKInfo(VKNode vkInfo) {
+ this.vkInfo = vkInfo;
+ }
+
+ public CSIInfo getCSIInfo() {
+ return csiInfo;
+ }
+
+ public void setCSIInfo(CSIInfo csiInfo) {
+ this.csiInfo = csiInfo;
+ }
+
+ public CloudProviderInfo getCloudProviderInfo() {
+ return cloudProviderInfo;
+ }
+
+ public void setCloudProviderInfo(CloudProviderInfo cloudProviderInfo) {
+ this.cloudProviderInfo = cloudProviderInfo;
+ }
+
+ public MonitorInfo getMonitorInfo() {
+ return monitorInfo;
+ }
+
+ public void setMonitorInfo(MonitorInfo monitorInfo) {
+ this.monitorInfo = monitorInfo;
+ }
+
+ public static class CSIInfo extends Response {
+
+ /** 插件名称。 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 最新可用插件版本。 */
+ @SerializedName("AvailableVersion")
+ private String availableVersion;
+
+ /** 最新可用版本的发布时间。 */
+ @SerializedName("ReleaseTime")
+ private String releaseTime;
+
+ /** 是否开启插件托管。 */
+ @SerializedName("ManageEnabled")
+ private Boolean manageEnabled;
+
+ /** 当前插件版本。 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件状态。 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果。 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getAvailableVersion() {
+ return availableVersion;
+ }
+
+ public void setAvailableVersion(String availableVersion) {
+ this.availableVersion = availableVersion;
+ }
+
+ public String getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(String releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ public Boolean getManageEnabled() {
+ return manageEnabled;
+ }
+
+ public void setManageEnabled(Boolean manageEnabled) {
+ this.manageEnabled = manageEnabled;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+ }
+
+ public static class CloudProviderInfo extends Response {
+
+ /** 插件名称。 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 最新可用插件版本。 */
+ @SerializedName("AvailableVersion")
+ private String availableVersion;
+
+ /** 最新可用版本的发布时间。 */
+ @SerializedName("ReleaseTime")
+ private String releaseTime;
+
+ /** 是否开启插件托管。 */
+ @SerializedName("ManageEnabled")
+ private Boolean manageEnabled;
+
+ /** 当前插件版本。 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件状态。 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果。 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getAvailableVersion() {
+ return availableVersion;
+ }
+
+ public void setAvailableVersion(String availableVersion) {
+ this.availableVersion = availableVersion;
+ }
+
+ public String getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(String releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ public Boolean getManageEnabled() {
+ return manageEnabled;
+ }
+
+ public void setManageEnabled(Boolean manageEnabled) {
+ this.manageEnabled = manageEnabled;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+ }
+
+ public static class ClusterUpdateNodeInfo extends Response {
+
+ /** Node节点名称 */
+ @SerializedName("Node")
+ private String node;
+
+ /** 插件版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件工作状态,0:未知,1:正常, 2:异常, 3: 升级中 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 插件信息更新时间 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果,0:没有上次操作结果,或当前正在执行升级或查询 1:获取成功 2 获取失败 3 升级成功 4 升级失败 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ /** Node节点IP */
+ @SerializedName("IP")
+ private String ip;
+
+ /** 节点角色, master 或者 node */
+ @SerializedName("Role")
+ private String role;
+
+ public String getNode() {
+ return node;
+ }
+
+ public void setNode(String node) {
+ this.node = node;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+
+ public String getIP() {
+ return ip;
+ }
+
+ public void setIP(String ip) {
+ this.ip = ip;
+ }
+
+ public String getRole() {
+ return role;
+ }
+
+ public void setRole(String role) {
+ this.role = role;
+ }
+ }
+
+ public static class ClusterUpgradeInfo extends Response {
+
+ /** 集群信息更新时间戳,单位 s */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /**
+ * string,集群升级所处阶段 Unknown、Precheck、MasterUpdating、NodeUpdating、Failed、Success
+ *
+ *
集群从未进行过升级则返回 Unknown
+ *
+ *
集群开始升级过程几个阶段 Precheck->MasterUpdating->NodeUpdating→Success
+ *
+ *
如果升级失败则为 Failed
+ */
+ @SerializedName("Stage")
+ private String stage;
+
+ /** string, 集群当前版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** string,集群升级目标版本 */
+ @SerializedName("TargetVersion")
+ private String targetVersion;
+
+ /** string 数组,可用新版本,例如 ["1.15.12","1.16.15","1.17.4","1.18.9"] */
+ @SerializedName("AvailableVersions")
+ private List availableVersions;
+
+ /** 各个节点升级信息, 参照 ClusterUpdateNodeInfo */
+ @SerializedName("NodeInfoSet")
+ private List nodeInfoSet;
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getStage() {
+ return stage;
+ }
+
+ public void setStage(String stage) {
+ this.stage = stage;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public String getTargetVersion() {
+ return targetVersion;
+ }
+
+ public void setTargetVersion(String targetVersion) {
+ this.targetVersion = targetVersion;
+ }
+
+ public List getAvailableVersions() {
+ return availableVersions;
+ }
+
+ public void setAvailableVersions(List availableVersions) {
+ this.availableVersions = availableVersions;
+ }
+
+ public List getNodeInfoSet() {
+ return nodeInfoSet;
+ }
+
+ public void setNodeInfoSet(List nodeInfoSet) {
+ this.nodeInfoSet = nodeInfoSet;
+ }
+ }
+
+ public static class MonitorInfo extends Response {
+
+ /** 最新可用监控插件版本。 */
+ @SerializedName("AvailableVersion")
+ private String availableVersion;
+
+ public String getAvailableVersion() {
+ return availableVersion;
+ }
+
+ public void setAvailableVersion(String availableVersion) {
+ this.availableVersion = availableVersion;
+ }
+ }
+
+ public static class NodePlugin extends Response {
+
+ /** 插件名称, 如 CNI, CSI, Flexv, CloudProvider */
+ @SerializedName("Name")
+ private String name;
+
+ /** 各个节点插件信息, 参照NodePluginInfo */
+ @SerializedName("PluginInfoSet")
+ private List pluginInfoSet;
+
+ /** 最新插件版本 */
+ @SerializedName("AvailableVersion")
+ private String availableVersion;
+
+ /** 最新插件发布时间 */
+ @SerializedName("ReleaseTime")
+ private String releaseTime;
+
+ /** 插件管理是否开启 */
+ @SerializedName("ManageEnabled")
+ private Boolean manageEnabled;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getPluginInfoSet() {
+ return pluginInfoSet;
+ }
+
+ public void setPluginInfoSet(List pluginInfoSet) {
+ this.pluginInfoSet = pluginInfoSet;
+ }
+
+ public String getAvailableVersion() {
+ return availableVersion;
+ }
+
+ public void setAvailableVersion(String availableVersion) {
+ this.availableVersion = availableVersion;
+ }
+
+ public String getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(String releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ public Boolean getManageEnabled() {
+ return manageEnabled;
+ }
+
+ public void setManageEnabled(Boolean manageEnabled) {
+ this.manageEnabled = manageEnabled;
+ }
+ }
+
+ public static class NodePluginInfo extends Response {
+
+ /** Node节点名称 */
+ @SerializedName("Node")
+ private String node;
+
+ /** 插件版本 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件工作状态,0:未知,1:正常, 2:异常, 3: 升级中 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 插件信息更新时间 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果,0:没有上次操作结果,或当前正在执行升级或查询 1:获取成功 2 获取失败 3 升级成功 4 升级失败 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ /** Node节点IP */
+ @SerializedName("IP")
+ private String ip;
+
+ public String getNode() {
+ return node;
+ }
+
+ public void setNode(String node) {
+ this.node = node;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+
+ public String getIP() {
+ return ip;
+ }
+
+ public void setIP(String ip) {
+ this.ip = ip;
+ }
+ }
+
+ public static class RuntimeConvertInfo extends Response {
+
+ /** 各节点的运行时转换状态。 */
+ @SerializedName("NodeInfoSet")
+ private List nodeInfoSet;
+
+ /**
+ * 集群从未进行过运行时转换则返回 Unknown
+ *
+ * 集群运行时转换几个阶段 Precheck->Updating→Success
+ *
+ *
如果转换失败则为 Failed
+ */
+ @SerializedName("Stage")
+ private String stage;
+
+ /** 运行时转换信息更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 容器运行时名称。 */
+ @SerializedName("RuntimeName")
+ private String runtimeName;
+
+ /** 容器运行时版本。 */
+ @SerializedName("RuntimeVersion")
+ private String runtimeVersion;
+
+ public List getNodeInfoSet() {
+ return nodeInfoSet;
+ }
+
+ public void setNodeInfoSet(List nodeInfoSet) {
+ this.nodeInfoSet = nodeInfoSet;
+ }
+
+ public String getStage() {
+ return stage;
+ }
+
+ public void setStage(String stage) {
+ this.stage = stage;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getRuntimeName() {
+ return runtimeName;
+ }
+
+ public void setRuntimeName(String runtimeName) {
+ this.runtimeName = runtimeName;
+ }
+
+ public String getRuntimeVersion() {
+ return runtimeVersion;
+ }
+
+ public void setRuntimeVersion(String runtimeVersion) {
+ this.runtimeVersion = runtimeVersion;
+ }
+ }
+
+ public static class VKNode extends Response {
+
+ /** 插件名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 各虚拟节点的插件信息。 */
+ @SerializedName("PluginInfoSet")
+ private List pluginInfoSet;
+
+ /** 最新版本 */
+ @SerializedName("AvailableVersion")
+ private String availableVersion;
+
+ /** 发布时间 */
+ @SerializedName("ReleaseTime")
+ private String releaseTime;
+
+ /** 插件管理是否开启 */
+ @SerializedName("ManageEnabled")
+ private Boolean manageEnabled;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public List getPluginInfoSet() {
+ return pluginInfoSet;
+ }
+
+ public void setPluginInfoSet(List pluginInfoSet) {
+ this.pluginInfoSet = pluginInfoSet;
+ }
+
+ public String getAvailableVersion() {
+ return availableVersion;
+ }
+
+ public void setAvailableVersion(String availableVersion) {
+ this.availableVersion = availableVersion;
+ }
+
+ public String getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(String releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ public Boolean getManageEnabled() {
+ return manageEnabled;
+ }
+
+ public void setManageEnabled(Boolean manageEnabled) {
+ this.manageEnabled = manageEnabled;
+ }
+ }
+
+ public static class VKNodeInfo extends Response {
+
+ /** 节点 ID。 */
+ @SerializedName("Node")
+ private String node;
+
+ /** 插件版本。 */
+ @SerializedName("Version")
+ private String version;
+
+ /** 插件状态:0 未知,1 正常,2 异常,3 升级中。 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 更新时间,Unix 时间戳,单位秒。 */
+ @SerializedName("UpdateTime")
+ private Integer updateTime;
+
+ /** 上次插件操作结果:0 无结果,1 查询成功,2 查询失败,3 升级成功,4 升级失败。 */
+ @SerializedName("OperationResult")
+ private Integer operationResult;
+
+ public String getNode() {
+ return node;
+ }
+
+ public void setNode(String node) {
+ this.node = node;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Integer updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getOperationResult() {
+ return operationResult;
+ }
+
+ public void setOperationResult(Integer operationResult) {
+ this.operationResult = operationResult;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SNodeGroupResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SNodeGroupResponse.java
index 1c08dab1..6936dc36 100644
--- a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SNodeGroupResponse.java
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/ListUK8SNodeGroupResponse.java
@@ -33,129 +33,6 @@ public void setNodeGroupList(List nodeGroupList) {
this.nodeGroupList = nodeGroupList;
}
- public static class DiskSet extends Response {
-
- /** 磁盘类型。系统盘: Boot,数据盘: Data,网络盘:Udisk */
- @SerializedName("Type")
- private String type;
-
- /** 磁盘长ID */
- @SerializedName("DiskId")
- private String diskId;
-
- /** UDisk名字(仅当磁盘是UDisk时返回) */
- @SerializedName("Name")
- private String name;
-
- /** 磁盘盘符 */
- @SerializedName("Drive")
- private String drive;
-
- /** 磁盘大小,单位: GB */
- @SerializedName("Size")
- private Integer size;
-
- /** 备份方案,枚举类型:BASIC_SNAPSHOT,普通快照;DATAARK,方舟。无快照则不返回该字段。 */
- @SerializedName("BackupType")
- private String backupType;
-
- /** 当前主机的IOPS值 */
- @SerializedName("IOPS")
- private Integer iops;
-
- /** Yes: 加密 No: 非加密 */
- @SerializedName("Encrypted")
- private String encrypted;
-
- /** LOCAL_NOMAL| CLOUD_NORMAL| LOCAL_SSD| CLOUD_SSD|EXCLUSIVE_LOCAL_DISK */
- @SerializedName("DiskType")
- private String diskType;
-
- /** True| False */
- @SerializedName("IsBoot")
- private String isBoot;
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public String getDiskId() {
- return diskId;
- }
-
- public void setDiskId(String diskId) {
- this.diskId = diskId;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getDrive() {
- return drive;
- }
-
- public void setDrive(String drive) {
- this.drive = drive;
- }
-
- public Integer getSize() {
- return size;
- }
-
- public void setSize(Integer size) {
- this.size = size;
- }
-
- public String getBackupType() {
- return backupType;
- }
-
- public void setBackupType(String backupType) {
- this.backupType = backupType;
- }
-
- public Integer getIOPS() {
- return iops;
- }
-
- public void setIOPS(Integer iops) {
- this.iops = iops;
- }
-
- public String getEncrypted() {
- return encrypted;
- }
-
- public void setEncrypted(String encrypted) {
- this.encrypted = encrypted;
- }
-
- public String getDiskType() {
- return diskType;
- }
-
- public void setDiskType(String diskType) {
- this.diskType = diskType;
- }
-
- public String getIsBoot() {
- return isBoot;
- }
-
- public void setIsBoot(String isBoot) {
- this.isBoot = isBoot;
- }
- }
-
public static class EIP extends Response {
/**
@@ -419,12 +296,71 @@ public void setEIP(EIP eip) {
}
}
+ public static class NodeGroupDiskConfig extends Response {
+
+ /** 是否为系统盘 */
+ @SerializedName("IsBoot")
+ private Boolean isBoot;
+
+ /** 磁盘类型 */
+ @SerializedName("Type")
+ private String type;
+
+ /** 磁盘大小,单位 GB */
+ @SerializedName("Size")
+ private Integer size;
+
+ /** 磁盘加密密钥 ID */
+ @SerializedName("KmsKeyId")
+ private String kmsKeyId;
+
+ public Boolean getIsBoot() {
+ return isBoot;
+ }
+
+ public void setIsBoot(Boolean isBoot) {
+ this.isBoot = isBoot;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public Integer getSize() {
+ return size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ }
+
+ public String getKmsKeyId() {
+ return kmsKeyId;
+ }
+
+ public void setKmsKeyId(String kmsKeyId) {
+ this.kmsKeyId = kmsKeyId;
+ }
+ }
+
public static class NodeGroupSet extends Response {
/** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
@SerializedName("Zone")
private String zone;
+ /** 镜像状态:Unknown、Normal、Deleted、NotLatest */
+ @SerializedName("ImageStatus")
+ private String imageStatus;
+
+ /** 数据盘加密密钥 ID */
+ @SerializedName("DataDiskKmsKeyId")
+ private String dataDiskKmsKeyId;
+
/** 节点池ID */
@SerializedName("NodeGroupId")
private String nodeGroupId;
@@ -574,7 +510,7 @@ public static class NodeGroupSet extends Response {
/** 磁盘列表 */
@SerializedName("Disks")
- private List disks;
+ private List disks;
/** 节点池关联的弹性伸缩组ID */
@SerializedName("RelatedAsg")
@@ -596,6 +532,22 @@ public void setZone(String zone) {
this.zone = zone;
}
+ public String getImageStatus() {
+ return imageStatus;
+ }
+
+ public void setImageStatus(String imageStatus) {
+ this.imageStatus = imageStatus;
+ }
+
+ public String getDataDiskKmsKeyId() {
+ return dataDiskKmsKeyId;
+ }
+
+ public void setDataDiskKmsKeyId(String dataDiskKmsKeyId) {
+ this.dataDiskKmsKeyId = dataDiskKmsKeyId;
+ }
+
public String getNodeGroupId() {
return nodeGroupId;
}
@@ -884,11 +836,11 @@ public void setUNIFeature(Boolean uniFeature) {
this.uniFeature = uniFeature;
}
- public List getDisks() {
+ public List getDisks() {
return disks;
}
- public void setDisks(List disks) {
+ public void setDisks(List disks) {
this.disks = disks;
}
@@ -970,11 +922,11 @@ public void setPid(String pid) {
public static class SecGroupId extends Response {
- /** 安全组名称 */
+ /** 安全组 ID */
@SerializedName("Id")
private String id;
- /** 安全组id */
+ /** 安全组名称 */
@SerializedName("Name")
private String name;
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Request.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Request.java
new file mode 100644
index 00000000..88143c60
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Request.java
@@ -0,0 +1,136 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateUK8SAutoScalingGroupV2Request extends Request {
+
+ /** 可用区,可选。此接口按集群和伸缩组 ID 更新配置。 */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /** 项目ID */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 地域 */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 伸缩组ID */
+ @NotEmpty
+ @UCloudParam("Id")
+ private String id;
+
+ /** 伸缩组名称 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 最小节点数,范围 0–100。 */
+ @NotEmpty
+ @UCloudParam("Min")
+ private Integer min;
+
+ /** 最大节点数,范围 1–100。 */
+ @NotEmpty
+ @UCloudParam("Max")
+ private Integer max;
+
+ /** 伸缩组优先级,范围 1–100,值越大越优先。省略或传 0 时保持原优先级。 */
+ @UCloudParam("Priority")
+ private Integer priority;
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getMin() {
+ return min;
+ }
+
+ public void setMin(Integer min) {
+ this.min = min;
+ }
+
+ public Integer getMax() {
+ return max;
+ }
+
+ public void setMax(Integer max) {
+ this.max = max;
+ }
+
+ public Integer getPriority() {
+ return priority;
+ }
+
+ public void setPriority(Integer priority) {
+ this.priority = priority;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Response.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Response.java
new file mode 100644
index 00000000..544ddeb0
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoScalingGroupV2Response.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpdateUK8SAutoScalingGroupV2Response extends Response {}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerRequest.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerRequest.java
new file mode 100644
index 00000000..ba42af24
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerRequest.java
@@ -0,0 +1,114 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateUK8SAutoscalerRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群ID */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 节点持续不需要后触发缩容的等待时间,单位分钟,范围 1–1440。 */
+ @NotEmpty
+ @UCloudParam("ScaleDownUnneededTime")
+ private Integer scaleDownUnneededTime;
+
+ /** 节点缩容利用率阈值,单位百分比,范围 0–100。例如 50 表示 50%。 */
+ @NotEmpty
+ @UCloudParam("ScaleDownUtilizationThreshold")
+ private Integer scaleDownUtilizationThreshold;
+
+ /** 添加节点后等待缩容的时间,单位分钟,范围 1–1440。 */
+ @NotEmpty
+ @UCloudParam("ScaleDownDelayAfterAdd")
+ private Integer scaleDownDelayAfterAdd;
+
+ /** GPU 缩容利用率阈值,单位百分比,范围 0–100。省略时使用 ScaleDownUtilizationThreshold。 */
+ @UCloudParam("ScaleDownGPUUtilizationThreshold")
+ private Integer scaleDownGPUUtilizationThreshold;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public Integer getScaleDownUnneededTime() {
+ return scaleDownUnneededTime;
+ }
+
+ public void setScaleDownUnneededTime(Integer scaleDownUnneededTime) {
+ this.scaleDownUnneededTime = scaleDownUnneededTime;
+ }
+
+ public Integer getScaleDownUtilizationThreshold() {
+ return scaleDownUtilizationThreshold;
+ }
+
+ public void setScaleDownUtilizationThreshold(Integer scaleDownUtilizationThreshold) {
+ this.scaleDownUtilizationThreshold = scaleDownUtilizationThreshold;
+ }
+
+ public Integer getScaleDownDelayAfterAdd() {
+ return scaleDownDelayAfterAdd;
+ }
+
+ public void setScaleDownDelayAfterAdd(Integer scaleDownDelayAfterAdd) {
+ this.scaleDownDelayAfterAdd = scaleDownDelayAfterAdd;
+ }
+
+ public Integer getScaleDownGPUUtilizationThreshold() {
+ return scaleDownGPUUtilizationThreshold;
+ }
+
+ public void setScaleDownGPUUtilizationThreshold(Integer scaleDownGPUUtilizationThreshold) {
+ this.scaleDownGPUUtilizationThreshold = scaleDownGPUUtilizationThreshold;
+ }
+}
diff --git a/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerResponse.java b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerResponse.java
new file mode 100644
index 00000000..9a507225
--- /dev/null
+++ b/ucloud-sdk-java-uk8s/src/main/java/cn/ucloud/uk8s/models/UpdateUK8SAutoscalerResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uk8s.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpdateUK8SAutoscalerResponse extends Response {}
diff --git a/ucloud-sdk-java-ukafka/pom.xml b/ucloud-sdk-java-ukafka/pom.xml
index f65deadd..04566116 100644
--- a/ucloud-sdk-java-ukafka/pom.xml
+++ b/ucloud-sdk-java-ukafka/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ukafka
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-ukms/pom.xml b/ucloud-sdk-java-ukms/pom.xml
index bc4fee0d..c21e95fd 100644
--- a/ucloud-sdk-java-ukms/pom.xml
+++ b/ucloud-sdk-java-ukms/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ukms
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml
index 1fa781d5..51dd0d12 100644
--- a/ucloud-sdk-java-ulb/pom.xml
+++ b/ucloud-sdk-java-ulb/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ulb
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-ulighthost/pom.xml b/ucloud-sdk-java-ulighthost/pom.xml
index 5cf5de5b..81057f2a 100644
--- a/ucloud-sdk-java-ulighthost/pom.xml
+++ b/ucloud-sdk-java-ulighthost/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ulighthost
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-ulog/pom.xml b/ucloud-sdk-java-ulog/pom.xml
index 0feca714..3ef292cc 100644
--- a/ucloud-sdk-java-ulog/pom.xml
+++ b/ucloud-sdk-java-ulog/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ulog
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-ulogservice/pom.xml b/ucloud-sdk-java-ulogservice/pom.xml
index 4d4598f9..302a8147 100644
--- a/ucloud-sdk-java-ulogservice/pom.xml
+++ b/ucloud-sdk-java-ulogservice/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-ulogservice
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml
index d88dea9d..f8072b50 100644
--- a/ucloud-sdk-java-umem/pom.xml
+++ b/ucloud-sdk-java-umem/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-umem
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-umon/pom.xml b/ucloud-sdk-java-umon/pom.xml
index a01843c8..c73ecb3d 100644
--- a/ucloud-sdk-java-umon/pom.xml
+++ b/ucloud-sdk-java-umon/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-umon
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml
index fa50c530..3c60f24c 100644
--- a/ucloud-sdk-java-umongodb/pom.xml
+++ b/ucloud-sdk-java-umongodb/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-umongodb
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml
index 14afc438..1aa9291b 100644
--- a/ucloud-sdk-java-unet/pom.xml
+++ b/ucloud-sdk-java-unet/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-unet
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-upfs/pom.xml b/ucloud-sdk-java-upfs/pom.xml
index b0cea43d..1c7ad7d8 100644
--- a/ucloud-sdk-java-upfs/pom.xml
+++ b/ucloud-sdk-java-upfs/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-upfs
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml
index 5949bb74..0103f8d2 100644
--- a/ucloud-sdk-java-upgsql/pom.xml
+++ b/ucloud-sdk-java-upgsql/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-upgsql
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml
index 246fa691..b3def40f 100644
--- a/ucloud-sdk-java-uphone/pom.xml
+++ b/ucloud-sdk-java-uphone/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-uphone
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml
index 025d388f..4ebc5b88 100644
--- a/ucloud-sdk-java-uphost/pom.xml
+++ b/ucloud-sdk-java-uphost/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-uphost
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml
index d26a968b..d0022d54 100644
--- a/ucloud-sdk-java-uslk/pom.xml
+++ b/ucloud-sdk-java-uslk/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-uslk
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml
index 1c957039..8e5bcdad 100644
--- a/ucloud-sdk-java-usms/pom.xml
+++ b/ucloud-sdk-java-usms/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-usms
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-usnap/pom.xml b/ucloud-sdk-java-usnap/pom.xml
index 1c82251b..91399727 100644
--- a/ucloud-sdk-java-usnap/pom.xml
+++ b/ucloud-sdk-java-usnap/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-usnap
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml
index da5576be..6572bf65 100644
--- a/ucloud-sdk-java-uvms/pom.xml
+++ b/ucloud-sdk-java-uvms/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-uvms
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-uwsc/pom.xml b/ucloud-sdk-java-uwsc/pom.xml
index b9aad14b..77e9ddf7 100644
--- a/ucloud-sdk-java-uwsc/pom.xml
+++ b/ucloud-sdk-java-uwsc/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-uwsc
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release
diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml
index 621cc9fa..d3e9d04b 100644
--- a/ucloud-sdk-java-vpc/pom.xml
+++ b/ucloud-sdk-java-vpc/pom.xml
@@ -5,19 +5,19 @@
ucloud-sdk-java
cn.ucloud
- 1.2.111-release
+ 1.2.112-release
4.0.0
ucloud-sdk-java-vpc
ucloud-sdk-java
- 1.2.111-release
+ 1.2.112-release
cn.ucloud
ucloud-sdk-java-common
- 1.2.111-release
+ 1.2.112-release