Skip to content

Commit 4f18298

Browse files
committed
Add KmsKeyId for LaunchTemplate.
1 parent 06662a6 commit 4f18298

30 files changed

+750
-135
lines changed

aliyun-java-sdk-ecs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-27 Version: 5.11.20
2+
- Add KmsKeyId for LaunchTemplate.
3+
14
2025-04-15 Version: 5.11.19
25
- Generate SDK unified.
36

aliyun-java-sdk-ecs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-ecs</artifactId>
66
<packaging>jar</packaging>
7-
<version>5.11.19</version>
7+
<version>5.11.20</version>
88
<name>aliyun-java-sdk-ecs</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageRequest.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,16 @@ public class CopyImageRequest extends RpcAcsRequest<CopyImageResponse> {
3232

3333
private String encryptAlgorithm;
3434

35+
private String clientToken;
36+
3537
private String destinationRegionId;
3638

3739
private String resourceGroupId;
3840

3941
private List<Tag> tags;
4042

43+
private Boolean dryRun;
44+
4145
private String resourceOwnerAccount;
4246

4347
private String destinationImageName;
@@ -93,6 +97,17 @@ public void setEncryptAlgorithm(String encryptAlgorithm) {
9397
}
9498
}
9599

100+
public String getClientToken() {
101+
return this.clientToken;
102+
}
103+
104+
public void setClientToken(String clientToken) {
105+
this.clientToken = clientToken;
106+
if(clientToken != null){
107+
putQueryParameter("ClientToken", clientToken);
108+
}
109+
}
110+
96111
public String getDestinationRegionId() {
97112
return this.destinationRegionId;
98113
}
@@ -129,6 +144,17 @@ public void setTags(List<Tag> tags) {
129144
}
130145
}
131146

147+
public Boolean getDryRun() {
148+
return this.dryRun;
149+
}
150+
151+
public void setDryRun(Boolean dryRun) {
152+
this.dryRun = dryRun;
153+
if(dryRun != null){
154+
putQueryParameter("DryRun", dryRun.toString());
155+
}
156+
}
157+
132158
public String getResourceOwnerAccount() {
133159
return this.resourceOwnerAccount;
134160
}

0 commit comments

Comments
 (0)