@alicloud/ess20220222 1.8.20 → 1.8.22
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.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +17 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAlarmRequest.d.ts +15 -12
- package/dist/models/CreateAlarmRequest.js.map +1 -1
- package/dist/models/CreateNotificationConfigurationRequest.d.ts +4 -0
- package/dist/models/CreateNotificationConfigurationRequest.js.map +1 -1
- package/dist/models/CreateScalingGroupRequest.d.ts +30 -4
- package/dist/models/CreateScalingGroupRequest.js +4 -0
- package/dist/models/CreateScalingGroupRequest.js.map +1 -1
- package/dist/models/DescribeInstanceRefreshesResponseBody.d.ts +40 -0
- package/dist/models/DescribeInstanceRefreshesResponseBody.js.map +1 -1
- package/dist/models/DescribeNotificationConfigurationsResponseBody.d.ts +4 -0
- package/dist/models/DescribeNotificationConfigurationsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingGroupsRequest.d.ts +2 -2
- package/dist/models/DescribeScalingGroupsResponseBody.d.ts +22 -0
- package/dist/models/DescribeScalingGroupsResponseBody.js +4 -0
- package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
- package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +1 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js +2 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyNotificationConfigurationRequest.d.ts +4 -0
- package/dist/models/ModifyNotificationConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyScalingGroupRequest.d.ts +26 -0
- package/dist/models/ModifyScalingGroupRequest.js +4 -0
- package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
- package/dist/models/StartInstanceRefreshRequest.d.ts +116 -4
- package/dist/models/StartInstanceRefreshRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -2
- package/src/models/CreateAlarmRequest.ts +15 -12
- package/src/models/CreateNotificationConfigurationRequest.ts +4 -0
- package/src/models/CreateScalingGroupRequest.ts +34 -4
- package/src/models/DescribeInstanceRefreshesResponseBody.ts +40 -0
- package/src/models/DescribeNotificationConfigurationsResponseBody.ts +4 -0
- package/src/models/DescribeScalingGroupsRequest.ts +2 -2
- package/src/models/DescribeScalingGroupsResponseBody.ts +26 -0
- package/src/models/ModifyEciScalingConfigurationRequest.ts +3 -0
- package/src/models/ModifyNotificationConfigurationRequest.ts +4 -0
- package/src/models/ModifyScalingGroupRequest.ts +30 -0
- package/src/models/StartInstanceRefreshRequest.ts +116 -4
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
|
|
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
|
|
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
|
}
|
|
@@ -5336,6 +5342,9 @@ class Client extends openapi_core_1.default {
|
|
|
5336
5342
|
if (!$dara.isNull(request.ntpServers)) {
|
|
5337
5343
|
query["NtpServers"] = request.ntpServers;
|
|
5338
5344
|
}
|
|
5345
|
+
if (!$dara.isNull(request.override)) {
|
|
5346
|
+
query["Override"] = request.override;
|
|
5347
|
+
}
|
|
5339
5348
|
if (!$dara.isNull(request.ownerId)) {
|
|
5340
5349
|
query["OwnerId"] = request.ownerId;
|
|
5341
5350
|
}
|
|
@@ -5871,9 +5880,15 @@ class Client extends openapi_core_1.default {
|
|
|
5871
5880
|
if (!$dara.isNull(request.allocationStrategy)) {
|
|
5872
5881
|
query["AllocationStrategy"] = request.allocationStrategy;
|
|
5873
5882
|
}
|
|
5883
|
+
if (!$dara.isNull(request.autoRebalance)) {
|
|
5884
|
+
query["AutoRebalance"] = request.autoRebalance;
|
|
5885
|
+
}
|
|
5874
5886
|
if (!$dara.isNull(request.azBalance)) {
|
|
5875
5887
|
query["AzBalance"] = request.azBalance;
|
|
5876
5888
|
}
|
|
5889
|
+
if (!$dara.isNull(request.balanceMode)) {
|
|
5890
|
+
query["BalanceMode"] = request.balanceMode;
|
|
5891
|
+
}
|
|
5877
5892
|
if (!$dara.isNull(request.capacityOptions)) {
|
|
5878
5893
|
query["CapacityOptions"] = request.capacityOptions;
|
|
5879
5894
|
}
|
|
@@ -6779,7 +6794,7 @@ class Client extends openapi_core_1.default {
|
|
|
6779
6794
|
* 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
6795
|
*
|
|
6781
6796
|
* @remarks
|
|
6782
|
-
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from
|
|
6797
|
+
* 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
6798
|
*
|
|
6784
6799
|
* @param request - SetInstanceHealthRequest
|
|
6785
6800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6820,7 +6835,7 @@ class Client extends openapi_core_1.default {
|
|
|
6820
6835
|
* 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
6836
|
*
|
|
6822
6837
|
* @remarks
|
|
6823
|
-
* Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from
|
|
6838
|
+
* 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
6839
|
*
|
|
6825
6840
|
* @param request - SetInstanceHealthRequest
|
|
6826
6841
|
* @returns SetInstanceHealthResponse
|