@alicloud/ess20220222 1.8.19 → 1.8.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +20 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateNotificationConfigurationRequest.d.ts +4 -0
  5. package/dist/models/CreateNotificationConfigurationRequest.js.map +1 -1
  6. package/dist/models/CreateScalingGroupRequest.d.ts +2 -0
  7. package/dist/models/CreateScalingGroupRequest.js +4 -0
  8. package/dist/models/CreateScalingGroupRequest.js.map +1 -1
  9. package/dist/models/DescribeInstanceRefreshesResponseBody.d.ts +64 -0
  10. package/dist/models/DescribeInstanceRefreshesResponseBody.js +119 -1
  11. package/dist/models/DescribeInstanceRefreshesResponseBody.js.map +1 -1
  12. package/dist/models/DescribeNotificationConfigurationsResponseBody.d.ts +4 -0
  13. package/dist/models/DescribeNotificationConfigurationsResponseBody.js.map +1 -1
  14. package/dist/models/DescribeScalingGroupsResponseBody.d.ts +2 -0
  15. package/dist/models/DescribeScalingGroupsResponseBody.js +4 -0
  16. package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
  17. package/dist/models/ModifyNotificationConfigurationRequest.d.ts +4 -0
  18. package/dist/models/ModifyNotificationConfigurationRequest.js.map +1 -1
  19. package/dist/models/ModifyScalingGroupRequest.d.ts +2 -0
  20. package/dist/models/ModifyScalingGroupRequest.js +4 -0
  21. package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
  22. package/dist/models/StartInstanceRefreshRequest.d.ts +64 -0
  23. package/dist/models/StartInstanceRefreshRequest.js +119 -1
  24. package/dist/models/StartInstanceRefreshRequest.js.map +1 -1
  25. package/dist/models/model.d.ts +8 -0
  26. package/dist/models/model.js +33 -16
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +26 -2
  30. package/src/models/CreateNotificationConfigurationRequest.ts +4 -0
  31. package/src/models/CreateScalingGroupRequest.ts +6 -0
  32. package/src/models/DescribeInstanceRefreshesResponseBody.ts +146 -0
  33. package/src/models/DescribeNotificationConfigurationsResponseBody.ts +4 -0
  34. package/src/models/DescribeScalingGroupsResponseBody.ts +6 -0
  35. package/src/models/ModifyNotificationConfigurationRequest.ts +4 -0
  36. package/src/models/ModifyScalingGroupRequest.ts +6 -0
  37. package/src/models/StartInstanceRefreshRequest.ts +146 -0
  38. package/src/models/model.ts +8 -0
package/dist/client.d.ts CHANGED
@@ -2058,7 +2058,7 @@ export default class Client extends OpenApi {
2058
2058
  * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
2059
2059
  *
2060
2060
  * @remarks
2061
- * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
2061
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
2062
2062
  *
2063
2063
  * @param request - SetInstanceHealthRequest
2064
2064
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2069,7 +2069,7 @@ export default class Client extends OpenApi {
2069
2069
  * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
2070
2070
  *
2071
2071
  * @remarks
2072
- * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
2072
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
2073
2073
  *
2074
2074
  * @param request - SetInstanceHealthRequest
2075
2075
  * @returns SetInstanceHealthResponse
package/dist/client.js CHANGED
@@ -1711,9 +1711,15 @@ class Client extends openapi_core_1.default {
1711
1711
  if (!$dara.isNull(request.allocationStrategy)) {
1712
1712
  query["AllocationStrategy"] = request.allocationStrategy;
1713
1713
  }
1714
+ if (!$dara.isNull(request.autoRebalance)) {
1715
+ query["AutoRebalance"] = request.autoRebalance;
1716
+ }
1714
1717
  if (!$dara.isNull(request.azBalance)) {
1715
1718
  query["AzBalance"] = request.azBalance;
1716
1719
  }
1720
+ if (!$dara.isNull(request.balanceMode)) {
1721
+ query["BalanceMode"] = request.balanceMode;
1722
+ }
1717
1723
  if (!$dara.isNull(request.capacityOptions)) {
1718
1724
  query["CapacityOptions"] = request.capacityOptions;
1719
1725
  }
@@ -5871,9 +5877,15 @@ class Client extends openapi_core_1.default {
5871
5877
  if (!$dara.isNull(request.allocationStrategy)) {
5872
5878
  query["AllocationStrategy"] = request.allocationStrategy;
5873
5879
  }
5880
+ if (!$dara.isNull(request.autoRebalance)) {
5881
+ query["AutoRebalance"] = request.autoRebalance;
5882
+ }
5874
5883
  if (!$dara.isNull(request.azBalance)) {
5875
5884
  query["AzBalance"] = request.azBalance;
5876
5885
  }
5886
+ if (!$dara.isNull(request.balanceMode)) {
5887
+ query["BalanceMode"] = request.balanceMode;
5888
+ }
5877
5889
  if (!$dara.isNull(request.capacityOptions)) {
5878
5890
  query["CapacityOptions"] = request.capacityOptions;
5879
5891
  }
@@ -6779,7 +6791,7 @@ class Client extends openapi_core_1.default {
6779
6791
  * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
6780
6792
  *
6781
6793
  * @remarks
6782
- * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
6794
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
6783
6795
  *
6784
6796
  * @param request - SetInstanceHealthRequest
6785
6797
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6820,7 +6832,7 @@ class Client extends openapi_core_1.default {
6820
6832
  * Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
6821
6833
  *
6822
6834
  * @remarks
6823
- * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
6835
+ * Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from their scaling groups. To prevent a specific instance from being removed, you can put it in either the Standby or Protected state. For more information, see [EnterStandby](https://help.aliyun.com/document_detail/459345.html) and [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
6824
6836
  *
6825
6837
  * @param request - SetInstanceHealthRequest
6826
6838
  * @returns SetInstanceHealthResponse
@@ -6908,6 +6920,12 @@ class Client extends openapi_core_1.default {
6908
6920
  async startInstanceRefreshWithOptions(request, runtime) {
6909
6921
  request.validate();
6910
6922
  let query = {};
6923
+ if (!$dara.isNull(request.checkpointPauseTime)) {
6924
+ query["CheckpointPauseTime"] = request.checkpointPauseTime;
6925
+ }
6926
+ if (!$dara.isNull(request.checkpoints)) {
6927
+ query["Checkpoints"] = request.checkpoints;
6928
+ }
6911
6929
  if (!$dara.isNull(request.clientToken)) {
6912
6930
  query["ClientToken"] = request.clientToken;
6913
6931
  }