Skip to content

Commit f46367d

Browse files
committed
Generated java-async 2022-02-22 for Ess.
1 parent 5db75ef commit f46367d

16 files changed

+300
-173
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+
2025-02-18 Version: 1.0.32
2+
- Generated java-async 2022-02-22 for Ess.
3+
14
2025-01-14 Version: 1.0.31
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.31</version>
6+
<version>1.0.32</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/AttachInstancesRequest.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,15 @@ public Builder entrusted(Boolean entrusted) {
247247
}
248248

249249
/**
250-
* IgnoreInvalidInstance.
250+
* <p>Specifies whether to ignore invalid instances when a batch of instances is added to the scaling group. Valid values:</p>
251+
* <ul>
252+
* <li>true: ignores invalid instances. If invalid instances exist and valid instances are added, the corresponding scaling activity enters the Warning state. You can check the scaling activity details to view the invalid instances that are ignored.</li>
253+
* <li>false: does not ignore invalid instances. If invalid instances exist in the batch of instances that you want to add to the scaling group, an error is reported.</li>
254+
* </ul>
255+
* <p>Default value: false.</p>
256+
*
257+
* <strong>example:</strong>
258+
* <p>false</p>
251259
*/
252260
public Builder ignoreInvalidInstance(Boolean ignoreInvalidInstance) {
253261
this.putQueryParameter("IgnoreInvalidInstance", ignoreInvalidInstance);

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

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2109,14 +2109,23 @@ public Builder provisionedIops(Long provisionedIops) {
21092109
/**
21102110
* <p>The size of the system disk. Unit: GiB.</p>
21112111
* <ul>
2112-
* <li>If you set SystemDisk.Category cloud: 20 to 500.</li>
2113-
* <li>If you set SystemDisk.Category to cloud_efficiency: 20 to 500.</li>
2114-
* <li>If you set SystemDisk.Category to cloud_ssd: 20 to 500.</li>
2115-
* <li>If you set SystemDisk.Category to cloud_essd: 20 to 500.</li>
2116-
* <li>If you set SystemDisk.Category to cloud_essd: 20 to 500.</li>
2112+
* <li><p>Basic disk: 20 to 500.</p>
2113+
* </li>
2114+
* <li><p>ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.</p>
2115+
* <ul>
2116+
* <li>PL0 ESSD: 1 to 2048.</li>
2117+
* <li>PL1 ESSD: 20 to 2048.</li>
2118+
* <li>PL2 ESSD: 461 to 2048.</li>
2119+
* <li>PL3 ESSD: 1261 to 2048.</li>
2120+
* </ul>
2121+
* </li>
2122+
* <li><p>ESSD AutoPL disk (cloud_auto): 1 to 2048.</p>
2123+
* </li>
2124+
* <li><p>Other disk categories: 20 to 2048.</p>
2125+
* </li>
21172126
* </ul>
2118-
* <p>The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.</p>
2119-
* <p>Default value: 40 or the size of the image, whichever is greater.</p>
2127+
* <p>The value of this parameter must be at least 1 and greater than or equal to the image size.</p>
2128+
* <p>Default value: 40 or the size of the image, whichever is larger.</p>
21202129
*
21212130
* <strong>example:</strong>
21222131
* <p>100</p>

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,13 +1481,17 @@ public static class CapacityOptions extends TeaModel {
14811481
@com.aliyun.core.annotation.NameInMap("OnDemandPercentageAboveBaseCapacity")
14821482
private Integer onDemandPercentageAboveBaseCapacity;
14831483

1484+
@com.aliyun.core.annotation.NameInMap("PriceComparisonMode")
1485+
private String priceComparisonMode;
1486+
14841487
@com.aliyun.core.annotation.NameInMap("SpotAutoReplaceOnDemand")
14851488
private Boolean spotAutoReplaceOnDemand;
14861489

14871490
private CapacityOptions(Builder builder) {
14881491
this.compensateWithOnDemand = builder.compensateWithOnDemand;
14891492
this.onDemandBaseCapacity = builder.onDemandBaseCapacity;
14901493
this.onDemandPercentageAboveBaseCapacity = builder.onDemandPercentageAboveBaseCapacity;
1494+
this.priceComparisonMode = builder.priceComparisonMode;
14911495
this.spotAutoReplaceOnDemand = builder.spotAutoReplaceOnDemand;
14921496
}
14931497

@@ -1520,6 +1524,13 @@ public Integer getOnDemandPercentageAboveBaseCapacity() {
15201524
return this.onDemandPercentageAboveBaseCapacity;
15211525
}
15221526

1527+
/**
1528+
* @return priceComparisonMode
1529+
*/
1530+
public String getPriceComparisonMode() {
1531+
return this.priceComparisonMode;
1532+
}
1533+
15231534
/**
15241535
* @return spotAutoReplaceOnDemand
15251536
*/
@@ -1531,6 +1542,7 @@ public static final class Builder {
15311542
private Boolean compensateWithOnDemand;
15321543
private Integer onDemandBaseCapacity;
15331544
private Integer onDemandPercentageAboveBaseCapacity;
1545+
private String priceComparisonMode;
15341546
private Boolean spotAutoReplaceOnDemand;
15351547

15361548
/**
@@ -1573,6 +1585,14 @@ public Builder onDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAbo
15731585
return this;
15741586
}
15751587

1588+
/**
1589+
* PriceComparisonMode.
1590+
*/
1591+
public Builder priceComparisonMode(String priceComparisonMode) {
1592+
this.priceComparisonMode = priceComparisonMode;
1593+
return this;
1594+
}
1595+
15761596
/**
15771597
* <p>Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify <code>CompensateWithOnDemand</code>, it may result in a higher percentage of pay-as-you-go instances compared to the value of <code>OnDemandPercentageAboveBaseCapacity</code>. In this scenario, Auto Scaling will try to deploy preemptible instances to replace the surplus pay-as-you-go instances. When <code>CompensateWithOnDemand</code> is specified, Auto Scaling creates pay-as-you-go instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:</p>
15781598
* <ul>

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

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public Builder estimatedInstanceWarmup(Integer estimatedInstanceWarmup) {
510510
}
511511

512512
/**
513-
* HybridMetrics.
513+
* <p>The Hybrid Cloud Monitoring metrics.</p>
514514
*/
515515
public Builder hybridMetrics(java.util.List<HybridMetrics> hybridMetrics) {
516516
this.putQueryParameter("HybridMetrics", hybridMetrics);
@@ -519,7 +519,11 @@ public Builder hybridMetrics(java.util.List<HybridMetrics> hybridMetrics) {
519519
}
520520

521521
/**
522-
* HybridMonitorNamespace.
522+
* <p>The ID of the Hybrid Cloud Monitoring namespace.</p>
523+
* <p>For information about how to manage Hybrid Cloud Monitoring namespaces, see <a href="https://help.aliyun.com/document_detail/217606.html">Manage namespaces</a>.</p>
524+
*
525+
* <strong>example:</strong>
526+
* <p>aliyun-test</p>
523527
*/
524528
public Builder hybridMonitorNamespace(String hybridMonitorNamespace) {
525529
this.putQueryParameter("HybridMonitorNamespace", hybridMonitorNamespace);
@@ -571,7 +575,15 @@ public Builder metricName(String metricName) {
571575
}
572576

573577
/**
574-
* MetricType.
578+
* <p>The metric type. Valid values:</p>
579+
* <ul>
580+
* <li>system: system metrics of CloudMonitor.</li>
581+
* <li>custom: custom metrics that are reported to CloudMonitor.</li>
582+
* <li>hybrid: metrics of Hybrid Cloud Monitoring.</li>
583+
* </ul>
584+
*
585+
* <strong>example:</strong>
586+
* <p>system</p>
575587
*/
576588
public Builder metricType(String metricType) {
577589
this.putQueryParameter("MetricType", metricType);
@@ -909,21 +921,21 @@ public static final class Builder {
909921
private String dimensionValue;
910922

911923
/**
912-
* <p>The dimension key of the metric.</p>
924+
* <p>The key of the metric dimension.</p>
913925
*
914926
* <strong>example:</strong>
915-
* <p>rulePool</p>
927+
* <p>queue</p>
916928
*/
917929
public Builder dimensionKey(String dimensionKey) {
918930
this.dimensionKey = dimensionKey;
919931
return this;
920932
}
921933

922934
/**
923-
* <p>The dimension value of the metric.</p>
935+
* <p>The value of the metric dimension.</p>
924936
*
925937
* <strong>example:</strong>
926-
* <p>sgp-l1cbirz451yxuxxx</p>
938+
* <p>testQueue</p>
927939
*/
928940
public Builder dimensionValue(String dimensionValue) {
929941
this.dimensionValue = dimensionValue;
@@ -1018,60 +1030,57 @@ public static final class Builder {
10181030
private String statistic;
10191031

10201032
/**
1021-
* Dimensions.
1033+
* <p>The metric dimensions. You can use this parameter to specify the monitored resources.</p>
10221034
*/
10231035
public Builder dimensions(java.util.List<Dimensions> dimensions) {
10241036
this.dimensions = dimensions;
10251037
return this;
10261038
}
10271039

10281040
/**
1029-
* Expression.
1041+
* <p>The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.</p>
1042+
* <p>The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: <code>+, -, *, /</code>.</p>
1043+
*
1044+
* <strong>example:</strong>
1045+
* <p>(a+b)/2</p>
10301046
*/
10311047
public Builder expression(String expression) {
10321048
this.expression = expression;
10331049
return this;
10341050
}
10351051

10361052
/**
1037-
* Id.
1053+
* <p>The reference ID of the metric in the metric expression.</p>
1054+
*
1055+
* <strong>example:</strong>
1056+
* <p>a</p>
10381057
*/
10391058
public Builder id(String id) {
10401059
this.id = id;
10411060
return this;
10421061
}
10431062

10441063
/**
1045-
* <p>The predefined metric that you want to monitor. If you set ScalingRuleType to TargetTrackingScalingRule or PredictiveScalingRule, you must specify this parameter.</p>
1046-
* <p>Valid values if you set ScalingRuleType to TargetTrackingScalingRule:</p>
1047-
* <ul>
1048-
* <li>CpuUtilizationAgent (recommended): the CPU utilization.</li>
1049-
* <li>MemoryUtilization (recommended): the memory usage.</li>
1050-
* <li>CpuUtilization: the average CPU utilization.</li>
1051-
* <li>IntranetTx: the outbound traffic over an internal network.</li>
1052-
* <li>IntranetRx: the average inbound traffic over an internal network.</li>
1053-
* <li>VpcInternetTx: the outbound traffic from a virtual private cloud (VPC) to the Internet.</li>
1054-
* <li>VpcInternetRx: the inbound traffic from the Internet to a VPC.</li>
1055-
* <li>LoadBalancerRealServerAverageQps:the queries per second (QPS) per Application Load Balancer (ALB) server group.</li>
1056-
* </ul>
1057-
* <p>Valid values if you set ScalingRuleType to PredictiveScalingRule:</p>
1058-
* <ul>
1059-
* <li>CpuUtilization: the average CPU utilization.</li>
1060-
* <li>IntranetRx: the average inbound traffic over an internal network.</li>
1061-
* <li>IntranetTx: the average outbound traffic over an internal network.</li>
1062-
* </ul>
1063-
* <p>For more information, see <a href="https://help.aliyun.com/document_detail/74854.html">Event-triggered tasks of the system monitoring type</a>.</p>
1064+
* <p>The name of the Hybrid Cloud Monitoring metric.</p>
10641065
*
10651066
* <strong>example:</strong>
1066-
* <p>CpuUtilization</p>
1067+
* <p>AliyunSmq_NumberOfMessagesVisible</p>
10671068
*/
10681069
public Builder metricName(String metricName) {
10691070
this.metricName = metricName;
10701071
return this;
10711072
}
10721073

10731074
/**
1074-
* Statistic.
1075+
* <p>The statistical method of the metric value. Valid values:</p>
1076+
* <ul>
1077+
* <li>Average: calculates the average value of all metric values within a specified interval.</li>
1078+
* <li>Minimum: calculates the minimum value of all metric values within a specified interval.</li>
1079+
* <li>Maximum: calculates the maximum value of all metric values within a specified interval.</li>
1080+
* </ul>
1081+
*
1082+
* <strong>example:</strong>
1083+
* <p>Average</p>
10751084
*/
10761085
public Builder statistic(String statistic) {
10771086
this.statistic = statistic;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,11 @@ public Builder metricName(String metricName) {
241241
}
242242

243243
/**
244-
* <p>The metric type. Valid values:</p>
244+
* <p>The type of the metric. Valid values:</p>
245245
* <ul>
246246
* <li>system: system metrics of CloudMonitor</li>
247247
* <li>custom: custom metrics that are reported to CloudMonitor.</li>
248+
* <li>hybrid: metrics of Hybrid Cloud Monitoring.</li>
248249
* </ul>
249250
*
250251
* <strong>example:</strong>

0 commit comments

Comments
 (0)