Skip to content

Commit 46b9bc5

Browse files
committed
Generated 2014-05-26 for Ecs.
1 parent f686da3 commit 46b9bc5

28 files changed

Lines changed: 2012 additions & 41 deletions

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+
2026-01-20 Version: 5.11.26
2+
- Generated 2014-05-26 for `Ecs`.
3+
14
2025-12-02 Version: 5.11.25
25
- Support TrustedSystemMode for CreateAutoProvisioningGroup.
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.25</version>
7+
<version>5.11.26</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/CreateAutoProvisioningGroupRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public class CreateAutoProvisioningGroupRequest extends RpcAcsRequest<CreateAuto
8282

8383
private String minTargetCapacity;
8484

85+
private String executionMode;
86+
8587
private Float maxSpotPrice;
8688

8789
private LaunchConfiguration launchConfiguration;
@@ -503,6 +505,17 @@ public void setMinTargetCapacity(String minTargetCapacity) {
503505
}
504506
}
505507

508+
public String getExecutionMode() {
509+
return this.executionMode;
510+
}
511+
512+
public void setExecutionMode(String executionMode) {
513+
this.executionMode = executionMode;
514+
if(executionMode != null){
515+
putQueryParameter("ExecutionMode", executionMode);
516+
}
517+
}
518+
506519
public Float getMaxSpotPrice() {
507520
return this.maxSpotPrice;
508521
}

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -663,17 +663,9 @@ public void setTotalVcpu(Integer totalVcpu) {
663663

664664
public static class AvailableInstanceType {
665665

666-
private Integer availableInstanceCapacity;
667-
668666
private String instanceType;
669667

670-
public Integer getAvailableInstanceCapacity() {
671-
return this.availableInstanceCapacity;
672-
}
673-
674-
public void setAvailableInstanceCapacity(Integer availableInstanceCapacity) {
675-
this.availableInstanceCapacity = availableInstanceCapacity;
676-
}
668+
private Integer availableInstanceCapacity;
677669

678670
public String getInstanceType() {
679671
return this.instanceType;
@@ -682,6 +674,14 @@ public String getInstanceType() {
682674
public void setInstanceType(String instanceType) {
683675
this.instanceType = instanceType;
684676
}
677+
678+
public Integer getAvailableInstanceCapacity() {
679+
return this.availableInstanceCapacity;
680+
}
681+
682+
public void setAvailableInstanceCapacity(Integer availableInstanceCapacity) {
683+
this.availableInstanceCapacity = availableInstanceCapacity;
684+
}
685685
}
686686
}
687687

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public static class InstanceRenewAttribute {
8787

8888
private Boolean autoRenewEnabled;
8989

90+
private Boolean enableExpectedRenewDay;
91+
9092
public String getPeriodUnit() {
9193
return this.periodUnit;
9294
}
@@ -126,6 +128,14 @@ public Boolean getAutoRenewEnabled() {
126128
public void setAutoRenewEnabled(Boolean autoRenewEnabled) {
127129
this.autoRenewEnabled = autoRenewEnabled;
128130
}
131+
132+
public Boolean getEnableExpectedRenewDay() {
133+
return this.enableExpectedRenewDay;
134+
}
135+
136+
public void setEnableExpectedRenewDay(Boolean enableExpectedRenewDay) {
137+
this.enableExpectedRenewDay = enableExpectedRenewDay;
138+
}
129139
}
130140

131141
@Override
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
import java.util.List;
19+
import com.aliyuncs.http.ProtocolType;
20+
import com.aliyuncs.http.MethodType;
21+
import com.aliyuncs.ecs.Endpoint;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class DescribeLockedSnapshotsRequest extends RpcAcsRequest<DescribeLockedSnapshotsResponse> {
28+
29+
30+
private Long resourceOwnerId;
31+
32+
private List<String> snapshotIdss;
33+
34+
private String nextToken;
35+
36+
private String lockStatus;
37+
38+
private Boolean dryRun;
39+
40+
private String resourceOwnerAccount;
41+
42+
private String ownerAccount;
43+
44+
private Long ownerId;
45+
46+
private Integer maxResults;
47+
public DescribeLockedSnapshotsRequest() {
48+
super("Ecs", "2014-05-26", "DescribeLockedSnapshots", "ecs");
49+
setProtocol(ProtocolType.HTTPS);
50+
setMethod(MethodType.POST);
51+
try {
52+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
53+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
54+
} catch (Exception e) {}
55+
}
56+
57+
public Long getResourceOwnerId() {
58+
return this.resourceOwnerId;
59+
}
60+
61+
public void setResourceOwnerId(Long resourceOwnerId) {
62+
this.resourceOwnerId = resourceOwnerId;
63+
if(resourceOwnerId != null){
64+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
65+
}
66+
}
67+
68+
public List<String> getSnapshotIdss() {
69+
return this.snapshotIdss;
70+
}
71+
72+
public void setSnapshotIdss(List<String> snapshotIdss) {
73+
this.snapshotIdss = snapshotIdss;
74+
if (snapshotIdss != null) {
75+
for (int i = 0; i < snapshotIdss.size(); i++) {
76+
putQueryParameter("SnapshotIds." + (i + 1) , snapshotIdss.get(i));
77+
}
78+
}
79+
}
80+
81+
public String getNextToken() {
82+
return this.nextToken;
83+
}
84+
85+
public void setNextToken(String nextToken) {
86+
this.nextToken = nextToken;
87+
if(nextToken != null){
88+
putQueryParameter("NextToken", nextToken);
89+
}
90+
}
91+
92+
public String getLockStatus() {
93+
return this.lockStatus;
94+
}
95+
96+
public void setLockStatus(String lockStatus) {
97+
this.lockStatus = lockStatus;
98+
if(lockStatus != null){
99+
putQueryParameter("LockStatus", lockStatus);
100+
}
101+
}
102+
103+
public Boolean getDryRun() {
104+
return this.dryRun;
105+
}
106+
107+
public void setDryRun(Boolean dryRun) {
108+
this.dryRun = dryRun;
109+
if(dryRun != null){
110+
putQueryParameter("DryRun", dryRun.toString());
111+
}
112+
}
113+
114+
public String getResourceOwnerAccount() {
115+
return this.resourceOwnerAccount;
116+
}
117+
118+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
119+
this.resourceOwnerAccount = resourceOwnerAccount;
120+
if(resourceOwnerAccount != null){
121+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
122+
}
123+
}
124+
125+
public String getOwnerAccount() {
126+
return this.ownerAccount;
127+
}
128+
129+
public void setOwnerAccount(String ownerAccount) {
130+
this.ownerAccount = ownerAccount;
131+
if(ownerAccount != null){
132+
putQueryParameter("OwnerAccount", ownerAccount);
133+
}
134+
}
135+
136+
public Long getOwnerId() {
137+
return this.ownerId;
138+
}
139+
140+
public void setOwnerId(Long ownerId) {
141+
this.ownerId = ownerId;
142+
if(ownerId != null){
143+
putQueryParameter("OwnerId", ownerId.toString());
144+
}
145+
}
146+
147+
public Integer getMaxResults() {
148+
return this.maxResults;
149+
}
150+
151+
public void setMaxResults(Integer maxResults) {
152+
this.maxResults = maxResults;
153+
if(maxResults != null){
154+
putQueryParameter("MaxResults", maxResults.toString());
155+
}
156+
}
157+
158+
@Override
159+
public Class<DescribeLockedSnapshotsResponse> getResponseClass() {
160+
return DescribeLockedSnapshotsResponse.class;
161+
}
162+
163+
}

0 commit comments

Comments
 (0)