@alicloud/ess20220222 1.8.9 → 1.8.10

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.js CHANGED
@@ -1835,6 +1835,7 @@ class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
1835
1835
  compensateWithOnDemand: 'CompensateWithOnDemand',
1836
1836
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
1837
1837
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
1838
+ priceComparisonMode: 'PriceComparisonMode',
1838
1839
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
1839
1840
  };
1840
1841
  }
@@ -1843,6 +1844,7 @@ class CreateScalingGroupRequestCapacityOptions extends $dara.Model {
1843
1844
  compensateWithOnDemand: 'boolean',
1844
1845
  onDemandBaseCapacity: 'number',
1845
1846
  onDemandPercentageAboveBaseCapacity: 'number',
1847
+ priceComparisonMode: 'string',
1846
1848
  spotAutoReplaceOnDemand: 'boolean',
1847
1849
  };
1848
1850
  }
@@ -5197,6 +5199,7 @@ class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions extends $dar
5197
5199
  compensateWithOnDemand: 'CompensateWithOnDemand',
5198
5200
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
5199
5201
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
5202
+ priceComparisonMode: 'PriceComparisonMode',
5200
5203
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
5201
5204
  };
5202
5205
  }
@@ -5205,6 +5208,7 @@ class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions extends $dar
5205
5208
  compensateWithOnDemand: 'boolean',
5206
5209
  onDemandBaseCapacity: 'number',
5207
5210
  onDemandPercentageAboveBaseCapacity: 'number',
5211
+ priceComparisonMode: 'string',
5208
5212
  spotAutoReplaceOnDemand: 'boolean',
5209
5213
  };
5210
5214
  }
@@ -7750,6 +7754,7 @@ class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
7750
7754
  compensateWithOnDemand: 'CompensateWithOnDemand',
7751
7755
  onDemandBaseCapacity: 'OnDemandBaseCapacity',
7752
7756
  onDemandPercentageAboveBaseCapacity: 'OnDemandPercentageAboveBaseCapacity',
7757
+ priceComparisonMode: 'PriceComparisonMode',
7753
7758
  spotAutoReplaceOnDemand: 'SpotAutoReplaceOnDemand',
7754
7759
  };
7755
7760
  }
@@ -7758,6 +7763,7 @@ class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
7758
7763
  compensateWithOnDemand: 'boolean',
7759
7764
  onDemandBaseCapacity: 'number',
7760
7765
  onDemandPercentageAboveBaseCapacity: 'number',
7766
+ priceComparisonMode: 'string',
7761
7767
  spotAutoReplaceOnDemand: 'boolean',
7762
7768
  };
7763
7769
  }
@@ -17523,7 +17529,12 @@ class Client extends openapi_core_1.default {
17523
17529
  reqBodyType: "formData",
17524
17530
  bodyType: "json",
17525
17531
  });
17526
- return $dara.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17532
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17533
+ return $dara.cast(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17534
+ }
17535
+ else {
17536
+ return $dara.cast(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
17537
+ }
17527
17538
  }
17528
17539
  /**
17529
17540
  * Applies a scaling configuration of the Elastic Container Instance type. If you want to create and manage scaling configurations of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
@@ -17607,7 +17618,12 @@ class Client extends openapi_core_1.default {
17607
17618
  reqBodyType: "formData",
17608
17619
  bodyType: "json",
17609
17620
  });
17610
- return $dara.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
17621
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17622
+ return $dara.cast(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
17623
+ }
17624
+ else {
17625
+ return $dara.cast(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
17626
+ }
17611
17627
  }
17612
17628
  /**
17613
17629
  * Creates and manages scaling groups by using configuration files. You can call the ApplyScalingGroup operation to create and manage scaling groups by using configuration files with efficiency.
@@ -17703,7 +17719,12 @@ class Client extends openapi_core_1.default {
17703
17719
  reqBodyType: "formData",
17704
17720
  bodyType: "json",
17705
17721
  });
17706
- return $dara.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17722
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17723
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17724
+ }
17725
+ else {
17726
+ return $dara.cast(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
17727
+ }
17707
17728
  }
17708
17729
  /**
17709
17730
  * Attaches Application Load Balancer (ALB) 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 AttachAlbServerGroups operation. By attaching ALB 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.
@@ -17780,7 +17801,12 @@ class Client extends openapi_core_1.default {
17780
17801
  reqBodyType: "formData",
17781
17802
  bodyType: "json",
17782
17803
  });
17783
- return $dara.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
17804
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17805
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
17806
+ }
17807
+ else {
17808
+ return $dara.cast(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
17809
+ }
17784
17810
  }
17785
17811
  /**
17786
17812
  * Associates one or more ApsaraDB RDS instances with a scaling group.
@@ -17877,7 +17903,12 @@ class Client extends openapi_core_1.default {
17877
17903
  reqBodyType: "formData",
17878
17904
  bodyType: "json",
17879
17905
  });
17880
- return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
17906
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17907
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
17908
+ }
17909
+ else {
17910
+ return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
17911
+ }
17881
17912
  }
17882
17913
  /**
17883
17914
  * Adds instances to a scaling group to provide services or restarts Elastic Compute Service (ECS) instances stopped in Economical Mode to provide services. You can call the AttachInstances operation to add ECS instances, elastic container instances, or third-party instances managed by Alibaba Cloud to your scaling group to provide services. You can also call this operation to restart ECS instances stopped in Economical Mode in your scaling group to provide services.
@@ -17962,7 +17993,12 @@ class Client extends openapi_core_1.default {
17962
17993
  reqBodyType: "formData",
17963
17994
  bodyType: "json",
17964
17995
  });
17965
- return $dara.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
17996
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17997
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
17998
+ }
17999
+ else {
18000
+ return $dara.cast(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
18001
+ }
17966
18002
  }
17967
18003
  /**
17968
18004
  * Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
@@ -18028,7 +18064,12 @@ class Client extends openapi_core_1.default {
18028
18064
  reqBodyType: "formData",
18029
18065
  bodyType: "json",
18030
18066
  });
18031
- return $dara.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
18067
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18068
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
18069
+ }
18070
+ else {
18071
+ return $dara.cast(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
18072
+ }
18032
18073
  }
18033
18074
  /**
18034
18075
  * 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.
@@ -18102,7 +18143,12 @@ class Client extends openapi_core_1.default {
18102
18143
  reqBodyType: "formData",
18103
18144
  bodyType: "json",
18104
18145
  });
18105
- return $dara.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
18146
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18147
+ return $dara.cast(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
18148
+ }
18149
+ else {
18150
+ return $dara.cast(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
18151
+ }
18106
18152
  }
18107
18153
  /**
18108
18154
  * Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
@@ -18173,7 +18219,12 @@ class Client extends openapi_core_1.default {
18173
18219
  reqBodyType: "formData",
18174
18220
  bodyType: "json",
18175
18221
  });
18176
- return $dara.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
18222
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18223
+ return $dara.cast(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
18224
+ }
18225
+ else {
18226
+ return $dara.cast(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
18227
+ }
18177
18228
  }
18178
18229
  /**
18179
18230
  * Cancels an instance refresh task. Take note that instances whose configurations were already updated by running an instance refresh task remain intact even after you cancel the task.
@@ -18234,7 +18285,12 @@ class Client extends openapi_core_1.default {
18234
18285
  reqBodyType: "formData",
18235
18286
  bodyType: "json",
18236
18287
  });
18237
- return $dara.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
18288
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18289
+ return $dara.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
18290
+ }
18291
+ else {
18292
+ return $dara.cast(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
18293
+ }
18238
18294
  }
18239
18295
  /**
18240
18296
  * Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
@@ -18301,7 +18357,12 @@ class Client extends openapi_core_1.default {
18301
18357
  reqBodyType: "formData",
18302
18358
  bodyType: "json",
18303
18359
  });
18304
- return $dara.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
18360
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18361
+ return $dara.cast(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
18362
+ }
18363
+ else {
18364
+ return $dara.cast(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
18365
+ }
18305
18366
  }
18306
18367
  /**
18307
18368
  * Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
@@ -18404,7 +18465,12 @@ class Client extends openapi_core_1.default {
18404
18465
  reqBodyType: "formData",
18405
18466
  bodyType: "json",
18406
18467
  });
18407
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
18468
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18469
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
18470
+ }
18471
+ else {
18472
+ return $dara.cast(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
18473
+ }
18408
18474
  }
18409
18475
  /**
18410
18476
  * Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
@@ -18447,7 +18513,12 @@ class Client extends openapi_core_1.default {
18447
18513
  reqBodyType: "formData",
18448
18514
  bodyType: "json",
18449
18515
  });
18450
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
18516
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18517
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
18518
+ }
18519
+ else {
18520
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
18521
+ }
18451
18522
  }
18452
18523
  /**
18453
18524
  * Creates a diagnostic report.
@@ -18637,7 +18708,12 @@ class Client extends openapi_core_1.default {
18637
18708
  reqBodyType: "formData",
18638
18709
  bodyType: "json",
18639
18710
  });
18640
- return $dara.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18711
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18712
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18713
+ }
18714
+ else {
18715
+ return $dara.cast(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
18716
+ }
18641
18717
  }
18642
18718
  /**
18643
18719
  * Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-out events.
@@ -18713,7 +18789,12 @@ class Client extends openapi_core_1.default {
18713
18789
  reqBodyType: "formData",
18714
18790
  bodyType: "json",
18715
18791
  });
18716
- return $dara.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
18792
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18793
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
18794
+ }
18795
+ else {
18796
+ return $dara.cast(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
18797
+ }
18717
18798
  }
18718
18799
  /**
18719
18800
  * Creates one or more lifecycle hooks in a scaling group. A lifecycle hook allows you to execute custom actions like sending notifications or automating script execution at critical stages (such as instance startup and termination) in the lifecycle of an instance. Implementing the lifecycle hook feature allows for finer control and management of instances. For example, you can verify configurations, set up custom tasks, or back up data on your instances when lifecycle hooks take effect, thus enhancing the flexibility and reliability of application deployment.
@@ -18781,7 +18862,12 @@ class Client extends openapi_core_1.default {
18781
18862
  reqBodyType: "formData",
18782
18863
  bodyType: "json",
18783
18864
  });
18784
- return $dara.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
18865
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18866
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
18867
+ }
18868
+ else {
18869
+ return $dara.cast(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
18870
+ }
18785
18871
  }
18786
18872
  /**
18787
18873
  * Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
@@ -19016,7 +19102,12 @@ class Client extends openapi_core_1.default {
19016
19102
  reqBodyType: "formData",
19017
19103
  bodyType: "json",
19018
19104
  });
19019
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
19105
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19106
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
19107
+ }
19108
+ else {
19109
+ return $dara.cast(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
19110
+ }
19020
19111
  }
19021
19112
  /**
19022
19113
  * Creates scaling configurations. When you call the CreateScalingConfiguration operation, you can specify the scaling group ID, instance type, and image to create a scaling configuration of the Elastic Compute Service (ECS) type.
@@ -19226,7 +19317,12 @@ class Client extends openapi_core_1.default {
19226
19317
  reqBodyType: "formData",
19227
19318
  bodyType: "json",
19228
19319
  });
19229
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
19320
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19321
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
19322
+ }
19323
+ else {
19324
+ return $dara.cast(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
19325
+ }
19230
19326
  }
19231
19327
  /**
19232
19328
  * Creates a scaling group. You can call the CreateScalingGroup operation to automate the adjustment of computing power of a specific type based on your business requirements and scaling polices.
@@ -19381,7 +19477,12 @@ class Client extends openapi_core_1.default {
19381
19477
  reqBodyType: "formData",
19382
19478
  bodyType: "json",
19383
19479
  });
19384
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
19480
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19481
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
19482
+ }
19483
+ else {
19484
+ return $dara.cast(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
19485
+ }
19385
19486
  }
19386
19487
  /**
19387
19488
  * Creates a scaling rule. The purpose of a scaling rule varies based on its type. You can use a scaling rule to trigger a scaling activity or adjust the boundary values for a scaling group. You can call the CreateScalingRule operation to create different types of scaling rules based on your business requirements. For example, if your business requires only automatic adjustment of the boundary values for your scaling group, you can call this operation to create a predictive scaling rule.
@@ -19493,7 +19594,12 @@ class Client extends openapi_core_1.default {
19493
19594
  reqBodyType: "formData",
19494
19595
  bodyType: "json",
19495
19596
  });
19496
- return $dara.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
19597
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19598
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
19599
+ }
19600
+ else {
19601
+ return $dara.cast(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
19602
+ }
19497
19603
  }
19498
19604
  /**
19499
19605
  * Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
@@ -19555,7 +19661,12 @@ class Client extends openapi_core_1.default {
19555
19661
  reqBodyType: "formData",
19556
19662
  bodyType: "json",
19557
19663
  });
19558
- return $dara.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19664
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19665
+ return $dara.cast(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19666
+ }
19667
+ else {
19668
+ return $dara.cast(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
19669
+ }
19559
19670
  }
19560
19671
  /**
19561
19672
  * Deactivates a scaling configuration.
@@ -19606,7 +19717,12 @@ class Client extends openapi_core_1.default {
19606
19717
  reqBodyType: "formData",
19607
19718
  bodyType: "json",
19608
19719
  });
19609
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
19720
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19721
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
19722
+ }
19723
+ else {
19724
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
19725
+ }
19610
19726
  }
19611
19727
  /**
19612
19728
  * Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
@@ -19662,7 +19778,12 @@ class Client extends openapi_core_1.default {
19662
19778
  reqBodyType: "formData",
19663
19779
  bodyType: "json",
19664
19780
  });
19665
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19781
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19782
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19783
+ }
19784
+ else {
19785
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
19786
+ }
19666
19787
  }
19667
19788
  /**
19668
19789
  * Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
@@ -19729,7 +19850,12 @@ class Client extends openapi_core_1.default {
19729
19850
  reqBodyType: "formData",
19730
19851
  bodyType: "json",
19731
19852
  });
19732
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
19853
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19854
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
19855
+ }
19856
+ else {
19857
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
19858
+ }
19733
19859
  }
19734
19860
  /**
19735
19861
  * Deletes a lifecycle hook. If you no longer require a lifecycle hook, you can call the DeleteLifecycleHook operation to delete it, which frees up the lifecycle hook quota.
@@ -19785,7 +19911,12 @@ class Client extends openapi_core_1.default {
19785
19911
  reqBodyType: "formData",
19786
19912
  bodyType: "json",
19787
19913
  });
19788
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
19914
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19915
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
19916
+ }
19917
+ else {
19918
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
19919
+ }
19789
19920
  }
19790
19921
  /**
19791
19922
  * Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
@@ -19838,7 +19969,12 @@ class Client extends openapi_core_1.default {
19838
19969
  reqBodyType: "formData",
19839
19970
  bodyType: "json",
19840
19971
  });
19841
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
19972
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19973
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
19974
+ }
19975
+ else {
19976
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
19977
+ }
19842
19978
  }
19843
19979
  /**
19844
19980
  * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
@@ -19909,7 +20045,12 @@ class Client extends openapi_core_1.default {
19909
20045
  reqBodyType: "formData",
19910
20046
  bodyType: "json",
19911
20047
  });
19912
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
20048
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20049
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
20050
+ }
20051
+ else {
20052
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
20053
+ }
19913
20054
  }
19914
20055
  /**
19915
20056
  * Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
@@ -19972,7 +20113,12 @@ class Client extends openapi_core_1.default {
19972
20113
  reqBodyType: "formData",
19973
20114
  bodyType: "json",
19974
20115
  });
19975
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
20116
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20117
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
20118
+ }
20119
+ else {
20120
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
20121
+ }
19976
20122
  }
19977
20123
  /**
19978
20124
  * Deletes a scaling rule.
@@ -20023,7 +20169,12 @@ class Client extends openapi_core_1.default {
20023
20169
  reqBodyType: "formData",
20024
20170
  bodyType: "json",
20025
20171
  });
20026
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
20172
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20173
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
20174
+ }
20175
+ else {
20176
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
20177
+ }
20027
20178
  }
20028
20179
  /**
20029
20180
  * Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
@@ -20092,7 +20243,12 @@ class Client extends openapi_core_1.default {
20092
20243
  reqBodyType: "formData",
20093
20244
  bodyType: "json",
20094
20245
  });
20095
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
20246
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20247
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
20248
+ }
20249
+ else {
20250
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
20251
+ }
20096
20252
  }
20097
20253
  /**
20098
20254
  * Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
@@ -20140,7 +20296,12 @@ class Client extends openapi_core_1.default {
20140
20296
  reqBodyType: "formData",
20141
20297
  bodyType: "json",
20142
20298
  });
20143
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20299
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20300
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20301
+ }
20302
+ else {
20303
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
20304
+ }
20144
20305
  }
20145
20306
  /**
20146
20307
  * Queries the status of scaling activities that trigger text message, internal message, or email-based notifications. When you call the DescribeAlertConfiguration operation, you must specify the scaling group ID and region ID to query the status of the desired scaling activities. A scaling activity can be in one of the following states: Successful, Failed, and Rejected.
@@ -20176,7 +20337,12 @@ class Client extends openapi_core_1.default {
20176
20337
  reqBodyType: "formData",
20177
20338
  bodyType: "json",
20178
20339
  });
20179
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20340
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20341
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20342
+ }
20343
+ else {
20344
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
20345
+ }
20180
20346
  }
20181
20347
  /**
20182
20348
  * Queries the diagnostic reports.
@@ -20224,7 +20390,12 @@ class Client extends openapi_core_1.default {
20224
20390
  reqBodyType: "formData",
20225
20391
  bodyType: "json",
20226
20392
  });
20227
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20393
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20394
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20395
+ }
20396
+ else {
20397
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
20398
+ }
20228
20399
  }
20229
20400
  /**
20230
20401
  * Queries the details of a scaling configuration. You can query a scaling configuration by its ID to learn about its details such as the temporary storage size, number of IPv6 addresses, and bandwidth of the elastic IP address (EIP). The scaling configuration details can be obtained as a YAML file.
@@ -20290,7 +20461,12 @@ class Client extends openapi_core_1.default {
20290
20461
  reqBodyType: "formData",
20291
20462
  bodyType: "json",
20292
20463
  });
20293
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20464
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20465
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20466
+ }
20467
+ else {
20468
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
20469
+ }
20294
20470
  }
20295
20471
  /**
20296
20472
  * Queries scaling configurations of the Elastic Container Instance type. When you call the DescribeEciScalingConfigurations operation, you can specify ScalingGroupId, ScalingConfigurationIds, or ScalingConfigurationNames to query details about the desired scaling configurations, such as the instance bidding policy, instance type, image pulling policy, and load balancing weight of each elastic container instance. This can help you select a suitable template for creating elastic container instances or reference existing scaling configurations before you modify the automatic scaling policy for elastic container instances.
@@ -20326,7 +20502,12 @@ class Client extends openapi_core_1.default {
20326
20502
  reqBodyType: "formData",
20327
20503
  bodyType: "json",
20328
20504
  });
20329
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
20505
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20506
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
20507
+ }
20508
+ else {
20509
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
20510
+ }
20330
20511
  }
20331
20512
  /**
20332
20513
  * Queries the scaling strength of a scaling configuration. The success rate of scale-out events depends on the scaling strength of the scaling configuration that you want to use. By checking the scaling strength of a scaling configuration, you can enable Auto Scaling to measure its performance and improve specific configurations.
@@ -20389,7 +20570,12 @@ class Client extends openapi_core_1.default {
20389
20570
  reqBodyType: "formData",
20390
20571
  bodyType: "json",
20391
20572
  });
20392
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20573
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20574
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20575
+ }
20576
+ else {
20577
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
20578
+ }
20393
20579
  }
20394
20580
  /**
20395
20581
  * Queries instance refresh tasks. If you want to view the basic information and execution progress of an instance refresh task, you can call the DescribeInstanceRefreshes operation.
@@ -20453,7 +20639,12 @@ class Client extends openapi_core_1.default {
20453
20639
  reqBodyType: "formData",
20454
20640
  bodyType: "json",
20455
20641
  });
20456
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20642
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20643
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20644
+ }
20645
+ else {
20646
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
20647
+ }
20457
20648
  }
20458
20649
  /**
20459
20650
  * Queries lifecycle hook actions. When you call the DescribeLifecycleActions operation, you can specify parameters such as ScalingActivityId, NextToken, and MaxResults to query the details such as the action status and ID of a lifecycle hook. You can also call this operation to query the IDs of Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect.
@@ -20529,7 +20720,12 @@ class Client extends openapi_core_1.default {
20529
20720
  reqBodyType: "formData",
20530
20721
  bodyType: "json",
20531
20722
  });
20532
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20723
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20724
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20725
+ }
20726
+ else {
20727
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
20728
+ }
20533
20729
  }
20534
20730
  /**
20535
20731
  * Queries lifecycle hooks. When you call this operation, you can specify the lifecycle hook ID or scaling group ID to query the details of the desired lifecycle hook, such as the default action after the lifecycle hook times out, scaling activity that corresponds to the lifecycle hook, Alibaba Cloud Resource Name (ARN) of the notification recipient, and effective period of the lifecycle hook.
@@ -20577,7 +20773,12 @@ class Client extends openapi_core_1.default {
20577
20773
  reqBodyType: "formData",
20578
20774
  bodyType: "json",
20579
20775
  });
20580
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
20776
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20777
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
20778
+ }
20779
+ else {
20780
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
20781
+ }
20581
20782
  }
20582
20783
  /**
20583
20784
  * Queries resource quotas. For example, you can call the DescribeLimitation operation to query the maximum numbers of scheduled tasks that you can create in a scaling group, load balancers that you can attach to a scaling group, instances that you can add to a scaling group, and scaling configurations that you can create in a scaling group.
@@ -20625,7 +20826,12 @@ class Client extends openapi_core_1.default {
20625
20826
  reqBodyType: "formData",
20626
20827
  bodyType: "json",
20627
20828
  });
20628
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
20829
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20830
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
20831
+ }
20832
+ else {
20833
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
20834
+ }
20629
20835
  }
20630
20836
  /**
20631
20837
  * Queries notification settings. You can call the DescribeNotificationConfiguration operation to query notification settings of scaling events or resource changes, including the notification types and methods.
@@ -20667,7 +20873,12 @@ class Client extends openapi_core_1.default {
20667
20873
  reqBodyType: "formData",
20668
20874
  bodyType: "json",
20669
20875
  });
20670
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
20876
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20877
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
20878
+ }
20879
+ else {
20880
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
20881
+ }
20671
20882
  }
20672
20883
  /**
20673
20884
  * Queries notification types. You can call the DescribeNotificationTypes operation to query the types of notifications on scaling events or resource changes occurred in your scaling groups. Notifications are triggered in scenarios such as successful scale-out events, successful scale-in events, expiration of scheduled tasks, and partially successful scale-out events.
@@ -20703,7 +20914,12 @@ class Client extends openapi_core_1.default {
20703
20914
  reqBodyType: "formData",
20704
20915
  bodyType: "json",
20705
20916
  });
20706
- return $dara.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
20917
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20918
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
20919
+ }
20920
+ else {
20921
+ return $dara.cast(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
20922
+ }
20707
20923
  }
20708
20924
  /**
20709
20925
  * Queries instance types. When you call the DescribePatternTypes operation, you can specify attributes such as the vSwitch ID, number of vCPUs, memory size, instance family, and maximum acceptable price to filer instance types that meet your business requirements.
@@ -20751,7 +20967,12 @@ class Client extends openapi_core_1.default {
20751
20967
  reqBodyType: "formData",
20752
20968
  bodyType: "json",
20753
20969
  });
20754
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
20970
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20971
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
20972
+ }
20973
+ else {
20974
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
20975
+ }
20755
20976
  }
20756
20977
  /**
20757
20978
  * Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
@@ -20825,7 +21046,12 @@ class Client extends openapi_core_1.default {
20825
21046
  reqBodyType: "formData",
20826
21047
  bodyType: "json",
20827
21048
  });
20828
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21049
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21050
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21051
+ }
21052
+ else {
21053
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
21054
+ }
20829
21055
  }
20830
21056
  /**
20831
21057
  * Queries scaling activities. You can call the DescribeScalingActivities operation to query the results of scaling activities triggered by scheduled tasks, event-triggered tasks, or manual execution of scaling rules. For example, you can query the status and cause of a scaling activity. You can also query the total number of instances after a scaling activity is complete.
@@ -20878,7 +21104,12 @@ class Client extends openapi_core_1.default {
20878
21104
  reqBodyType: "formData",
20879
21105
  bodyType: "json",
20880
21106
  });
20881
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21107
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21108
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21109
+ }
21110
+ else {
21111
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
21112
+ }
20882
21113
  }
20883
21114
  /**
20884
21115
  * Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.
@@ -20944,7 +21175,12 @@ class Client extends openapi_core_1.default {
20944
21175
  reqBodyType: "formData",
20945
21176
  bodyType: "json",
20946
21177
  });
20947
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21178
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21179
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21180
+ }
21181
+ else {
21182
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
21183
+ }
20948
21184
  }
20949
21185
  /**
20950
21186
  * Queries scaling configurations.
@@ -20992,7 +21228,12 @@ class Client extends openapi_core_1.default {
20992
21228
  reqBodyType: "formData",
20993
21229
  bodyType: "json",
20994
21230
  });
20995
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21231
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21232
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21233
+ }
21234
+ else {
21235
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
21236
+ }
20996
21237
  }
20997
21238
  /**
20998
21239
  * Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to YAML for a scaling group of the Elastic Container Instance type, the output is a Kubernetes Deployment file in the YAML format.
@@ -21028,7 +21269,12 @@ class Client extends openapi_core_1.default {
21028
21269
  reqBodyType: "formData",
21029
21270
  bodyType: "json",
21030
21271
  });
21031
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21272
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21273
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21274
+ }
21275
+ else {
21276
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
21277
+ }
21032
21278
  }
21033
21279
  /**
21034
21280
  * Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
@@ -21103,7 +21349,12 @@ class Client extends openapi_core_1.default {
21103
21349
  reqBodyType: "formData",
21104
21350
  bodyType: "json",
21105
21351
  });
21106
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
21352
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21353
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
21354
+ }
21355
+ else {
21356
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
21357
+ }
21107
21358
  }
21108
21359
  /**
21109
21360
  * Queries information about scaling groups, such as the basic information, instances, and scaling configurations.
@@ -21187,7 +21438,12 @@ class Client extends openapi_core_1.default {
21187
21438
  reqBodyType: "formData",
21188
21439
  bodyType: "json",
21189
21440
  });
21190
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
21441
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21442
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
21443
+ }
21444
+ else {
21445
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
21446
+ }
21191
21447
  }
21192
21448
  /**
21193
21449
  * Queries instances in a scaling group. You can call the DescribeScalingInstances operation to query instance details, such as the number of preemptible instances in the Running state, the number of Elastic Compute Service (ECS) instances, the warm-up status of ECS instances, and the lifecycle status of ECS instances in a scaling group. You can specify the scaling group whose instances you want to query by scaling group ID. If you want to filter instances based on conditions, such as the instance health status, lifecycle status, or creation method, you can also call this operation.
@@ -21265,7 +21521,12 @@ class Client extends openapi_core_1.default {
21265
21521
  reqBodyType: "formData",
21266
21522
  bodyType: "json",
21267
21523
  });
21268
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
21524
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21525
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
21526
+ }
21527
+ else {
21528
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
21529
+ }
21269
21530
  }
21270
21531
  /**
21271
21532
  * Queries scaling rules. When you call this operation, you can specify the ID, name, or Alibaba Cloud Resource Name (ARN) of a scaling rule to query the details of the scaling rule. For example, you can query the adjustment method, instance warm-up period, and associated event-triggered tasks of the desired scaling rule.
@@ -21352,7 +21613,12 @@ class Client extends openapi_core_1.default {
21352
21613
  reqBodyType: "formData",
21353
21614
  bodyType: "json",
21354
21615
  });
21355
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
21616
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21617
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
21618
+ }
21619
+ else {
21620
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
21621
+ }
21356
21622
  }
21357
21623
  /**
21358
21624
  * Queries scheduled tasks. A scheduled task is a predefined task that triggers the automatic execution of a scaling rule at the specified point in time. It ensures an automatic scaling of computing resources to fulfill your business demands at a minimum cost. After you create a scheduled task, you can call the DescribeScheduledTasks operation to query the details of the task, such as the execution time point and the scaling group ID. You can also call this operation to query the total number of existing scheduled tasks.
@@ -21412,7 +21678,12 @@ class Client extends openapi_core_1.default {
21412
21678
  reqBodyType: "formData",
21413
21679
  bodyType: "json",
21414
21680
  });
21415
- return $dara.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21681
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21682
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21683
+ }
21684
+ else {
21685
+ return $dara.cast(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
21686
+ }
21416
21687
  }
21417
21688
  /**
21418
21689
  * Detaches Application Load Balancer (ALB) server groups from a scaling group. When you call the DetachAlbServerGroups operation, you can specify the scaling group ID, ALB server group ID, and port used by Elastic Compute Service (ECS) instances in the desired ALB server group to detach one or more ALB server groups from your scaling group.
@@ -21472,7 +21743,12 @@ class Client extends openapi_core_1.default {
21472
21743
  reqBodyType: "formData",
21473
21744
  bodyType: "json",
21474
21745
  });
21475
- return $dara.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
21746
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21747
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
21748
+ }
21749
+ else {
21750
+ return $dara.cast(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
21751
+ }
21476
21752
  }
21477
21753
  /**
21478
21754
  * Detaches one or more ApsaraDB RDS instances from a scaling group. If you want to decrease the number of ApsaraDB RDS instances attached to your scaling group, you can call the DetachDBInstance operation. This operation liberates ApsaraDB RDS instances from your scaling group, thereby significantly boosting the agility and efficiency in managing and allocating your resources.
@@ -21553,7 +21829,12 @@ class Client extends openapi_core_1.default {
21553
21829
  reqBodyType: "formData",
21554
21830
  bodyType: "json",
21555
21831
  });
21556
- return $dara.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
21832
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21833
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
21834
+ }
21835
+ else {
21836
+ return $dara.cast(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
21837
+ }
21557
21838
  }
21558
21839
  /**
21559
21840
  * Removes instances from a scaling group. If an enabled scaling group has no ongoing scaling activities, you can call the DetachInstances operation to remove one or more Elastic Compute Service (ECS) instances, elastic container instances, or Alibaba Cloud-hosted third-party instances from the scaling group.
@@ -21625,7 +21906,12 @@ class Client extends openapi_core_1.default {
21625
21906
  reqBodyType: "formData",
21626
21907
  bodyType: "json",
21627
21908
  });
21628
- return $dara.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
21909
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21910
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
21911
+ }
21912
+ else {
21913
+ return $dara.cast(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
21914
+ }
21629
21915
  }
21630
21916
  /**
21631
21917
  * Detaches Classic Load Balancer (CLB, formerly known as Server Load Balancer or SLB) instances from a scaling group. If the current CLB instance no longer meets your business requirements, you can call the DetachLoadBalancers operation to detach it from your scaling group. When you call this operation, you can use ScalingGroupId, LoadBalancer.N, and ForceDetach to specify one or more CLB instances to detach. You can also determine whether to call this operation asynchronously and whether to remove the Elastic Compute Service (ECS) instances acting as backend servers from the backend server groups of the CLB instance. You can call this operation to detach only CLB instances from a scaling group.
@@ -21682,7 +21968,12 @@ class Client extends openapi_core_1.default {
21682
21968
  reqBodyType: "formData",
21683
21969
  bodyType: "json",
21684
21970
  });
21685
- return $dara.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
21971
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21972
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
21973
+ }
21974
+ else {
21975
+ return $dara.cast(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
21976
+ }
21686
21977
  }
21687
21978
  /**
21688
21979
  * 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.
@@ -21747,7 +22038,12 @@ class Client extends openapi_core_1.default {
21747
22038
  reqBodyType: "formData",
21748
22039
  bodyType: "json",
21749
22040
  });
21750
- return $dara.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
22041
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22042
+ return $dara.cast(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
22043
+ }
22044
+ else {
22045
+ return $dara.cast(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
22046
+ }
21751
22047
  }
21752
22048
  /**
21753
22049
  * Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
@@ -21806,7 +22102,12 @@ class Client extends openapi_core_1.default {
21806
22102
  reqBodyType: "formData",
21807
22103
  bodyType: "json",
21808
22104
  });
21809
- return $dara.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
22105
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22106
+ return $dara.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
22107
+ }
22108
+ else {
22109
+ return $dara.cast(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
22110
+ }
21810
22111
  }
21811
22112
  /**
21812
22113
  * Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
@@ -21865,7 +22166,12 @@ class Client extends openapi_core_1.default {
21865
22166
  reqBodyType: "formData",
21866
22167
  bodyType: "json",
21867
22168
  });
21868
- return $dara.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
22169
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22170
+ return $dara.cast(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
22171
+ }
22172
+ else {
22173
+ return $dara.cast(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
22174
+ }
21869
22175
  }
21870
22176
  /**
21871
22177
  * Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
@@ -21918,7 +22224,12 @@ class Client extends openapi_core_1.default {
21918
22224
  reqBodyType: "formData",
21919
22225
  bodyType: "json",
21920
22226
  });
21921
- return $dara.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
22227
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22228
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
22229
+ }
22230
+ else {
22231
+ return $dara.cast(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
22232
+ }
21922
22233
  }
21923
22234
  /**
21924
22235
  * Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
@@ -21998,7 +22309,12 @@ class Client extends openapi_core_1.default {
21998
22309
  reqBodyType: "formData",
21999
22310
  bodyType: "json",
22000
22311
  });
22001
- return $dara.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
22312
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22313
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
22314
+ }
22315
+ else {
22316
+ return $dara.cast(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
22317
+ }
22002
22318
  }
22003
22319
  /**
22004
22320
  * Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
@@ -22067,7 +22383,12 @@ class Client extends openapi_core_1.default {
22067
22383
  reqBodyType: "formData",
22068
22384
  bodyType: "json",
22069
22385
  });
22070
- return $dara.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
22386
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22387
+ return $dara.cast(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
22388
+ }
22389
+ else {
22390
+ return $dara.cast(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
22391
+ }
22071
22392
  }
22072
22393
  /**
22073
22394
  * Puts an Elastic Compute Service (ECS) instance into the Standby state.
@@ -22147,7 +22468,12 @@ class Client extends openapi_core_1.default {
22147
22468
  reqBodyType: "formData",
22148
22469
  bodyType: "json",
22149
22470
  });
22150
- return $dara.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
22471
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22472
+ return $dara.cast(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
22473
+ }
22474
+ else {
22475
+ return $dara.cast(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
22476
+ }
22151
22477
  }
22152
22478
  /**
22153
22479
  * Executes a scaling rule. To adjust the number of Elastic Compute Service (ECS) instances or elastic container instances, you can manually execute a scaling rule or enable Auto Scaling to execute a scaling rule. You can call the ExecuteScalingRule operation to execute simple scaling rules or step scaling rules. Auto Scaling automatically executes target tracking scaling rules and predictive scaling rules on your behalf without requiring explicit execution calls.
@@ -22221,7 +22547,12 @@ class Client extends openapi_core_1.default {
22221
22547
  reqBodyType: "formData",
22222
22548
  bodyType: "json",
22223
22549
  });
22224
- return $dara.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
22550
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22551
+ return $dara.cast(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
22552
+ }
22553
+ else {
22554
+ return $dara.cast(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
22555
+ }
22225
22556
  }
22226
22557
  /**
22227
22558
  * Removes an instance from the Standby state. When a scale-in event is triggered in a scaling group, Auto Scaling does not remove Elastic Compute Service (ECS) instances or elastic container instances that are in the Standby state from the scaling group. If you want to restart the instances that are in the Standby state, you can call the ExitStandby operation to remove the instances from the Standby state and put them into the In Service state.
@@ -22282,7 +22613,12 @@ class Client extends openapi_core_1.default {
22282
22613
  reqBodyType: "formData",
22283
22614
  bodyType: "json",
22284
22615
  });
22285
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
22616
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22617
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
22618
+ }
22619
+ else {
22620
+ return $dara.cast(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
22621
+ }
22286
22622
  }
22287
22623
  /**
22288
22624
  * Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
@@ -22343,7 +22679,12 @@ class Client extends openapi_core_1.default {
22343
22679
  reqBodyType: "formData",
22344
22680
  bodyType: "json",
22345
22681
  });
22346
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
22682
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22683
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
22684
+ }
22685
+ else {
22686
+ return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
22687
+ }
22347
22688
  }
22348
22689
  /**
22349
22690
  * Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient resource management. This operation aids in the automation of resource categorization and permission management processes.
@@ -22404,7 +22745,12 @@ class Client extends openapi_core_1.default {
22404
22745
  reqBodyType: "formData",
22405
22746
  bodyType: "json",
22406
22747
  });
22407
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
22748
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22749
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
22750
+ }
22751
+ else {
22752
+ return $dara.cast(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
22753
+ }
22408
22754
  }
22409
22755
  /**
22410
22756
  * Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
@@ -22504,7 +22850,12 @@ class Client extends openapi_core_1.default {
22504
22850
  reqBodyType: "formData",
22505
22851
  bodyType: "json",
22506
22852
  });
22507
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
22853
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22854
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
22855
+ }
22856
+ else {
22857
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
22858
+ }
22508
22859
  }
22509
22860
  /**
22510
22861
  * Modifies an event-triggered task.
@@ -22562,7 +22913,12 @@ class Client extends openapi_core_1.default {
22562
22913
  reqBodyType: "formData",
22563
22914
  bodyType: "json",
22564
22915
  });
22565
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
22916
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22917
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
22918
+ }
22919
+ else {
22920
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
22921
+ }
22566
22922
  }
22567
22923
  /**
22568
22924
  * Sets the status of scaling activities that prompt text message or email notifications.
@@ -22755,7 +23111,12 @@ class Client extends openapi_core_1.default {
22755
23111
  reqBodyType: "formData",
22756
23112
  bodyType: "json",
22757
23113
  });
22758
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23114
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23115
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23116
+ }
23117
+ else {
23118
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
23119
+ }
22759
23120
  }
22760
23121
  /**
22761
23122
  * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
@@ -22813,7 +23174,12 @@ class Client extends openapi_core_1.default {
22813
23174
  reqBodyType: "formData",
22814
23175
  bodyType: "json",
22815
23176
  });
22816
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23177
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23178
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23179
+ }
23180
+ else {
23181
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
23182
+ }
22817
23183
  }
22818
23184
  /**
22819
23185
  * Modifies the information of an Elastic Compute Service (ECS) instance. When you call the ModifyInstanceAttribute operation, you can specify attributes such as the instance ID, scaling group ID, and region ID to modify the attributes of an ECS instance in a scaling group. You can modify only the hosting attributes of instances that are manually added to scaling groups.
@@ -22893,7 +23259,12 @@ class Client extends openapi_core_1.default {
22893
23259
  reqBodyType: "formData",
22894
23260
  bodyType: "json",
22895
23261
  });
22896
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
23262
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23263
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
23264
+ }
23265
+ else {
23266
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
23267
+ }
22897
23268
  }
22898
23269
  /**
22899
23270
  * Modifies a lifecycle hook. If an existing lifecycle hook does not meet your business requirements anymore, you can call the ModifyLifecycleHook operation to modify the information such as the scaling event, timeout period, and default action of the lifecycle hook. Before you modify a lifecycle hook, you can locate the lifecycle hook by its ID, name, or scaling group.
@@ -22955,7 +23326,12 @@ class Client extends openapi_core_1.default {
22955
23326
  reqBodyType: "formData",
22956
23327
  bodyType: "json",
22957
23328
  });
22958
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23329
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23330
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23331
+ }
23332
+ else {
23333
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
23334
+ }
22959
23335
  }
22960
23336
  /**
22961
23337
  * Modifies event notification rules. Event notification rules support automatic sending of notifications to CloudMonitor, Message Service (MNS) topics, or MNS queues when a specified type of events occur. This helps you learn about the dynamics of your scaling group at the earliest opportunity and further automate resource management. If an existing event notification rule does not meet your business requirements, you can call the ModifyNotificationConfiguration operation to modify the event notification rule, without the need to create a new rule. Take not that you cannot modify the notification method of an event notification rule by calling this operation.
@@ -23176,7 +23552,12 @@ class Client extends openapi_core_1.default {
23176
23552
  reqBodyType: "formData",
23177
23553
  bodyType: "json",
23178
23554
  });
23179
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23555
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23556
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23557
+ }
23558
+ else {
23559
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
23560
+ }
23180
23561
  }
23181
23562
  /**
23182
23563
  * Modifies a scaling configuration.
@@ -23335,7 +23716,12 @@ class Client extends openapi_core_1.default {
23335
23716
  reqBodyType: "formData",
23336
23717
  bodyType: "json",
23337
23718
  });
23338
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
23719
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23720
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
23721
+ }
23722
+ else {
23723
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
23724
+ }
23339
23725
  }
23340
23726
  /**
23341
23727
  * Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
@@ -23464,7 +23850,12 @@ class Client extends openapi_core_1.default {
23464
23850
  reqBodyType: "formData",
23465
23851
  bodyType: "json",
23466
23852
  });
23467
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
23853
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23854
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
23855
+ }
23856
+ else {
23857
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
23858
+ }
23468
23859
  }
23469
23860
  /**
23470
23861
  * Modifies a scaling rule. If an existing scaling rule cannot meet your business requirements, you can call the ModifyScalingRule operation to modify the scaling rule, without the need to create a new one. This streamlines your workflow, enhancing operational efficiency while also contributing to cost optimization by avoiding redundant steps.
@@ -23563,7 +23954,12 @@ class Client extends openapi_core_1.default {
23563
23954
  reqBodyType: "formData",
23564
23955
  bodyType: "json",
23565
23956
  });
23566
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
23957
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23958
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
23959
+ }
23960
+ else {
23961
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
23962
+ }
23567
23963
  }
23568
23964
  /**
23569
23965
  * Modifies a scheduled task. If an existing scheduled task cannot meet your business requirements, you can call the ModifyScheduledTask operation to adjust its parameter settings including the scaling rule to execute and the boundary values of your scaling group, without the need to create a new scheduled task. This operation provides a flexible way to optimize scheduled tasks.
@@ -23632,7 +24028,12 @@ class Client extends openapi_core_1.default {
23632
24028
  reqBodyType: "formData",
23633
24029
  bodyType: "json",
23634
24030
  });
23635
- return $dara.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
24031
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24032
+ return $dara.cast(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
24033
+ }
24034
+ else {
24035
+ return $dara.cast(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
24036
+ }
23636
24037
  }
23637
24038
  /**
23638
24039
  * Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
@@ -23702,7 +24103,12 @@ class Client extends openapi_core_1.default {
23702
24103
  reqBodyType: "formData",
23703
24104
  bodyType: "json",
23704
24105
  });
23705
- return $dara.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24106
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24107
+ return $dara.cast(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24108
+ }
24109
+ else {
24110
+ return $dara.cast(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
24111
+ }
23706
24112
  }
23707
24113
  /**
23708
24114
  * Extends the time window during which Elastic Compute Service (ECS) instances stay in a Pending state. If the current time window during which an ECS instance stays in a Pending state is not sufficient for you to complete custom operations on the ECS instance, you can call the RecordLifecycleActionHeartbeat operation to extend the time window. When you call this operation, you can specify lifecycleHookId, lifecycleActionToken, and heartbeatTimeout to extend the time window for the desired ECS instance.
@@ -23788,7 +24194,12 @@ class Client extends openapi_core_1.default {
23788
24194
  reqBodyType: "formData",
23789
24195
  bodyType: "json",
23790
24196
  });
23791
- return $dara.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
24197
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24198
+ return $dara.cast(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
24199
+ }
24200
+ else {
24201
+ return $dara.cast(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
24202
+ }
23792
24203
  }
23793
24204
  /**
23794
24205
  * Removes one or more instances from a scaling group. If your scaling group is enabled and contains no ongoing scaling activities, you can call the RemoveInstances operation to remove instances that you no longer require from the scaling group.
@@ -23849,7 +24260,12 @@ class Client extends openapi_core_1.default {
23849
24260
  reqBodyType: "formData",
23850
24261
  bodyType: "json",
23851
24262
  });
23852
- return $dara.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24263
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24264
+ return $dara.cast(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24265
+ }
24266
+ else {
24267
+ return $dara.cast(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
24268
+ }
23853
24269
  }
23854
24270
  /**
23855
24271
  * Resumes an instance refresh task.
@@ -23903,7 +24319,12 @@ class Client extends openapi_core_1.default {
23903
24319
  reqBodyType: "formData",
23904
24320
  bodyType: "json",
23905
24321
  });
23906
- return $dara.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
24322
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24323
+ return $dara.cast(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
24324
+ }
24325
+ else {
24326
+ return $dara.cast(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
24327
+ }
23907
24328
  }
23908
24329
  /**
23909
24330
  * Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
@@ -23954,7 +24375,12 @@ class Client extends openapi_core_1.default {
23954
24375
  reqBodyType: "formData",
23955
24376
  bodyType: "json",
23956
24377
  });
23957
- return $dara.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24378
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24379
+ return $dara.cast(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24380
+ }
24381
+ else {
24382
+ return $dara.cast(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
24383
+ }
23958
24384
  }
23959
24385
  /**
23960
24386
  * Rolls back an instance refresh task. If an instance refresh task cannot meet your business requirements, you can call the RollbackInstanceRefresh operation. When you roll back an instance refresh task, Auto Scaling creates new instances based on the active scaling configuration to replace the instances whose configurations are already updated by running the task.
@@ -24040,7 +24466,12 @@ class Client extends openapi_core_1.default {
24040
24466
  reqBodyType: "formData",
24041
24467
  bodyType: "json",
24042
24468
  });
24043
- return $dara.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24469
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24470
+ return $dara.cast(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24471
+ }
24472
+ else {
24473
+ return $dara.cast(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
24474
+ }
24044
24475
  }
24045
24476
  /**
24046
24477
  * Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
@@ -24100,7 +24531,12 @@ class Client extends openapi_core_1.default {
24100
24531
  reqBodyType: "formData",
24101
24532
  bodyType: "json",
24102
24533
  });
24103
- return $dara.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24534
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24535
+ return $dara.cast(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24536
+ }
24537
+ else {
24538
+ return $dara.cast(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
24539
+ }
24104
24540
  }
24105
24541
  /**
24106
24542
  * Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
@@ -24151,7 +24587,12 @@ class Client extends openapi_core_1.default {
24151
24587
  reqBodyType: "formData",
24152
24588
  bodyType: "json",
24153
24589
  });
24154
- return $dara.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
24590
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24591
+ return $dara.cast(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
24592
+ }
24593
+ else {
24594
+ return $dara.cast(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
24595
+ }
24155
24596
  }
24156
24597
  /**
24157
24598
  * 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.
@@ -24211,7 +24652,12 @@ class Client extends openapi_core_1.default {
24211
24652
  reqBodyType: "formData",
24212
24653
  bodyType: "json",
24213
24654
  });
24214
- return $dara.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
24655
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24656
+ return $dara.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
24657
+ }
24658
+ else {
24659
+ return $dara.cast(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
24660
+ }
24215
24661
  }
24216
24662
  /**
24217
24663
  * Puts or removes Elastic Compute Service (ECS) instances into or from the Protected state. After you put an ECS instance into the Protected state, the ECS instance will not be stopped or released when a scale-in event is triggered. In this case, you can manually delete the ECS instance in the Auto Scaling console or by calling the RemoveInstances operation.
@@ -24286,7 +24732,12 @@ class Client extends openapi_core_1.default {
24286
24732
  reqBodyType: "formData",
24287
24733
  bodyType: "json",
24288
24734
  });
24289
- return $dara.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
24735
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24736
+ return $dara.cast(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
24737
+ }
24738
+ else {
24739
+ return $dara.cast(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
24740
+ }
24290
24741
  }
24291
24742
  /**
24292
24743
  * Starts an instance refresh task. If you want to apply a new scaling configuration in a scaling group or update the image specified in a scaling configuration, you can call the StartInstanceRefresh operation.
@@ -24346,7 +24797,12 @@ class Client extends openapi_core_1.default {
24346
24797
  reqBodyType: "formData",
24347
24798
  bodyType: "json",
24348
24799
  });
24349
- return $dara.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24800
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24801
+ return $dara.cast(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24802
+ }
24803
+ else {
24804
+ return $dara.cast(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
24805
+ }
24350
24806
  }
24351
24807
  /**
24352
24808
  * Suspends an instance refresh task. If you are not sure that you want to roll back an ongoing instance refresh task whose configurations you think has an issue, you can call the SuspendInstanceRefresh operation to suspend the task.
@@ -24403,7 +24859,12 @@ class Client extends openapi_core_1.default {
24403
24859
  reqBodyType: "formData",
24404
24860
  bodyType: "json",
24405
24861
  });
24406
- return $dara.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
24862
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24863
+ return $dara.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
24864
+ }
24865
+ else {
24866
+ return $dara.cast(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
24867
+ }
24407
24868
  }
24408
24869
  /**
24409
24870
  * Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
@@ -24466,7 +24927,12 @@ class Client extends openapi_core_1.default {
24466
24927
  reqBodyType: "formData",
24467
24928
  bodyType: "json",
24468
24929
  });
24469
- return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
24930
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24931
+ return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
24932
+ }
24933
+ else {
24934
+ return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
24935
+ }
24470
24936
  }
24471
24937
  /**
24472
24938
  * Creates and adds tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
@@ -24532,7 +24998,12 @@ class Client extends openapi_core_1.default {
24532
24998
  reqBodyType: "formData",
24533
24999
  bodyType: "json",
24534
25000
  });
24535
- return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
25001
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25002
+ return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
25003
+ }
25004
+ else {
25005
+ return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
25006
+ }
24536
25007
  }
24537
25008
  /**
24538
25009
  * Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
@@ -24583,7 +25054,12 @@ class Client extends openapi_core_1.default {
24583
25054
  reqBodyType: "formData",
24584
25055
  bodyType: "json",
24585
25056
  });
24586
- return $dara.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
25057
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25058
+ return $dara.cast(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
25059
+ }
25060
+ else {
25061
+ return $dara.cast(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
25062
+ }
24587
25063
  }
24588
25064
  /**
24589
25065
  * Checks whether the specified Alibaba Cloud account assumes the AliyunServiceRoleForAutoScaling service-linked role. An account can be used to operate Elastic Compute Service (ECS) instances and elastic container instances only after it assumes the service-linked role.
@@ -24631,7 +25107,12 @@ class Client extends openapi_core_1.default {
24631
25107
  reqBodyType: "formData",
24632
25108
  bodyType: "json",
24633
25109
  });
24634
- return $dara.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
25110
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25111
+ return $dara.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
25112
+ }
25113
+ else {
25114
+ return $dara.cast(await this.execute(params, req, runtime), new VerifyUserResponse({}));
25115
+ }
24635
25116
  }
24636
25117
  /**
24637
25118
  * Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.