From 780b547d85d5099a132e42508ebe2c5560f59c7c Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 31 Aug 2023 07:01:20 +0000 Subject: [PATCH] ECS-workbench upgrade, add Container involved params. --- aliyun-java-sdk-ecs-workbench/ChangeLog.txt | 3 +++ aliyun-java-sdk-ecs-workbench/pom.xml | 2 +- .../model/v20220220/LoginInstanceRequest.java | 22 +++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/aliyun-java-sdk-ecs-workbench/ChangeLog.txt b/aliyun-java-sdk-ecs-workbench/ChangeLog.txt index 919a3578fb..5f24444980 100644 --- a/aliyun-java-sdk-ecs-workbench/ChangeLog.txt +++ b/aliyun-java-sdk-ecs-workbench/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-08-31 Version: 1.0.4 +- ECS-workbench upgrade, add Container involved params. + 2023-08-21 Version: 1.0.3 - ECS-workbench upgrade, add fixedHeight and fixedWidth parameters. diff --git a/aliyun-java-sdk-ecs-workbench/pom.xml b/aliyun-java-sdk-ecs-workbench/pom.xml index 4cf8ff3bce..30fe775e96 100644 --- a/aliyun-java-sdk-ecs-workbench/pom.xml +++ b/aliyun-java-sdk-ecs-workbench/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-ecs-workbench jar - 1.0.3 + 1.0.4 aliyun-java-sdk-ecs-workbench http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-ecs-workbench/src/main/java/com/aliyuncs/ecs_workbench/model/v20220220/LoginInstanceRequest.java b/aliyun-java-sdk-ecs-workbench/src/main/java/com/aliyuncs/ecs_workbench/model/v20220220/LoginInstanceRequest.java index 6a5c946c1f..0e13bd9005 100644 --- a/aliyun-java-sdk-ecs-workbench/src/main/java/com/aliyuncs/ecs_workbench/model/v20220220/LoginInstanceRequest.java +++ b/aliyun-java-sdk-ecs-workbench/src/main/java/com/aliyuncs/ecs_workbench/model/v20220220/LoginInstanceRequest.java @@ -61,6 +61,7 @@ public void setInstanceLoginInfo(InstanceLoginInfo instanceLoginInfo) { putQueryParameter("InstanceLoginInfo.ExpireTime" , instanceLoginInfo.getExpireTime()); putQueryParameter("InstanceLoginInfo.Certificate" , instanceLoginInfo.getCertificate()); putQueryParameter("InstanceLoginInfo.AuthenticationType" , instanceLoginInfo.getAuthenticationType()); + putQueryParameter("InstanceLoginInfo.DockerExec" , instanceLoginInfo.getDockerExec()); putQueryParameter("InstanceLoginInfo.Protocol" , instanceLoginInfo.getBizProtocol()); putQueryParameter("InstanceLoginInfo.Password" , instanceLoginInfo.getPassword()); putQueryParameter("InstanceLoginInfo.InstanceId" , instanceLoginInfo.getInstanceId()); @@ -97,6 +98,7 @@ public void setInstanceLoginInfo(InstanceLoginInfo instanceLoginInfo) { putQueryParameter("InstanceLoginInfo.Options.NotificationRetryLimit" , instanceLoginInfo.getOptions().getNotificationRetryLimit()); } putQueryParameter("InstanceLoginInfo.InstanceType" , instanceLoginInfo.getInstanceType()); + putQueryParameter("InstanceLoginInfo.DockerContainerName" , instanceLoginInfo.getDockerContainerName()); putQueryParameter("InstanceLoginInfo.PassPhrase" , instanceLoginInfo.getPassPhrase()); putQueryParameter("InstanceLoginInfo.DurationSeconds" , instanceLoginInfo.getDurationSeconds()); putQueryParameter("InstanceLoginInfo.NetworkAccessMode" , instanceLoginInfo.getNetworkAccessMode()); @@ -158,6 +160,8 @@ public static class InstanceLoginInfo { private String authenticationType; + private String dockerExec; + private String protocol; private String password; @@ -176,6 +180,8 @@ public static class InstanceLoginInfo { private String instanceType; + private String dockerContainerName; + private String passPhrase; private Long durationSeconds; @@ -208,6 +214,14 @@ public void setAuthenticationType(String authenticationType) { this.authenticationType = authenticationType; } + public String getDockerExec() { + return this.dockerExec; + } + + public void setDockerExec(String dockerExec) { + this.dockerExec = dockerExec; + } + public String getBizProtocol() { return this.protocol; } @@ -280,6 +294,14 @@ public void setInstanceType(String instanceType) { this.instanceType = instanceType; } + public String getDockerContainerName() { + return this.dockerContainerName; + } + + public void setDockerContainerName(String dockerContainerName) { + this.dockerContainerName = dockerContainerName; + } + public String getPassPhrase() { return this.passPhrase; }