@alicloud/ess20220222 1.10.1 → 1.10.3

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 (104) hide show
  1. package/dist/client.d.ts +58 -34
  2. package/dist/client.js +64 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApplyEciScalingConfigurationRequest.d.ts +0 -7
  5. package/dist/models/ApplyEciScalingConfigurationRequest.js.map +1 -1
  6. package/dist/models/ApplyScalingGroupRequest.d.ts +0 -7
  7. package/dist/models/ApplyScalingGroupRequest.js.map +1 -1
  8. package/dist/models/AttachServerGroupsRequest.d.ts +10 -5
  9. package/dist/models/AttachServerGroupsRequest.js.map +1 -1
  10. package/dist/models/CreateEciScalingConfigurationRequest.d.ts +280 -0
  11. package/dist/models/CreateEciScalingConfigurationRequest.js.map +1 -1
  12. package/dist/models/CreateScalingConfigurationRequest.d.ts +35 -16
  13. package/dist/models/CreateScalingConfigurationRequest.js +38 -1
  14. package/dist/models/CreateScalingConfigurationRequest.js.map +1 -1
  15. package/dist/models/CreateScalingConfigurationShrinkRequest.d.ts +35 -16
  16. package/dist/models/CreateScalingConfigurationShrinkRequest.js +38 -1
  17. package/dist/models/CreateScalingConfigurationShrinkRequest.js.map +1 -1
  18. package/dist/models/CreateScalingGroupRequest.d.ts +8 -5
  19. package/dist/models/CreateScalingGroupRequest.js.map +1 -1
  20. package/dist/models/DeleteDiagnoseReportRequest.d.ts +4 -0
  21. package/dist/models/DeleteDiagnoseReportRequest.js.map +1 -1
  22. package/dist/models/DeleteDiagnoseReportResponseBody.d.ts +3 -0
  23. package/dist/models/DeleteDiagnoseReportResponseBody.js.map +1 -1
  24. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +9 -0
  25. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -1
  26. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +3 -20
  27. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -1
  28. package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +17 -0
  29. package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -1
  30. package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +3 -28
  31. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -1
  32. package/dist/models/DescribeScalingConfigurationsResponseBody.d.ts +37 -0
  33. package/dist/models/DescribeScalingConfigurationsResponseBody.js +38 -1
  34. package/dist/models/DescribeScalingConfigurationsResponseBody.js.map +1 -1
  35. package/dist/models/DescribeScalingGroupDetailResponseBody.d.ts +2 -1
  36. package/dist/models/DescribeScalingGroupDetailResponseBody.js.map +1 -1
  37. package/dist/models/DescribeScalingGroupsResponseBody.d.ts +4 -3
  38. package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
  39. package/dist/models/DetachServerGroupsRequest.d.ts +3 -0
  40. package/dist/models/DetachServerGroupsRequest.js.map +1 -1
  41. package/dist/models/ModifyAlarmRequest.d.ts +21 -20
  42. package/dist/models/ModifyAlarmRequest.js.map +1 -1
  43. package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +293 -0
  44. package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
  45. package/dist/models/ModifyScalingConfigurationRequest.d.ts +36 -17
  46. package/dist/models/ModifyScalingConfigurationRequest.js +38 -1
  47. package/dist/models/ModifyScalingConfigurationRequest.js.map +1 -1
  48. package/dist/models/ModifyScalingConfigurationShrinkRequest.d.ts +36 -17
  49. package/dist/models/ModifyScalingConfigurationShrinkRequest.js +38 -1
  50. package/dist/models/ModifyScalingConfigurationShrinkRequest.js.map +1 -1
  51. package/dist/models/ModifyScalingGroupRequest.d.ts +20 -13
  52. package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
  53. package/dist/models/QueryHistoricalMetricRequest.d.ts +18 -0
  54. package/dist/models/QueryHistoricalMetricRequest.js.map +1 -1
  55. package/dist/models/QueryHistoricalMetricResponseBody.d.ts +3 -8
  56. package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -1
  57. package/dist/models/QueryPredictiveMetricRequest.d.ts +18 -0
  58. package/dist/models/QueryPredictiveMetricRequest.js.map +1 -1
  59. package/dist/models/QueryPredictiveMetricResponseBody.d.ts +3 -8
  60. package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -1
  61. package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +12 -0
  62. package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -1
  63. package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +3 -12
  64. package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -1
  65. package/dist/models/QueryPredictiveValueRequest.d.ts +20 -0
  66. package/dist/models/QueryPredictiveValueRequest.js.map +1 -1
  67. package/dist/models/QueryPredictiveValueResponseBody.d.ts +3 -8
  68. package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -1
  69. package/dist/models/model.d.ts +5 -0
  70. package/dist/models/model.js +59 -49
  71. package/dist/models/model.js.map +1 -1
  72. package/package.json +1 -1
  73. package/src/client.ts +66 -34
  74. package/src/models/ApplyEciScalingConfigurationRequest.ts +0 -7
  75. package/src/models/ApplyScalingGroupRequest.ts +0 -7
  76. package/src/models/AttachServerGroupsRequest.ts +10 -5
  77. package/src/models/CreateEciScalingConfigurationRequest.ts +280 -0
  78. package/src/models/CreateScalingConfigurationRequest.ts +63 -16
  79. package/src/models/CreateScalingConfigurationShrinkRequest.ts +63 -16
  80. package/src/models/CreateScalingGroupRequest.ts +8 -5
  81. package/src/models/DeleteDiagnoseReportRequest.ts +4 -0
  82. package/src/models/DeleteDiagnoseReportResponseBody.ts +3 -0
  83. package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +9 -0
  84. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +3 -20
  85. package/src/models/DescribeScalingActivityStatisticsRequest.ts +17 -0
  86. package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +3 -28
  87. package/src/models/DescribeScalingConfigurationsResponseBody.ts +65 -0
  88. package/src/models/DescribeScalingGroupDetailResponseBody.ts +2 -1
  89. package/src/models/DescribeScalingGroupsResponseBody.ts +4 -3
  90. package/src/models/DetachServerGroupsRequest.ts +3 -0
  91. package/src/models/ModifyAlarmRequest.ts +21 -20
  92. package/src/models/ModifyEciScalingConfigurationRequest.ts +293 -0
  93. package/src/models/ModifyScalingConfigurationRequest.ts +64 -17
  94. package/src/models/ModifyScalingConfigurationShrinkRequest.ts +64 -17
  95. package/src/models/ModifyScalingGroupRequest.ts +20 -13
  96. package/src/models/QueryHistoricalMetricRequest.ts +18 -0
  97. package/src/models/QueryHistoricalMetricResponseBody.ts +3 -8
  98. package/src/models/QueryPredictiveMetricRequest.ts +18 -0
  99. package/src/models/QueryPredictiveMetricResponseBody.ts +3 -8
  100. package/src/models/QueryPredictiveTaskInfoRequest.ts +12 -0
  101. package/src/models/QueryPredictiveTaskInfoResponseBody.ts +3 -12
  102. package/src/models/QueryPredictiveValueRequest.ts +20 -0
  103. package/src/models/QueryPredictiveValueResponseBody.ts +3 -8
  104. package/src/models/model.ts +5 -0
package/dist/client.d.ts CHANGED
@@ -255,7 +255,7 @@ export default class Client extends OpenApi {
255
255
  */
256
256
  attachLoadBalancers(request: $_model.AttachLoadBalancersRequest): Promise<$_model.AttachLoadBalancersResponse>;
257
257
  /**
258
- * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
258
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
259
259
  *
260
260
  * @param request - AttachServerGroupsRequest
261
261
  * @param runtime - runtime options for this request RuntimeOptions
@@ -263,7 +263,7 @@ export default class Client extends OpenApi {
263
263
  */
264
264
  attachServerGroupsWithOptions(request: $_model.AttachServerGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AttachServerGroupsResponse>;
265
265
  /**
266
- * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
266
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
267
267
  *
268
268
  * @param request - AttachServerGroupsRequest
269
269
  * @returns AttachServerGroupsResponse
@@ -541,26 +541,26 @@ export default class Client extends OpenApi {
541
541
  * @remarks
542
542
  * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
543
543
  * You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
544
- * A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
544
+ * A scaling group does not immediately take effect after you create it. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
545
545
  * If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
546
546
  * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
547
547
  * * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
548
548
  * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
549
- * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
550
- * The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
549
+ * > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
550
+ * The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
551
551
  * * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
552
- * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
553
- * If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
554
- * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
555
- * * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
556
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
557
- * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
558
- * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
552
+ * * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
553
+ * If you attach Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
554
+ * If you associate an RDS instance with the scaling group, the scaling group will automatically add the internal IP addresses of ECS instances that join the scaling group to the access whitelist of the RDS instance. The RDS instance must meet the following requirements:
555
+ * * The RDS instance must be in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) operation to view the status of the specified RDS instance.
556
+ * * The number of IPs in the RDS instance\\"s access whitelist cannot exceed the upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
557
+ * If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
558
+ * * When you specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters (i.e., defining the instance allocation method under the cost optimization policy), Auto Scaling will prioritize this allocation method during scaling operations.
559
559
  * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
560
560
  * If you set `Tags.Propagate` to true, the following rules will apply:
561
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
562
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
563
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
561
+ * * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
562
+ * * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
563
+ * * If the tag key specified in the scaling configuration matches a tag key in the scaling group, the tag value from the scaling configuration will take precedence.
564
564
  *
565
565
  * @param request - CreateScalingGroupRequest
566
566
  * @param runtime - runtime options for this request RuntimeOptions
@@ -573,26 +573,26 @@ export default class Client extends OpenApi {
573
573
  * @remarks
574
574
  * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
575
575
  * You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
576
- * A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
576
+ * A scaling group does not immediately take effect after you create it. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
577
577
  * If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
578
578
  * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
579
579
  * * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
580
580
  * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
581
- * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
582
- * The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
581
+ * > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
582
+ * The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
583
583
  * * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
584
- * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
585
- * If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
586
- * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
587
- * * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
588
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
589
- * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
590
- * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
584
+ * * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
585
+ * If you attach Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
586
+ * If you associate an RDS instance with the scaling group, the scaling group will automatically add the internal IP addresses of ECS instances that join the scaling group to the access whitelist of the RDS instance. The RDS instance must meet the following requirements:
587
+ * * The RDS instance must be in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) operation to view the status of the specified RDS instance.
588
+ * * The number of IPs in the RDS instance\\"s access whitelist cannot exceed the upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
589
+ * If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
590
+ * * When you specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters (i.e., defining the instance allocation method under the cost optimization policy), Auto Scaling will prioritize this allocation method during scaling operations.
591
591
  * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
592
592
  * If you set `Tags.Propagate` to true, the following rules will apply:
593
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
594
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
595
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
593
+ * * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
594
+ * * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
595
+ * * If the tag key specified in the scaling configuration matches a tag key in the scaling group, the tag value from the scaling configuration will take precedence.
596
596
  *
597
597
  * @param request - CreateScalingGroupRequest
598
598
  * @returns CreateScalingGroupResponse
@@ -715,7 +715,7 @@ export default class Client extends OpenApi {
715
715
  */
716
716
  deleteAlarm(request: $_model.DeleteAlarmRequest): Promise<$_model.DeleteAlarmResponse>;
717
717
  /**
718
- * DeleteDiagnoseReport
718
+ * Deletes a health diagnosis report for a scaling group.
719
719
  *
720
720
  * @param request - DeleteDiagnoseReportRequest
721
721
  * @param runtime - runtime options for this request RuntimeOptions
@@ -723,7 +723,7 @@ export default class Client extends OpenApi {
723
723
  */
724
724
  deleteDiagnoseReportWithOptions(request: $_model.DeleteDiagnoseReportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDiagnoseReportResponse>;
725
725
  /**
726
- * DeleteDiagnoseReport
726
+ * Deletes a health diagnosis report for a scaling group.
727
727
  *
728
728
  * @param request - DeleteDiagnoseReportRequest
729
729
  * @returns DeleteDiagnoseReportResponse
@@ -979,12 +979,16 @@ export default class Client extends OpenApi {
979
979
  */
980
980
  describeElasticStrength(request: $_model.DescribeElasticStrengthRequest): Promise<$_model.DescribeElasticStrengthResponse>;
981
981
  /**
982
+ * Instance creation and deletion statistics.
983
+ *
982
984
  * @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
983
985
  * @param runtime - runtime options for this request RuntimeOptions
984
986
  * @returns DescribeInstanceCreateAndDeleteStatisticsResponse
985
987
  */
986
988
  describeInstanceCreateAndDeleteStatisticsWithOptions(request: $_model.DescribeInstanceCreateAndDeleteStatisticsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceCreateAndDeleteStatisticsResponse>;
987
989
  /**
990
+ * Instance creation and deletion statistics.
991
+ *
988
992
  * @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
989
993
  * @returns DescribeInstanceCreateAndDeleteStatisticsResponse
990
994
  */
@@ -1176,12 +1180,16 @@ export default class Client extends OpenApi {
1176
1180
  */
1177
1181
  describeScalingActivityDetail(request: $_model.DescribeScalingActivityDetailRequest): Promise<$_model.DescribeScalingActivityDetailResponse>;
1178
1182
  /**
1183
+ * The distribution of scaling activities in different states over a period of time.
1184
+ *
1179
1185
  * @param request - DescribeScalingActivityStatisticsRequest
1180
1186
  * @param runtime - runtime options for this request RuntimeOptions
1181
1187
  * @returns DescribeScalingActivityStatisticsResponse
1182
1188
  */
1183
1189
  describeScalingActivityStatisticsWithOptions(request: $_model.DescribeScalingActivityStatisticsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeScalingActivityStatisticsResponse>;
1184
1190
  /**
1191
+ * The distribution of scaling activities in different states over a period of time.
1192
+ *
1185
1193
  * @param request - DescribeScalingActivityStatisticsRequest
1186
1194
  * @returns DescribeScalingActivityStatisticsResponse
1187
1195
  */
@@ -1388,7 +1396,7 @@ export default class Client extends OpenApi {
1388
1396
  */
1389
1397
  detachLoadBalancers(request: $_model.DetachLoadBalancersRequest): Promise<$_model.DetachLoadBalancersResponse>;
1390
1398
  /**
1391
- * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
1399
+ * Remove one or more SLB server groups from a scaling group. Supported server group types include Application Load Balancer (ALB), Network Load Balancer (NLB), and Gateway Load Balancer (GWLB), which can dynamically adjust SLB policies and help improve high availability of the system.
1392
1400
  *
1393
1401
  * @param request - DetachServerGroupsRequest
1394
1402
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1396,7 +1404,7 @@ export default class Client extends OpenApi {
1396
1404
  */
1397
1405
  detachServerGroupsWithOptions(request: $_model.DetachServerGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DetachServerGroupsResponse>;
1398
1406
  /**
1399
- * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
1407
+ * Remove one or more SLB server groups from a scaling group. Supported server group types include Application Load Balancer (ALB), Network Load Balancer (NLB), and Gateway Load Balancer (GWLB), which can dynamically adjust SLB policies and help improve high availability of the system.
1400
1408
  *
1401
1409
  * @param request - DetachServerGroupsRequest
1402
1410
  * @returns DetachServerGroupsResponse
@@ -1908,45 +1916,61 @@ export default class Client extends OpenApi {
1908
1916
  */
1909
1917
  modifyScheduledTask(request: $_model.ModifyScheduledTaskRequest): Promise<$_model.ModifyScheduledTaskResponse>;
1910
1918
  /**
1919
+ * Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
1920
+ *
1911
1921
  * @param request - QueryHistoricalMetricRequest
1912
1922
  * @param runtime - runtime options for this request RuntimeOptions
1913
1923
  * @returns QueryHistoricalMetricResponse
1914
1924
  */
1915
1925
  queryHistoricalMetricWithOptions(request: $_model.QueryHistoricalMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryHistoricalMetricResponse>;
1916
1926
  /**
1927
+ * Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
1928
+ *
1917
1929
  * @param request - QueryHistoricalMetricRequest
1918
1930
  * @returns QueryHistoricalMetricResponse
1919
1931
  */
1920
1932
  queryHistoricalMetric(request: $_model.QueryHistoricalMetricRequest): Promise<$_model.QueryHistoricalMetricResponse>;
1921
1933
  /**
1934
+ * Queries predicted monitoring data.
1935
+ *
1922
1936
  * @param request - QueryPredictiveMetricRequest
1923
1937
  * @param runtime - runtime options for this request RuntimeOptions
1924
1938
  * @returns QueryPredictiveMetricResponse
1925
1939
  */
1926
1940
  queryPredictiveMetricWithOptions(request: $_model.QueryPredictiveMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPredictiveMetricResponse>;
1927
1941
  /**
1942
+ * Queries predicted monitoring data.
1943
+ *
1928
1944
  * @param request - QueryPredictiveMetricRequest
1929
1945
  * @returns QueryPredictiveMetricResponse
1930
1946
  */
1931
1947
  queryPredictiveMetric(request: $_model.QueryPredictiveMetricRequest): Promise<$_model.QueryPredictiveMetricResponse>;
1932
1948
  /**
1949
+ * Queries the information about a prediction task.
1950
+ *
1933
1951
  * @param request - QueryPredictiveTaskInfoRequest
1934
1952
  * @param runtime - runtime options for this request RuntimeOptions
1935
1953
  * @returns QueryPredictiveTaskInfoResponse
1936
1954
  */
1937
1955
  queryPredictiveTaskInfoWithOptions(request: $_model.QueryPredictiveTaskInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPredictiveTaskInfoResponse>;
1938
1956
  /**
1957
+ * Queries the information about a prediction task.
1958
+ *
1939
1959
  * @param request - QueryPredictiveTaskInfoRequest
1940
1960
  * @returns QueryPredictiveTaskInfoResponse
1941
1961
  */
1942
1962
  queryPredictiveTaskInfo(request: $_model.QueryPredictiveTaskInfoRequest): Promise<$_model.QueryPredictiveTaskInfoResponse>;
1943
1963
  /**
1964
+ * Queries the predicted number of instances in a scaling group.
1965
+ *
1944
1966
  * @param request - QueryPredictiveValueRequest
1945
1967
  * @param runtime - runtime options for this request RuntimeOptions
1946
1968
  * @returns QueryPredictiveValueResponse
1947
1969
  */
1948
1970
  queryPredictiveValueWithOptions(request: $_model.QueryPredictiveValueRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPredictiveValueResponse>;
1949
1971
  /**
1972
+ * Queries the predicted number of instances in a scaling group.
1973
+ *
1950
1974
  * @param request - QueryPredictiveValueRequest
1951
1975
  * @returns QueryPredictiveValueResponse
1952
1976
  */
@@ -2136,7 +2160,7 @@ export default class Client extends OpenApi {
2136
2160
  */
2137
2161
  setGroupDeletionProtection(request: $_model.SetGroupDeletionProtectionRequest): Promise<$_model.SetGroupDeletionProtectionResponse>;
2138
2162
  /**
2139
- * 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.
2163
+ * 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.
2140
2164
  *
2141
2165
  * @remarks
2142
2166
  * 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).
@@ -2147,7 +2171,7 @@ export default class Client extends OpenApi {
2147
2171
  */
2148
2172
  setInstanceHealthWithOptions(request: $_model.SetInstanceHealthRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetInstanceHealthResponse>;
2149
2173
  /**
2150
- * 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.
2174
+ * 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.
2151
2175
  *
2152
2176
  * @remarks
2153
2177
  * 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).
package/dist/client.js CHANGED
@@ -612,7 +612,7 @@ class Client extends openapi_core_1.default {
612
612
  return await this.attachLoadBalancersWithOptions(request, runtime);
613
613
  }
614
614
  /**
615
- * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
615
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
616
616
  *
617
617
  * @param request - AttachServerGroupsRequest
618
618
  * @param runtime - runtime options for this request RuntimeOptions
@@ -659,7 +659,7 @@ class Client extends openapi_core_1.default {
659
659
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachServerGroupsResponse({}));
660
660
  }
661
661
  /**
662
- * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
662
+ * Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
663
663
  *
664
664
  * @param request - AttachServerGroupsRequest
665
665
  * @returns AttachServerGroupsResponse
@@ -1516,6 +1516,9 @@ class Client extends openapi_core_1.default {
1516
1516
  if (!$dara.isNull(request.instanceType)) {
1517
1517
  query["InstanceType"] = request.instanceType;
1518
1518
  }
1519
+ if (!$dara.isNull(request.instanceTypeCandidateOptions)) {
1520
+ query["InstanceTypeCandidateOptions"] = request.instanceTypeCandidateOptions;
1521
+ }
1519
1522
  if (!$dara.isNull(request.instanceTypeOverrides)) {
1520
1523
  query["InstanceTypeOverrides"] = request.instanceTypeOverrides;
1521
1524
  }
@@ -1677,26 +1680,26 @@ class Client extends openapi_core_1.default {
1677
1680
  * @remarks
1678
1681
  * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
1679
1682
  * You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
1680
- * A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
1683
+ * A scaling group does not immediately take effect after you create it. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
1681
1684
  * If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
1682
1685
  * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
1683
1686
  * * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
1684
1687
  * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
1685
- * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
1686
- * The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
1688
+ * > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
1689
+ * The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
1687
1690
  * * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
1688
- * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
1689
- * If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
1690
- * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
1691
- * * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
1692
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
1693
- * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
1694
- * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
1691
+ * * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
1692
+ * If you attach Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
1693
+ * If you associate an RDS instance with the scaling group, the scaling group will automatically add the internal IP addresses of ECS instances that join the scaling group to the access whitelist of the RDS instance. The RDS instance must meet the following requirements:
1694
+ * * The RDS instance must be in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) operation to view the status of the specified RDS instance.
1695
+ * * The number of IPs in the RDS instance\\"s access whitelist cannot exceed the upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
1696
+ * If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
1697
+ * * When you specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters (i.e., defining the instance allocation method under the cost optimization policy), Auto Scaling will prioritize this allocation method during scaling operations.
1695
1698
  * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
1696
1699
  * If you set `Tags.Propagate` to true, the following rules will apply:
1697
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
1698
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
1699
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
1700
+ * * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
1701
+ * * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
1702
+ * * If the tag key specified in the scaling configuration matches a tag key in the scaling group, the tag value from the scaling configuration will take precedence.
1700
1703
  *
1701
1704
  * @param request - CreateScalingGroupRequest
1702
1705
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1874,26 +1877,26 @@ class Client extends openapi_core_1.default {
1874
1877
  * @remarks
1875
1878
  * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
1876
1879
  * You can create only a limited number of scaling groups in a region. To check the quota of the scaling groups, go to Quota Center.
1877
- * A scaling group does not immediately take effect after you create the scaling group. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
1880
+ * A scaling group does not immediately take effect after you create it. You can call the [EnableScalingGroup](https://help.aliyun.com/document_detail/25939.html) operation to enable a scaling group. You can trigger scaling events and execute scaling rules only in scaling groups that are in the Enabled state.
1878
1881
  * If you want to attach a Classic Load Balancer (CLB, formerly known as SLB) instance and an ApsaraDB RDS instance to the scaling group that you want to create, the scaling group, the CLB instance, and the ApsaraDB RDS instance must reside in the same region. For more information, see [Regions and zones](https://help.aliyun.com/document_detail/40654.html).
1879
1882
  * If you attach a CLB instance to the scaling group that you want to create, Auto Scaling automatically adds the ECS instances in the scaling group to the backend server groups of the CLB instance. You can specify the following types of server groups to add ECS instances:
1880
1883
  * * Default server group: ECS instances in this group process frontend requests. If no listeners are configured for vServer groups or primary/secondary server groups, the frontend requests are forwarded to the ECS instances in the default server group.
1881
1884
  * * vServer group: If you want to forward different requests to different backend servers, or you want to forward requests based on domain names or URLs, you can specify vServer groups.
1882
- * > If you specify both the default server group and multiple server groups simultaneously, Auto Scaling adds the ECS instances in your scaling group to these server groups concurrently.
1883
- * The default weight of each ECS instance as a backend server is 50. If you want to attach a CLB instance to the scaling group that you want to create, make sure that the CLB instance meets the following requirements:
1885
+ * > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
1886
+ * The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
1884
1887
  * * The CLB instance is in the Active state. You can call the [DescribeLoadBalancers](https://help.aliyun.com/document_detail/2401696.html) operation to query the status of CLB instances.
1885
- * * Health check must be enabled on all listener ports configured for the CLB instance. Otherwise, the scaling group will fail to be created.
1886
- * If you attach Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can attach multiple ALB or NLB server groups to a scaling group. Make sure that the ALB or NLB server groups belong to the same virtual private cloud (VPC). For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
1887
- * If you attach an ApsaraDB RDS instance to the scaling group that you want to create, Auto Scaling automatically adds the private IP addresses of the ECS instances in your scaling group to the IP address whitelist of the ApsaraDB RDS instance. Before you attach an ApsaraDB RDS instance to your scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
1888
- * * The ApsaraDB RDS instance is in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) state to query the status of ApsaraDB RDS instances.
1889
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance does not reach its upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
1890
- * If you set MultiAZPolicy for the scaling group that you want to create to COST_OPTIMIZED, the following rules apply:
1891
- * * If you use OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools to specify the instance allocation mode under the cost optimization policy, Auto Scaling prioritizes the implementation of the specified instance allocation mode during scale-out events.
1888
+ * * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
1889
+ * If you attach Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GWLB) server groups to the scaling group that you want to create, Auto Scaling adds the ECS instances in your scaling group to the ALB or NLB server groups to process the access requests forwarded by the corresponding ALB or NLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see [AttachAlbServerGroups](https://help.aliyun.com/document_detail/266800.html) or [AttachServerGroups](https://help.aliyun.com/document_detail/600535.html).
1890
+ * If you associate an RDS instance with the scaling group, the scaling group will automatically add the internal IP addresses of ECS instances that join the scaling group to the access whitelist of the RDS instance. The RDS instance must meet the following requirements:
1891
+ * * The RDS instance must be in the Running state. You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/610396.html) operation to view the status of the specified RDS instance.
1892
+ * * The number of IPs in the RDS instance\\"s access whitelist cannot exceed the upper limit. For more information, see [Configure a whitelist](https://help.aliyun.com/document_detail/43185.html).
1893
+ * If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
1894
+ * * When you specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters (i.e., defining the instance allocation method under the cost optimization policy), Auto Scaling will prioritize this allocation method during scaling operations.
1892
1895
  * * If you do not specify OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools, Auto Scaling preferentially creates instances of the lowest-priced instance type based on the cost optimization policy.
1893
1896
  * If you set `Tags.Propagate` to true, the following rules will apply:
1894
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
1895
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
1896
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
1897
+ * * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
1898
+ * * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
1899
+ * * If the tag key specified in the scaling configuration matches a tag key in the scaling group, the tag value from the scaling configuration will take precedence.
1897
1900
  *
1898
1901
  * @param request - CreateScalingGroupRequest
1899
1902
  * @returns CreateScalingGroupResponse
@@ -2262,7 +2265,7 @@ class Client extends openapi_core_1.default {
2262
2265
  return await this.deleteAlarmWithOptions(request, runtime);
2263
2266
  }
2264
2267
  /**
2265
- * DeleteDiagnoseReport
2268
+ * Deletes a health diagnosis report for a scaling group.
2266
2269
  *
2267
2270
  * @param request - DeleteDiagnoseReportRequest
2268
2271
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2288,7 +2291,7 @@ class Client extends openapi_core_1.default {
2288
2291
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDiagnoseReportResponse({}));
2289
2292
  }
2290
2293
  /**
2291
- * DeleteDiagnoseReport
2294
+ * Deletes a health diagnosis report for a scaling group.
2292
2295
  *
2293
2296
  * @param request - DeleteDiagnoseReportRequest
2294
2297
  * @returns DeleteDiagnoseReportResponse
@@ -3018,6 +3021,8 @@ class Client extends openapi_core_1.default {
3018
3021
  return await this.describeElasticStrengthWithOptions(request, runtime);
3019
3022
  }
3020
3023
  /**
3024
+ * Instance creation and deletion statistics.
3025
+ *
3021
3026
  * @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
3022
3027
  * @param runtime - runtime options for this request RuntimeOptions
3023
3028
  * @returns DescribeInstanceCreateAndDeleteStatisticsResponse
@@ -3063,6 +3068,8 @@ class Client extends openapi_core_1.default {
3063
3068
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceCreateAndDeleteStatisticsResponse({}));
3064
3069
  }
3065
3070
  /**
3071
+ * Instance creation and deletion statistics.
3072
+ *
3066
3073
  * @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
3067
3074
  * @returns DescribeInstanceCreateAndDeleteStatisticsResponse
3068
3075
  */
@@ -3623,6 +3630,8 @@ class Client extends openapi_core_1.default {
3623
3630
  return await this.describeScalingActivityDetailWithOptions(request, runtime);
3624
3631
  }
3625
3632
  /**
3633
+ * The distribution of scaling activities in different states over a period of time.
3634
+ *
3626
3635
  * @param request - DescribeScalingActivityStatisticsRequest
3627
3636
  * @param runtime - runtime options for this request RuntimeOptions
3628
3637
  * @returns DescribeScalingActivityStatisticsResponse
@@ -3671,6 +3680,8 @@ class Client extends openapi_core_1.default {
3671
3680
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeScalingActivityStatisticsResponse({}));
3672
3681
  }
3673
3682
  /**
3683
+ * The distribution of scaling activities in different states over a period of time.
3684
+ *
3674
3685
  * @param request - DescribeScalingActivityStatisticsRequest
3675
3686
  * @returns DescribeScalingActivityStatisticsResponse
3676
3687
  */
@@ -4426,7 +4437,7 @@ class Client extends openapi_core_1.default {
4426
4437
  return await this.detachLoadBalancersWithOptions(request, runtime);
4427
4438
  }
4428
4439
  /**
4429
- * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
4440
+ * Remove one or more SLB server groups from a scaling group. Supported server group types include Application Load Balancer (ALB), Network Load Balancer (NLB), and Gateway Load Balancer (GWLB), which can dynamically adjust SLB policies and help improve high availability of the system.
4430
4441
  *
4431
4442
  * @param request - DetachServerGroupsRequest
4432
4443
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4473,7 +4484,7 @@ class Client extends openapi_core_1.default {
4473
4484
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachServerGroupsResponse({}));
4474
4485
  }
4475
4486
  /**
4476
- * Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
4487
+ * Remove one or more SLB server groups from a scaling group. Supported server group types include Application Load Balancer (ALB), Network Load Balancer (NLB), and Gateway Load Balancer (GWLB), which can dynamically adjust SLB policies and help improve high availability of the system.
4477
4488
  *
4478
4489
  * @param request - DetachServerGroupsRequest
4479
4490
  * @returns DetachServerGroupsResponse
@@ -5842,6 +5853,9 @@ class Client extends openapi_core_1.default {
5842
5853
  if (!$dara.isNull(request.instancePatternInfos)) {
5843
5854
  query["InstancePatternInfos"] = request.instancePatternInfos;
5844
5855
  }
5856
+ if (!$dara.isNull(request.instanceTypeCandidateOptions)) {
5857
+ query["InstanceTypeCandidateOptions"] = request.instanceTypeCandidateOptions;
5858
+ }
5845
5859
  if (!$dara.isNull(request.instanceTypeOverrides)) {
5846
5860
  query["InstanceTypeOverrides"] = request.instanceTypeOverrides;
5847
5861
  }
@@ -6391,6 +6405,8 @@ class Client extends openapi_core_1.default {
6391
6405
  return await this.modifyScheduledTaskWithOptions(request, runtime);
6392
6406
  }
6393
6407
  /**
6408
+ * Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
6409
+ *
6394
6410
  * @param request - QueryHistoricalMetricRequest
6395
6411
  * @param runtime - runtime options for this request RuntimeOptions
6396
6412
  * @returns QueryHistoricalMetricResponse
@@ -6439,6 +6455,8 @@ class Client extends openapi_core_1.default {
6439
6455
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryHistoricalMetricResponse({}));
6440
6456
  }
6441
6457
  /**
6458
+ * Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
6459
+ *
6442
6460
  * @param request - QueryHistoricalMetricRequest
6443
6461
  * @returns QueryHistoricalMetricResponse
6444
6462
  */
@@ -6447,6 +6465,8 @@ class Client extends openapi_core_1.default {
6447
6465
  return await this.queryHistoricalMetricWithOptions(request, runtime);
6448
6466
  }
6449
6467
  /**
6468
+ * Queries predicted monitoring data.
6469
+ *
6450
6470
  * @param request - QueryPredictiveMetricRequest
6451
6471
  * @param runtime - runtime options for this request RuntimeOptions
6452
6472
  * @returns QueryPredictiveMetricResponse
@@ -6495,6 +6515,8 @@ class Client extends openapi_core_1.default {
6495
6515
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveMetricResponse({}));
6496
6516
  }
6497
6517
  /**
6518
+ * Queries predicted monitoring data.
6519
+ *
6498
6520
  * @param request - QueryPredictiveMetricRequest
6499
6521
  * @returns QueryPredictiveMetricResponse
6500
6522
  */
@@ -6503,6 +6525,8 @@ class Client extends openapi_core_1.default {
6503
6525
  return await this.queryPredictiveMetricWithOptions(request, runtime);
6504
6526
  }
6505
6527
  /**
6528
+ * Queries the information about a prediction task.
6529
+ *
6506
6530
  * @param request - QueryPredictiveTaskInfoRequest
6507
6531
  * @param runtime - runtime options for this request RuntimeOptions
6508
6532
  * @returns QueryPredictiveTaskInfoResponse
@@ -6548,6 +6572,8 @@ class Client extends openapi_core_1.default {
6548
6572
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveTaskInfoResponse({}));
6549
6573
  }
6550
6574
  /**
6575
+ * Queries the information about a prediction task.
6576
+ *
6551
6577
  * @param request - QueryPredictiveTaskInfoRequest
6552
6578
  * @returns QueryPredictiveTaskInfoResponse
6553
6579
  */
@@ -6556,6 +6582,8 @@ class Client extends openapi_core_1.default {
6556
6582
  return await this.queryPredictiveTaskInfoWithOptions(request, runtime);
6557
6583
  }
6558
6584
  /**
6585
+ * Queries the predicted number of instances in a scaling group.
6586
+ *
6559
6587
  * @param request - QueryPredictiveValueRequest
6560
6588
  * @param runtime - runtime options for this request RuntimeOptions
6561
6589
  * @returns QueryPredictiveValueResponse
@@ -6607,6 +6635,8 @@ class Client extends openapi_core_1.default {
6607
6635
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveValueResponse({}));
6608
6636
  }
6609
6637
  /**
6638
+ * Queries the predicted number of instances in a scaling group.
6639
+ *
6610
6640
  * @param request - QueryPredictiveValueRequest
6611
6641
  * @returns QueryPredictiveValueResponse
6612
6642
  */
@@ -7160,7 +7190,7 @@ class Client extends openapi_core_1.default {
7160
7190
  return await this.setGroupDeletionProtectionWithOptions(request, runtime);
7161
7191
  }
7162
7192
  /**
7163
- * 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.
7193
+ * 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.
7164
7194
  *
7165
7195
  * @remarks
7166
7196
  * 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).
@@ -7201,7 +7231,7 @@ class Client extends openapi_core_1.default {
7201
7231
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetInstanceHealthResponse({}));
7202
7232
  }
7203
7233
  /**
7204
- * 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.
7234
+ * 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.
7205
7235
  *
7206
7236
  * @remarks
7207
7237
  * 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).