Skip to content

Commit

Permalink
Add response parameters in GetK8sApplication.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 13, 2023
1 parent 408e554 commit eda5f1e
Show file tree
Hide file tree
Showing 13 changed files with 223 additions and 1 deletion.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-edas/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-11-13 Version: 3.26.17
- Add response parameters in GetK8sApplication.
- Add request parameters in InsertK8sApplication.

2023-03-27 Version: 3.26.16
- Add UserBaseImageUrl parameter for InsertK8sApplication API.
- Add UserBaseImageUrl parameter for DeployK8sApplication API.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-edas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-edas</artifactId>
<packaging>jar</packaging>
<version>3.26.16</version>
<version>3.26.17</version>
<name>aliyun-java-sdk-edas</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,18 @@ public class DeployK8sApplicationRequest extends RoaAcsRequest<DeployK8sApplicat

private String configMountDescs;

private String startup;

private Integer memoryLimit;

private String imagePlatforms;

private String imageTag;

private String deployAcrossZones;

private Integer terminateGracePeriod;

private String deployAcrossNodes;

private Integer memoryRequest;
Expand Down Expand Up @@ -79,6 +85,8 @@ public class DeployK8sApplicationRequest extends RoaAcsRequest<DeployK8sApplicat

private Integer losslessRuleFuncType;

private String canaryRuleId;

private String emptyDirs;

private Integer mcpuLimit;
Expand Down Expand Up @@ -270,6 +278,17 @@ public void setConfigMountDescs(String configMountDescs) {
}
}

public String getStartup() {
return this.startup;
}

public void setStartup(String startup) {
this.startup = startup;
if(startup != null){
putQueryParameter("Startup", startup);
}
}

public Integer getMemoryLimit() {
return this.memoryLimit;
}
Expand All @@ -281,6 +300,17 @@ public void setMemoryLimit(Integer memoryLimit) {
}
}

public String getImagePlatforms() {
return this.imagePlatforms;
}

public void setImagePlatforms(String imagePlatforms) {
this.imagePlatforms = imagePlatforms;
if(imagePlatforms != null){
putQueryParameter("ImagePlatforms", imagePlatforms);
}
}

public String getImageTag() {
return this.imageTag;
}
Expand All @@ -303,6 +333,17 @@ public void setDeployAcrossZones(String deployAcrossZones) {
}
}

public Integer getTerminateGracePeriod() {
return this.terminateGracePeriod;
}

public void setTerminateGracePeriod(Integer terminateGracePeriod) {
this.terminateGracePeriod = terminateGracePeriod;
if(terminateGracePeriod != null){
putQueryParameter("TerminateGracePeriod", terminateGracePeriod.toString());
}
}

public String getDeployAcrossNodes() {
return this.deployAcrossNodes;
}
Expand Down Expand Up @@ -457,6 +498,17 @@ public void setLosslessRuleFuncType(Integer losslessRuleFuncType) {
}
}

public String getCanaryRuleId() {
return this.canaryRuleId;
}

public void setCanaryRuleId(String canaryRuleId) {
this.canaryRuleId = canaryRuleId;
if(canaryRuleId != null){
putQueryParameter("CanaryRuleId", canaryRuleId);
}
}

public String getEmptyDirs() {
return this.emptyDirs;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ public static class Applcation {

private Boolean haveManageAccess;

private String workloadType;

private String resourceGroupId;

public String getExtSlbIp() {
return this.extSlbIp;
}
Expand Down Expand Up @@ -395,6 +399,22 @@ public Boolean getHaveManageAccess() {
public void setHaveManageAccess(Boolean haveManageAccess) {
this.haveManageAccess = haveManageAccess;
}

public String getWorkloadType() {
return this.workloadType;
}

public void setWorkloadType(String workloadType) {
this.workloadType = workloadType;
}

public String getResourceGroupId() {
return this.resourceGroupId;
}

public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
}

public static class Application {
Expand Down Expand Up @@ -463,6 +483,10 @@ public static class Application {

private String haveManageAccess;

private String workloadType;

private String resourceGroupId;

public String getExtSlbIp() {
return this.extSlbIp;
}
Expand Down Expand Up @@ -718,6 +742,22 @@ public String getHaveManageAccess() {
public void setHaveManageAccess(String haveManageAccess) {
this.haveManageAccess = haveManageAccess;
}

public String getWorkloadType() {
return this.workloadType;
}

public void setWorkloadType(String workloadType) {
this.workloadType = workloadType;
}

public String getResourceGroupId() {
return this.resourceGroupId;
}

public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ public static class App {

private Integer losslessRuleWarmupTime;

private String featureAnnotations;

private String workloadType;

private List<Env> envList;

private List<String> cmdArgs;
Expand Down Expand Up @@ -582,6 +586,22 @@ public void setLosslessRuleWarmupTime(Integer losslessRuleWarmupTime) {
this.losslessRuleWarmupTime = losslessRuleWarmupTime;
}

public String getFeatureAnnotations() {
return this.featureAnnotations;
}

public void setFeatureAnnotations(String featureAnnotations) {
this.featureAnnotations = featureAnnotations;
}

public String getWorkloadType() {
return this.workloadType;
}

public void setWorkloadType(String workloadType) {
this.workloadType = workloadType;
}

public List<Env> getEnvList() {
return this.envList;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ public class InsertK8sApplicationRequest extends RoaAcsRequest<InsertK8sApplicat

private String appName;

private String startup;

private Integer requestsmCpu;

private String imagePlatforms;

private String deployAcrossZones;

private Integer terminateGracePeriod;

private Integer intranetSlbPort;

private String deployAcrossNodes;
Expand Down Expand Up @@ -143,6 +149,8 @@ public class InsertK8sApplicationRequest extends RoaAcsRequest<InsertK8sApplicat

private String mountDescs;

private String featureConfig;

private Integer replicas;

private Integer limitCpu;
Expand Down Expand Up @@ -315,6 +323,17 @@ public void setAppName(String appName) {
}
}

public String getStartup() {
return this.startup;
}

public void setStartup(String startup) {
this.startup = startup;
if(startup != null){
putQueryParameter("Startup", startup);
}
}

public Integer getRequestsmCpu() {
return this.requestsmCpu;
}
Expand All @@ -326,6 +345,17 @@ public void setRequestsmCpu(Integer requestsmCpu) {
}
}

public String getImagePlatforms() {
return this.imagePlatforms;
}

public void setImagePlatforms(String imagePlatforms) {
this.imagePlatforms = imagePlatforms;
if(imagePlatforms != null){
putQueryParameter("ImagePlatforms", imagePlatforms);
}
}

public String getDeployAcrossZones() {
return this.deployAcrossZones;
}
Expand All @@ -337,6 +367,17 @@ public void setDeployAcrossZones(String deployAcrossZones) {
}
}

public Integer getTerminateGracePeriod() {
return this.terminateGracePeriod;
}

public void setTerminateGracePeriod(Integer terminateGracePeriod) {
this.terminateGracePeriod = terminateGracePeriod;
if(terminateGracePeriod != null){
putQueryParameter("TerminateGracePeriod", terminateGracePeriod.toString());
}
}

public Integer getIntranetSlbPort() {
return this.intranetSlbPort;
}
Expand Down Expand Up @@ -843,6 +884,17 @@ public void setMountDescs(String mountDescs) {
}
}

public String getFeatureConfig() {
return this.featureConfig;
}

public void setFeatureConfig(String featureConfig) {
this.featureConfig = featureConfig;
if(featureConfig != null){
putQueryParameter("FeatureConfig", featureConfig);
}
}

public Integer getReplicas() {
return this.replicas;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public class ListApplicationRequest extends RoaAcsRequest<ListApplicationRespons

private String logicalRegionId;

private Integer pageSize;

private Integer currentPage;

private String clusterId;

private String logicalRegionIdFilter;
Expand Down Expand Up @@ -90,6 +94,28 @@ public void setLogicalRegionId(String logicalRegionId) {
}
}

public Integer getPageSize() {
return this.pageSize;
}

public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

public Integer getCurrentPage() {
return this.currentPage;
}

public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}

public String getClusterId() {
return this.clusterId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ public static class PathsItem {

private Integer collectRate;

private String pathType;

private Backend backend;

public String getStatus() {
Expand Down Expand Up @@ -355,6 +357,14 @@ public void setCollectRate(Integer collectRate) {
this.collectRate = collectRate;
}

public String getPathType() {
return this.pathType;
}

public void setPathType(String pathType) {
this.pathType = pathType;
}

public Backend getBackend() {
return this.backend;
}
Expand Down
Loading

0 comments on commit eda5f1e

Please sign in to comment.