Skip to content

Commit d2caecf

Browse files
committed
Update API CreateScalingConfiguration: add request parameters ResourcePoolOptions.PrivatePoolTags.
1 parent a159845 commit d2caecf

7 files changed

Lines changed: 212 additions & 1 deletion

ess-20220222/ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2026-05-13 Version: 1.12.2
2+
- Update API CreateScalingConfiguration: add request parameters ResourcePoolOptions.PrivatePoolTags.
3+
- Update API DescribeScalingConfigurations: add response parameters Body.ScalingConfigurations.$.ResourcePoolOptions.PrivatePoolTags.
4+
- Update API ModifyScalingConfiguration: add request parameters ResourcePoolOptions.PrivatePoolTags.
5+
6+
17
2026-04-20 Version: 1.12.1
28
- Update API DescribeScalingConfigurations: add response parameters Body.ScalingConfigurations.$.CpuOptions.
39

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>ess20220222</artifactId>
6-
<version>1.12.1</version>
6+
<version>1.12.2</version>
77
<packaging>jar</packaging>
88
<name>ess20220222</name>
99
<description>Alibaba Cloud Auto Scaling (20220222) SDK for Java

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,13 +2413,46 @@ public java.util.List<String> getSecurityGroupIds() {
24132413

24142414
}
24152415

2416+
public static class CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags extends TeaModel {
2417+
@NameInMap("Key")
2418+
public String key;
2419+
2420+
@NameInMap("Value")
2421+
public String value;
2422+
2423+
public static CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags build(java.util.Map<String, ?> map) throws Exception {
2424+
CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags self = new CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags();
2425+
return TeaModel.build(map, self);
2426+
}
2427+
2428+
public CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags setKey(String key) {
2429+
this.key = key;
2430+
return this;
2431+
}
2432+
public String getKey() {
2433+
return this.key;
2434+
}
2435+
2436+
public CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags setValue(String value) {
2437+
this.value = value;
2438+
return this;
2439+
}
2440+
public String getValue() {
2441+
return this.value;
2442+
}
2443+
2444+
}
2445+
24162446
public static class CreateScalingConfigurationRequestResourcePoolOptions extends TeaModel {
24172447
/**
24182448
* <p>The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool. You can specify the IDs of only targeted private pools for this parameter.</p>
24192449
*/
24202450
@NameInMap("PrivatePoolIds")
24212451
public java.util.List<String> privatePoolIds;
24222452

2453+
@NameInMap("PrivatePoolTags")
2454+
public java.util.List<CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags;
2455+
24232456
/**
24242457
* <p>The resource pool used for instance creation, which can be the public pool or a private pool associated with any active elasticity assurance or capacity reservation. Valid values:</p>
24252458
* <ul>
@@ -2448,6 +2481,14 @@ public java.util.List<String> getPrivatePoolIds() {
24482481
return this.privatePoolIds;
24492482
}
24502483

2484+
public CreateScalingConfigurationRequestResourcePoolOptions setPrivatePoolTags(java.util.List<CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags) {
2485+
this.privatePoolTags = privatePoolTags;
2486+
return this;
2487+
}
2488+
public java.util.List<CreateScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> getPrivatePoolTags() {
2489+
return this.privatePoolTags;
2490+
}
2491+
24512492
public CreateScalingConfigurationRequestResourcePoolOptions setStrategy(String strategy) {
24522493
this.strategy = strategy;
24532494
return this;

ess-20220222/src/main/java/com/aliyun/ess20220222/models/CreateScalingConfigurationShrinkRequest.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,13 +2413,46 @@ public java.util.List<String> getSecurityGroupIds() {
24132413

24142414
}
24152415

2416+
public static class CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags extends TeaModel {
2417+
@NameInMap("Key")
2418+
public String key;
2419+
2420+
@NameInMap("Value")
2421+
public String value;
2422+
2423+
public static CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags build(java.util.Map<String, ?> map) throws Exception {
2424+
CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags self = new CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags();
2425+
return TeaModel.build(map, self);
2426+
}
2427+
2428+
public CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags setKey(String key) {
2429+
this.key = key;
2430+
return this;
2431+
}
2432+
public String getKey() {
2433+
return this.key;
2434+
}
2435+
2436+
public CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags setValue(String value) {
2437+
this.value = value;
2438+
return this;
2439+
}
2440+
public String getValue() {
2441+
return this.value;
2442+
}
2443+
2444+
}
2445+
24162446
public static class CreateScalingConfigurationShrinkRequestResourcePoolOptions extends TeaModel {
24172447
/**
24182448
* <p>The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool. You can specify the IDs of only targeted private pools for this parameter.</p>
24192449
*/
24202450
@NameInMap("PrivatePoolIds")
24212451
public java.util.List<String> privatePoolIds;
24222452

2453+
@NameInMap("PrivatePoolTags")
2454+
public java.util.List<CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags;
2455+
24232456
/**
24242457
* <p>The resource pool used for instance creation, which can be the public pool or a private pool associated with any active elasticity assurance or capacity reservation. Valid values:</p>
24252458
* <ul>
@@ -2448,6 +2481,14 @@ public java.util.List<String> getPrivatePoolIds() {
24482481
return this.privatePoolIds;
24492482
}
24502483

2484+
public CreateScalingConfigurationShrinkRequestResourcePoolOptions setPrivatePoolTags(java.util.List<CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags) {
2485+
this.privatePoolTags = privatePoolTags;
2486+
return this;
2487+
}
2488+
public java.util.List<CreateScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> getPrivatePoolTags() {
2489+
return this.privatePoolTags;
2490+
}
2491+
24512492
public CreateScalingConfigurationShrinkRequestResourcePoolOptions setStrategy(String strategy) {
24522493
this.strategy = strategy;
24532494
return this;

ess-20220222/src/main/java/com/aliyun/ess20220222/models/DescribeScalingConfigurationsResponseBody.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,13 +1018,46 @@ public java.util.List<String> getSecurityGroupIds() {
10181018

10191019
}
10201020

1021+
public static class DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags extends TeaModel {
1022+
@NameInMap("Key")
1023+
public String key;
1024+
1025+
@NameInMap("Value")
1026+
public String value;
1027+
1028+
public static DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags build(java.util.Map<String, ?> map) throws Exception {
1029+
DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags self = new DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags();
1030+
return TeaModel.build(map, self);
1031+
}
1032+
1033+
public DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags setKey(String key) {
1034+
this.key = key;
1035+
return this;
1036+
}
1037+
public String getKey() {
1038+
return this.key;
1039+
}
1040+
1041+
public DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags setValue(String value) {
1042+
this.value = value;
1043+
return this;
1044+
}
1045+
public String getValue() {
1046+
return this.value;
1047+
}
1048+
1049+
}
1050+
10211051
public static class DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions extends TeaModel {
10221052
/**
10231053
* <p>The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool.</p>
10241054
*/
10251055
@NameInMap("PrivatePoolIds")
10261056
public java.util.List<String> privatePoolIds;
10271057

1058+
@NameInMap("PrivatePoolTags")
1059+
public java.util.List<DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags> privatePoolTags;
1060+
10281061
/**
10291062
* <p>The resource pool used for instance creation, which can be the public pool or a private pool associated with any active elasticity assurance or capacity reservation. Valid values:</p>
10301063
* <ul>
@@ -1052,6 +1085,14 @@ public java.util.List<String> getPrivatePoolIds() {
10521085
return this.privatePoolIds;
10531086
}
10541087

1088+
public DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions setPrivatePoolTags(java.util.List<DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags> privatePoolTags) {
1089+
this.privatePoolTags = privatePoolTags;
1090+
return this;
1091+
}
1092+
public java.util.List<DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptionsPrivatePoolTags> getPrivatePoolTags() {
1093+
return this.privatePoolTags;
1094+
}
1095+
10551096
public DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions setStrategy(String strategy) {
10561097
this.strategy = strategy;
10571098
return this;

ess-20220222/src/main/java/com/aliyun/ess20220222/models/ModifyScalingConfigurationRequest.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,13 +2399,46 @@ public java.util.List<String> getSecurityGroupIds() {
23992399

24002400
}
24012401

2402+
public static class ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags extends TeaModel {
2403+
@NameInMap("Key")
2404+
public String key;
2405+
2406+
@NameInMap("Value")
2407+
public String value;
2408+
2409+
public static ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags build(java.util.Map<String, ?> map) throws Exception {
2410+
ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags self = new ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags();
2411+
return TeaModel.build(map, self);
2412+
}
2413+
2414+
public ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags setKey(String key) {
2415+
this.key = key;
2416+
return this;
2417+
}
2418+
public String getKey() {
2419+
return this.key;
2420+
}
2421+
2422+
public ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags setValue(String value) {
2423+
this.value = value;
2424+
return this;
2425+
}
2426+
public String getValue() {
2427+
return this.value;
2428+
}
2429+
2430+
}
2431+
24022432
public static class ModifyScalingConfigurationRequestResourcePoolOptions extends TeaModel {
24032433
/**
24042434
* <p>The IDs of private pools. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated. You can specify the IDs of only targeted private pools for this parameter.</p>
24052435
*/
24062436
@NameInMap("PrivatePoolIds")
24072437
public java.util.List<String> privatePoolIds;
24082438

2439+
@NameInMap("PrivatePoolTags")
2440+
public java.util.List<ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags;
2441+
24092442
/**
24102443
* <p>The resource pool used for instance creation, which can be the public pool or a private pool associated with any active elasticity assurance or capacity reservation. Valid values:</p>
24112444
* <ul>
@@ -2434,6 +2467,14 @@ public java.util.List<String> getPrivatePoolIds() {
24342467
return this.privatePoolIds;
24352468
}
24362469

2470+
public ModifyScalingConfigurationRequestResourcePoolOptions setPrivatePoolTags(java.util.List<ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags) {
2471+
this.privatePoolTags = privatePoolTags;
2472+
return this;
2473+
}
2474+
public java.util.List<ModifyScalingConfigurationRequestResourcePoolOptionsPrivatePoolTags> getPrivatePoolTags() {
2475+
return this.privatePoolTags;
2476+
}
2477+
24372478
public ModifyScalingConfigurationRequestResourcePoolOptions setStrategy(String strategy) {
24382479
this.strategy = strategy;
24392480
return this;

ess-20220222/src/main/java/com/aliyun/ess20220222/models/ModifyScalingConfigurationShrinkRequest.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,13 +2399,46 @@ public java.util.List<String> getSecurityGroupIds() {
23992399

24002400
}
24012401

2402+
public static class ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags extends TeaModel {
2403+
@NameInMap("Key")
2404+
public String key;
2405+
2406+
@NameInMap("Value")
2407+
public String value;
2408+
2409+
public static ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags build(java.util.Map<String, ?> map) throws Exception {
2410+
ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags self = new ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags();
2411+
return TeaModel.build(map, self);
2412+
}
2413+
2414+
public ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags setKey(String key) {
2415+
this.key = key;
2416+
return this;
2417+
}
2418+
public String getKey() {
2419+
return this.key;
2420+
}
2421+
2422+
public ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags setValue(String value) {
2423+
this.value = value;
2424+
return this;
2425+
}
2426+
public String getValue() {
2427+
return this.value;
2428+
}
2429+
2430+
}
2431+
24022432
public static class ModifyScalingConfigurationShrinkRequestResourcePoolOptions extends TeaModel {
24032433
/**
24042434
* <p>The IDs of private pools. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated. You can specify the IDs of only targeted private pools for this parameter.</p>
24052435
*/
24062436
@NameInMap("PrivatePoolIds")
24072437
public java.util.List<String> privatePoolIds;
24082438

2439+
@NameInMap("PrivatePoolTags")
2440+
public java.util.List<ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags;
2441+
24092442
/**
24102443
* <p>The resource pool used for instance creation, which can be the public pool or a private pool associated with any active elasticity assurance or capacity reservation. Valid values:</p>
24112444
* <ul>
@@ -2434,6 +2467,14 @@ public java.util.List<String> getPrivatePoolIds() {
24342467
return this.privatePoolIds;
24352468
}
24362469

2470+
public ModifyScalingConfigurationShrinkRequestResourcePoolOptions setPrivatePoolTags(java.util.List<ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> privatePoolTags) {
2471+
this.privatePoolTags = privatePoolTags;
2472+
return this;
2473+
}
2474+
public java.util.List<ModifyScalingConfigurationShrinkRequestResourcePoolOptionsPrivatePoolTags> getPrivatePoolTags() {
2475+
return this.privatePoolTags;
2476+
}
2477+
24372478
public ModifyScalingConfigurationShrinkRequestResourcePoolOptions setStrategy(String strategy) {
24382479
this.strategy = strategy;
24392480
return this;

0 commit comments

Comments
 (0)