Skip to content

Commit 80d4431

Browse files
committed
ECS SDK Auto Released By wenle.bwl,Version:4.16.0
发布日志: 1, Add api AcceptInquiredSystemEvent. 2, Add ExtendedAttribute to response of api DescribeInstanceHistoryEvents. 3, Add ExtendedAttribute to response of api DescribeInstancesFullStatus.
1 parent f3647c2 commit 80d4431

File tree

60 files changed

+1092
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1092
-1
lines changed

aliyun-java-sdk-ecs/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-01-17 Version: 4.16.0
2+
1, Add api AcceptInquiredSystemEvent.
3+
2, Add ExtendedAttribute to response of api DescribeInstanceHistoryEvents.
4+
3, Add ExtendedAttribute to response of api DescribeInstancesFullStatus.
5+
16
2018-12-06 Version: 4.15.0
27
1, Add api RedeployInstance
38

aliyun-java-sdk-ecs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-ecs</artifactId>
55
<packaging>jar</packaging>
6-
<version>4.15.0</version>
6+
<version>4.16.0</version>
77
<name>aliyun-java-sdk-ecs</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.ecs.model.v20140526;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class AcceptInquiredSystemEventRequest extends RpcAcsRequest<AcceptInquiredSystemEventResponse> {
24+
25+
public AcceptInquiredSystemEventRequest() {
26+
super("Ecs", "2014-05-26", "AcceptInquiredSystemEvent", "ecs");
27+
}
28+
29+
private String eventId;
30+
31+
private Long resourceOwnerId;
32+
33+
private String resourceOwnerAccount;
34+
35+
private String ownerAccount;
36+
37+
private Long ownerId;
38+
39+
public String getEventId() {
40+
return this.eventId;
41+
}
42+
43+
public void setEventId(String eventId) {
44+
this.eventId = eventId;
45+
if(eventId != null){
46+
putQueryParameter("EventId", eventId);
47+
}
48+
}
49+
50+
public Long getResourceOwnerId() {
51+
return this.resourceOwnerId;
52+
}
53+
54+
public void setResourceOwnerId(Long resourceOwnerId) {
55+
this.resourceOwnerId = resourceOwnerId;
56+
if(resourceOwnerId != null){
57+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
58+
}
59+
}
60+
61+
public String getResourceOwnerAccount() {
62+
return this.resourceOwnerAccount;
63+
}
64+
65+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
66+
this.resourceOwnerAccount = resourceOwnerAccount;
67+
if(resourceOwnerAccount != null){
68+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
69+
}
70+
}
71+
72+
public String getOwnerAccount() {
73+
return this.ownerAccount;
74+
}
75+
76+
public void setOwnerAccount(String ownerAccount) {
77+
this.ownerAccount = ownerAccount;
78+
if(ownerAccount != null){
79+
putQueryParameter("OwnerAccount", ownerAccount);
80+
}
81+
}
82+
83+
public Long getOwnerId() {
84+
return this.ownerId;
85+
}
86+
87+
public void setOwnerId(Long ownerId) {
88+
this.ownerId = ownerId;
89+
if(ownerId != null){
90+
putQueryParameter("OwnerId", ownerId.toString());
91+
}
92+
}
93+
94+
@Override
95+
public Class<AcceptInquiredSystemEventResponse> getResponseClass() {
96+
return AcceptInquiredSystemEventResponse.class;
97+
}
98+
99+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.ecs.model.v20140526;
16+
17+
import java.util.Map;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.ecs.transform.v20140526.AcceptInquiredSystemEventResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class AcceptInquiredSystemEventResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
public String getRequestId() {
31+
return this.requestId;
32+
}
33+
34+
public void setRequestId(String requestId) {
35+
this.requestId = requestId;
36+
}
37+
38+
@Override
39+
public AcceptInquiredSystemEventResponse getInstance(UnmarshallerContext context) {
40+
return AcceptInquiredSystemEventResponseUnmarshaller.unmarshall(this, context);
41+
}
42+
}

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public AllocateEipAddressRequest() {
3636

3737
private String internetChargeType;
3838

39+
private String iSP;
40+
3941
private String ownerAccount;
4042

4143
private Long ownerId;
@@ -95,6 +97,17 @@ public void setInternetChargeType(String internetChargeType) {
9597
}
9698
}
9799

100+
public String getISP() {
101+
return this.iSP;
102+
}
103+
104+
public void setISP(String iSP) {
105+
this.iSP = iSP;
106+
if(iSP != null){
107+
putQueryParameter("ISP", iSP);
108+
}
109+
}
110+
98111
public String getOwnerAccount() {
99112
return this.ownerAccount;
100113
}

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,29 @@ public void setGranularity(String granularity) {
147147
}
148148
}
149149

150+
public String getBizDomain() {
151+
return this.domain;
152+
}
153+
154+
public void setBizDomain(String domain) {
155+
this.domain = domain;
156+
if(domain != null){
157+
putQueryParameter("Domain", domain);
158+
}
159+
}
160+
161+
/**
162+
* @deprecated use getBizDomain instead of this.
163+
*/
164+
@Deprecated
150165
public String getDomain() {
151166
return this.domain;
152167
}
153168

169+
/**
170+
* @deprecated use setBizDomain instead of this.
171+
*/
172+
@Deprecated
154173
public void setDomain(String domain) {
155174
this.domain = domain;
156175
if(domain != null){

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public CreateDiskRequest() {
5555

5656
private List<Tag> tags;
5757

58+
private String kMSKeyId;
59+
5860
public Long getResourceOwnerId() {
5961
return this.resourceOwnerId;
6062
}
@@ -212,6 +214,17 @@ public void setTags(List<Tag> tags) {
212214
}
213215
}
214216

217+
public String getKMSKeyId() {
218+
return this.kMSKeyId;
219+
}
220+
221+
public void setKMSKeyId(String kMSKeyId) {
222+
this.kMSKeyId = kMSKeyId;
223+
if(kMSKeyId != null){
224+
putQueryParameter("KMSKeyId", kMSKeyId);
225+
}
226+
}
227+
215228
public static class Tag {
216229

217230
private String value;

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ public void setDataDisks(List<DataDisk> dataDisks) {
661661
putQueryParameter("DataDisk." + (depth1 + 1) + ".Encrypted" , dataDisks.get(depth1).getEncrypted());
662662
putQueryParameter("DataDisk." + (depth1 + 1) + ".Description" , dataDisks.get(depth1).getDescription());
663663
putQueryParameter("DataDisk." + (depth1 + 1) + ".Category" , dataDisks.get(depth1).getCategory());
664+
putQueryParameter("DataDisk." + (depth1 + 1) + ".KMSKeyId" , dataDisks.get(depth1).getKMSKeyId());
664665
putQueryParameter("DataDisk." + (depth1 + 1) + ".Device" , dataDisks.get(depth1).getDevice());
665666
putQueryParameter("DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , dataDisks.get(depth1).getDeleteWithInstance());
666667
}
@@ -726,6 +727,8 @@ public static class DataDisk {
726727

727728
private String category;
728729

730+
private String kMSKeyId;
731+
729732
private String device;
730733

731734
private Boolean deleteWithInstance;
@@ -778,6 +781,14 @@ public void setCategory(String category) {
778781
this.category = category;
779782
}
780783

784+
public String getKMSKeyId() {
785+
return this.kMSKeyId;
786+
}
787+
788+
public void setKMSKeyId(String kMSKeyId) {
789+
this.kMSKeyId = kMSKeyId;
790+
}
791+
781792
public String getDevice() {
782793
return this.device;
783794
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ public CreateLaunchTemplateRequest() {
8585

8686
private String userData;
8787

88+
private Boolean passwordInherit;
89+
8890
private String instanceType;
8991

9092
private String instanceChargeType;
@@ -438,6 +440,17 @@ public void setUserData(String userData) {
438440
}
439441
}
440442

443+
public Boolean getPasswordInherit() {
444+
return this.passwordInherit;
445+
}
446+
447+
public void setPasswordInherit(Boolean passwordInherit) {
448+
this.passwordInherit = passwordInherit;
449+
if(passwordInherit != null){
450+
putQueryParameter("PasswordInherit", passwordInherit.toString());
451+
}
452+
}
453+
441454
public String getInstanceType() {
442455
return this.instanceType;
443456
}
@@ -569,6 +582,7 @@ public void setDataDisks(List<DataDisk> dataDisks) {
569582
putQueryParameter("DataDisk." + (depth1 + 1) + ".DiskName" , dataDisks.get(depth1).getDiskName());
570583
putQueryParameter("DataDisk." + (depth1 + 1) + ".Description" , dataDisks.get(depth1).getDescription());
571584
putQueryParameter("DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , dataDisks.get(depth1).getDeleteWithInstance());
585+
putQueryParameter("DataDisk." + (depth1 + 1) + ".Device" , dataDisks.get(depth1).getDevice());
572586
}
573587
}
574588
}
@@ -721,6 +735,8 @@ public static class DataDisk {
721735

722736
private Boolean deleteWithInstance;
723737

738+
private String device;
739+
724740
public Integer getSize() {
725741
return this.size;
726742
}
@@ -776,6 +792,14 @@ public Boolean getDeleteWithInstance() {
776792
public void setDeleteWithInstance(Boolean deleteWithInstance) {
777793
this.deleteWithInstance = deleteWithInstance;
778794
}
795+
796+
public String getDevice() {
797+
return this.device;
798+
}
799+
800+
public void setDevice(String device) {
801+
this.device = device;
802+
}
779803
}
780804

781805
@Override

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public CreateLaunchTemplateVersionRequest() {
8383

8484
private String userData;
8585

86+
private Boolean passwordInherit;
87+
8688
private String instanceType;
8789

8890
private String instanceChargeType;
@@ -422,6 +424,17 @@ public void setUserData(String userData) {
422424
}
423425
}
424426

427+
public Boolean getPasswordInherit() {
428+
return this.passwordInherit;
429+
}
430+
431+
public void setPasswordInherit(Boolean passwordInherit) {
432+
this.passwordInherit = passwordInherit;
433+
if(passwordInherit != null){
434+
putQueryParameter("PasswordInherit", passwordInherit.toString());
435+
}
436+
}
437+
425438
public String getInstanceType() {
426439
return this.instanceType;
427440
}
@@ -553,6 +566,7 @@ public void setDataDisks(List<DataDisk> dataDisks) {
553566
putQueryParameter("DataDisk." + (depth1 + 1) + ".DiskName" , dataDisks.get(depth1).getDiskName());
554567
putQueryParameter("DataDisk." + (depth1 + 1) + ".Description" , dataDisks.get(depth1).getDescription());
555568
putQueryParameter("DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , dataDisks.get(depth1).getDeleteWithInstance());
569+
putQueryParameter("DataDisk." + (depth1 + 1) + ".Device" , dataDisks.get(depth1).getDevice());
556570
}
557571
}
558572
}
@@ -682,6 +696,8 @@ public static class DataDisk {
682696

683697
private Boolean deleteWithInstance;
684698

699+
private String device;
700+
685701
public Integer getSize() {
686702
return this.size;
687703
}
@@ -737,6 +753,14 @@ public Boolean getDeleteWithInstance() {
737753
public void setDeleteWithInstance(Boolean deleteWithInstance) {
738754
this.deleteWithInstance = deleteWithInstance;
739755
}
756+
757+
public String getDevice() {
758+
return this.device;
759+
}
760+
761+
public void setDevice(String device) {
762+
this.device = device;
763+
}
740764
}
741765

742766
@Override

0 commit comments

Comments
 (0)