Skip to content

Commit c7ba54c

Browse files
committed
Generated java-async 2022-02-22 for Ess.
1 parent c468e95 commit c7ba54c

11 files changed

+297
-40
lines changed

ess-20220222/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-11-08 Version: 1.0.23
2+
- Generated java-async 2022-02-22 for Ess.
3+
14
2024-10-21 Version: 1.0.22
25
- Generated java-async 2022-02-22 for Ess.
36

ess-20220222/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-ess20220222</artifactId>
6-
<version>1.0.22</version>
6+
<version>1.0.23</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-ess20220222</name>
99
<description>Alibaba Cloud Ess (20220222) Async SDK for Java

ess-20220222/src/main/java/com/aliyun/sdk/service/ess20220222/models/CreateScalingConfigurationRequest.java

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public class CreateScalingConfigurationRequest extends Request {
7272
@com.aliyun.core.annotation.NameInMap("HpcClusterId")
7373
private String hpcClusterId;
7474

75+
@com.aliyun.core.annotation.Query
76+
@com.aliyun.core.annotation.NameInMap("HttpEndpoint")
77+
private String httpEndpoint;
78+
79+
@com.aliyun.core.annotation.Query
80+
@com.aliyun.core.annotation.NameInMap("HttpTokens")
81+
private String httpTokens;
82+
7583
@com.aliyun.core.annotation.Query
7684
@com.aliyun.core.annotation.NameInMap("ImageFamily")
7785
private String imageFamily;
@@ -262,6 +270,8 @@ private CreateScalingConfigurationRequest(Builder builder) {
262270
this.deploymentSetId = builder.deploymentSetId;
263271
this.hostName = builder.hostName;
264272
this.hpcClusterId = builder.hpcClusterId;
273+
this.httpEndpoint = builder.httpEndpoint;
274+
this.httpTokens = builder.httpTokens;
265275
this.imageFamily = builder.imageFamily;
266276
this.imageId = builder.imageId;
267277
this.imageName = builder.imageName;
@@ -425,6 +435,20 @@ public String getHpcClusterId() {
425435
return this.hpcClusterId;
426436
}
427437

438+
/**
439+
* @return httpEndpoint
440+
*/
441+
public String getHttpEndpoint() {
442+
return this.httpEndpoint;
443+
}
444+
445+
/**
446+
* @return httpTokens
447+
*/
448+
public String getHttpTokens() {
449+
return this.httpTokens;
450+
}
451+
428452
/**
429453
* @return imageFamily
430454
*/
@@ -742,6 +766,8 @@ public static final class Builder extends Request.Builder<CreateScalingConfigura
742766
private String deploymentSetId;
743767
private String hostName;
744768
private String hpcClusterId;
769+
private String httpEndpoint;
770+
private String httpTokens;
745771
private String imageFamily;
746772
private String imageId;
747773
private String imageName;
@@ -807,6 +833,8 @@ private Builder(CreateScalingConfigurationRequest request) {
807833
this.deploymentSetId = request.deploymentSetId;
808834
this.hostName = request.hostName;
809835
this.hpcClusterId = request.hpcClusterId;
836+
this.httpEndpoint = request.httpEndpoint;
837+
this.httpTokens = request.httpTokens;
810838
this.imageFamily = request.imageFamily;
811839
this.imageId = request.imageId;
812840
this.imageName = request.imageName;
@@ -1043,6 +1071,24 @@ public Builder hpcClusterId(String hpcClusterId) {
10431071
return this;
10441072
}
10451073

1074+
/**
1075+
* HttpEndpoint.
1076+
*/
1077+
public Builder httpEndpoint(String httpEndpoint) {
1078+
this.putQueryParameter("HttpEndpoint", httpEndpoint);
1079+
this.httpEndpoint = httpEndpoint;
1080+
return this;
1081+
}
1082+
1083+
/**
1084+
* HttpTokens.
1085+
*/
1086+
public Builder httpTokens(String httpTokens) {
1087+
this.putQueryParameter("HttpTokens", httpTokens);
1088+
this.httpTokens = httpTokens;
1089+
return this;
1090+
}
1091+
10461092
/**
10471093
* <p>The name of the image family. If you specify this parameter, the most recent custom images that are available in the specified image family are returned. You can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.</p>
10481094
*

ess-20220222/src/main/java/com/aliyun/sdk/service/ess20220222/models/CreateScalingGroupRequest.java

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,20 @@ public Builder spotInstanceRemedy(Boolean spotInstanceRemedy) {
12471247
}
12481248

12491249
/**
1250-
* StopInstanceTimeout.
1250+
* <p>The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.</p>
1251+
* <blockquote>
1252+
* </blockquote>
1253+
* <ul>
1254+
* <li><p>This parameter takes effect only if you set ScalingPolicy to release.</p>
1255+
* </li>
1256+
* <li><p>If you specify this parameter, the system will wait for the ECS instance to enter the Stopped state for the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.</p>
1257+
* </li>
1258+
* <li><p>If you do not specify this parameter, the system will wait for the ECS instance to stop before continuing with the scale-in operation. If the ECS instance is not successfully stopped, the scale-in process will be rolled back and considered failed.</p>
1259+
* </li>
1260+
* </ul>
1261+
*
1262+
* <strong>example:</strong>
1263+
* <p>60</p>
12511264
*/
12521265
public Builder stopInstanceTimeout(Integer stopInstanceTimeout) {
12531266
this.putQueryParameter("StopInstanceTimeout", stopInstanceTimeout);
@@ -1742,7 +1755,7 @@ public static final class Builder {
17421755
/**
17431756
* <p>The action that Auto Scaling performs when the lifecycle hook times out. Valid values:</p>
17441757
* <ul>
1745-
* <li>CONTINUE: Auto Scaling continues to respond to a scale-in or scale-out request.</li>
1758+
* <li>CONTINUE: Auto Scaling continues to respond to the scaling request.</li>
17461759
* <li>ABANDON: Auto Scaling releases ECS instances that are created during scale-out events, or removes ECS instances from the scaling group during scale-in events.</li>
17471760
* </ul>
17481761
* <p>If multiple lifecycle hooks in the scaling group are triggered during scale-in events, and you set DefaultResult to ABANDON for one of the lifecycle hooks, Auto Scaling immediately performs the action after the lifecycle hook whose DefaultResult is set to ABANDON times out. In this case, other lifecycle hooks time out ahead of schedule. In other cases, Auto Scaling performs the action only after all lifecycle hooks time out. The action that Auto Scaling performs is determined by the value of DefaultResult that you specify for the lifecycle hook that most recently times out.</p>
@@ -1758,7 +1771,7 @@ public Builder defaultResult(String defaultResult) {
17581771

17591772
/**
17601773
* <p>The period of time before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action that is specified by DefaultResult. Valid values: 30 to 21600. Unit: seconds.</p>
1761-
* <p>After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of scheduled.</p>
1774+
* <p>After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule.</p>
17621775
* <p>Default value: 600.</p>
17631776
*
17641777
* <strong>example:</strong>
@@ -1799,15 +1812,15 @@ public Builder lifecycleTransition(String lifecycleTransition) {
17991812
}
18001813

18011814
/**
1802-
* <p>The identifier of the notification recipient party when the lifecycle hook takes effect. You can specify a Message Service (MNS) topic or queue as the notification recipient party. Specify the value in the acs:ess:{region}:{account-id}:{resource-relative-id} format.</p>
1815+
* <p>The Alibaba Cloud Resource Name (ARN) of the notification recipient party. You can specify a Simple Message Queue (SMQ, formerly MNS) topic or queue as the recipient party. The value is in the acs:ess:{region}:{account-id}:{resource-relative-id} format.</p>
18031816
* <ul>
18041817
* <li>region: the region ID of the scaling group</li>
18051818
* <li>account-id: the ID of your Alibaba Cloud account.</li>
18061819
* </ul>
18071820
* <p>Examples:</p>
18081821
* <ul>
1809-
* <li>MNS queue: acs:ess:{region}:{account-id}:queue/{queuename}</li>
1810-
* <li>MNS topic: acs:ess:{region}:{account-id}:topic/{topicname}</li>
1822+
* <li>SMQ queue: acs:ess:{region}:{account-id}:queue/{queuename}</li>
1823+
* <li>SMQ topic: acs:ess:{region}:{account-id}:topic/{topicname}</li>
18111824
* </ul>
18121825
*
18131826
* <strong>example:</strong>
@@ -1819,7 +1832,7 @@ public Builder notificationArn(String notificationArn) {
18191832
}
18201833

18211834
/**
1822-
* <p>The fixed string that you want to include in a notification. When a lifecycle hook takes effect, Auto Scaling sends a notification. The fixed string can contain up to 4,096 characters in length. When Auto Scaling sends a notification to the recipient party, it includes predefined notification metadata into the notification. This helps in managing and labeling notifications of different categories. notificationmetadata takes effect only if you specify notificationarn.</p>
1835+
* <p>The fixed string that you want to include in notifications. When a lifecycle hook takes effect, Auto Scaling sends a notification. The fixed string can contain up to 4,096 characters in length. When Auto Scaling sends a notification to the recipient party, it includes predefined notification metadata into the notification. This helps in managing and labeling notifications of different categories. NotificationMetadata takes effect only if you specify NotificationArn.</p>
18231836
*
18241837
* <strong>example:</strong>
18251838
* <p>Test</p>

ess-20220222/src/main/java/com/aliyun/sdk/service/ess20220222/models/DescribeElasticStrengthRequest.java

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private Builder(DescribeElasticStrengthRequest request) {
125125
}
126126

127127
/**
128-
* InstanceTypes.
128+
* <p>The instance types. The instance types specified by this parameter overwrite the instance types specified in the scaling configuration.</p>
129129
*/
130130
public Builder instanceTypes(java.util.List < String > instanceTypes) {
131131
this.putQueryParameter("InstanceTypes", instanceTypes);
@@ -134,7 +134,16 @@ public Builder instanceTypes(java.util.List < String > instanceTypes) {
134134
}
135135

136136
/**
137-
* PriorityStrategy.
137+
* <p>The preemption policy that you want to apply to pay-as-you-go instances. The preemption policy specified by this parameter overwrites the preemption policy specified in the scaling configuration. Valid values:</p>
138+
* <ul>
139+
* <li>NoSpot: The instances are created as regular pay-as-you-go instances.</li>
140+
* <li>SpotWithPriceLimit: The instances are created as preemptible instances that have a user-defined maximum hourly price.</li>
141+
* <li>SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bidding price.</li>
142+
* </ul>
143+
* <p>Default value: NoSpot.</p>
144+
*
145+
* <strong>example:</strong>
146+
* <p>NoSpot</p>
138147
*/
139148
public Builder priorityStrategy(String priorityStrategy) {
140149
this.putQueryParameter("PriorityStrategy", priorityStrategy);
@@ -143,6 +152,7 @@ public Builder priorityStrategy(String priorityStrategy) {
143152
}
144153

145154
/**
155+
* <p>The region ID of the scaling group.</p>
146156
* <p>This parameter is required.</p>
147157
*
148158
* <strong>example:</strong>
@@ -155,7 +165,10 @@ public Builder regionId(String regionId) {
155165
}
156166

157167
/**
158-
* ScalingGroupId.
168+
* <p>The ID of the scaling group.</p>
169+
*
170+
* <strong>example:</strong>
171+
* <p>asg-bp18p2yfxow2dloq****</p>
159172
*/
160173
public Builder scalingGroupId(String scalingGroupId) {
161174
this.putQueryParameter("ScalingGroupId", scalingGroupId);
@@ -164,7 +177,7 @@ public Builder scalingGroupId(String scalingGroupId) {
164177
}
165178

166179
/**
167-
* ScalingGroupIds.
180+
* <p>The IDs of the scaling groups that you want to query.</p>
168181
*/
169182
public Builder scalingGroupIds(java.util.List < String > scalingGroupIds) {
170183
this.putQueryParameter("ScalingGroupIds", scalingGroupIds);
@@ -173,7 +186,13 @@ public Builder scalingGroupIds(java.util.List < String > scalingGroupIds) {
173186
}
174187

175188
/**
176-
* SystemDiskCategories.
189+
* <p>The categories of the system disks. The categories of the system disks specified by this parameter overwrite the categories of the system disks specified in the scaling configuration. Valid values:</p>
190+
* <ul>
191+
* <li>cloud: basic disk.</li>
192+
* <li>cloud_efficiency: ultra disk.</li>
193+
* <li>cloud_ssd: standard SSD.</li>
194+
* <li>cloud_essd: Enterprise SSD (ESSD).</li>
195+
* </ul>
177196
*/
178197
public Builder systemDiskCategories(java.util.List < String > systemDiskCategories) {
179198
this.putQueryParameter("SystemDiskCategories", systemDiskCategories);

0 commit comments

Comments
 (0)