@alicloud/ess20220222 1.10.0 → 1.10.2
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 +56 -32
- package/dist/client.js +56 -32
- package/dist/client.js.map +1 -1
- package/dist/models/AttachServerGroupsRequest.d.ts +8 -7
- package/dist/models/AttachServerGroupsRequest.js.map +1 -1
- package/dist/models/CreateScalingConfigurationRequest.d.ts +17 -16
- package/dist/models/CreateScalingConfigurationRequest.js +2 -0
- package/dist/models/CreateScalingConfigurationRequest.js.map +1 -1
- package/dist/models/CreateScalingConfigurationShrinkRequest.d.ts +17 -16
- package/dist/models/CreateScalingConfigurationShrinkRequest.js +2 -0
- package/dist/models/CreateScalingConfigurationShrinkRequest.js.map +1 -1
- package/dist/models/CreateScalingGroupRequest.d.ts +8 -5
- package/dist/models/CreateScalingGroupRequest.js.map +1 -1
- package/dist/models/DeleteDiagnoseReportRequest.d.ts +4 -0
- package/dist/models/DeleteDiagnoseReportRequest.js.map +1 -1
- package/dist/models/DeleteDiagnoseReportResponseBody.d.ts +3 -0
- package/dist/models/DeleteDiagnoseReportResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +9 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +22 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +17 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -1
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +32 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingConfigurationsResponseBody.d.ts +1 -0
- package/dist/models/DescribeScalingConfigurationsResponseBody.js +2 -0
- package/dist/models/DescribeScalingConfigurationsResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingGroupDetailResponseBody.d.ts +2 -1
- package/dist/models/DescribeScalingGroupDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingGroupsResponseBody.d.ts +4 -3
- package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
- package/dist/models/DetachServerGroupsRequest.d.ts +2 -1
- package/dist/models/DetachServerGroupsRequest.js.map +1 -1
- package/dist/models/ModifyAlarmRequest.d.ts +21 -20
- package/dist/models/ModifyAlarmRequest.js.map +1 -1
- package/dist/models/ModifyScalingConfigurationRequest.d.ts +18 -17
- package/dist/models/ModifyScalingConfigurationRequest.js +2 -0
- package/dist/models/ModifyScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyScalingConfigurationShrinkRequest.d.ts +18 -17
- package/dist/models/ModifyScalingConfigurationShrinkRequest.js +2 -0
- package/dist/models/ModifyScalingConfigurationShrinkRequest.js.map +1 -1
- package/dist/models/ModifyScalingGroupRequest.d.ts +20 -13
- package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
- package/dist/models/QueryHistoricalMetricRequest.d.ts +18 -0
- package/dist/models/QueryHistoricalMetricRequest.js.map +1 -1
- package/dist/models/QueryHistoricalMetricResponseBody.d.ts +13 -0
- package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveMetricRequest.d.ts +18 -0
- package/dist/models/QueryPredictiveMetricRequest.js.map +1 -1
- package/dist/models/QueryPredictiveMetricResponseBody.d.ts +13 -0
- package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +12 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -1
- package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +16 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -1
- package/dist/models/QueryPredictiveValueRequest.d.ts +20 -0
- package/dist/models/QueryPredictiveValueRequest.js.map +1 -1
- package/dist/models/QueryPredictiveValueResponseBody.d.ts +13 -0
- package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +56 -32
- package/src/models/AttachServerGroupsRequest.ts +8 -7
- package/src/models/CreateScalingConfigurationRequest.ts +19 -16
- package/src/models/CreateScalingConfigurationShrinkRequest.ts +19 -16
- package/src/models/CreateScalingGroupRequest.ts +8 -5
- package/src/models/DeleteDiagnoseReportRequest.ts +4 -0
- package/src/models/DeleteDiagnoseReportResponseBody.ts +3 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +9 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +22 -0
- package/src/models/DescribeScalingActivityStatisticsRequest.ts +17 -0
- package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +32 -0
- package/src/models/DescribeScalingConfigurationsResponseBody.ts +3 -0
- package/src/models/DescribeScalingGroupDetailResponseBody.ts +2 -1
- package/src/models/DescribeScalingGroupsResponseBody.ts +4 -3
- package/src/models/DetachServerGroupsRequest.ts +2 -1
- package/src/models/ModifyAlarmRequest.ts +21 -20
- package/src/models/ModifyScalingConfigurationRequest.ts +20 -17
- package/src/models/ModifyScalingConfigurationShrinkRequest.ts +20 -17
- package/src/models/ModifyScalingGroupRequest.ts +20 -13
- package/src/models/QueryHistoricalMetricRequest.ts +18 -0
- package/src/models/QueryHistoricalMetricResponseBody.ts +13 -0
- package/src/models/QueryPredictiveMetricRequest.ts +18 -0
- package/src/models/QueryPredictiveMetricResponseBody.ts +13 -0
- package/src/models/QueryPredictiveTaskInfoRequest.ts +12 -0
- package/src/models/QueryPredictiveTaskInfoResponseBody.ts +16 -0
- package/src/models/QueryPredictiveValueRequest.ts +20 -0
- package/src/models/QueryPredictiveValueResponseBody.ts +13 -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)
|
|
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)
|
|
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
|
|
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
|
|
550
|
-
* The default weight of each ECS instance as a backend server is 50.
|
|
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
|
-
* *
|
|
553
|
-
* If you attach Application Load Balancer (ALB)
|
|
554
|
-
* If you
|
|
555
|
-
* * The
|
|
556
|
-
* * The number of
|
|
557
|
-
* If
|
|
558
|
-
* *
|
|
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
|
|
562
|
-
* * If
|
|
563
|
-
* * If the tag key
|
|
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
|
|
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
|
|
582
|
-
* The default weight of each ECS instance as a backend server is 50.
|
|
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
|
-
* *
|
|
585
|
-
* If you attach Application Load Balancer (ALB)
|
|
586
|
-
* If you
|
|
587
|
-
* * The
|
|
588
|
-
* * The number of
|
|
589
|
-
* If
|
|
590
|
-
* *
|
|
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
|
|
594
|
-
* * If
|
|
595
|
-
* * If the tag key
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
*/
|
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)
|
|
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)
|
|
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
|
|
@@ -1677,26 +1677,26 @@ class Client extends openapi_core_1.default {
|
|
|
1677
1677
|
* @remarks
|
|
1678
1678
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
|
|
1679
1679
|
* 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
|
|
1680
|
+
* 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
1681
|
* 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
1682
|
* 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
1683
|
* * 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
1684
|
* * 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
|
|
1686
|
-
* The default weight of each ECS instance as a backend server is 50.
|
|
1685
|
+
* > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
|
|
1686
|
+
* The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
|
|
1687
1687
|
* * 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
|
-
* *
|
|
1689
|
-
* If you attach Application Load Balancer (ALB)
|
|
1690
|
-
* If you
|
|
1691
|
-
* * The
|
|
1692
|
-
* * The number of
|
|
1693
|
-
* If
|
|
1694
|
-
* *
|
|
1688
|
+
* * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
|
|
1689
|
+
* 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).
|
|
1690
|
+
* 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:
|
|
1691
|
+
* * 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.
|
|
1692
|
+
* * 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).
|
|
1693
|
+
* If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
|
|
1694
|
+
* * 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
1695
|
* * 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
1696
|
* If you set `Tags.Propagate` to true, the following rules will apply:
|
|
1697
|
-
* * Tags
|
|
1698
|
-
* * If
|
|
1699
|
-
* * If the tag key
|
|
1697
|
+
* * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
|
|
1698
|
+
* * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
|
|
1699
|
+
* * 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
1700
|
*
|
|
1701
1701
|
* @param request - CreateScalingGroupRequest
|
|
1702
1702
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1874,26 +1874,26 @@ class Client extends openapi_core_1.default {
|
|
|
1874
1874
|
* @remarks
|
|
1875
1875
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used for similar purposes.
|
|
1876
1876
|
* 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
|
|
1877
|
+
* 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
1878
|
* 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
1879
|
* 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
1880
|
* * 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
1881
|
* * 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
|
|
1883
|
-
* The default weight of each ECS instance as a backend server is 50.
|
|
1882
|
+
* > If you specify both the default server group and multiple VServer groups, the ECS instances are added to these server groups.
|
|
1883
|
+
* The default weight of each ECS instance as a backend server is 50. The CLB instance must meet the following requirements:
|
|
1884
1884
|
* * 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
|
-
* *
|
|
1886
|
-
* If you attach Application Load Balancer (ALB)
|
|
1887
|
-
* If you
|
|
1888
|
-
* * The
|
|
1889
|
-
* * The number of
|
|
1890
|
-
* If
|
|
1891
|
-
* *
|
|
1885
|
+
* * All listening ports configured for the CLB instance must be health check. Otherwise, the scaling group fails to be created.
|
|
1886
|
+
* 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).
|
|
1887
|
+
* 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:
|
|
1888
|
+
* * 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.
|
|
1889
|
+
* * 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).
|
|
1890
|
+
* If the MultiAZPolicy for the scaling group is set to COST_OPTIMIZED, the following rules apply:
|
|
1891
|
+
* * 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
1892
|
* * 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
1893
|
* If you set `Tags.Propagate` to true, the following rules will apply:
|
|
1894
|
-
* * Tags
|
|
1895
|
-
* * If
|
|
1896
|
-
* * If the tag key
|
|
1894
|
+
* * Tags added to the scaling group will only propagate to newly created instances and will not affect instances already running within the scaling group.
|
|
1895
|
+
* * If instance tags are specified in the scaling configuration and the scaling group’s tags are propagated to the instance, all tags will coexist.
|
|
1896
|
+
* * 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
1897
|
*
|
|
1898
1898
|
* @param request - CreateScalingGroupRequest
|
|
1899
1899
|
* @returns CreateScalingGroupResponse
|
|
@@ -2262,7 +2262,7 @@ class Client extends openapi_core_1.default {
|
|
|
2262
2262
|
return await this.deleteAlarmWithOptions(request, runtime);
|
|
2263
2263
|
}
|
|
2264
2264
|
/**
|
|
2265
|
-
*
|
|
2265
|
+
* Deletes a health diagnosis report for a scaling group.
|
|
2266
2266
|
*
|
|
2267
2267
|
* @param request - DeleteDiagnoseReportRequest
|
|
2268
2268
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2288,7 +2288,7 @@ class Client extends openapi_core_1.default {
|
|
|
2288
2288
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDiagnoseReportResponse({}));
|
|
2289
2289
|
}
|
|
2290
2290
|
/**
|
|
2291
|
-
*
|
|
2291
|
+
* Deletes a health diagnosis report for a scaling group.
|
|
2292
2292
|
*
|
|
2293
2293
|
* @param request - DeleteDiagnoseReportRequest
|
|
2294
2294
|
* @returns DeleteDiagnoseReportResponse
|
|
@@ -3018,6 +3018,8 @@ class Client extends openapi_core_1.default {
|
|
|
3018
3018
|
return await this.describeElasticStrengthWithOptions(request, runtime);
|
|
3019
3019
|
}
|
|
3020
3020
|
/**
|
|
3021
|
+
* Instance creation and deletion statistics.
|
|
3022
|
+
*
|
|
3021
3023
|
* @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
|
|
3022
3024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3023
3025
|
* @returns DescribeInstanceCreateAndDeleteStatisticsResponse
|
|
@@ -3063,6 +3065,8 @@ class Client extends openapi_core_1.default {
|
|
|
3063
3065
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceCreateAndDeleteStatisticsResponse({}));
|
|
3064
3066
|
}
|
|
3065
3067
|
/**
|
|
3068
|
+
* Instance creation and deletion statistics.
|
|
3069
|
+
*
|
|
3066
3070
|
* @param request - DescribeInstanceCreateAndDeleteStatisticsRequest
|
|
3067
3071
|
* @returns DescribeInstanceCreateAndDeleteStatisticsResponse
|
|
3068
3072
|
*/
|
|
@@ -3623,6 +3627,8 @@ class Client extends openapi_core_1.default {
|
|
|
3623
3627
|
return await this.describeScalingActivityDetailWithOptions(request, runtime);
|
|
3624
3628
|
}
|
|
3625
3629
|
/**
|
|
3630
|
+
* The distribution of scaling activities in different states over a period of time.
|
|
3631
|
+
*
|
|
3626
3632
|
* @param request - DescribeScalingActivityStatisticsRequest
|
|
3627
3633
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3628
3634
|
* @returns DescribeScalingActivityStatisticsResponse
|
|
@@ -3671,6 +3677,8 @@ class Client extends openapi_core_1.default {
|
|
|
3671
3677
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeScalingActivityStatisticsResponse({}));
|
|
3672
3678
|
}
|
|
3673
3679
|
/**
|
|
3680
|
+
* The distribution of scaling activities in different states over a period of time.
|
|
3681
|
+
*
|
|
3674
3682
|
* @param request - DescribeScalingActivityStatisticsRequest
|
|
3675
3683
|
* @returns DescribeScalingActivityStatisticsResponse
|
|
3676
3684
|
*/
|
|
@@ -4426,7 +4434,7 @@ class Client extends openapi_core_1.default {
|
|
|
4426
4434
|
return await this.detachLoadBalancersWithOptions(request, runtime);
|
|
4427
4435
|
}
|
|
4428
4436
|
/**
|
|
4429
|
-
*
|
|
4437
|
+
* 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
4438
|
*
|
|
4431
4439
|
* @param request - DetachServerGroupsRequest
|
|
4432
4440
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4473,7 +4481,7 @@ class Client extends openapi_core_1.default {
|
|
|
4473
4481
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachServerGroupsResponse({}));
|
|
4474
4482
|
}
|
|
4475
4483
|
/**
|
|
4476
|
-
*
|
|
4484
|
+
* 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
4485
|
*
|
|
4478
4486
|
* @param request - DetachServerGroupsRequest
|
|
4479
4487
|
* @returns DetachServerGroupsResponse
|
|
@@ -6391,6 +6399,8 @@ class Client extends openapi_core_1.default {
|
|
|
6391
6399
|
return await this.modifyScheduledTaskWithOptions(request, runtime);
|
|
6392
6400
|
}
|
|
6393
6401
|
/**
|
|
6402
|
+
* Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
|
|
6403
|
+
*
|
|
6394
6404
|
* @param request - QueryHistoricalMetricRequest
|
|
6395
6405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6396
6406
|
* @returns QueryHistoricalMetricResponse
|
|
@@ -6439,6 +6449,8 @@ class Client extends openapi_core_1.default {
|
|
|
6439
6449
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryHistoricalMetricResponse({}));
|
|
6440
6450
|
}
|
|
6441
6451
|
/**
|
|
6452
|
+
* Queries the historical monitoring data of a scaling group that uses predictive scaling rules.
|
|
6453
|
+
*
|
|
6442
6454
|
* @param request - QueryHistoricalMetricRequest
|
|
6443
6455
|
* @returns QueryHistoricalMetricResponse
|
|
6444
6456
|
*/
|
|
@@ -6447,6 +6459,8 @@ class Client extends openapi_core_1.default {
|
|
|
6447
6459
|
return await this.queryHistoricalMetricWithOptions(request, runtime);
|
|
6448
6460
|
}
|
|
6449
6461
|
/**
|
|
6462
|
+
* Queries predicted monitoring data.
|
|
6463
|
+
*
|
|
6450
6464
|
* @param request - QueryPredictiveMetricRequest
|
|
6451
6465
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6452
6466
|
* @returns QueryPredictiveMetricResponse
|
|
@@ -6495,6 +6509,8 @@ class Client extends openapi_core_1.default {
|
|
|
6495
6509
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveMetricResponse({}));
|
|
6496
6510
|
}
|
|
6497
6511
|
/**
|
|
6512
|
+
* Queries predicted monitoring data.
|
|
6513
|
+
*
|
|
6498
6514
|
* @param request - QueryPredictiveMetricRequest
|
|
6499
6515
|
* @returns QueryPredictiveMetricResponse
|
|
6500
6516
|
*/
|
|
@@ -6503,6 +6519,8 @@ class Client extends openapi_core_1.default {
|
|
|
6503
6519
|
return await this.queryPredictiveMetricWithOptions(request, runtime);
|
|
6504
6520
|
}
|
|
6505
6521
|
/**
|
|
6522
|
+
* Queries the information about a prediction task.
|
|
6523
|
+
*
|
|
6506
6524
|
* @param request - QueryPredictiveTaskInfoRequest
|
|
6507
6525
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6508
6526
|
* @returns QueryPredictiveTaskInfoResponse
|
|
@@ -6548,6 +6566,8 @@ class Client extends openapi_core_1.default {
|
|
|
6548
6566
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveTaskInfoResponse({}));
|
|
6549
6567
|
}
|
|
6550
6568
|
/**
|
|
6569
|
+
* Queries the information about a prediction task.
|
|
6570
|
+
*
|
|
6551
6571
|
* @param request - QueryPredictiveTaskInfoRequest
|
|
6552
6572
|
* @returns QueryPredictiveTaskInfoResponse
|
|
6553
6573
|
*/
|
|
@@ -6556,6 +6576,8 @@ class Client extends openapi_core_1.default {
|
|
|
6556
6576
|
return await this.queryPredictiveTaskInfoWithOptions(request, runtime);
|
|
6557
6577
|
}
|
|
6558
6578
|
/**
|
|
6579
|
+
* Queries the predicted number of instances in a scaling group.
|
|
6580
|
+
*
|
|
6559
6581
|
* @param request - QueryPredictiveValueRequest
|
|
6560
6582
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6561
6583
|
* @returns QueryPredictiveValueResponse
|
|
@@ -6607,6 +6629,8 @@ class Client extends openapi_core_1.default {
|
|
|
6607
6629
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPredictiveValueResponse({}));
|
|
6608
6630
|
}
|
|
6609
6631
|
/**
|
|
6632
|
+
* Queries the predicted number of instances in a scaling group.
|
|
6633
|
+
*
|
|
6610
6634
|
* @param request - QueryPredictiveValueRequest
|
|
6611
6635
|
* @returns QueryPredictiveValueResponse
|
|
6612
6636
|
*/
|