@alicloud/ess20220222 1.8.4 → 1.8.6

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/src/client.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  /**
3
3
  */
4
4
  import Util, * as $Util from '@alicloud/tea-util';
5
+ import GatewayClient from '@alicloud/gateway-pop';
5
6
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
7
  import OpenApiUtil from '@alicloud/openapi-util';
7
8
  import EndpointUtil from '@alicloud/endpoint-util';
@@ -315,10 +316,10 @@ export class AttachAlbServerGroupsRequest extends $tea.Model {
315
316
  clientToken?: string;
316
317
  /**
317
318
  * @remarks
318
- * Specifies whether to add the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to the ALB server group. Valid values:
319
+ * Specifies whether to add the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group to the new ALB server group. Valid values:
319
320
  *
320
- * * true: adds the existing ECS instances or elastic container instances in the scaling group to the ALB server group. In this case, the system returns the value of `ScalingActivityId`.
321
- * * false: does not add the existing ECS instances or elastic container instances in the scaling group to the ALB server group.
321
+ * * true: adds the existing ECS instances or elastic container instances in the scaling group to the new ALB server group. In this case, the system returns the value of `ScalingActivityId`.
322
+ * * false: does not add the existing ECS instances or elastic container instances in the scaling group to the new ALB server group.
322
323
  *
323
324
  * Default value: false.
324
325
  *
@@ -807,7 +808,7 @@ export class AttachLoadBalancersRequest extends $tea.Model {
807
808
  *
808
809
  * **
809
810
  *
810
- * **Note** If a load balancer is currently attached to your scaling group, and you want to add the instances in your scaling group to the backend server groups of the load balancer, you can call this operation again and set the ForceAttach request parameter to true.
811
+ * **Note** If a load balancer is currently attached to your scaling group, and you want to add the instances in your scaling group to the backend server groups of the load balancer, you can call this operation again and set ForceAttach request to true.
811
812
  *
812
813
  * * false: If you set this parameter to false, the attachment of the load balancer does not entail the addition of the existing instances in the scaling group to the backend server groups of the load balancer.
813
814
  *
@@ -1471,7 +1472,7 @@ export class CompleteLifecycleActionRequest extends $tea.Model {
1471
1472
  lifecycleActionResult?: string;
1472
1473
  /**
1473
1474
  * @remarks
1474
- * The token of the lifecycle hook. You can obtain this token by using a Message Service (MNS) queue or an MNS topic that is specified for the lifecycle hook.
1475
+ * The token of the lifecycle action. You can obtain the token from the Simple Message Queue (SMQ, formerly MNS) queue or topic that is specified for the lifecycle hook.
1475
1476
  *
1476
1477
  * This parameter is required.
1477
1478
  *
@@ -1590,12 +1591,12 @@ export class CreateAlarmRequest extends $tea.Model {
1590
1591
  alarmActions?: string[];
1591
1592
  /**
1592
1593
  * @remarks
1593
- * The operator that is used to compare the metric value and the threshold. Valid values:
1594
+ * The operator that you want to use to compare the metric value and the threshold. Valid values:
1594
1595
  *
1595
- * * If the metric value is greater than or equal to the threshold, set the value to: >=.
1596
- * * If the metric value is less than or equal to the threshold, set the value to: <=.
1597
- * * If the metric value is greater than the threshold, set the value to: >.
1598
- * * If the metric value is less than the threshold, set the value to: <.
1596
+ * * If the metric value is greater than or equal to the threshold, set the value to >=.
1597
+ * * If the metric value is less than or equal to the metric threshold, set the value to <=.
1598
+ * * If the metric value is greater than the metric threshold, set the value to >.
1599
+ * * If the metric value is less than the metric threshold, set the value to <.
1599
1600
  *
1600
1601
  * Default value: >=.
1601
1602
  *
@@ -1639,7 +1640,7 @@ export class CreateAlarmRequest extends $tea.Model {
1639
1640
  effective?: string;
1640
1641
  /**
1641
1642
  * @remarks
1642
- * The number of times that the threshold must be reached before a scaling rule can be executed. For example, if you set this parameter to 3, the average CPU utilization must reach or exceed 80% three times in a row before a scaling rule is triggered.
1643
+ * The number of consecutive times that the threshold must be reached before a scaling rule is executed. For example, if you set this parameter to 3, the average CPU utilization must reach or exceed 80% three times in a row before the scaling rule is executed.
1643
1644
  *
1644
1645
  * Default value: 3.
1645
1646
  *
@@ -1715,10 +1716,10 @@ export class CreateAlarmRequest extends $tea.Model {
1715
1716
  metricName?: string;
1716
1717
  /**
1717
1718
  * @remarks
1718
- * The type of the metric. Valid values:
1719
+ * The metric type. Valid values:
1719
1720
  *
1720
- * * system: system metrics of CloudMonitor
1721
- * * custom: custom metrics that are reported to CloudMonitor
1721
+ * * system: system metrics of CloudMonitor.
1722
+ * * custom: custom metrics that are reported to CloudMonitor.
1722
1723
  *
1723
1724
  * @example
1724
1725
  * system
@@ -1774,11 +1775,11 @@ export class CreateAlarmRequest extends $tea.Model {
1774
1775
  scalingGroupId?: string;
1775
1776
  /**
1776
1777
  * @remarks
1777
- * The method that is used to aggregate statistics for the metric. Valid values:
1778
+ * The method that you want to use to aggregate the metric data. Valid values:
1778
1779
  *
1779
- * * Average
1780
- * * Minimum
1781
- * * Maximum
1780
+ * * Average: the average value.
1781
+ * * Minimum: the minimum value.
1782
+ * * Maximum: the maximum value.
1782
1783
  *
1783
1784
  * Default value: Average.
1784
1785
  *
@@ -1911,6 +1912,8 @@ export class CreateAlarmResponse extends $tea.Model {
1911
1912
  export class CreateDiagnoseReportRequest extends $tea.Model {
1912
1913
  /**
1913
1914
  * @remarks
1915
+ * The region ID of the scaling group.
1916
+ *
1914
1917
  * This parameter is required.
1915
1918
  *
1916
1919
  * @example
@@ -1919,6 +1922,8 @@ export class CreateDiagnoseReportRequest extends $tea.Model {
1919
1922
  regionId?: string;
1920
1923
  /**
1921
1924
  * @remarks
1925
+ * The ID of the scaling group.
1926
+ *
1922
1927
  * This parameter is required.
1923
1928
  *
1924
1929
  * @example
@@ -1946,13 +1951,16 @@ export class CreateDiagnoseReportRequest extends $tea.Model {
1946
1951
 
1947
1952
  export class CreateDiagnoseReportResponseBody extends $tea.Model {
1948
1953
  /**
1954
+ * @remarks
1955
+ * The unique ID of the diagnostic report.
1956
+ *
1949
1957
  * @example
1950
1958
  * dr-uf6enpbnri1xhcy9qc7s
1951
1959
  */
1952
1960
  reportId?: string;
1953
1961
  /**
1954
1962
  * @remarks
1955
- * Id of the request
1963
+ * The ID of the request.
1956
1964
  *
1957
1965
  * @example
1958
1966
  * 0189C6CB-07BA-5AFE-B533-D93892324774
@@ -2203,6 +2211,18 @@ export class CreateEciScalingConfigurationRequest extends $tea.Model {
2203
2211
  * 20
2204
2212
  */
2205
2213
  ephemeralStorage?: number;
2214
+ /**
2215
+ * @remarks
2216
+ * The version of the GPU driver. Valid values:
2217
+ *
2218
+ * * tesla=470.82.01 (default)
2219
+ * * tesla=525.85.12
2220
+ *
2221
+ * > You can switch the GPU driver version only for a few Elastic Compute Service (ECS) instance types. For more information, see [Specify GPU-accelerated ECS instance types to create an elastic container instance](https://help.aliyun.com/document_detail/2579486.html).
2222
+ *
2223
+ * @example
2224
+ * tesla=525.85.12
2225
+ */
2206
2226
  gpuDriverVersion?: string;
2207
2227
  /**
2208
2228
  * @remarks
@@ -2632,18 +2652,19 @@ export class CreateLifecycleHookRequest extends $tea.Model {
2632
2652
  lifecycleTransition?: string;
2633
2653
  /**
2634
2654
  * @remarks
2635
- * The Alibaba Cloud Resource Name (ARN) of the notification method that is used by Auto Scaling to send notifications when the lifecycle hook takes effect. If you do not specify this parameter, no notification is sent when the lifecycle hook takes effect. If you specify this parameter, the following rules apply:
2655
+ * The Alibaba Cloud Resource Name (ARN) of the notification recipient. If you do not specify this parameter, no notification is sent when the lifecycle hook takes effect. If you specify this parameter, the value must be in one of the following formats:
2636
2656
  *
2637
- * * If you use a Message Service (MNS) queue as the notification method, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
2638
- * * If you use an MNS topic as the notification method, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
2639
- * * If you use an OOS template as the notification method, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
2657
+ * * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
2658
+ * * If you specify an SMQ topic as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
2659
+ * * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
2660
+ * * If you specify an event bus as the notification recipient, specify the value in the acs:eventbridge:{region-id}:{account-id}:eventbus/default format.
2640
2661
  *
2641
- * The variables in the preceding parameter formats have the following meanings:
2662
+ * The variables in the preceding value formats have the following meanings:
2642
2663
  *
2643
- * * region-id: the region ID of the scaling group.
2644
- * * account-id: the ID of the Alibaba Cloud account. The ID of the RAM user is not supported.
2645
- * * queuename: the name of the MNS queue.
2646
- * * topicname: the name of the MNS topic.
2664
+ * * region-id: the region ID of your scaling group.
2665
+ * * account-id: the ID of the Alibaba Cloud account. IDs of Resource Access Management (RAM) users are not supported.
2666
+ * * queuename: the name of the SMQ queue.
2667
+ * * topicname: the name of the SMQ topic.
2647
2668
  * * templatename: the name of the OOS template.
2648
2669
  *
2649
2670
  * @example
@@ -2783,15 +2804,15 @@ export class CreateNotificationConfigurationRequest extends $tea.Model {
2783
2804
  * The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
2784
2805
  *
2785
2806
  * * If you specify CloudMonitor as the notification recipient, specify the value in the `acs:ess:{region-id}:{account-id}:cloudmonitor` format.
2786
- * * If you specify an MNS queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
2787
- * * If you specify an MNS topic as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
2807
+ * * If you specify an SMQ queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
2808
+ * * If you specify an SMQ topic as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
2788
2809
  *
2789
2810
  * The variables in the preceding formats have the following meanings:
2790
2811
  *
2791
2812
  * * `region-id`: the region ID of the scaling group.
2792
2813
  * * `account-id`: the ID of the Alibaba Cloud account.
2793
- * * `queuename`: the name of the MNS queue.
2794
- * * `topicname`: the name of the MNS topic.
2814
+ * * `queuename`: the name of the SMQ queue.
2815
+ * * `topicname`: the name of the SMQ topic.
2795
2816
  *
2796
2817
  * This parameter is required.
2797
2818
  *
@@ -3034,7 +3055,35 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
3034
3055
  * hpc-clusterid
3035
3056
  */
3036
3057
  hpcClusterId?: string;
3058
+ /**
3059
+ * @remarks
3060
+ * Specifies whether to enable the access channel for instance metadata. Valid values:
3061
+ *
3062
+ * * enabled
3063
+ * * disabled
3064
+ *
3065
+ * Default value: enabled.
3066
+ *
3067
+ * > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
3068
+ *
3069
+ * @example
3070
+ * enabled
3071
+ */
3037
3072
  httpEndpoint?: string;
3073
+ /**
3074
+ * @remarks
3075
+ * Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
3076
+ *
3077
+ * * optional: does not forcibly use the security hardening mode (IMDSv2).
3078
+ * * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
3079
+ *
3080
+ * Default value: optional.
3081
+ *
3082
+ * > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
3083
+ *
3084
+ * @example
3085
+ * optional
3086
+ */
3038
3087
  httpTokens?: string;
3039
3088
  /**
3040
3089
  * @remarks
@@ -3080,7 +3129,7 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
3080
3129
  instanceName?: string;
3081
3130
  /**
3082
3131
  * @remarks
3083
- * The information about the intelligent configuration settings, which determine the available instance types.
3132
+ * The intelligent configuration settings, which determine the available instance types.
3084
3133
  */
3085
3134
  instancePatternInfos?: CreateScalingConfigurationRequestInstancePatternInfos[];
3086
3135
  /**
@@ -3118,9 +3167,10 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
3118
3167
  internetChargeType?: string;
3119
3168
  /**
3120
3169
  * @remarks
3121
- * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values: 1 to 200.
3170
+ * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
3122
3171
  *
3123
- * Default value: 200 This parameter is not used for billing because inbound traffic to instances is free of charge.
3172
+ * * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10, and the default value is 10.
3173
+ * * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`, and the default value is the value of `InternetMaxBandwidthOut`.
3124
3174
  *
3125
3175
  * @example
3126
3176
  * 100
@@ -3128,10 +3178,9 @@ export class CreateScalingConfigurationRequest extends $tea.Model {
3128
3178
  internetMaxBandwidthIn?: number;
3129
3179
  /**
3130
3180
  * @remarks
3131
- * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
3181
+ * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
3132
3182
  *
3133
- * * Valid values if you set InternetChargeType to PayByBandwidth: 0 to 100. If you leave this parameter empty, this parameter is automatically set to 0.
3134
- * * Valid values if you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
3183
+ * Default value: 0.
3135
3184
  *
3136
3185
  * @example
3137
3186
  * 50
@@ -3645,7 +3694,35 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
3645
3694
  * hpc-clusterid
3646
3695
  */
3647
3696
  hpcClusterId?: string;
3697
+ /**
3698
+ * @remarks
3699
+ * Specifies whether to enable the access channel for instance metadata. Valid values:
3700
+ *
3701
+ * * enabled
3702
+ * * disabled
3703
+ *
3704
+ * Default value: enabled.
3705
+ *
3706
+ * > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
3707
+ *
3708
+ * @example
3709
+ * enabled
3710
+ */
3648
3711
  httpEndpoint?: string;
3712
+ /**
3713
+ * @remarks
3714
+ * Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
3715
+ *
3716
+ * * optional: does not forcibly use the security hardening mode (IMDSv2).
3717
+ * * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
3718
+ *
3719
+ * Default value: optional.
3720
+ *
3721
+ * > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
3722
+ *
3723
+ * @example
3724
+ * optional
3725
+ */
3649
3726
  httpTokens?: string;
3650
3727
  /**
3651
3728
  * @remarks
@@ -3691,7 +3768,7 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
3691
3768
  instanceName?: string;
3692
3769
  /**
3693
3770
  * @remarks
3694
- * The information about the intelligent configuration settings, which determine the available instance types.
3771
+ * The intelligent configuration settings, which determine the available instance types.
3695
3772
  */
3696
3773
  instancePatternInfos?: CreateScalingConfigurationShrinkRequestInstancePatternInfos[];
3697
3774
  /**
@@ -3729,9 +3806,10 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
3729
3806
  internetChargeType?: string;
3730
3807
  /**
3731
3808
  * @remarks
3732
- * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values: 1 to 200.
3809
+ * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
3733
3810
  *
3734
- * Default value: 200 This parameter is not used for billing because inbound traffic to instances is free of charge.
3811
+ * * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10, and the default value is 10.
3812
+ * * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`, and the default value is the value of `InternetMaxBandwidthOut`.
3735
3813
  *
3736
3814
  * @example
3737
3815
  * 100
@@ -3739,10 +3817,9 @@ export class CreateScalingConfigurationShrinkRequest extends $tea.Model {
3739
3817
  internetMaxBandwidthIn?: number;
3740
3818
  /**
3741
3819
  * @remarks
3742
- * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
3820
+ * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
3743
3821
  *
3744
- * * Valid values if you set InternetChargeType to PayByBandwidth: 0 to 100. If you leave this parameter empty, this parameter is automatically set to 0.
3745
- * * Valid values if you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
3822
+ * Default value: 0.
3746
3823
  *
3747
3824
  * @example
3748
3825
  * 50
@@ -4233,6 +4310,10 @@ export class CreateScalingGroupRequest extends $tea.Model {
4233
4310
  * false
4234
4311
  */
4235
4312
  azBalance?: boolean;
4313
+ /**
4314
+ * @remarks
4315
+ * The capacity options.
4316
+ */
4236
4317
  capacityOptions?: CreateScalingGroupRequestCapacityOptions;
4237
4318
  /**
4238
4319
  * @remarks
@@ -5047,9 +5128,9 @@ export class CreateScalingRuleRequest extends $tea.Model {
5047
5128
  * * SimpleScalingRule: a simple scaling rule. After you execute a simple scaling rule, Auto Scaling adjusts the number of ECS instances or elastic container instances in the scaling group based on the values of AdjustmentType and AdjustmentValue.
5048
5129
  * * TargetTrackingScalingRule: a target tracking scaling rule. After you execute a target tracking scaling rule, Auto Scaling dynamically calculates the number of ECS instances or elastic container instances to scale based on the predefined metric (MetricName) and attempts to maintain the metric value close to the expected value (TargetValue).
5049
5130
  * * StepScalingRule: a step scaling rule. After you execute a step scaling rule, Auto Scaling scales instances step by step based on the predefined thresholds and metric values.
5050
- * * PredictiveScalingRule: uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to specify the value range for the scaling group.
5131
+ * * PredictiveScalingRule: a predictive scaling rule. After you execute a predictive scaling rule, Auto Scaling uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to specify the value range for the scaling group.
5051
5132
  *
5052
- * Default value: SimpleScalingRule
5133
+ * Default value: SimpleScalingRule.
5053
5134
  *
5054
5135
  * @example
5055
5136
  * SimpleScalingRule
@@ -5884,18 +5965,18 @@ export class DeleteLifecycleHookResponse extends $tea.Model {
5884
5965
  export class DeleteNotificationConfigurationRequest extends $tea.Model {
5885
5966
  /**
5886
5967
  * @remarks
5887
- * The Alibaba Cloud Resource Name (ARN) of the notification method. The following list describes the value formats of this parameter:
5968
+ * The Alibaba Cloud Resource Name (ARN) of the notification recipient. Specify the value in one of the following formats:
5888
5969
  *
5889
- * * If you use CloudMonitor as the notification party, the value format of this parameter is acs:ess:{region-id}:{account-id}:cloudmonitor.
5890
- * * If you use an MNS queue as the notification party, the value format of this parameter is acs:mns:{region-id}:{account-id}:queue/{queuename}.
5891
- * * If you use an MNS topic as the notification party, the value format of this parameter is acs:mns:{region-id}:{account-id}:topic/{topicname}.
5970
+ * * If you specify CloudMonitor as the notification recipient, specify the value in the acs:ess:{region-id}:{account-id}:cloudmonitor format.
5971
+ * * If you specify a Simple Message Queue (SMQ, formerly MNS) queue as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
5972
+ * * If you specify an SMQ queue as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
5892
5973
  *
5893
- * The variables in the preceding formats have the following meanings:
5974
+ * The variables in the preceding value formats have the following meanings:
5894
5975
  *
5895
5976
  * * region-id: the region ID of the scaling group.
5896
- * * account-id: the ID of the Alibaba Cloud account.
5897
- * * queuename: the name of the MNS queue.
5898
- * * topicname: the name of the MNS topic.
5977
+ * * account-id: the ID of your Alibaba Cloud cloud.
5978
+ * * queuename: the name of the SMQ queue.
5979
+ * * topicname: the name of the SMQ topic.
5899
5980
  *
5900
5981
  * This parameter is required.
5901
5982
  *
@@ -6722,26 +6803,40 @@ export class DescribeAlertConfigurationResponse extends $tea.Model {
6722
6803
 
6723
6804
  export class DescribeDiagnoseReportsRequest extends $tea.Model {
6724
6805
  /**
6806
+ * @remarks
6807
+ * The page number.
6808
+ *
6725
6809
  * @example
6726
6810
  * 1
6727
6811
  */
6728
6812
  pageNumber?: number;
6729
6813
  /**
6814
+ * @remarks
6815
+ * The number of entries per page.
6816
+ *
6730
6817
  * @example
6731
6818
  * 10
6732
6819
  */
6733
6820
  pageSize?: number;
6734
6821
  /**
6735
6822
  * @remarks
6823
+ * The region ID of the scaling group.
6824
+ *
6736
6825
  * This parameter is required.
6737
6826
  *
6738
6827
  * @example
6739
6828
  * cn-shenzhen
6740
6829
  */
6741
6830
  regionId?: string;
6831
+ /**
6832
+ * @remarks
6833
+ * The IDs of the diagnostic reports. You can specify at most 20 IDs.
6834
+ */
6742
6835
  reportIds?: string[];
6743
6836
  /**
6744
6837
  * @remarks
6838
+ * The ID of the scaling group.
6839
+ *
6745
6840
  * This parameter is required.
6746
6841
  *
6747
6842
  * @example
@@ -6775,25 +6870,38 @@ export class DescribeDiagnoseReportsRequest extends $tea.Model {
6775
6870
 
6776
6871
  export class DescribeDiagnoseReportsResponseBody extends $tea.Model {
6777
6872
  /**
6873
+ * @remarks
6874
+ * The page number.
6875
+ *
6778
6876
  * @example
6779
6877
  * 1
6780
6878
  */
6781
6879
  pageNumber?: number;
6782
6880
  /**
6881
+ * @remarks
6882
+ * The number of entries per page.
6883
+ *
6783
6884
  * @example
6784
6885
  * 10
6785
6886
  */
6786
6887
  pageSize?: number;
6888
+ /**
6889
+ * @remarks
6890
+ * The diagnostic reports.
6891
+ */
6787
6892
  reports?: DescribeDiagnoseReportsResponseBodyReports[];
6788
6893
  /**
6789
6894
  * @remarks
6790
- * Id of the request
6895
+ * The ID of the request.
6791
6896
  *
6792
6897
  * @example
6793
6898
  * ECA123C6-107B-5F70-A177-740A7224C996
6794
6899
  */
6795
6900
  requestId?: string;
6796
6901
  /**
6902
+ * @remarks
6903
+ * The total number of diagnostic reports.
6904
+ *
6797
6905
  * @example
6798
6906
  * 5
6799
6907
  */
@@ -7181,14 +7289,30 @@ export class DescribeEciScalingConfigurationsResponse extends $tea.Model {
7181
7289
 
7182
7290
  export class DescribeElasticStrengthRequest extends $tea.Model {
7183
7291
  dataDiskCategories?: string[];
7292
+ /**
7293
+ * @example
7294
+ * CentOS7
7295
+ */
7184
7296
  imageFamily?: string;
7297
+ /**
7298
+ * @example
7299
+ * centos6u5_64_20G_aliaegis****.vhd
7300
+ */
7185
7301
  imageId?: string;
7302
+ /**
7303
+ * @example
7304
+ * ubuntu_18_04_x64_20G_alibase_20231225.vhd
7305
+ */
7186
7306
  imageName?: string;
7187
7307
  /**
7188
7308
  * @remarks
7189
7309
  * The instance types. The instance types specified by this parameter overwrite the instance types specified in the scaling configuration.
7190
7310
  */
7191
7311
  instanceTypes?: string[];
7312
+ /**
7313
+ * @example
7314
+ * 1
7315
+ */
7192
7316
  ipv6AddressCount?: number;
7193
7317
  /**
7194
7318
  * @remarks
@@ -7227,6 +7351,10 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
7227
7351
  * The IDs of the scaling groups that you want to query.
7228
7352
  */
7229
7353
  scalingGroupIds?: string[];
7354
+ /**
7355
+ * @example
7356
+ * NoSpot
7357
+ */
7230
7358
  spotStrategy?: string;
7231
7359
  /**
7232
7360
  * @remarks
@@ -7283,7 +7411,7 @@ export class DescribeElasticStrengthRequest extends $tea.Model {
7283
7411
  export class DescribeElasticStrengthResponseBody extends $tea.Model {
7284
7412
  /**
7285
7413
  * @remarks
7286
- * The scaling strength models.
7414
+ * The scaling strengths of scaling configurations that are queried at the same time.
7287
7415
  */
7288
7416
  elasticStrengthModels?: DescribeElasticStrengthResponseBodyElasticStrengthModels[];
7289
7417
  /**
@@ -7781,7 +7909,7 @@ export class DescribeLifecycleHooksRequest extends $tea.Model {
7781
7909
  export class DescribeLifecycleHooksResponseBody extends $tea.Model {
7782
7910
  /**
7783
7911
  * @remarks
7784
- * The details of the lifecycle hooks.
7912
+ * Details about the lifecycle hooks.
7785
7913
  */
7786
7914
  lifecycleHooks?: DescribeLifecycleHooksResponseBodyLifecycleHooks[];
7787
7915
  /**
@@ -8293,13 +8421,12 @@ export class DescribeNotificationTypesResponse extends $tea.Model {
8293
8421
  export class DescribePatternTypesRequest extends $tea.Model {
8294
8422
  /**
8295
8423
  * @remarks
8296
- * The architectures of instance types. Valid values:
8424
+ * The architecture types of the instance types. Valid values:
8297
8425
  *
8298
- * * X86: x86
8299
- * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated
8300
- * * BareMetal: ECS Bare Metal Instance
8301
- * * Arm: Arm
8302
- * * SuperComputeCluster: Super Computing Cluster
8426
+ * * X86: x86 architecture.
8427
+ * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
8428
+ * * BareMetal: ECS Bare Metal Instance.
8429
+ * * Arm: Arm.
8303
8430
  *
8304
8431
  * By default, all values are selected.
8305
8432
  */
@@ -8357,24 +8484,23 @@ export class DescribePatternTypesRequest extends $tea.Model {
8357
8484
  gpuSpecs?: string[];
8358
8485
  /**
8359
8486
  * @remarks
8360
- * The categories of the instance types. Valid values:
8361
- *
8362
- * * General-purpose
8363
- * * Compute-optimized
8364
- * * Memory-optimized
8365
- * * Big data
8366
- * * Local SSDs
8367
- * * High Clock Speed
8368
- * * Enhanced
8369
- * * Shared
8370
- * * Compute-optimized with GPU
8371
- * * Visual Compute-optimized
8372
- * * Heterogeneous Service
8373
- * * Compute-optimized with FPGA
8374
- * * Compute-optimized with NPU
8375
- * * ECS Bare Metal
8376
- * * Super Computing Cluster
8377
- * * High Performance Compute
8487
+ * The classifications of the instance types. Valid values:
8488
+ *
8489
+ * * General-purpose: general-purpose instance type.
8490
+ * * Compute-optimized: compute-optimized instance type.
8491
+ * * Memory-optimized: memory-optimized instance type.
8492
+ * * Big data: big data instance type.
8493
+ * * Local SSDs: instance type with local SSDs.
8494
+ * * High Clock Speed: instance type with high clock speeds.
8495
+ * * Enhanced: enhanced instance type.
8496
+ * * Shared: shared instance type.
8497
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
8498
+ * * Visual Compute-optimized: visual compute-optimized instance type.
8499
+ * * Heterogeneous Service: heterogeneous service instance type.
8500
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
8501
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
8502
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
8503
+ * * High Performance Compute: HPC-optimized instance type.
8378
8504
  */
8379
8505
  instanceCategories?: string[];
8380
8506
  /**
@@ -8537,6 +8663,10 @@ export class DescribePatternTypesRequest extends $tea.Model {
8537
8663
  * The IDs of the vSwitches.
8538
8664
  */
8539
8665
  vSwitchId?: string[];
8666
+ /**
8667
+ * @remarks
8668
+ * The zone IDs. If you pass vSwitch IDs to the system, this parameter does not take effect.
8669
+ */
8540
8670
  zoneId?: string[];
8541
8671
  static names(): { [key: string]: string } {
8542
8672
  return {
@@ -8772,6 +8902,9 @@ export class DescribeRegionsResponse extends $tea.Model {
8772
8902
 
8773
8903
  export class DescribeScalingActivitiesRequest extends $tea.Model {
8774
8904
  /**
8905
+ * @remarks
8906
+ * The ID of the instance refresh task. If you specify this parameter, this operation returns the list of scaling activities associated with the instance refresh task.
8907
+ *
8775
8908
  * @example
8776
8909
  * ir-a12ds234fasd*****
8777
8910
  */
@@ -9006,7 +9139,7 @@ export class DescribeScalingActivityDetailRequest extends $tea.Model {
9006
9139
  export class DescribeScalingActivityDetailResponseBody extends $tea.Model {
9007
9140
  /**
9008
9141
  * @remarks
9009
- * The details of the scaling activity. If the status of the scaling activity is Rejected, no result is displayed.
9142
+ * The details of the scaling activity. The result of a scaling activity is either successful or failed. If the scaling activity is rejected, no scaling activity details are returned.
9010
9143
  *
9011
9144
  * @example
9012
9145
  * new ECS instances \\"i-bp16t2cgmiiymeqv****\\" are created.
@@ -10204,11 +10337,24 @@ export class DescribeScheduledTasksRequest extends $tea.Model {
10204
10337
  */
10205
10338
  pageSize?: number;
10206
10339
  /**
10340
+ * @remarks
10341
+ * The interval at which scheduled task N is repeatedly executed. Valid values:
10342
+ *
10343
+ * * Daily: Scheduled task N is executed once every specified number of days.
10344
+ * * Weekly: Scheduled task N is executed on each specified day of a week.
10345
+ * * Monthly: Scheduled task N is executed on each specified day of a month.
10346
+ * * Cron: Scheduled task N is executed based on the specified Cron expression.
10347
+ *
10207
10348
  * @example
10208
10349
  * Weekly
10209
10350
  */
10210
10351
  recurrenceType?: string;
10211
10352
  /**
10353
+ * @remarks
10354
+ * The number of times scheduled task N is repeatedly executed.
10355
+ *
10356
+ * You can specify this parameter only if you set RecurrenceType to Weekly. Separate multiple values with commas (,). The values that correspond to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday are 0, 1, 2, 3, 4, 5, and 6.
10357
+ *
10212
10358
  * @example
10213
10359
  * 1,2,3
10214
10360
  */
@@ -10249,11 +10395,20 @@ export class DescribeScheduledTasksRequest extends $tea.Model {
10249
10395
  */
10250
10396
  scheduledTaskNames?: string[];
10251
10397
  /**
10398
+ * @remarks
10399
+ * Specifies whether scheduled task N is enabled.
10400
+ *
10401
+ * * true
10402
+ * * false
10403
+ *
10252
10404
  * @example
10253
10405
  * true
10254
10406
  */
10255
10407
  taskEnabled?: boolean;
10256
10408
  /**
10409
+ * @remarks
10410
+ * The name of scheduled task N. Fuzzy search based on keywords is supported.
10411
+ *
10257
10412
  * @example
10258
10413
  * scheduled****
10259
10414
  */
@@ -10411,7 +10566,7 @@ export class DetachAlbServerGroupsRequest extends $tea.Model {
10411
10566
  clientToken?: string;
10412
10567
  /**
10413
10568
  * @remarks
10414
- * Specifies whether to remove the existing ECS instances from the ALB server group. Valid values:
10569
+ * Specifies whether to remove the existing Elastic Compute Service (ECS) instances from the Application Load Balancer (ALB) server group marked for detachment. Valid values:
10415
10570
  *
10416
10571
  * * true: removes the existing ECS instances from the ALB server group and returns the value of `ScalingActivityId`. You can query the value of ScalingActivityId to check whether the existing ECS instances are removed from the ALB server group.
10417
10572
  * * false: does not remove the existing ECS instances from the ALB server group.
@@ -10537,9 +10692,9 @@ export class DetachAlbServerGroupsResponse extends $tea.Model {
10537
10692
  export class DetachDBInstancesRequest extends $tea.Model {
10538
10693
  /**
10539
10694
  * @remarks
10540
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that the value is unique among different requests.
10695
+ * The client token that is used to ensure the idempotence of the request.
10541
10696
  *
10542
- * The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
10697
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
10543
10698
  *
10544
10699
  * @example
10545
10700
  * 123e4567-e89b-12d3-a456-42665544****
@@ -10576,7 +10731,10 @@ export class DetachDBInstancesRequest extends $tea.Model {
10576
10731
  regionId?: string;
10577
10732
  /**
10578
10733
  * @remarks
10579
- * This parameter takes effect only for databases whose AttachMode is set to SecurityGroup. If you set this parameter to true, Auto Scaling removes the security group ID of the active scaling configuration from the security group whitelist of the database that you want to detach from the scaling group.
10734
+ * Specifies whether to remove the security group. This parameter takes effect only if you set `AttachMode` to `SecurityGroup`. Valid values:
10735
+ *
10736
+ * * true
10737
+ * * false
10580
10738
  *
10581
10739
  * Default value: false.
10582
10740
  *
@@ -10886,7 +11044,7 @@ export class DetachLoadBalancersRequest extends $tea.Model {
10886
11044
  clientToken?: string;
10887
11045
  /**
10888
11046
  * @remarks
10889
- * Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the CLB instance. Valid values:
11047
+ * Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the Server Load Balancer (SLB) instance. Valid values:
10890
11048
  *
10891
11049
  * * true
10892
11050
  * * false
@@ -12737,10 +12895,10 @@ export class ModifyAlarmRequest extends $tea.Model {
12737
12895
  metricName?: string;
12738
12896
  /**
12739
12897
  * @remarks
12740
- * The type of the metric. Valid values:
12898
+ * The metric type. Valid values:
12741
12899
  *
12742
12900
  * * system: system metrics of CloudMonitor
12743
- * * custom: custom metrics that are reported to CloudMonitor
12901
+ * * custom: custom metrics that are reported to CloudMonitor.
12744
12902
  *
12745
12903
  * @example
12746
12904
  * system
@@ -13236,6 +13394,18 @@ export class ModifyEciScalingConfigurationRequest extends $tea.Model {
13236
13394
  * 20
13237
13395
  */
13238
13396
  ephemeralStorage?: number;
13397
+ /**
13398
+ * @remarks
13399
+ * The version of the GPU driver. Valid values:
13400
+ *
13401
+ * * tesla=470.82.01 (default)
13402
+ * * tesla=525.85.12
13403
+ *
13404
+ * > You can switch the GPU driver version only for a few Elastic Compute Service (ECS) instance types. For more information, see [Specify GPU-accelerated ECS instance types to create an elastic container instance](https://help.aliyun.com/document_detail/2579486.html).
13405
+ *
13406
+ * @example
13407
+ * tesla=525.85.12
13408
+ */
13239
13409
  gpuDriverVersion?: string;
13240
13410
  /**
13241
13411
  * @remarks
@@ -13791,18 +13961,19 @@ export class ModifyLifecycleHookRequest extends $tea.Model {
13791
13961
  lifecycleTransition?: string;
13792
13962
  /**
13793
13963
  * @remarks
13794
- * The Alibaba Cloud Resource Name (ARN) of the notification method. Specify the value in one of the following formats:
13964
+ * The Alibaba Cloud Resource Name (ARN) of the notification recipient. Specify the value in one of the following formats:
13795
13965
  *
13796
- * * If the notification method is a Message Service (MNS) queue, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
13797
- * * If the notification method is an MNS topic, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
13798
- * * If the notification method is an Operation Orchestration Service (OOS) template, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
13966
+ * * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
13967
+ * * If you specify an SMQ topic as the notification recipient, specify the value in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
13968
+ * * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the acs:oos:{region-id}:{account-id}:template/{templatename} format.
13969
+ * * If you specify an event bus as the notification recipient, specify the value in the acs:eventbridge:{region-id}:{account-id}:eventbus/default format.
13799
13970
  *
13800
- * The variables in the preceding parameter formats have the following meanings:
13971
+ * The variables in the preceding value formats have the following meanings:
13801
13972
  *
13802
- * * region-id: the region ID of the scaling group.
13803
- * * account-id: the ID of the Alibaba Cloud account.
13804
- * * queuename: the name of the MNS queue.
13805
- * * topicname: the name of the MNS topic.
13973
+ * * region-id: the region ID of your scaling group.
13974
+ * * account-id: the ID of your Alibaba Cloud account.
13975
+ * * queuename: the name of the SMQ queue.
13976
+ * * topicname: the name of the SMQ topic.
13806
13977
  * * templatename: the name of the OOS template.
13807
13978
  *
13808
13979
  * @example
@@ -13933,18 +14104,18 @@ export class ModifyLifecycleHookResponse extends $tea.Model {
13933
14104
  export class ModifyNotificationConfigurationRequest extends $tea.Model {
13934
14105
  /**
13935
14106
  * @remarks
13936
- * The Alibaba Cloud Resource Name (ARN) of the notification method. The following list describes the value formats of this parameter:
14107
+ * The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
13937
14108
  *
13938
- * * If you use CloudMonitor as the notification method, specify the value in the `acs:ess:{region-id}:{account-id}:cloudmonitor` format.
13939
- * * If you use an MNS queue as the notification method, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
13940
- * * If you use an MNS topic as the notification method, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
14109
+ * * If you specify CloudMonitor as the notification recipient, specify the value in the `acs:ess:{region-id}:{account-id}:cloudmonitor` format.
14110
+ * * If you specify a Simple Message Queue (SMQ) queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
14111
+ * * If you specify an SMQ topic as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
13941
14112
  *
13942
- * The variables in the preceding formats have the following meanings:
14113
+ * The variables in the preceding value formats have the following meanings:
13943
14114
  *
13944
14115
  * * region-id: the region ID of your scaling group.
13945
- * * account-id: the ID of your Alibaba Cloud.
13946
- * * queuename: the name of the MNS queue.
13947
- * * topicname: the name of the MNS topic.
14116
+ * * account-id: the ID of your Alibaba Cloud account.
14117
+ * * queuename: the name of the SMQ queue.
14118
+ * * topicname: the name of the SMQ topic.
13948
14119
  *
13949
14120
  * This parameter is required.
13950
14121
  *
@@ -14181,7 +14352,35 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
14181
14352
  * hpc-clusterid
14182
14353
  */
14183
14354
  hpcClusterId?: string;
14355
+ /**
14356
+ * @remarks
14357
+ * Specifies whether to enable the access channel for instance metadata. Valid values:
14358
+ *
14359
+ * * enabled
14360
+ * * disabled
14361
+ *
14362
+ * Default value: enabled.
14363
+ *
14364
+ * > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
14365
+ *
14366
+ * @example
14367
+ * enabled
14368
+ */
14184
14369
  httpEndpoint?: string;
14370
+ /**
14371
+ * @remarks
14372
+ * Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
14373
+ *
14374
+ * * optional: does not forcibly use the security hardening mode (IMDSv2).
14375
+ * * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
14376
+ *
14377
+ * Default value: optional.
14378
+ *
14379
+ * > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
14380
+ *
14381
+ * @example
14382
+ * optional
14383
+ */
14185
14384
  httpTokens?: string;
14186
14385
  /**
14187
14386
  * @remarks
@@ -14229,7 +14428,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
14229
14428
  instanceName?: string;
14230
14429
  /**
14231
14430
  * @remarks
14232
- * The information about the intelligent configuration settings, which determine the available instance types.
14431
+ * The intelligent configuration settings, which determine the available instance types.
14233
14432
  */
14234
14433
  instancePatternInfos?: ModifyScalingConfigurationRequestInstancePatternInfos[];
14235
14434
  /**
@@ -14255,13 +14454,22 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
14255
14454
  * PayByBandwidth
14256
14455
  */
14257
14456
  internetChargeType?: string;
14457
+ /**
14458
+ * @remarks
14459
+ * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
14460
+ *
14461
+ * * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. The default value is 10.
14462
+ * * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`. The default value is the value of `InternetMaxBandwidthOut`.
14463
+ *
14464
+ * @example
14465
+ * 10
14466
+ */
14258
14467
  internetMaxBandwidthIn?: number;
14259
14468
  /**
14260
14469
  * @remarks
14261
- * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
14470
+ * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
14262
14471
  *
14263
- * * If you set InternetChargeType to PayByBandwidth: 0 to 100. If you leave this parameter empty, this parameter is automatically set to 0.
14264
- * * If you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
14472
+ * Default value: 0.
14265
14473
  *
14266
14474
  * @example
14267
14475
  * 50
@@ -14324,7 +14532,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
14324
14532
  networkInterfaces?: ModifyScalingConfigurationRequestNetworkInterfaces[];
14325
14533
  /**
14326
14534
  * @remarks
14327
- * Specifies whether to override existing data. Valid values:
14535
+ * Specifies whether to overwrite existing data. Valid values:
14328
14536
  *
14329
14537
  * * true
14330
14538
  * * false
@@ -14761,7 +14969,35 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
14761
14969
  * hpc-clusterid
14762
14970
  */
14763
14971
  hpcClusterId?: string;
14972
+ /**
14973
+ * @remarks
14974
+ * Specifies whether to enable the access channel for instance metadata. Valid values:
14975
+ *
14976
+ * * enabled
14977
+ * * disabled
14978
+ *
14979
+ * Default value: enabled.
14980
+ *
14981
+ * > For information about instance metadata, see [Obtain instance metadata](https://help.aliyun.com/document_detail/108460.html).
14982
+ *
14983
+ * @example
14984
+ * enabled
14985
+ */
14764
14986
  httpEndpoint?: string;
14987
+ /**
14988
+ * @remarks
14989
+ * Specifies whether to forcibly use the security hardening mode (IMDSv2) to access instance metadata. Valid values:
14990
+ *
14991
+ * * optional: does not forcibly use the security hardening mode (IMDSv2).
14992
+ * * required: forcibly uses the security hardening mode (IMDSv2). If you set this parameter to required, you cannot access instance metadata in normal mode.
14993
+ *
14994
+ * Default value: optional.
14995
+ *
14996
+ * > For more information about instance metadata access modes, see [Access modes of instance metadata](https://help.aliyun.com/document_detail/108460.html).
14997
+ *
14998
+ * @example
14999
+ * optional
15000
+ */
14765
15001
  httpTokens?: string;
14766
15002
  /**
14767
15003
  * @remarks
@@ -14809,7 +15045,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
14809
15045
  instanceName?: string;
14810
15046
  /**
14811
15047
  * @remarks
14812
- * The information about the intelligent configuration settings, which determine the available instance types.
15048
+ * The intelligent configuration settings, which determine the available instance types.
14813
15049
  */
14814
15050
  instancePatternInfos?: ModifyScalingConfigurationShrinkRequestInstancePatternInfos[];
14815
15051
  /**
@@ -14835,13 +15071,22 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
14835
15071
  * PayByBandwidth
14836
15072
  */
14837
15073
  internetChargeType?: string;
15074
+ /**
15075
+ * @remarks
15076
+ * The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
15077
+ *
15078
+ * * If the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. The default value is 10.
15079
+ * * If the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `InternetMaxBandwidthOut`. The default value is the value of `InternetMaxBandwidthOut`.
15080
+ *
15081
+ * @example
15082
+ * 10
15083
+ */
14838
15084
  internetMaxBandwidthIn?: number;
14839
15085
  /**
14840
15086
  * @remarks
14841
- * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
15087
+ * The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
14842
15088
  *
14843
- * * If you set InternetChargeType to PayByBandwidth: 0 to 100. If you leave this parameter empty, this parameter is automatically set to 0.
14844
- * * If you set InternetChargeType to PayByTraffic: 0 to 100. If you leave this parameter empty, an error is returned.
15089
+ * Default value: 0.
14845
15090
  *
14846
15091
  * @example
14847
15092
  * 50
@@ -14904,7 +15149,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
14904
15149
  networkInterfaces?: ModifyScalingConfigurationShrinkRequestNetworkInterfaces[];
14905
15150
  /**
14906
15151
  * @remarks
14907
- * Specifies whether to override existing data. Valid values:
15152
+ * Specifies whether to overwrite existing data. Valid values:
14908
15153
  *
14909
15154
  * * true
14910
15155
  * * false
@@ -15313,6 +15558,10 @@ export class ModifyScalingGroupRequest extends $tea.Model {
15313
15558
  * false
15314
15559
  */
15315
15560
  azBalance?: boolean;
15561
+ /**
15562
+ * @remarks
15563
+ * The capacity options.
15564
+ */
15316
15565
  capacityOptions?: ModifyScalingGroupRequestCapacityOptions;
15317
15566
  /**
15318
15567
  * @remarks
@@ -16146,6 +16395,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
16146
16395
  * 2
16147
16396
  */
16148
16397
  recurrenceValue?: string;
16398
+ regionId?: string;
16149
16399
  resourceOwnerAccount?: string;
16150
16400
  resourceOwnerId?: number;
16151
16401
  /**
@@ -16212,6 +16462,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
16212
16462
  recurrenceEndTime: 'RecurrenceEndTime',
16213
16463
  recurrenceType: 'RecurrenceType',
16214
16464
  recurrenceValue: 'RecurrenceValue',
16465
+ regionId: 'RegionId',
16215
16466
  resourceOwnerAccount: 'ResourceOwnerAccount',
16216
16467
  resourceOwnerId: 'ResourceOwnerId',
16217
16468
  scalingGroupId: 'ScalingGroupId',
@@ -16235,6 +16486,7 @@ export class ModifyScheduledTaskRequest extends $tea.Model {
16235
16486
  recurrenceEndTime: 'string',
16236
16487
  recurrenceType: 'string',
16237
16488
  recurrenceValue: 'string',
16489
+ regionId: 'string',
16238
16490
  resourceOwnerAccount: 'string',
16239
16491
  resourceOwnerId: 'number',
16240
16492
  scalingGroupId: 'string',
@@ -16426,9 +16678,9 @@ export class RecordLifecycleActionHeartbeatRequest extends $tea.Model {
16426
16678
  resourceOwnerAccount?: string;
16427
16679
  /**
16428
16680
  * @remarks
16429
- * The time window during which the desired ECS instance stays in a Pending state. When the time window ends, Auto Scaling executes the default action. Valid values: 30 to 21600. Unit: seconds.
16681
+ * The time window during which the ECS instance stays in a Pending state. When the time window ends, Auto Scaling executes the default action. Valid values: 30 to 21600. Unit: seconds.
16430
16682
  *
16431
- * After you create a lifecycle hook, you can call this operation to extend the time window during which the desired ECS instance stays in a Pending state. You can also call the [CompleteLifecycleAction](https://help.aliyun.com/document_detail/459335.html) operation to remove the desired ECS instance from a Pending state ahead of schedule.
16683
+ * After you create a lifecycle hook, you can call this operation to extend the time window during which the ECS instance stays in a Pending state. You can also call the [CompleteLifecycleAction](https://help.aliyun.com/document_detail/459335.html) operation to remove the ECS instance from the Pending state ahead of schedule.
16432
16684
  *
16433
16685
  * Default value: 600.
16434
16686
  *
@@ -16438,9 +16690,11 @@ export class RecordLifecycleActionHeartbeatRequest extends $tea.Model {
16438
16690
  heartbeatTimeout?: number;
16439
16691
  /**
16440
16692
  * @remarks
16441
- * The action token of the lifecycle hook. You can obtain the token from the details page of the Message Service (MNS) queue specified for the lifecycle hook when the desired ECS instance enters a Pending state.\\
16442
- * You can also call the [DescribeLifecycleActions](https://help.aliyun.com/document_detail/459333.html) operation to obtain the action token of the lifecycle hook.\\
16443
- * If you specified an MNS topic for the lifecycle hook, you can obtain the token from the MNS topic.
16693
+ * The action token of the lifecycle hook. You can obtain the token from the details page of the Simple Message Queue (SMQ, formerly MNS) queue specified for the lifecycle hook.
16694
+ *
16695
+ * You can also call the [DescribeLifecycleActions](https://help.aliyun.com/document_detail/459333.html) operation to obtain the action token of the lifecycle hook.
16696
+ *
16697
+ * If you specified an SMQ topic for the lifecycle hook, you can obtain the token from the MNS topic.
16444
16698
  *
16445
16699
  * This parameter is required.
16446
16700
  *
@@ -16629,15 +16883,17 @@ export class RemoveInstancesRequest extends $tea.Model {
16629
16883
  scalingGroupId?: string;
16630
16884
  /**
16631
16885
  * @remarks
16632
- * The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds. Valid values: 30 to 240.
16886
+ * The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
16633
16887
  *
16634
16888
  * >
16635
16889
  *
16636
16890
  * * By default, this parameter inherits the value of StopInstanceTimeout specified in the CreateScalingGroup or ModifyScalingGroup operation. You can also specify a different value for this parameter in the RemoveInstances operation.
16637
16891
  *
16638
- * * This parameter takes effect only if you set RemovePolicy to release.\\
16639
- * If you specify this parameter, the system proceeds with the scale-in process only after the period of time specified by StopInstanceTimeout ends. In this case, the scale-in operation continues regardless of whether the ECS instance enters the Stopped state or not.\\
16640
- * If you do not specify this parameter, the system proceeds with the scale-in process only after the ECS instance enters the Stopped state. If the ECS instance fails to enter the Stopped state, the scale-in process rolls back, and the scale-in operation is considered as failed.
16892
+ * * This parameter takes effect only if you set RemovePolicy to release.
16893
+ *
16894
+ * * If you specify this parameter, the system waits for the ECS instance to enter the Stopped state only for up to the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.
16895
+ *
16896
+ * * If you do not specify this parameter, the system continues with the scale-in operation until the ECS instance enters the Stopped state. If the ECS instance is not successfully stopped, the scale-in process is rolled back and considered failed.
16641
16897
  *
16642
16898
  * @example
16643
16899
  * 60
@@ -17156,10 +17412,10 @@ export class ScaleWithAdjustmentRequest extends $tea.Model {
17156
17412
  * @remarks
17157
17413
  * Specifies whether to trigger the scaling activity in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid values:
17158
17414
  *
17159
- * * true: triggers the scaling activity in a synchronous manner. The scaling activity is triggered at the time when the scaling rule is executed.
17160
- * * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number of instances and determines whether to trigger the scaling activity based on the check result.
17415
+ * * true: triggers the scaling activity in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
17416
+ * * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
17161
17417
  *
17162
- * > For more information about the Expected Number of Instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
17418
+ * > For more information about the expected number of instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
17163
17419
  *
17164
17420
  * Default value: false.
17165
17421
  *
@@ -17283,10 +17539,10 @@ export class ScaleWithAdjustmentShrinkRequest extends $tea.Model {
17283
17539
  * @remarks
17284
17540
  * Specifies whether to trigger the scaling activity in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid values:
17285
17541
  *
17286
- * * true: triggers the scaling activity in a synchronous manner. The scaling activity is triggered at the time when the scaling rule is executed.
17287
- * * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number of instances and determines whether to trigger the scaling activity based on the check result.
17542
+ * * true: triggers the scaling activity in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
17543
+ * * false: does not trigger the scaling activity in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
17288
17544
  *
17289
- * > For more information about the Expected Number of Instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
17545
+ * > For more information about the expected number of instances feature, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
17290
17546
  *
17291
17547
  * Default value: false.
17292
17548
  *
@@ -17730,7 +17986,7 @@ export class SetInstancesProtectionResponse extends $tea.Model {
17730
17986
  export class StartInstanceRefreshRequest extends $tea.Model {
17731
17987
  /**
17732
17988
  * @remarks
17733
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see "How to ensure idempotence".
17989
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](https://help.aliyun.com/document_detail/25965.html).
17734
17990
  *
17735
17991
  * @example
17736
17992
  * 123e4567-e89b-12d3-a456-42665544****
@@ -18003,13 +18259,13 @@ export class SuspendProcessesRequest extends $tea.Model {
18003
18259
  ownerId?: number;
18004
18260
  /**
18005
18261
  * @remarks
18006
- * The types of the processes that you want to suspend. Valid values:
18262
+ * The types of processes that you want to suspend. Valid values:
18007
18263
  *
18008
- * * scalein: the scale-in process.
18009
- * * scaleout: the scale-out process.
18010
- * * healthcheck: the health check process.
18011
- * * alarmnotification: the process of executing an event-triggered task.
18012
- * * scheduledaction: the process of executing a scheduled task.
18264
+ * * ScaleIn: the scale-in process.
18265
+ * * ScaleOut: the scale-out process.
18266
+ * * HealthCheck: the health check process.
18267
+ * * AlarmNotification: the process of executing an event-triggered task.
18268
+ * * ScheduledAction: the process of executing a scheduled task.
18013
18269
  *
18014
18270
  * Presently, Auto Scaling supports suspending the five mentioned process types. In cases where more than five types are specified, Auto Scaling will automatically disregard duplicates and proceed with suspending the unique process types.
18015
18271
  *
@@ -18145,7 +18401,7 @@ export class TagResourcesRequest extends $tea.Model {
18145
18401
  resourceType?: string;
18146
18402
  /**
18147
18403
  * @remarks
18148
- * Details of the tags.
18404
+ * The tags that you want to add to the Auto Scaling resources.
18149
18405
  *
18150
18406
  * This parameter is required.
18151
18407
  */
@@ -20999,22 +21255,21 @@ export class CreateScalingConfigurationRequestDataDisks extends $tea.Model {
20999
21255
  export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
21000
21256
  /**
21001
21257
  * @remarks
21002
- * The architecture types of instance types. Valid values:
21258
+ * The architecture types of the instance types. Valid values:
21003
21259
  *
21004
- * * X86: x86.
21260
+ * * X86: x86 architecture.
21005
21261
  * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
21006
21262
  * * BareMetal: ECS Bare Metal Instance.
21007
21263
  * * Arm: Arm.
21008
- * * SuperComputeCluster: Super Computing Cluster.
21009
21264
  *
21010
- * By default, all values are included.
21265
+ * By default, all values are selected.
21011
21266
  */
21012
21267
  architectures?: string[];
21013
21268
  /**
21014
21269
  * @remarks
21015
21270
  * Specifies whether to include burstable instance types. Valid values:
21016
21271
  *
21017
- * * Exclude: does not include burstable instance types.
21272
+ * * Exclude: excludes burstable instance types.
21018
21273
  * * Include: includes burstable instance types.
21019
21274
  * * Required: includes only burstable instance types.
21020
21275
  *
@@ -21026,11 +21281,11 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21026
21281
  burstablePerformance?: string;
21027
21282
  /**
21028
21283
  * @remarks
21029
- * The number of vCPUs per instance type in intelligent configuration mode. You can use this parameter to match the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
21284
+ * The number of vCPUs per instance type in intelligent configuration mode. You can specify this parameter to filter the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
21030
21285
  *
21031
21286
  * Take note of the following items:
21032
21287
  *
21033
- * * InstancePatternInfos applies only to the scaling groups that reside in virtual private clouds (VPCs).
21288
+ * * InstancePatternInfos applies only to scaling groups that reside in virtual private clouds (VPCs).
21034
21289
  * * If you specify InstancePatternInfos, you must also specify InstancePatternInfos.Cores and InstancePatternInfos.Memory.
21035
21290
  * * If you specify InstanceType or InstanceTypes, Auto Scaling preferentially uses the instance type specified by InstanceType or InstanceTypes to create instances during scale-out events. If the specified instance type has insufficient inventory, Auto Scaling uses the lowest-priced instance type specified by InstancePatternInfos to create instances during scale-out events.
21036
21291
  *
@@ -21040,9 +21295,9 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21040
21295
  cores?: number;
21041
21296
  /**
21042
21297
  * @remarks
21043
- * The CPU architectures of instance types. Valid values:
21298
+ * The CPU architectures of the instance types. Valid values:
21044
21299
  *
21045
- * > You can specify 1 to 2 CPU architectures.
21300
+ * > You can specify up to two CPU architectures.
21046
21301
  *
21047
21302
  * * x86
21048
21303
  * * Arm
@@ -21050,7 +21305,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21050
21305
  cpuArchitectures?: string[];
21051
21306
  /**
21052
21307
  * @remarks
21053
- * The instance types that you want to exclude. You can use wildcard characters, such as an asterisk (\\*), to exclude an instance type or an instance family. Examples:
21308
+ * The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
21054
21309
  *
21055
21310
  * * ecs.c6.large: excludes the ecs.c6.large instance type.
21056
21311
  * * ecs.c6.\\*: excludes the c6 instance family.
@@ -21063,35 +21318,34 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21063
21318
  gpuSpecs?: string[];
21064
21319
  /**
21065
21320
  * @remarks
21066
- * The categories of instance types. Valid values:
21321
+ * The categories of the instance types. Valid values:
21067
21322
  *
21068
21323
  * > You can specify up to 10 categories.
21069
21324
  *
21070
- * * General-purpose
21071
- * * Compute-optimized
21072
- * * Memory-optimized
21073
- * * Big data
21074
- * * Local SSDs
21075
- * * High Clock Speed
21076
- * * Enhanced
21077
- * * Shared
21078
- * * Compute-optimized with GPU
21079
- * * Visual Compute-optimized
21080
- * * Heterogeneous Service
21081
- * * Compute-optimized with FPGA
21082
- * * Compute-optimized with NPU
21083
- * * ECS Bare Metal
21084
- * * Super Computing Cluster
21085
- * * High Performance Compute
21325
+ * * General-purpose: general-purpose instance type.
21326
+ * * Compute-optimized: compute-optimized instance type.
21327
+ * * Memory-optimized: memory-optimized instance type.
21328
+ * * Big data: big data instance type.
21329
+ * * Local SSDs: instance type that uses local SSDs.
21330
+ * * High Clock Speed: instance type that has high clock speeds.
21331
+ * * Enhanced: enhanced instance type.
21332
+ * * Shared: shared instance type.
21333
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
21334
+ * * Visual Compute-optimized: visual compute-optimized instance type.
21335
+ * * Heterogeneous Service: heterogeneous service instance type.
21336
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
21337
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
21338
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
21339
+ * * High Performance Compute: HPC-optimized instance type.
21086
21340
  */
21087
21341
  instanceCategories?: string[];
21088
21342
  /**
21089
21343
  * @remarks
21090
- * The level of the instance family. You can use this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
21344
+ * The level of the instance family. You can specify this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
21091
21345
  *
21092
- * * EntryLevel: entry level (shared instance type). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
21093
- * * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources, and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
21094
- * * CreditEntryLevel: credit-based entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
21346
+ * * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
21347
+ * * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
21348
+ * * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
21095
21349
  *
21096
21350
  * @example
21097
21351
  * EnterpriseLevel
@@ -21140,7 +21394,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21140
21394
  maximumMemorySize?: number;
21141
21395
  /**
21142
21396
  * @remarks
21143
- * The memory size per instance type in intelligent configuration mode. Unit: GiB. You can use this parameter to match the available instance types.
21397
+ * The memory size per instance type in intelligent configuration mode. Unit: GiB. You can specify this parameter to filter the available instance types.
21144
21398
  *
21145
21399
  * @example
21146
21400
  * 4
@@ -21212,7 +21466,7 @@ export class CreateScalingConfigurationRequestInstancePatternInfos extends $tea.
21212
21466
  minimumMemorySize?: number;
21213
21467
  /**
21214
21468
  * @remarks
21215
- * The processor models of instance types. You can specify up to 10 processor models.
21469
+ * The processor models of the instance types. You can specify up to 10 processor models.
21216
21470
  */
21217
21471
  physicalProcessorModels?: string[];
21218
21472
  static names(): { [key: string]: string } {
@@ -21932,22 +22186,21 @@ export class CreateScalingConfigurationShrinkRequestDataDisks extends $tea.Model
21932
22186
  export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.Model {
21933
22187
  /**
21934
22188
  * @remarks
21935
- * The architecture types of instance types. Valid values:
22189
+ * The architecture types of the instance types. Valid values:
21936
22190
  *
21937
- * * X86: x86.
22191
+ * * X86: x86 architecture.
21938
22192
  * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
21939
22193
  * * BareMetal: ECS Bare Metal Instance.
21940
22194
  * * Arm: Arm.
21941
- * * SuperComputeCluster: Super Computing Cluster.
21942
22195
  *
21943
- * By default, all values are included.
22196
+ * By default, all values are selected.
21944
22197
  */
21945
22198
  architectures?: string[];
21946
22199
  /**
21947
22200
  * @remarks
21948
22201
  * Specifies whether to include burstable instance types. Valid values:
21949
22202
  *
21950
- * * Exclude: does not include burstable instance types.
22203
+ * * Exclude: excludes burstable instance types.
21951
22204
  * * Include: includes burstable instance types.
21952
22205
  * * Required: includes only burstable instance types.
21953
22206
  *
@@ -21959,11 +22212,11 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
21959
22212
  burstablePerformance?: string;
21960
22213
  /**
21961
22214
  * @remarks
21962
- * The number of vCPUs per instance type in intelligent configuration mode. You can use this parameter to match the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
22215
+ * The number of vCPUs per instance type in intelligent configuration mode. You can specify this parameter to filter the available instance types. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
21963
22216
  *
21964
22217
  * Take note of the following items:
21965
22218
  *
21966
- * * InstancePatternInfos applies only to the scaling groups that reside in virtual private clouds (VPCs).
22219
+ * * InstancePatternInfos applies only to scaling groups that reside in virtual private clouds (VPCs).
21967
22220
  * * If you specify InstancePatternInfos, you must also specify InstancePatternInfos.Cores and InstancePatternInfos.Memory.
21968
22221
  * * If you specify InstanceType or InstanceTypes, Auto Scaling preferentially uses the instance type specified by InstanceType or InstanceTypes to create instances during scale-out events. If the specified instance type has insufficient inventory, Auto Scaling uses the lowest-priced instance type specified by InstancePatternInfos to create instances during scale-out events.
21969
22222
  *
@@ -21973,9 +22226,9 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
21973
22226
  cores?: number;
21974
22227
  /**
21975
22228
  * @remarks
21976
- * The CPU architectures of instance types. Valid values:
22229
+ * The CPU architectures of the instance types. Valid values:
21977
22230
  *
21978
- * > You can specify 1 to 2 CPU architectures.
22231
+ * > You can specify up to two CPU architectures.
21979
22232
  *
21980
22233
  * * x86
21981
22234
  * * Arm
@@ -21983,7 +22236,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
21983
22236
  cpuArchitectures?: string[];
21984
22237
  /**
21985
22238
  * @remarks
21986
- * The instance types that you want to exclude. You can use wildcard characters, such as an asterisk (\\*), to exclude an instance type or an instance family. Examples:
22239
+ * The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
21987
22240
  *
21988
22241
  * * ecs.c6.large: excludes the ecs.c6.large instance type.
21989
22242
  * * ecs.c6.\\*: excludes the c6 instance family.
@@ -21996,35 +22249,34 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
21996
22249
  gpuSpecs?: string[];
21997
22250
  /**
21998
22251
  * @remarks
21999
- * The categories of instance types. Valid values:
22252
+ * The categories of the instance types. Valid values:
22000
22253
  *
22001
22254
  * > You can specify up to 10 categories.
22002
22255
  *
22003
- * * General-purpose
22004
- * * Compute-optimized
22005
- * * Memory-optimized
22006
- * * Big data
22007
- * * Local SSDs
22008
- * * High Clock Speed
22009
- * * Enhanced
22010
- * * Shared
22011
- * * Compute-optimized with GPU
22012
- * * Visual Compute-optimized
22013
- * * Heterogeneous Service
22014
- * * Compute-optimized with FPGA
22015
- * * Compute-optimized with NPU
22016
- * * ECS Bare Metal
22017
- * * Super Computing Cluster
22018
- * * High Performance Compute
22256
+ * * General-purpose: general-purpose instance type.
22257
+ * * Compute-optimized: compute-optimized instance type.
22258
+ * * Memory-optimized: memory-optimized instance type.
22259
+ * * Big data: big data instance type.
22260
+ * * Local SSDs: instance type that uses local SSDs.
22261
+ * * High Clock Speed: instance type that has high clock speeds.
22262
+ * * Enhanced: enhanced instance type.
22263
+ * * Shared: shared instance type.
22264
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
22265
+ * * Visual Compute-optimized: visual compute-optimized instance type.
22266
+ * * Heterogeneous Service: heterogeneous service instance type.
22267
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
22268
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
22269
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
22270
+ * * High Performance Compute: HPC-optimized instance type.
22019
22271
  */
22020
22272
  instanceCategories?: string[];
22021
22273
  /**
22022
22274
  * @remarks
22023
- * The level of the instance family. You can use this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
22275
+ * The level of the instance family. You can specify this parameter to match the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
22024
22276
  *
22025
- * * EntryLevel: entry level (shared instance type). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
22026
- * * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources, and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
22027
- * * CreditEntryLevel: credit-based entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
22277
+ * * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
22278
+ * * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
22279
+ * * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
22028
22280
  *
22029
22281
  * @example
22030
22282
  * EnterpriseLevel
@@ -22073,7 +22325,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
22073
22325
  maximumMemorySize?: number;
22074
22326
  /**
22075
22327
  * @remarks
22076
- * The memory size per instance type in intelligent configuration mode. Unit: GiB. You can use this parameter to match the available instance types.
22328
+ * The memory size per instance type in intelligent configuration mode. Unit: GiB. You can specify this parameter to filter the available instance types.
22077
22329
  *
22078
22330
  * @example
22079
22331
  * 4
@@ -22145,7 +22397,7 @@ export class CreateScalingConfigurationShrinkRequestInstancePatternInfos extends
22145
22397
  minimumMemorySize?: number;
22146
22398
  /**
22147
22399
  * @remarks
22148
- * The processor models of instance types. You can specify up to 10 processor models.
22400
+ * The processor models of the instance types. You can specify up to 10 processor models.
22149
22401
  */
22150
22402
  physicalProcessorModels?: string[];
22151
22403
  static names(): { [key: string]: string } {
@@ -22421,9 +22673,51 @@ export class CreateScalingGroupRequestAlbServerGroups extends $tea.Model {
22421
22673
  }
22422
22674
 
22423
22675
  export class CreateScalingGroupRequestCapacityOptions extends $tea.Model {
22676
+ /**
22677
+ * @remarks
22678
+ * Specifies whether to automatically create pay-as-you-go ECS instances to reach the required number of ECS instances when preemptible ECS instances cannot be created due to high prices or insufficient inventory of resources. This parameter takes effect when you set `MultiAZPolicy` to `COST_OPTIMIZED`. Valid values:
22679
+ *
22680
+ * * true
22681
+ * * false
22682
+ *
22683
+ * Default value: true.
22684
+ *
22685
+ * @example
22686
+ * true
22687
+ */
22424
22688
  compensateWithOnDemand?: boolean;
22689
+ /**
22690
+ * @remarks
22691
+ * The minimum number of pay-as-you-go instances required in the scaling group. When the number of pay-as-you-go instances drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
22692
+ *
22693
+ * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
22694
+ *
22695
+ * @example
22696
+ * 30
22697
+ */
22425
22698
  onDemandBaseCapacity?: number;
22699
+ /**
22700
+ * @remarks
22701
+ * The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
22702
+ *
22703
+ * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
22704
+ *
22705
+ * @example
22706
+ * 20
22707
+ */
22426
22708
  onDemandPercentageAboveBaseCapacity?: number;
22709
+ /**
22710
+ * @remarks
22711
+ * Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible instances to replace the surplus pay-as-you-go instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
22712
+ *
22713
+ * * true
22714
+ * * false
22715
+ *
22716
+ * Default value: false.
22717
+ *
22718
+ * @example
22719
+ * false
22720
+ */
22427
22721
  spotAutoReplaceOnDemand?: boolean;
22428
22722
  static names(): { [key: string]: string } {
22429
22723
  return {
@@ -22773,7 +23067,7 @@ export class CreateScalingGroupRequestServerGroups extends $tea.Model {
22773
23067
  export class CreateScalingGroupRequestTags extends $tea.Model {
22774
23068
  /**
22775
23069
  * @remarks
22776
- * The tag key that you want to add to the scaling group.
23070
+ * The tag key.
22777
23071
  *
22778
23072
  * @example
22779
23073
  * Department
@@ -22781,10 +23075,10 @@ export class CreateScalingGroupRequestTags extends $tea.Model {
22781
23075
  key?: string;
22782
23076
  /**
22783
23077
  * @remarks
22784
- * Specifies whether to propagate the tag that you want to add to the scaling group. Valid values:
23078
+ * Specifies whether to propagate the tag that you want to add. Valid values:
22785
23079
  *
22786
- * * true: propagates the tag to only instances that are newly created.
22787
- * * false: does not propagate the tag to any instances.
23080
+ * * true: propagates the tag to new instances.
23081
+ * * false: does not propagate the tag to any instance.
22788
23082
  *
22789
23083
  * Default value: false.
22790
23084
  *
@@ -22794,7 +23088,7 @@ export class CreateScalingGroupRequestTags extends $tea.Model {
22794
23088
  propagate?: boolean;
22795
23089
  /**
22796
23090
  * @remarks
22797
- * The tag value that you want to add to the scaling group.
23091
+ * The tag value.
22798
23092
  *
22799
23093
  * @example
22800
23094
  * Finance
@@ -23512,21 +23806,57 @@ export class DescribeAlarmsResponseBodyAlarmList extends $tea.Model {
23512
23806
 
23513
23807
  export class DescribeDiagnoseReportsResponseBodyReportsDetails extends $tea.Model {
23514
23808
  /**
23809
+ * @remarks
23810
+ * The type of the diagnostic item. Valid values:
23811
+ *
23812
+ * * AccountArrearage: Checks whether your Alibaba Cloud account has overdue payments.
23813
+ * * AccountNotEnoughBalance: Checks whether the balance of your Alibaba Cloud account at the China site (aliyun.com) is greater than or equal to CNY 100.
23814
+ * * ElasticStrength: Checks whether the instance types that are specified in the scaling configuration are sufficient.
23815
+ * * VSwitch: Checks whether a specific vSwitch can work as expected. For example, if a vSwitch is deleted, the vSwitch cannot provide services and an exception occurs.
23816
+ * * SecurityGroup: Checks whether a specific security group can work as expected. For example, if a security group is deleted, the security group cannot provide services and an exception occurs.
23817
+ * * KeyPair: Checks whether the key pair is available. If the specified key pair is deleted, specify another key pair for the scaling group.
23818
+ * * SlbBackendServerQuota: Checks whether the number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
23819
+ * * AlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the ALB instances associated with the scaling group has reached the upper limit.
23820
+ * * NlbBackendServerQuota: Checks whether the number of ECS instances that are added to the backend server groups of the NLB instances associated with the scaling group has reached the upper limit.
23821
+ *
23515
23822
  * @example
23516
23823
  * AccountArrearage
23517
23824
  */
23518
23825
  diagnoseType?: string;
23519
23826
  /**
23827
+ * @remarks
23828
+ * The error code of the diagnostic item. Valid values:
23829
+ *
23830
+ * * VSwitchIdNotFound: The vSwitch does not exist.
23831
+ * * SecurityGroupNotFound: The security group does not exist.
23832
+ * * KeyPairNotFound: The key pair does not exist.
23833
+ * * SlbBackendServerQuotaExceeded: The number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
23834
+ * * AlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the ALB instances of the scaling group has reached the upper limit.
23835
+ * * NlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the NLB instances of the scaling group has reached the upper limit.
23836
+ * * AccountArrearage: Your account has overdue payments.
23837
+ * * AccountNotEnoughBalance: The balance of your Alibaba Cloud account is less than CNY 100.
23838
+ * * ElasticStrengthAlert: The inventory levels are lower than expected.
23839
+ *
23520
23840
  * @example
23521
23841
  * VSwitchIdNotFound
23522
23842
  */
23523
23843
  errorCode?: string;
23524
23844
  /**
23845
+ * @remarks
23846
+ * The ID of the resource.
23847
+ *
23525
23848
  * @example
23526
23849
  * sg-280ih****
23527
23850
  */
23528
23851
  resourceId?: string;
23529
23852
  /**
23853
+ * @remarks
23854
+ * The status of the diagnostic item. Valid values:
23855
+ *
23856
+ * * Normal: The diagnostic result is normal.
23857
+ * * Warn: The diagnostic result is warning.
23858
+ * * Critical: The diagnostic result is critical.
23859
+ *
23530
23860
  * @example
23531
23861
  * Normal
23532
23862
  */
@@ -23556,37 +23886,69 @@ export class DescribeDiagnoseReportsResponseBodyReportsDetails extends $tea.Mode
23556
23886
 
23557
23887
  export class DescribeDiagnoseReportsResponseBodyReports extends $tea.Model {
23558
23888
  /**
23889
+ * @remarks
23890
+ * The time when the diagnostic report was created.
23891
+ *
23559
23892
  * @example
23560
23893
  * 2024-08-23T02:22:30Z
23561
23894
  */
23562
23895
  creationTime?: string;
23896
+ /**
23897
+ * @remarks
23898
+ * The details of the diagnostic report.
23899
+ */
23563
23900
  details?: DescribeDiagnoseReportsResponseBodyReportsDetails[];
23564
23901
  /**
23902
+ * @remarks
23903
+ * The status of the diagnostic item. Only the severe status is displayed in the diagnostic report. Valid values:
23904
+ *
23905
+ * * Normal: The diagnostic result is normal.
23906
+ * * Warn: The diagnostic result is warning.
23907
+ * * Critical: The diagnostic result is critical.
23908
+ *
23565
23909
  * @example
23566
23910
  * Normal
23567
23911
  */
23568
23912
  diagnoseStatus?: string;
23569
23913
  /**
23914
+ * @remarks
23915
+ * The status of the diagnostic report. Valid values:
23916
+ *
23917
+ * * processing: The diagnosis is in progress.
23918
+ * * Finished: The diagnosis is complete.
23919
+ *
23570
23920
  * @example
23571
23921
  * Finished
23572
23922
  */
23573
23923
  processStatus?: string;
23574
23924
  /**
23925
+ * @remarks
23926
+ * The ID of the region.
23927
+ *
23575
23928
  * @example
23576
23929
  * cn-qingdao
23577
23930
  */
23578
23931
  regionId?: string;
23579
23932
  /**
23933
+ * @remarks
23934
+ * The ID of the diagnostic report.
23935
+ *
23580
23936
  * @example
23581
23937
  * dr-bp14p0cjp7wvjob5l6hk
23582
23938
  */
23583
23939
  reportId?: string;
23584
23940
  /**
23941
+ * @remarks
23942
+ * The ID of the scaling group.
23943
+ *
23585
23944
  * @example
23586
23945
  * asg-bp124uve5iph3*****
23587
23946
  */
23588
23947
  scalingGroupId?: string;
23589
23948
  /**
23949
+ * @remarks
23950
+ * The user ID of the scaling group.
23951
+ *
23590
23952
  * @example
23591
23953
  * 161456884*******
23592
23954
  */
@@ -27325,6 +27687,13 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
27325
27687
  * 20
27326
27688
  */
27327
27689
  ephemeralStorage?: number;
27690
+ /**
27691
+ * @remarks
27692
+ * The version of the GPU driver.
27693
+ *
27694
+ * @example
27695
+ * tesla=470.82.01
27696
+ */
27328
27697
  gpuDriverVersion?: string;
27329
27698
  /**
27330
27699
  * @remarks
@@ -28158,20 +28527,20 @@ export class DescribeLifecycleHooksResponseBodyLifecycleHooks extends $tea.Model
28158
28527
  lifecycleTransition?: string;
28159
28528
  /**
28160
28529
  * @remarks
28161
- * The ARN of the notification recipient when the lifecycle hook takes effect. The value of this parameter is in one of the following formats:
28530
+ * The ARN of the notification recipient when the lifecycle hook takes effect. The value of this parameter must be in one of the following formats:
28162
28531
  *
28163
- * * If you did not specify this parameter, the return value is in the `acs:ess:{region-id}:{account-id}:null/null` format.
28164
- * * If you specified a Message Service (MNS) queue as the notification recipient, the return value is in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
28165
- * * If you specified an MNS topic as the notification recipient, the return value is in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
28166
- * * If you specified a CloudOps Orchestration Service (OOS) template as the notification recipient, the return value is in the `acs:oos:{region-id}:{account-id}:template/{templatename}` format.
28167
- * * If you specified an event bus as the notification recipient, the return value is in the `acs:eventbridge:{region-id}:{account-id}:eventbus/default` format.
28532
+ * * If you do not create a notification rule, specify the value in the `acs:ess:{region-id}:{account-id}:null/null` format.
28533
+ * * If you specify a Simple Message Queue (SMQ, formerly MNS) queue as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:queue/{queuename}` format.
28534
+ * * If you specify an SMQ as the notification recipient, specify the value in the `acs:mns:{region-id}:{account-id}:topic/{topicname}` format.
28535
+ * * If you specify a CloudOps Orchestration Service (OOS) template as the notification recipient, specify the value in the `acs:oos:{region-id}:{account-id}:template/{templatename}` format.
28536
+ * * If you specify an event bus as the notification recipient, specify the value in the `acs:eventbridge:{region-id}:{account-id}:eventbus/default` format.
28168
28537
  *
28169
- * The variables in the preceding formats have the following meanings:
28538
+ * The variables in the preceding value formats have the following meanings:
28170
28539
  *
28171
28540
  * * region-id: the region ID of your scaling group.
28172
- * * account-id: the ID of your Alibaba Cloud.
28173
- * * queuename: the name of the MNS queue.
28174
- * * topicname: the name of the MNS topic.
28541
+ * * account-id: the ID of your Alibaba Cloud account.
28542
+ * * queuename: the name of the SMQ queue.
28543
+ * * topicname: the name of the SMQ topic.
28175
28544
  * * templatename: the name of the OOS template.
28176
28545
  *
28177
28546
  * @example
@@ -28230,18 +28599,18 @@ export class DescribeLifecycleHooksResponseBodyLifecycleHooks extends $tea.Model
28230
28599
  export class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels extends $tea.Model {
28231
28600
  /**
28232
28601
  * @remarks
28233
- * The Alibaba Cloud Resource Name (ARN) of the notification method. The following list describes the value formats of this parameter:
28602
+ * The Alibaba Cloud Resource Name (ARN) of the notification recipient. The value is in one of the following formats:
28234
28603
  *
28235
- * * If you use CloudMonitor as the notification method, the value format of this parameter is acs:ess:{region-id}:{account-id}:cloudmonitor.
28236
- * * If you use a Message Service (MNS) queue as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:queue/{queuename}.
28237
- * * If you use an MNS topic as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:topic/{topicname}.
28604
+ * * If you specify CloudMonitor as the notification recipient, the value is in the acs:ess:{region-id}:{account-id}:cloudmonitor format.
28605
+ * * If you specify a Simple Message Queue (SMQ, formerly MNS) as the notification recipient, the value is in the acs:mns:{region-id}:{account-id}:queue/{queuename} format.
28606
+ * * If you specify an SMQ topic as the notification recipient, the value is in the acs:mns:{region-id}:{account-id}:topic/{topicname} format.
28238
28607
  *
28239
- * The variables in the preceding formats have the following meanings:
28608
+ * The variables in the preceding value formats have the following meanings:
28240
28609
  *
28241
- * * region-id: the region ID of the scaling group.
28242
- * * account-id: the ID of the Alibaba Cloud account.
28243
- * * queuename: the name of the MNS queue.
28244
- * * topicname: the name of the MNS topic.
28610
+ * * region-id: the region ID of your scaling group.
28611
+ * * account-id: the ID of your Alibaba Cloud account.
28612
+ * * queuename: the name of the SMQ queue.
28613
+ * * topicname: the name of the SMQ topic.
28245
28614
  *
28246
28615
  * @example
28247
28616
  * acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****
@@ -28569,6 +28938,9 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
28569
28938
  */
28570
28939
  errorMessage?: string;
28571
28940
  /**
28941
+ * @remarks
28942
+ * The ID of the instance refresh task.
28943
+ *
28572
28944
  * @example
28573
28945
  * ir-asdf12adsxg*****
28574
28946
  */
@@ -28997,13 +29369,12 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataD
28997
29369
  export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos extends $tea.Model {
28998
29370
  /**
28999
29371
  * @remarks
29000
- * The architecture types of the instance types. Valid values:
29372
+ * The architectures of instance types. Valid values:
29001
29373
  *
29002
- * * X86: x86
29003
- * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated
29004
- * * BareMetal: ECS Bare Metal Instance
29005
- * * Arm: Arm
29006
- * * SuperComputeCluster: Super Computing Cluster
29374
+ * * X86: x86.
29375
+ * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
29376
+ * * BareMetal: ECS Bare Metal Instance.
29377
+ * * Arm: Arm.
29007
29378
  */
29008
29379
  architectures?: string[];
29009
29380
  /**
@@ -29051,26 +29422,25 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsInsta
29051
29422
  gpuSpecs?: string[];
29052
29423
  /**
29053
29424
  * @remarks
29054
- * The categories of the instance.families. Valid values:
29425
+ * The categories of ECS instances. Valid values:
29055
29426
  *
29056
- * > You can specify 1 to 10 categories.
29427
+ * > Up to 10 categories of ECS instances are supported.
29057
29428
  *
29058
- * * General-purpose
29059
- * * Compute-optimized
29060
- * * Memory-optimized
29061
- * * Big data
29062
- * * Local SSDs
29063
- * * High Clock Speed
29064
- * * Enhanced
29065
- * * Shared
29066
- * * Compute-optimized with GPU
29067
- * * Visual Compute-optimized
29068
- * * Heterogeneous Service
29069
- * * Compute-optimized with FPGA
29070
- * * Compute-optimized with NPU
29071
- * * ECS Bare Metal
29072
- * * Super Computing Cluster
29073
- * * High Performance Compute
29429
+ * * General-purpose: general-purpose instance type.
29430
+ * * Compute-optimized: compute-optimized instance type.
29431
+ * * Memory-optimized: memory-optimized instance type.
29432
+ * * Big data: big data instance type.
29433
+ * * Local SSDs: instance type with local SSDs.
29434
+ * * High Clock Speed: instance type with high clock speeds.
29435
+ * * Enhanced: enhanced instance type.
29436
+ * * Shared: shared instance type.
29437
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
29438
+ * * Visual Compute-optimized: visual compute-optimized instance type.
29439
+ * * Heterogeneous Service: heterogeneous service instance type.
29440
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
29441
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
29442
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
29443
+ * * High Performance Compute: HPC-optimized instance type.
29074
29444
  */
29075
29445
  instanceCategories?: string[];
29076
29446
  /**
@@ -29349,11 +29719,6 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSched
29349
29719
 
29350
29720
  export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions extends $tea.Model {
29351
29721
  /**
29352
- * @remarks
29353
- * 机密计算模式。可能值:
29354
- * - Enclave:表示ECS实例使用Enclave构建机密计算环境。更多信息,请参见[使用Enclave构建机密计算环境](https://help.aliyun.com/document_detail/203433.html)。
29355
- * - TDX:表示构建TDX机密计算环境。更多信息,请参见[构建TDX机密计算环境](https://help.aliyun.com/document_detail/479090.html)。
29356
- *
29357
29722
  * @example
29358
29723
  * TDX
29359
29724
  */
@@ -29567,7 +29932,27 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
29567
29932
  * hpc-clus****
29568
29933
  */
29569
29934
  hpcClusterId?: string;
29935
+ /**
29936
+ * @remarks
29937
+ * Indicates whether the access channel is enabled for instance metadata. Valid values:
29938
+ *
29939
+ * * enabled
29940
+ * * disabled
29941
+ *
29942
+ * @example
29943
+ * enabled
29944
+ */
29570
29945
  httpEndpoint?: string;
29946
+ /**
29947
+ * @remarks
29948
+ * Indicates whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
29949
+ *
29950
+ * * optional: The security hardening mode IMDSv2 is not forcibly used.
29951
+ * * required: The security hardening mode (IMDSv2) is forcibly used. After you set this parameter to required, you cannot access instance metadata in normal mode.
29952
+ *
29953
+ * @example
29954
+ * optional
29955
+ */
29571
29956
  httpTokens?: string;
29572
29957
  /**
29573
29958
  * @remarks
@@ -29672,7 +30057,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
29672
30057
  internetChargeType?: string;
29673
30058
  /**
29674
30059
  * @remarks
29675
- * The maximum inbound bandwidth. Unit: Mbit/s. Valid values: 1 to 200.
30060
+ * The maximum inbound public bandwidth. Unit: Mbit/s.
29676
30061
  *
29677
30062
  * @example
29678
30063
  * 200
@@ -29680,10 +30065,7 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
29680
30065
  internetMaxBandwidthIn?: number;
29681
30066
  /**
29682
30067
  * @remarks
29683
- * The maximum outbound bandwidth. Unit: Mbit/s. Valid values:
29684
- *
29685
- * * 0 to 1024 if you set InternetChargeType to PayByBandwidth. If you leave this parameter empty, this parameter is automatically set to 0.
29686
- * * 0 to 1024 if you set InternetChargeType to PayByTraffic. If you leave this parameter empty, an error is returned.
30068
+ * The maximum outbound public bandwidth. Unit: Mbit/s.
29687
30069
  *
29688
30070
  * @example
29689
30071
  * 0
@@ -29839,10 +30221,6 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
29839
30221
  * The IDs of the security groups to which the ECS instances belong. ECS instances that belong to the same security group can communicate with each other.
29840
30222
  */
29841
30223
  securityGroupIds?: string[];
29842
- /**
29843
- * @remarks
29844
- * 安全选项。
29845
- */
29846
30224
  securityOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions;
29847
30225
  /**
29848
30226
  * @remarks
@@ -31296,9 +31674,43 @@ export class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGroups exten
31296
31674
  }
31297
31675
 
31298
31676
  export class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions extends $tea.Model {
31677
+ /**
31678
+ * @remarks
31679
+ * Indicates whether pay-as-you-go ECS instances can be automatically created to reach the required number of ECS instances when preemptible ECS instances cannot be created due to high prices or insufficient inventory of resources. This parameter takes effect when you set `MultiAZPolicy` to `COST_OPTIMIZED`. Valid values:
31680
+ *
31681
+ * * true
31682
+ * * false
31683
+ *
31684
+ * @example
31685
+ * true
31686
+ */
31299
31687
  compensateWithOnDemand?: boolean;
31688
+ /**
31689
+ * @remarks
31690
+ * The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
31691
+ *
31692
+ * @example
31693
+ * 0
31694
+ */
31300
31695
  onDemandBaseCapacity?: number;
31696
+ /**
31697
+ * @remarks
31698
+ * The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 100.
31699
+ *
31700
+ * @example
31701
+ * 0
31702
+ */
31301
31703
  onDemandPercentageAboveBaseCapacity?: number;
31704
+ /**
31705
+ * @remarks
31706
+ * Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types available. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
31707
+ *
31708
+ * * true
31709
+ * * false
31710
+ *
31711
+ * @example
31712
+ * false
31713
+ */
31302
31714
  spotAutoReplaceOnDemand?: boolean;
31303
31715
  static names(): { [key: string]: string } {
31304
31716
  return {
@@ -31687,6 +32099,10 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
31687
32099
  * false
31688
32100
  */
31689
32101
  azBalance?: boolean;
32102
+ /**
32103
+ * @remarks
32104
+ * The capacity options.
32105
+ */
31690
32106
  capacityOptions?: DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptions;
31691
32107
  /**
31692
32108
  * @remarks
@@ -35832,22 +36248,21 @@ export class ModifyScalingConfigurationRequestDataDisks extends $tea.Model {
35832
36248
  export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.Model {
35833
36249
  /**
35834
36250
  * @remarks
35835
- * The architectures of instance types. Valid values:
36251
+ * The architecture types of the instance types. Valid values:
35836
36252
  *
35837
36253
  * * X86: x86.
35838
36254
  * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
35839
36255
  * * BareMetal: ECS Bare Metal Instance.
35840
36256
  * * Arm: Arm.
35841
- * * SuperComputeCluster: Super Computing Cluster.
35842
36257
  *
35843
- * By default, all values are included.
36258
+ * By default, all values are selected.
35844
36259
  */
35845
36260
  architectures?: string[];
35846
36261
  /**
35847
36262
  * @remarks
35848
36263
  * Specifies whether to include burstable instance types. Valid values:
35849
36264
  *
35850
- * * Exclude: does not include burstable instance types.
36265
+ * * Exclude: excludes burstable instance types.
35851
36266
  * * Include: includes burstable instance types.
35852
36267
  * * Required: includes only burstable instance types.
35853
36268
  *
@@ -35873,7 +36288,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
35873
36288
  cores?: number;
35874
36289
  /**
35875
36290
  * @remarks
35876
- * The CPU architectures of instance types. Valid values:
36291
+ * The CPU architectures of the instance types. Valid values:
35877
36292
  *
35878
36293
  * > You can specify up to two CPU architectures.
35879
36294
  *
@@ -35883,7 +36298,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
35883
36298
  cpuArchitectures?: string[];
35884
36299
  /**
35885
36300
  * @remarks
35886
- * The instance types that you want to exclude. You can use wildcard characters, such as an asterisk (\\*), to exclude an instance type or an instance family. Examples:
36301
+ * The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
35887
36302
  *
35888
36303
  * * ecs.c6.large: excludes the ecs.c6.large instance type.
35889
36304
  * * ecs.c6.\\*: excludes the c6 instance family.
@@ -35896,33 +36311,32 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
35896
36311
  gpuSpecs?: string[];
35897
36312
  /**
35898
36313
  * @remarks
35899
- * The categories of instance types. Valid values:
35900
- *
35901
- * * General-purpose
35902
- * * Compute-optimized
35903
- * * Memory-optimized
35904
- * * Big data
35905
- * * Local SSDs
35906
- * * High Clock Speed
35907
- * * Enhanced
35908
- * * Shared
35909
- * * Compute-optimized with GPU
35910
- * * Visual Compute-optimized
35911
- * * Heterogeneous Service
35912
- * * Compute-optimized with FPGA
35913
- * * Compute-optimized with NPU
35914
- * * ECS Bare Metal
35915
- * * Super Computing Cluster
35916
- * * High Performance Compute
36314
+ * The categories of the instance types. Valid values:
36315
+ *
36316
+ * * General-purpose: general-purpose instance type.
36317
+ * * Compute-optimized: compute-optimized instance type.
36318
+ * * Memory-optimized: memory-optimized instance type.
36319
+ * * Big data: big data instance type.
36320
+ * * Local SSDs: instance type that uses local SSDs.
36321
+ * * High Clock Speed: instance type that has a high clock speed.
36322
+ * * Enhanced: enhanced instance type.
36323
+ * * Shared: shared instance type.
36324
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
36325
+ * * Visual Compute-optimized: visual compute-optimized instance type.
36326
+ * * Heterogeneous Service: heterogeneous service instance type.
36327
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
36328
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
36329
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
36330
+ * * High Performance Compute: HPC-optimized instance type.
35917
36331
  */
35918
36332
  instanceCategories?: string[];
35919
36333
  /**
35920
36334
  * @remarks
35921
- * The level of the instance family. You can specify this parameter to filter the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
36335
+ * The level of the instance family. You can specify this parameter to obtain the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
35922
36336
  *
35923
- * * EntryLevel: entry level (shared instance type). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
35924
- * * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources, and are suitable for business scenarios in which high stability is required. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
35925
- * * CreditEntryLevel: credit-based entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
36337
+ * * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
36338
+ * * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
36339
+ * * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
35926
36340
  *
35927
36341
  * @example
35928
36342
  * EnterpriseLevel
@@ -35935,7 +36349,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
35935
36349
  instanceTypeFamilies?: string[];
35936
36350
  /**
35937
36351
  * @remarks
35938
- * The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to filter the available instance types.
36352
+ * The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to obtain the available instance types.
35939
36353
  *
35940
36354
  * > If you set SpotStrategy to SpotWithPriceLimit, you must specify this parameter. In other cases, this parameter is optional.
35941
36355
  *
@@ -35979,7 +36393,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
35979
36393
  memory?: number;
35980
36394
  /**
35981
36395
  * @remarks
35982
- * The baseline vCPU computing performance (overall baseline performance of all vCPUs) per t5 or t6 burstable instance.
36396
+ * The baseline vCPU computing performance (overall baseline performance of all vCPUs) of each t5 or t6 burstable instance.
35983
36397
  *
35984
36398
  * @example
35985
36399
  * 12
@@ -36027,7 +36441,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
36027
36441
  minimumGpuAmount?: number;
36028
36442
  /**
36029
36443
  * @remarks
36030
- * The initial vCPU credits per t5 or t6 burstable instance.
36444
+ * The initial vCPU credits of each t5 or t6 burstable instance.
36031
36445
  *
36032
36446
  * @example
36033
36447
  * 12
@@ -36043,7 +36457,7 @@ export class ModifyScalingConfigurationRequestInstancePatternInfos extends $tea.
36043
36457
  minimumMemorySize?: number;
36044
36458
  /**
36045
36459
  * @remarks
36046
- * The processor models of instance types. You can specify up to 10 processor models.
36460
+ * The processor models of the instance types. You can specify up to 10 processor models.
36047
36461
  */
36048
36462
  physicalProcessorModels?: string[];
36049
36463
  static names(): { [key: string]: string } {
@@ -36783,22 +37197,21 @@ export class ModifyScalingConfigurationShrinkRequestDataDisks extends $tea.Model
36783
37197
  export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends $tea.Model {
36784
37198
  /**
36785
37199
  * @remarks
36786
- * The architectures of instance types. Valid values:
37200
+ * The architecture types of the instance types. Valid values:
36787
37201
  *
36788
37202
  * * X86: x86.
36789
37203
  * * Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated.
36790
37204
  * * BareMetal: ECS Bare Metal Instance.
36791
37205
  * * Arm: Arm.
36792
- * * SuperComputeCluster: Super Computing Cluster.
36793
37206
  *
36794
- * By default, all values are included.
37207
+ * By default, all values are selected.
36795
37208
  */
36796
37209
  architectures?: string[];
36797
37210
  /**
36798
37211
  * @remarks
36799
37212
  * Specifies whether to include burstable instance types. Valid values:
36800
37213
  *
36801
- * * Exclude: does not include burstable instance types.
37214
+ * * Exclude: excludes burstable instance types.
36802
37215
  * * Include: includes burstable instance types.
36803
37216
  * * Required: includes only burstable instance types.
36804
37217
  *
@@ -36824,7 +37237,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36824
37237
  cores?: number;
36825
37238
  /**
36826
37239
  * @remarks
36827
- * The CPU architectures of instance types. Valid values:
37240
+ * The CPU architectures of the instance types. Valid values:
36828
37241
  *
36829
37242
  * > You can specify up to two CPU architectures.
36830
37243
  *
@@ -36834,7 +37247,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36834
37247
  cpuArchitectures?: string[];
36835
37248
  /**
36836
37249
  * @remarks
36837
- * The instance types that you want to exclude. You can use wildcard characters, such as an asterisk (\\*), to exclude an instance type or an instance family. Examples:
37250
+ * The instance types that you want to exclude. You can use an asterisk (\\*) as a wildcard character to exclude an instance type or an instance family. Examples:
36838
37251
  *
36839
37252
  * * ecs.c6.large: excludes the ecs.c6.large instance type.
36840
37253
  * * ecs.c6.\\*: excludes the c6 instance family.
@@ -36847,33 +37260,32 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36847
37260
  gpuSpecs?: string[];
36848
37261
  /**
36849
37262
  * @remarks
36850
- * The categories of instance types. Valid values:
36851
- *
36852
- * * General-purpose
36853
- * * Compute-optimized
36854
- * * Memory-optimized
36855
- * * Big data
36856
- * * Local SSDs
36857
- * * High Clock Speed
36858
- * * Enhanced
36859
- * * Shared
36860
- * * Compute-optimized with GPU
36861
- * * Visual Compute-optimized
36862
- * * Heterogeneous Service
36863
- * * Compute-optimized with FPGA
36864
- * * Compute-optimized with NPU
36865
- * * ECS Bare Metal
36866
- * * Super Computing Cluster
36867
- * * High Performance Compute
37263
+ * The categories of the instance types. Valid values:
37264
+ *
37265
+ * * General-purpose: general-purpose instance type.
37266
+ * * Compute-optimized: compute-optimized instance type.
37267
+ * * Memory-optimized: memory-optimized instance type.
37268
+ * * Big data: big data instance type.
37269
+ * * Local SSDs: instance type that uses local SSDs.
37270
+ * * High Clock Speed: instance type that has a high clock speed.
37271
+ * * Enhanced: enhanced instance type.
37272
+ * * Shared: shared instance type.
37273
+ * * Compute-optimized with GPU: GPU-accelerated compute-optimized instance type.
37274
+ * * Visual Compute-optimized: visual compute-optimized instance type.
37275
+ * * Heterogeneous Service: heterogeneous service instance type.
37276
+ * * Compute-optimized with FPGA: FPGA-accelerated compute-optimized instance type.
37277
+ * * Compute-optimized with NPU: NPU-accelerated compute-optimized instance type.
37278
+ * * ECS Bare Metal: ECS Bare Metal Instance type.
37279
+ * * High Performance Compute: HPC-optimized instance type.
36868
37280
  */
36869
37281
  instanceCategories?: string[];
36870
37282
  /**
36871
37283
  * @remarks
36872
- * The level of the instance family. You can specify this parameter to filter the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
37284
+ * The level of the instance family. You can specify this parameter to obtain the available instance types. This parameter takes effect only if you set `CostOptimization` to true. Valid values:
36873
37285
  *
36874
- * * EntryLevel: entry level (shared instance type). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
36875
- * * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources, and are suitable for business scenarios in which high stability is required. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
36876
- * * CreditEntryLevel: credit-based entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
37286
+ * * EntryLevel: entry-level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
37287
+ * * EnterpriseLevel: enterprise-level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
37288
+ * * CreditEntryLevel: credit entry-level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview](https://help.aliyun.com/document_detail/59977.html) of burstable instances.
36877
37289
  *
36878
37290
  * @example
36879
37291
  * EnterpriseLevel
@@ -36886,7 +37298,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36886
37298
  instanceTypeFamilies?: string[];
36887
37299
  /**
36888
37300
  * @remarks
36889
- * The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to filter the available instance types.
37301
+ * The maximum hourly price of pay-as-you-go or preemptible instances in intelligent configuration mode. You can specify this parameter to obtain the available instance types.
36890
37302
  *
36891
37303
  * > If you set SpotStrategy to SpotWithPriceLimit, you must specify this parameter. In other cases, this parameter is optional.
36892
37304
  *
@@ -36930,7 +37342,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36930
37342
  memory?: number;
36931
37343
  /**
36932
37344
  * @remarks
36933
- * The baseline vCPU computing performance (overall baseline performance of all vCPUs) per t5 or t6 burstable instance.
37345
+ * The baseline vCPU computing performance (overall baseline performance of all vCPUs) of each t5 or t6 burstable instance.
36934
37346
  *
36935
37347
  * @example
36936
37348
  * 12
@@ -36978,7 +37390,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36978
37390
  minimumGpuAmount?: number;
36979
37391
  /**
36980
37392
  * @remarks
36981
- * The initial vCPU credits per t5 or t6 burstable instance.
37393
+ * The initial vCPU credits of each t5 or t6 burstable instance.
36982
37394
  *
36983
37395
  * @example
36984
37396
  * 12
@@ -36994,7 +37406,7 @@ export class ModifyScalingConfigurationShrinkRequestInstancePatternInfos extends
36994
37406
  minimumMemorySize?: number;
36995
37407
  /**
36996
37408
  * @remarks
36997
- * The processor models of instance types. You can specify up to 10 processor models.
37409
+ * The processor models of the instance types. You can specify up to 10 processor models.
36998
37410
  */
36999
37411
  physicalProcessorModels?: string[];
37000
37412
  static names(): { [key: string]: string } {
@@ -37251,9 +37663,49 @@ export class ModifyScalingConfigurationShrinkRequestSpotPriceLimits extends $tea
37251
37663
  }
37252
37664
 
37253
37665
  export class ModifyScalingGroupRequestCapacityOptions extends $tea.Model {
37666
+ /**
37667
+ * @remarks
37668
+ * Specifies whether to automatically create pay-as-you-go instances to meet the requirements on the number of ECS instances in the scaling group when the number of preemptible instances cannot be reached due to reasons such as cost-related issues and insufficient resources. This parameter takes effect only if you set `MultiAZPolicy` in the `CreateScalingGroup` operation to `COST_OPTIMIZED`. Valid values:
37669
+ *
37670
+ * * true
37671
+ * * false
37672
+ *
37673
+ * @example
37674
+ * true
37675
+ */
37254
37676
  compensateWithOnDemand?: boolean;
37677
+ /**
37678
+ * @remarks
37679
+ * The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
37680
+ *
37681
+ * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
37682
+ *
37683
+ * @example
37684
+ * 30
37685
+ */
37255
37686
  onDemandBaseCapacity?: number;
37687
+ /**
37688
+ * @remarks
37689
+ * The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. `OnDemandBaseCapacity` specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100
37690
+ *
37691
+ * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
37692
+ *
37693
+ * @example
37694
+ * 20
37695
+ */
37256
37696
  onDemandPercentageAboveBaseCapacity?: number;
37697
+ /**
37698
+ * @remarks
37699
+ * Specifies whether to replace pay-as-you-go ECS instances with preemptible ECS instances. If you specify `CompensateWithOnDemand`, it may result in a higher percentage of pay-as-you-go instances compared to the value of `OnDemandPercentageAboveBaseCapacity`. In this scenario, Auto Scaling will try to deploy preemptible ECS instances to replace the surplus pay-as-you-go ECS instances. When `CompensateWithOnDemand` is specified, Auto Scaling creates pay-as-you-go ECS instances if there are not enough preemptible instance types. To avoid keeping these pay-as-you-go ECS instances for long periods, Auto Scaling tries to replace them with preemptible instances as soon as enough of preemptible instance types become available. Valid values:
37700
+ *
37701
+ * * true
37702
+ * * false
37703
+ *
37704
+ * Default value: false.
37705
+ *
37706
+ * @example
37707
+ * true
37708
+ */
37257
37709
  spotAutoReplaceOnDemand?: boolean;
37258
37710
  static names(): { [key: string]: string } {
37259
37711
  return {
@@ -37707,9 +38159,9 @@ export class StartInstanceRefreshRequestDesiredConfiguration extends $tea.Model
37707
38159
  export class TagResourcesRequestTags extends $tea.Model {
37708
38160
  /**
37709
38161
  * @remarks
37710
- * The key of the tag that you want to add to the Auto Scaling resource.
38162
+ * The tag key.
37711
38163
  *
37712
- * You cannot specify empty strings as tag keys. The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
38164
+ * You cannot specify an empty string as a tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag key cannot contain `http://` or `https://`.
37713
38165
  *
37714
38166
  * @example
37715
38167
  * TestKey
@@ -37719,8 +38171,8 @@ export class TagResourcesRequestTags extends $tea.Model {
37719
38171
  * @remarks
37720
38172
  * Specifies whether to propagate the tag that you want to add. Valid values:
37721
38173
  *
37722
- * * true: propagates the tag only to instances that are newly created and does not propagate the tag to instances that are already running in the scaling group.
37723
- * * false: does not propagate the tag to any instances.
38174
+ * * true: propagates the tag to new instances.
38175
+ * * false: does not propagate the tag to any instance.
37724
38176
  *
37725
38177
  * Default value: false.
37726
38178
  *
@@ -37730,9 +38182,9 @@ export class TagResourcesRequestTags extends $tea.Model {
37730
38182
  propagate?: boolean;
37731
38183
  /**
37732
38184
  * @remarks
37733
- * The value of the tag that you want to add to the Auto Scaling resource.
38185
+ * The tag value.
37734
38186
  *
37735
- * You can specify empty strings as tag values. The tag value must be 0 to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `acs:`.
38187
+ * You can specify empty strings as tag values. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
37736
38188
  *
37737
38189
  * @example
37738
38190
  * TestValue
@@ -37764,6 +38216,9 @@ export default class Client extends OpenApi {
37764
38216
 
37765
38217
  constructor(config: $OpenApi.Config) {
37766
38218
  super(config);
38219
+ this._productId = "Ess";
38220
+ let gatewayClient = new GatewayClient();
38221
+ this._spi = gatewayClient;
37767
38222
  this._endpointRule = "regional";
37768
38223
  this._endpointMap = {
37769
38224
  'cn-qingdao': "ess.aliyuncs.com",
@@ -37877,7 +38332,12 @@ export default class Client extends OpenApi {
37877
38332
  reqBodyType: "formData",
37878
38333
  bodyType: "json",
37879
38334
  });
37880
- return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38335
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38336
+ return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38337
+ } else {
38338
+ return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
38339
+ }
38340
+
37881
38341
  }
37882
38342
 
37883
38343
  /**
@@ -37966,7 +38426,12 @@ export default class Client extends OpenApi {
37966
38426
  reqBodyType: "formData",
37967
38427
  bodyType: "json",
37968
38428
  });
37969
- return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
38429
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38430
+ return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
38431
+ } else {
38432
+ return $tea.cast<ApplyScalingGroupResponse>(await this.execute(params, req, runtime), new ApplyScalingGroupResponse({}));
38433
+ }
38434
+
37970
38435
  }
37971
38436
 
37972
38437
  /**
@@ -38071,7 +38536,12 @@ export default class Client extends OpenApi {
38071
38536
  reqBodyType: "formData",
38072
38537
  bodyType: "json",
38073
38538
  });
38074
- return $tea.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38539
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38540
+ return $tea.cast<AttachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38541
+ } else {
38542
+ return $tea.cast<AttachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new AttachAlbServerGroupsResponse({}));
38543
+ }
38544
+
38075
38545
  }
38076
38546
 
38077
38547
  /**
@@ -38159,7 +38629,12 @@ export default class Client extends OpenApi {
38159
38629
  reqBodyType: "formData",
38160
38630
  bodyType: "json",
38161
38631
  });
38162
- return $tea.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
38632
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38633
+ return $tea.cast<AttachDBInstancesResponse>(await this.callApi(params, req, runtime), new AttachDBInstancesResponse({}));
38634
+ } else {
38635
+ return $tea.cast<AttachDBInstancesResponse>(await this.execute(params, req, runtime), new AttachDBInstancesResponse({}));
38636
+ }
38637
+
38163
38638
  }
38164
38639
 
38165
38640
  /**
@@ -38266,7 +38741,12 @@ export default class Client extends OpenApi {
38266
38741
  reqBodyType: "formData",
38267
38742
  bodyType: "json",
38268
38743
  });
38269
- return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
38744
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38745
+ return $tea.cast<AttachInstancesResponse>(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
38746
+ } else {
38747
+ return $tea.cast<AttachInstancesResponse>(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
38748
+ }
38749
+
38270
38750
  }
38271
38751
 
38272
38752
  /**
@@ -38361,7 +38841,12 @@ export default class Client extends OpenApi {
38361
38841
  reqBodyType: "formData",
38362
38842
  bodyType: "json",
38363
38843
  });
38364
- return $tea.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
38844
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38845
+ return $tea.cast<AttachLoadBalancersResponse>(await this.callApi(params, req, runtime), new AttachLoadBalancersResponse({}));
38846
+ } else {
38847
+ return $tea.cast<AttachLoadBalancersResponse>(await this.execute(params, req, runtime), new AttachLoadBalancersResponse({}));
38848
+ }
38849
+
38365
38850
  }
38366
38851
 
38367
38852
  /**
@@ -38436,7 +38921,12 @@ export default class Client extends OpenApi {
38436
38921
  reqBodyType: "formData",
38437
38922
  bodyType: "json",
38438
38923
  });
38439
- return $tea.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
38924
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
38925
+ return $tea.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
38926
+ } else {
38927
+ return $tea.cast<AttachServerGroupsResponse>(await this.execute(params, req, runtime), new AttachServerGroupsResponse({}));
38928
+ }
38929
+
38440
38930
  }
38441
38931
 
38442
38932
  /**
@@ -38519,7 +39009,12 @@ export default class Client extends OpenApi {
38519
39009
  reqBodyType: "formData",
38520
39010
  bodyType: "json",
38521
39011
  });
38522
- return $tea.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
39012
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39013
+ return $tea.cast<AttachVServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachVServerGroupsResponse({}));
39014
+ } else {
39015
+ return $tea.cast<AttachVServerGroupsResponse>(await this.execute(params, req, runtime), new AttachVServerGroupsResponse({}));
39016
+ }
39017
+
38523
39018
  }
38524
39019
 
38525
39020
  /**
@@ -38551,7 +39046,7 @@ export default class Client extends OpenApi {
38551
39046
  }
38552
39047
 
38553
39048
  /**
38554
- * Cancels an instance refresh task. Take note that new instances that are used to replace old instances or that are scaled out still exist after you call this operation.
39049
+ * 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.
38555
39050
  *
38556
39051
  * @remarks
38557
39052
  * You cannot call this operation to cancel instance refresh tasks that are being rolled back.
@@ -38597,11 +39092,16 @@ export default class Client extends OpenApi {
38597
39092
  reqBodyType: "formData",
38598
39093
  bodyType: "json",
38599
39094
  });
38600
- return $tea.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
39095
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39096
+ return $tea.cast<CancelInstanceRefreshResponse>(await this.callApi(params, req, runtime), new CancelInstanceRefreshResponse({}));
39097
+ } else {
39098
+ return $tea.cast<CancelInstanceRefreshResponse>(await this.execute(params, req, runtime), new CancelInstanceRefreshResponse({}));
39099
+ }
39100
+
38601
39101
  }
38602
39102
 
38603
39103
  /**
38604
- * Cancels an instance refresh task. Take note that new instances that are used to replace old instances or that are scaled out still exist after you call this operation.
39104
+ * 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.
38605
39105
  *
38606
39106
  * @remarks
38607
39107
  * You cannot call this operation to cancel instance refresh tasks that are being rolled back.
@@ -38666,7 +39166,12 @@ export default class Client extends OpenApi {
38666
39166
  reqBodyType: "formData",
38667
39167
  bodyType: "json",
38668
39168
  });
38669
- return $tea.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
39169
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39170
+ return $tea.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
39171
+ } else {
39172
+ return $tea.cast<ChangeResourceGroupResponse>(await this.execute(params, req, runtime), new ChangeResourceGroupResponse({}));
39173
+ }
39174
+
38670
39175
  }
38671
39176
 
38672
39177
  /**
@@ -38743,7 +39248,12 @@ export default class Client extends OpenApi {
38743
39248
  reqBodyType: "formData",
38744
39249
  bodyType: "json",
38745
39250
  });
38746
- return $tea.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
39251
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39252
+ return $tea.cast<CompleteLifecycleActionResponse>(await this.callApi(params, req, runtime), new CompleteLifecycleActionResponse({}));
39253
+ } else {
39254
+ return $tea.cast<CompleteLifecycleActionResponse>(await this.execute(params, req, runtime), new CompleteLifecycleActionResponse({}));
39255
+ }
39256
+
38747
39257
  }
38748
39258
 
38749
39259
  /**
@@ -38867,7 +39377,12 @@ export default class Client extends OpenApi {
38867
39377
  reqBodyType: "formData",
38868
39378
  bodyType: "json",
38869
39379
  });
38870
- return $tea.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
39380
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39381
+ return $tea.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
39382
+ } else {
39383
+ return $tea.cast<CreateAlarmResponse>(await this.execute(params, req, runtime), new CreateAlarmResponse({}));
39384
+ }
39385
+
38871
39386
  }
38872
39387
 
38873
39388
  /**
@@ -38889,7 +39404,7 @@ export default class Client extends OpenApi {
38889
39404
  }
38890
39405
 
38891
39406
  /**
38892
- * CreateDiagnoseReport
39407
+ * Creates a diagnostic report.
38893
39408
  *
38894
39409
  * @param request - CreateDiagnoseReportRequest
38895
39410
  * @param runtime - runtime options for this request RuntimeOptions
@@ -38912,11 +39427,16 @@ export default class Client extends OpenApi {
38912
39427
  reqBodyType: "formData",
38913
39428
  bodyType: "json",
38914
39429
  });
38915
- return $tea.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
39430
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39431
+ return $tea.cast<CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new CreateDiagnoseReportResponse({}));
39432
+ } else {
39433
+ return $tea.cast<CreateDiagnoseReportResponse>(await this.execute(params, req, runtime), new CreateDiagnoseReportResponse({}));
39434
+ }
39435
+
38916
39436
  }
38917
39437
 
38918
39438
  /**
38919
- * CreateDiagnoseReport
39439
+ * Creates a diagnostic report.
38920
39440
  *
38921
39441
  * @param request - CreateDiagnoseReportRequest
38922
39442
  * @returns CreateDiagnoseReportResponse
@@ -39154,7 +39674,12 @@ export default class Client extends OpenApi {
39154
39674
  reqBodyType: "formData",
39155
39675
  bodyType: "json",
39156
39676
  });
39157
- return $tea.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39677
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39678
+ return $tea.cast<CreateEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39679
+ } else {
39680
+ return $tea.cast<CreateEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateEciScalingConfigurationResponse({}));
39681
+ }
39682
+
39158
39683
  }
39159
39684
 
39160
39685
  /**
@@ -39242,7 +39767,12 @@ export default class Client extends OpenApi {
39242
39767
  reqBodyType: "formData",
39243
39768
  bodyType: "json",
39244
39769
  });
39245
- return $tea.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
39770
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39771
+ return $tea.cast<CreateLifecycleHookResponse>(await this.callApi(params, req, runtime), new CreateLifecycleHookResponse({}));
39772
+ } else {
39773
+ return $tea.cast<CreateLifecycleHookResponse>(await this.execute(params, req, runtime), new CreateLifecycleHookResponse({}));
39774
+ }
39775
+
39246
39776
  }
39247
39777
 
39248
39778
  /**
@@ -39266,9 +39796,9 @@ export default class Client extends OpenApi {
39266
39796
  * 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.
39267
39797
  *
39268
39798
  * @remarks
39269
- * You can enable a CloudMonitor system event, Message Service (MNS) queue, or MNS topic to receive notifications. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or MNS.
39799
+ * You can specify CloudMonitor system events, Simple Message Queue (SMQ, formerly MNS) topics, or SMQ queues as notification recipients. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or SMQ.
39270
39800
  * * You cannot specify the same recipient for notifications of different event types in a scaling group.
39271
- * For example, you cannot enable the same CloudMonitor system event, MNS topic, or MNS queue to receive notifications of different event types in a scaling group.
39801
+ * For example, you cannot enable the same CloudMonitor system event, SMQ topic, or SMQ queue to receive notifications of different event types in a scaling group.
39272
39802
  *
39273
39803
  * @param request - CreateNotificationConfigurationRequest
39274
39804
  * @param runtime - runtime options for this request RuntimeOptions
@@ -39319,16 +39849,21 @@ export default class Client extends OpenApi {
39319
39849
  reqBodyType: "formData",
39320
39850
  bodyType: "json",
39321
39851
  });
39322
- return $tea.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39852
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
39853
+ return $tea.cast<CreateNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39854
+ } else {
39855
+ return $tea.cast<CreateNotificationConfigurationResponse>(await this.execute(params, req, runtime), new CreateNotificationConfigurationResponse({}));
39856
+ }
39857
+
39323
39858
  }
39324
39859
 
39325
39860
  /**
39326
39861
  * 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.
39327
39862
  *
39328
39863
  * @remarks
39329
- * You can enable a CloudMonitor system event, Message Service (MNS) queue, or MNS topic to receive notifications. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or MNS.
39864
+ * You can specify CloudMonitor system events, Simple Message Queue (SMQ, formerly MNS) topics, or SMQ queues as notification recipients. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or SMQ.
39330
39865
  * * You cannot specify the same recipient for notifications of different event types in a scaling group.
39331
- * For example, you cannot enable the same CloudMonitor system event, MNS topic, or MNS queue to receive notifications of different event types in a scaling group.
39866
+ * For example, you cannot enable the same CloudMonitor system event, SMQ topic, or SMQ queue to receive notifications of different event types in a scaling group.
39332
39867
  *
39333
39868
  * @param request - CreateNotificationConfigurationRequest
39334
39869
  * @returns CreateNotificationConfigurationResponse
@@ -39617,7 +40152,12 @@ export default class Client extends OpenApi {
39617
40152
  reqBodyType: "formData",
39618
40153
  bodyType: "json",
39619
40154
  });
39620
- return $tea.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
40155
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40156
+ return $tea.cast<CreateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new CreateScalingConfigurationResponse({}));
40157
+ } else {
40158
+ return $tea.cast<CreateScalingConfigurationResponse>(await this.execute(params, req, runtime), new CreateScalingConfigurationResponse({}));
40159
+ }
40160
+
39621
40161
  }
39622
40162
 
39623
40163
  /**
@@ -39876,7 +40416,12 @@ export default class Client extends OpenApi {
39876
40416
  reqBodyType: "formData",
39877
40417
  bodyType: "json",
39878
40418
  });
39879
- return $tea.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
40419
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40420
+ return $tea.cast<CreateScalingGroupResponse>(await this.callApi(params, req, runtime), new CreateScalingGroupResponse({}));
40421
+ } else {
40422
+ return $tea.cast<CreateScalingGroupResponse>(await this.execute(params, req, runtime), new CreateScalingGroupResponse({}));
40423
+ }
40424
+
39880
40425
  }
39881
40426
 
39882
40427
  /**
@@ -40060,7 +40605,12 @@ export default class Client extends OpenApi {
40060
40605
  reqBodyType: "formData",
40061
40606
  bodyType: "json",
40062
40607
  });
40063
- return $tea.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
40608
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40609
+ return $tea.cast<CreateScalingRuleResponse>(await this.callApi(params, req, runtime), new CreateScalingRuleResponse({}));
40610
+ } else {
40611
+ return $tea.cast<CreateScalingRuleResponse>(await this.execute(params, req, runtime), new CreateScalingRuleResponse({}));
40612
+ }
40613
+
40064
40614
  }
40065
40615
 
40066
40616
  /**
@@ -40191,7 +40741,12 @@ export default class Client extends OpenApi {
40191
40741
  reqBodyType: "formData",
40192
40742
  bodyType: "json",
40193
40743
  });
40194
- return $tea.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
40744
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40745
+ return $tea.cast<CreateScheduledTaskResponse>(await this.callApi(params, req, runtime), new CreateScheduledTaskResponse({}));
40746
+ } else {
40747
+ return $tea.cast<CreateScheduledTaskResponse>(await this.execute(params, req, runtime), new CreateScheduledTaskResponse({}));
40748
+ }
40749
+
40195
40750
  }
40196
40751
 
40197
40752
  /**
@@ -40259,7 +40814,12 @@ export default class Client extends OpenApi {
40259
40814
  reqBodyType: "formData",
40260
40815
  bodyType: "json",
40261
40816
  });
40262
- return $tea.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40817
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40818
+ return $tea.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40819
+ } else {
40820
+ return $tea.cast<DeactivateScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
40821
+ }
40822
+
40263
40823
  }
40264
40824
 
40265
40825
  /**
@@ -40316,7 +40876,12 @@ export default class Client extends OpenApi {
40316
40876
  reqBodyType: "formData",
40317
40877
  bodyType: "json",
40318
40878
  });
40319
- return $tea.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
40879
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40880
+ return $tea.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
40881
+ } else {
40882
+ return $tea.cast<DeleteAlarmResponse>(await this.execute(params, req, runtime), new DeleteAlarmResponse({}));
40883
+ }
40884
+
40320
40885
  }
40321
40886
 
40322
40887
  /**
@@ -40379,7 +40944,12 @@ export default class Client extends OpenApi {
40379
40944
  reqBodyType: "formData",
40380
40945
  bodyType: "json",
40381
40946
  });
40382
- return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40947
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
40948
+ return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40949
+ } else {
40950
+ return $tea.cast<DeleteEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
40951
+ }
40952
+
40383
40953
  }
40384
40954
 
40385
40955
  /**
@@ -40455,7 +41025,12 @@ export default class Client extends OpenApi {
40455
41025
  reqBodyType: "formData",
40456
41026
  bodyType: "json",
40457
41027
  });
40458
- return $tea.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
41028
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41029
+ return $tea.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
41030
+ } else {
41031
+ return $tea.cast<DeleteLifecycleHookResponse>(await this.execute(params, req, runtime), new DeleteLifecycleHookResponse({}));
41032
+ }
41033
+
40459
41034
  }
40460
41035
 
40461
41036
  /**
@@ -40518,7 +41093,12 @@ export default class Client extends OpenApi {
40518
41093
  reqBodyType: "formData",
40519
41094
  bodyType: "json",
40520
41095
  });
40521
- return $tea.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41096
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41097
+ return $tea.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41098
+ } else {
41099
+ return $tea.cast<DeleteNotificationConfigurationResponse>(await this.execute(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
41100
+ }
41101
+
40522
41102
  }
40523
41103
 
40524
41104
  /**
@@ -40577,7 +41157,12 @@ export default class Client extends OpenApi {
40577
41157
  reqBodyType: "formData",
40578
41158
  bodyType: "json",
40579
41159
  });
40580
- return $tea.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41160
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41161
+ return $tea.cast<DeleteScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41162
+ } else {
41163
+ return $tea.cast<DeleteScalingConfigurationResponse>(await this.execute(params, req, runtime), new DeleteScalingConfigurationResponse({}));
41164
+ }
41165
+
40581
41166
  }
40582
41167
 
40583
41168
  /**
@@ -40656,7 +41241,12 @@ export default class Client extends OpenApi {
40656
41241
  reqBodyType: "formData",
40657
41242
  bodyType: "json",
40658
41243
  });
40659
- return $tea.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
41244
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41245
+ return $tea.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
41246
+ } else {
41247
+ return $tea.cast<DeleteScalingGroupResponse>(await this.execute(params, req, runtime), new DeleteScalingGroupResponse({}));
41248
+ }
41249
+
40660
41250
  }
40661
41251
 
40662
41252
  /**
@@ -40726,7 +41316,12 @@ export default class Client extends OpenApi {
40726
41316
  reqBodyType: "formData",
40727
41317
  bodyType: "json",
40728
41318
  });
40729
- return $tea.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
41319
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41320
+ return $tea.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
41321
+ } else {
41322
+ return $tea.cast<DeleteScalingRuleResponse>(await this.execute(params, req, runtime), new DeleteScalingRuleResponse({}));
41323
+ }
41324
+
40730
41325
  }
40731
41326
 
40732
41327
  /**
@@ -40784,7 +41379,12 @@ export default class Client extends OpenApi {
40784
41379
  reqBodyType: "formData",
40785
41380
  bodyType: "json",
40786
41381
  });
40787
- return $tea.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
41382
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41383
+ return $tea.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
41384
+ } else {
41385
+ return $tea.cast<DeleteScheduledTaskResponse>(await this.execute(params, req, runtime), new DeleteScheduledTaskResponse({}));
41386
+ }
41387
+
40788
41388
  }
40789
41389
 
40790
41390
  /**
@@ -40866,7 +41466,12 @@ export default class Client extends OpenApi {
40866
41466
  reqBodyType: "formData",
40867
41467
  bodyType: "json",
40868
41468
  });
40869
- return $tea.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
41469
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41470
+ return $tea.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
41471
+ } else {
41472
+ return $tea.cast<DescribeAlarmsResponse>(await this.execute(params, req, runtime), new DescribeAlarmsResponse({}));
41473
+ }
41474
+
40870
41475
  }
40871
41476
 
40872
41477
  /**
@@ -40920,7 +41525,12 @@ export default class Client extends OpenApi {
40920
41525
  reqBodyType: "formData",
40921
41526
  bodyType: "json",
40922
41527
  });
40923
- return $tea.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41528
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41529
+ return $tea.cast<DescribeAlertConfigurationResponse>(await this.callApi(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41530
+ } else {
41531
+ return $tea.cast<DescribeAlertConfigurationResponse>(await this.execute(params, req, runtime), new DescribeAlertConfigurationResponse({}));
41532
+ }
41533
+
40924
41534
  }
40925
41535
 
40926
41536
  /**
@@ -40935,7 +41545,7 @@ export default class Client extends OpenApi {
40935
41545
  }
40936
41546
 
40937
41547
  /**
40938
- * DescribeDiagnoseReports
41548
+ * Queries the diagnostic reports.
40939
41549
  *
40940
41550
  * @param request - DescribeDiagnoseReportsRequest
40941
41551
  * @param runtime - runtime options for this request RuntimeOptions
@@ -40958,11 +41568,16 @@ export default class Client extends OpenApi {
40958
41568
  reqBodyType: "formData",
40959
41569
  bodyType: "json",
40960
41570
  });
40961
- return $tea.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41571
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41572
+ return $tea.cast<DescribeDiagnoseReportsResponse>(await this.callApi(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41573
+ } else {
41574
+ return $tea.cast<DescribeDiagnoseReportsResponse>(await this.execute(params, req, runtime), new DescribeDiagnoseReportsResponse({}));
41575
+ }
41576
+
40962
41577
  }
40963
41578
 
40964
41579
  /**
40965
- * DescribeDiagnoseReports
41580
+ * Queries the diagnostic reports.
40966
41581
  *
40967
41582
  * @param request - DescribeDiagnoseReportsRequest
40968
41583
  * @returns DescribeDiagnoseReportsResponse
@@ -41012,7 +41627,12 @@ export default class Client extends OpenApi {
41012
41627
  reqBodyType: "formData",
41013
41628
  bodyType: "json",
41014
41629
  });
41015
- return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41630
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41631
+ return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41632
+ } else {
41633
+ return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
41634
+ }
41635
+
41016
41636
  }
41017
41637
 
41018
41638
  /**
@@ -41090,7 +41710,12 @@ export default class Client extends OpenApi {
41090
41710
  reqBodyType: "formData",
41091
41711
  bodyType: "json",
41092
41712
  });
41093
- return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41713
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41714
+ return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41715
+ } else {
41716
+ return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
41717
+ }
41718
+
41094
41719
  }
41095
41720
 
41096
41721
  /**
@@ -41105,7 +41730,7 @@ export default class Client extends OpenApi {
41105
41730
  }
41106
41731
 
41107
41732
  /**
41108
- * DescribeElasticStrength
41733
+ * 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.
41109
41734
  *
41110
41735
  * @param request - DescribeElasticStrengthRequest
41111
41736
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41128,11 +41753,16 @@ export default class Client extends OpenApi {
41128
41753
  reqBodyType: "formData",
41129
41754
  bodyType: "json",
41130
41755
  });
41131
- return $tea.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
41756
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41757
+ return $tea.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
41758
+ } else {
41759
+ return $tea.cast<DescribeElasticStrengthResponse>(await this.execute(params, req, runtime), new DescribeElasticStrengthResponse({}));
41760
+ }
41761
+
41132
41762
  }
41133
41763
 
41134
41764
  /**
41135
- * DescribeElasticStrength
41765
+ * 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.
41136
41766
  *
41137
41767
  * @param request - DescribeElasticStrengthRequest
41138
41768
  * @returns DescribeElasticStrengthResponse
@@ -41202,7 +41832,12 @@ export default class Client extends OpenApi {
41202
41832
  reqBodyType: "formData",
41203
41833
  bodyType: "json",
41204
41834
  });
41205
- return $tea.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41835
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41836
+ return $tea.cast<DescribeInstanceRefreshesResponse>(await this.callApi(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41837
+ } else {
41838
+ return $tea.cast<DescribeInstanceRefreshesResponse>(await this.execute(params, req, runtime), new DescribeInstanceRefreshesResponse({}));
41839
+ }
41840
+
41206
41841
  }
41207
41842
 
41208
41843
  /**
@@ -41217,7 +41852,7 @@ export default class Client extends OpenApi {
41217
41852
  }
41218
41853
 
41219
41854
  /**
41220
- * Queries the details of a lifecycle hook. If you want to query the details of a lifecycle hook, you can call the DescribeLifecycleActions operation. For example, you can query the execution status and ID of a lifecycle hook, along with the Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect. When you call this operation, you can specify parameters such as ScalingActivityId, LifecycleActionToken, and MaxResults to query the details of a lifecycle hook.
41855
+ * 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.
41221
41856
  *
41222
41857
  * @remarks
41223
41858
  * If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
@@ -41275,11 +41910,16 @@ export default class Client extends OpenApi {
41275
41910
  reqBodyType: "formData",
41276
41911
  bodyType: "json",
41277
41912
  });
41278
- return $tea.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41913
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
41914
+ return $tea.cast<DescribeLifecycleActionsResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41915
+ } else {
41916
+ return $tea.cast<DescribeLifecycleActionsResponse>(await this.execute(params, req, runtime), new DescribeLifecycleActionsResponse({}));
41917
+ }
41918
+
41279
41919
  }
41280
41920
 
41281
41921
  /**
41282
- * Queries the details of a lifecycle hook. If you want to query the details of a lifecycle hook, you can call the DescribeLifecycleActions operation. For example, you can query the execution status and ID of a lifecycle hook, along with the Elastic Compute Service (ECS) instances on which the lifecycle hook takes effect. When you call this operation, you can specify parameters such as ScalingActivityId, LifecycleActionToken, and MaxResults to query the details of a lifecycle hook.
41922
+ * 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.
41283
41923
  *
41284
41924
  * @remarks
41285
41925
  * If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
@@ -41297,7 +41937,7 @@ export default class Client extends OpenApi {
41297
41937
  }
41298
41938
 
41299
41939
  /**
41300
- * Queries lifecycle hooks. If you want to check whether the configurations of your lifecycle hooks are correct or you want to query the details of multiple lifecycle hooks at the same time, you can call the DescribeLifecycleHooks operation. You can specify lifecycle hook IDs or scaling group IDs when you call this operation. This operation returns details such as the default actions, scaling activities, Alibaba Cloud Resource Names (ARNs) of notification recipients, and timeout periods of lifecycle hooks.
41940
+ * 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.
41301
41941
  *
41302
41942
  * @remarks
41303
41943
  * You can use one of the following methods to query lifecycle hooks:
@@ -41362,11 +42002,16 @@ export default class Client extends OpenApi {
41362
42002
  reqBodyType: "formData",
41363
42003
  bodyType: "json",
41364
42004
  });
41365
- return $tea.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42005
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42006
+ return $tea.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42007
+ } else {
42008
+ return $tea.cast<DescribeLifecycleHooksResponse>(await this.execute(params, req, runtime), new DescribeLifecycleHooksResponse({}));
42009
+ }
42010
+
41366
42011
  }
41367
42012
 
41368
42013
  /**
41369
- * Queries lifecycle hooks. If you want to check whether the configurations of your lifecycle hooks are correct or you want to query the details of multiple lifecycle hooks at the same time, you can call the DescribeLifecycleHooks operation. You can specify lifecycle hook IDs or scaling group IDs when you call this operation. This operation returns details such as the default actions, scaling activities, Alibaba Cloud Resource Names (ARNs) of notification recipients, and timeout periods of lifecycle hooks.
42014
+ * 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.
41370
42015
  *
41371
42016
  * @remarks
41372
42017
  * You can use one of the following methods to query lifecycle hooks:
@@ -41414,7 +42059,12 @@ export default class Client extends OpenApi {
41414
42059
  reqBodyType: "formData",
41415
42060
  bodyType: "json",
41416
42061
  });
41417
- return $tea.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
42062
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42063
+ return $tea.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
42064
+ } else {
42065
+ return $tea.cast<DescribeLimitationResponse>(await this.execute(params, req, runtime), new DescribeLimitationResponse({}));
42066
+ }
42067
+
41418
42068
  }
41419
42069
 
41420
42070
  /**
@@ -41468,7 +42118,12 @@ export default class Client extends OpenApi {
41468
42118
  reqBodyType: "formData",
41469
42119
  bodyType: "json",
41470
42120
  });
41471
- return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42121
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42122
+ return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42123
+ } else {
42124
+ return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
42125
+ }
42126
+
41472
42127
  }
41473
42128
 
41474
42129
  /**
@@ -41514,7 +42169,12 @@ export default class Client extends OpenApi {
41514
42169
  reqBodyType: "formData",
41515
42170
  bodyType: "json",
41516
42171
  });
41517
- return $tea.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
42172
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42173
+ return $tea.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
42174
+ } else {
42175
+ return $tea.cast<DescribeNotificationTypesResponse>(await this.execute(params, req, runtime), new DescribeNotificationTypesResponse({}));
42176
+ }
42177
+
41518
42178
  }
41519
42179
 
41520
42180
  /**
@@ -41552,7 +42212,12 @@ export default class Client extends OpenApi {
41552
42212
  reqBodyType: "formData",
41553
42213
  bodyType: "json",
41554
42214
  });
41555
- return $tea.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
42215
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42216
+ return $tea.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
42217
+ } else {
42218
+ return $tea.cast<DescribePatternTypesResponse>(await this.execute(params, req, runtime), new DescribePatternTypesResponse({}));
42219
+ }
42220
+
41556
42221
  }
41557
42222
 
41558
42223
  /**
@@ -41606,7 +42271,12 @@ export default class Client extends OpenApi {
41606
42271
  reqBodyType: "formData",
41607
42272
  bodyType: "json",
41608
42273
  });
41609
- return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
42274
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42275
+ return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
42276
+ } else {
42277
+ return $tea.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
42278
+ }
42279
+
41610
42280
  }
41611
42281
 
41612
42282
  /**
@@ -41693,7 +42363,12 @@ export default class Client extends OpenApi {
41693
42363
  reqBodyType: "formData",
41694
42364
  bodyType: "json",
41695
42365
  });
41696
- return $tea.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42366
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42367
+ return $tea.cast<DescribeScalingActivitiesResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42368
+ } else {
42369
+ return $tea.cast<DescribeScalingActivitiesResponse>(await this.execute(params, req, runtime), new DescribeScalingActivitiesResponse({}));
42370
+ }
42371
+
41697
42372
  }
41698
42373
 
41699
42374
  /**
@@ -41713,7 +42388,7 @@ export default class Client extends OpenApi {
41713
42388
  }
41714
42389
 
41715
42390
  /**
41716
- * Queries the details of a scaling activity. The DescribeScalingActivityDetail operation enables you to access and monitor the details of a scaling activity, which is beneficial for troubleshooting and performance analysis purposes.
42391
+ * 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.
41717
42392
  *
41718
42393
  * @param request - DescribeScalingActivityDetailRequest
41719
42394
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41752,11 +42427,16 @@ export default class Client extends OpenApi {
41752
42427
  reqBodyType: "formData",
41753
42428
  bodyType: "json",
41754
42429
  });
41755
- return $tea.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42430
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42431
+ return $tea.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42432
+ } else {
42433
+ return $tea.cast<DescribeScalingActivityDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
42434
+ }
42435
+
41756
42436
  }
41757
42437
 
41758
42438
  /**
41759
- * Queries the details of a scaling activity. The DescribeScalingActivityDetail operation enables you to access and monitor the details of a scaling activity, which is beneficial for troubleshooting and performance analysis purposes.
42439
+ * 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.
41760
42440
  *
41761
42441
  * @param request - DescribeScalingActivityDetailRequest
41762
42442
  * @returns DescribeScalingActivityDetailResponse
@@ -41830,7 +42510,12 @@ export default class Client extends OpenApi {
41830
42510
  reqBodyType: "formData",
41831
42511
  bodyType: "json",
41832
42512
  });
41833
- return $tea.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42513
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42514
+ return $tea.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42515
+ } else {
42516
+ return $tea.cast<DescribeScalingConfigurationsResponse>(await this.execute(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
42517
+ }
42518
+
41834
42519
  }
41835
42520
 
41836
42521
  /**
@@ -41884,7 +42569,12 @@ export default class Client extends OpenApi {
41884
42569
  reqBodyType: "formData",
41885
42570
  bodyType: "json",
41886
42571
  });
41887
- return $tea.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42572
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42573
+ return $tea.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42574
+ } else {
42575
+ return $tea.cast<DescribeScalingGroupDetailResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
42576
+ }
42577
+
41888
42578
  }
41889
42579
 
41890
42580
  /**
@@ -41899,7 +42589,7 @@ export default class Client extends OpenApi {
41899
42589
  }
41900
42590
 
41901
42591
  /**
41902
- * DescribeScalingGroupDiagnoseDetails
42592
+ * Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
41903
42593
  *
41904
42594
  * @param request - DescribeScalingGroupDiagnoseDetailsRequest
41905
42595
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41922,11 +42612,16 @@ export default class Client extends OpenApi {
41922
42612
  reqBodyType: "formData",
41923
42613
  bodyType: "json",
41924
42614
  });
41925
- return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42615
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42616
+ return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42617
+ } else {
42618
+ return $tea.cast<DescribeScalingGroupDiagnoseDetailsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupDiagnoseDetailsResponse({}));
42619
+ }
42620
+
41926
42621
  }
41927
42622
 
41928
42623
  /**
41929
- * DescribeScalingGroupDiagnoseDetails
42624
+ * Queries the latest diagnosis details for a scaling group. Diagnosis details are only returned in the presence of exceptions.
41930
42625
  *
41931
42626
  * @param request - DescribeScalingGroupDiagnoseDetailsRequest
41932
42627
  * @returns DescribeScalingGroupDiagnoseDetailsResponse
@@ -42012,7 +42707,12 @@ export default class Client extends OpenApi {
42012
42707
  reqBodyType: "formData",
42013
42708
  bodyType: "json",
42014
42709
  });
42015
- return $tea.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
42710
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42711
+ return $tea.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
42712
+ } else {
42713
+ return $tea.cast<DescribeScalingGroupsResponse>(await this.execute(params, req, runtime), new DescribeScalingGroupsResponse({}));
42714
+ }
42715
+
42016
42716
  }
42017
42717
 
42018
42718
  /**
@@ -42114,7 +42814,12 @@ export default class Client extends OpenApi {
42114
42814
  reqBodyType: "formData",
42115
42815
  bodyType: "json",
42116
42816
  });
42117
- return $tea.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
42817
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42818
+ return $tea.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
42819
+ } else {
42820
+ return $tea.cast<DescribeScalingInstancesResponse>(await this.execute(params, req, runtime), new DescribeScalingInstancesResponse({}));
42821
+ }
42822
+
42118
42823
  }
42119
42824
 
42120
42825
  /**
@@ -42207,7 +42912,12 @@ export default class Client extends OpenApi {
42207
42912
  reqBodyType: "formData",
42208
42913
  bodyType: "json",
42209
42914
  });
42210
- return $tea.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
42915
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
42916
+ return $tea.cast<DescribeScalingRulesResponse>(await this.callApi(params, req, runtime), new DescribeScalingRulesResponse({}));
42917
+ } else {
42918
+ return $tea.cast<DescribeScalingRulesResponse>(await this.execute(params, req, runtime), new DescribeScalingRulesResponse({}));
42919
+ }
42920
+
42211
42921
  }
42212
42922
 
42213
42923
  /**
@@ -42311,7 +43021,12 @@ export default class Client extends OpenApi {
42311
43021
  reqBodyType: "formData",
42312
43022
  bodyType: "json",
42313
43023
  });
42314
- return $tea.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
43024
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43025
+ return $tea.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
43026
+ } else {
43027
+ return $tea.cast<DescribeScheduledTasksResponse>(await this.execute(params, req, runtime), new DescribeScheduledTasksResponse({}));
43028
+ }
43029
+
42315
43030
  }
42316
43031
 
42317
43032
  /**
@@ -42380,7 +43095,12 @@ export default class Client extends OpenApi {
42380
43095
  reqBodyType: "formData",
42381
43096
  bodyType: "json",
42382
43097
  });
42383
- return $tea.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43098
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43099
+ return $tea.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43100
+ } else {
43101
+ return $tea.cast<DetachAlbServerGroupsResponse>(await this.execute(params, req, runtime), new DetachAlbServerGroupsResponse({}));
43102
+ }
43103
+
42384
43104
  }
42385
43105
 
42386
43106
  /**
@@ -42395,7 +43115,7 @@ export default class Client extends OpenApi {
42395
43115
  }
42396
43116
 
42397
43117
  /**
42398
- * Disassociates one or more ApsaraDB RDS instances from a scaling group.
43118
+ * 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.
42399
43119
  *
42400
43120
  * @param request - DetachDBInstancesRequest
42401
43121
  * @param runtime - runtime options for this request RuntimeOptions
@@ -42450,11 +43170,16 @@ export default class Client extends OpenApi {
42450
43170
  reqBodyType: "formData",
42451
43171
  bodyType: "json",
42452
43172
  });
42453
- return $tea.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
43173
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43174
+ return $tea.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
43175
+ } else {
43176
+ return $tea.cast<DetachDBInstancesResponse>(await this.execute(params, req, runtime), new DetachDBInstancesResponse({}));
43177
+ }
43178
+
42454
43179
  }
42455
43180
 
42456
43181
  /**
42457
- * Disassociates one or more ApsaraDB RDS instances from a scaling group.
43182
+ * 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.
42458
43183
  *
42459
43184
  * @param request - DetachDBInstancesRequest
42460
43185
  * @returns DetachDBInstancesResponse
@@ -42544,7 +43269,12 @@ export default class Client extends OpenApi {
42544
43269
  reqBodyType: "formData",
42545
43270
  bodyType: "json",
42546
43271
  });
42547
- return $tea.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
43272
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43273
+ return $tea.cast<DetachInstancesResponse>(await this.callApi(params, req, runtime), new DetachInstancesResponse({}));
43274
+ } else {
43275
+ return $tea.cast<DetachInstancesResponse>(await this.execute(params, req, runtime), new DetachInstancesResponse({}));
43276
+ }
43277
+
42548
43278
  }
42549
43279
 
42550
43280
  /**
@@ -42626,7 +43356,12 @@ export default class Client extends OpenApi {
42626
43356
  reqBodyType: "formData",
42627
43357
  bodyType: "json",
42628
43358
  });
42629
- return $tea.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
43359
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43360
+ return $tea.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
43361
+ } else {
43362
+ return $tea.cast<DetachLoadBalancersResponse>(await this.execute(params, req, runtime), new DetachLoadBalancersResponse({}));
43363
+ }
43364
+
42630
43365
  }
42631
43366
 
42632
43367
  /**
@@ -42692,7 +43427,12 @@ export default class Client extends OpenApi {
42692
43427
  reqBodyType: "formData",
42693
43428
  bodyType: "json",
42694
43429
  });
42695
- return $tea.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
43430
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43431
+ return $tea.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
43432
+ } else {
43433
+ return $tea.cast<DetachServerGroupsResponse>(await this.execute(params, req, runtime), new DetachServerGroupsResponse({}));
43434
+ }
43435
+
42696
43436
  }
42697
43437
 
42698
43438
  /**
@@ -42766,7 +43506,12 @@ export default class Client extends OpenApi {
42766
43506
  reqBodyType: "formData",
42767
43507
  bodyType: "json",
42768
43508
  });
42769
- return $tea.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
43509
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43510
+ return $tea.cast<DetachVServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachVServerGroupsResponse({}));
43511
+ } else {
43512
+ return $tea.cast<DetachVServerGroupsResponse>(await this.execute(params, req, runtime), new DetachVServerGroupsResponse({}));
43513
+ }
43514
+
42770
43515
  }
42771
43516
 
42772
43517
  /**
@@ -42831,7 +43576,12 @@ export default class Client extends OpenApi {
42831
43576
  reqBodyType: "formData",
42832
43577
  bodyType: "json",
42833
43578
  });
42834
- return $tea.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
43579
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43580
+ return $tea.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
43581
+ } else {
43582
+ return $tea.cast<DisableAlarmResponse>(await this.execute(params, req, runtime), new DisableAlarmResponse({}));
43583
+ }
43584
+
42835
43585
  }
42836
43586
 
42837
43587
  /**
@@ -42897,7 +43647,12 @@ export default class Client extends OpenApi {
42897
43647
  reqBodyType: "formData",
42898
43648
  bodyType: "json",
42899
43649
  });
42900
- return $tea.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
43650
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43651
+ return $tea.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
43652
+ } else {
43653
+ return $tea.cast<DisableScalingGroupResponse>(await this.execute(params, req, runtime), new DisableScalingGroupResponse({}));
43654
+ }
43655
+
42901
43656
  }
42902
43657
 
42903
43658
  /**
@@ -42956,7 +43711,12 @@ export default class Client extends OpenApi {
42956
43711
  reqBodyType: "formData",
42957
43712
  bodyType: "json",
42958
43713
  });
42959
- return $tea.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
43714
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43715
+ return $tea.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
43716
+ } else {
43717
+ return $tea.cast<EnableAlarmResponse>(await this.execute(params, req, runtime), new EnableAlarmResponse({}));
43718
+ }
43719
+
42960
43720
  }
42961
43721
 
42962
43722
  /**
@@ -43050,7 +43810,12 @@ export default class Client extends OpenApi {
43050
43810
  reqBodyType: "formData",
43051
43811
  bodyType: "json",
43052
43812
  });
43053
- return $tea.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
43813
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43814
+ return $tea.cast<EnableScalingGroupResponse>(await this.callApi(params, req, runtime), new EnableScalingGroupResponse({}));
43815
+ } else {
43816
+ return $tea.cast<EnableScalingGroupResponse>(await this.execute(params, req, runtime), new EnableScalingGroupResponse({}));
43817
+ }
43818
+
43054
43819
  }
43055
43820
 
43056
43821
  /**
@@ -43127,7 +43892,12 @@ export default class Client extends OpenApi {
43127
43892
  reqBodyType: "formData",
43128
43893
  bodyType: "json",
43129
43894
  });
43130
- return $tea.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
43895
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43896
+ return $tea.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
43897
+ } else {
43898
+ return $tea.cast<EnterStandbyResponse>(await this.execute(params, req, runtime), new EnterStandbyResponse({}));
43899
+ }
43900
+
43131
43901
  }
43132
43902
 
43133
43903
  /**
@@ -43218,7 +43988,12 @@ export default class Client extends OpenApi {
43218
43988
  reqBodyType: "formData",
43219
43989
  bodyType: "json",
43220
43990
  });
43221
- return $tea.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
43991
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
43992
+ return $tea.cast<ExecuteScalingRuleResponse>(await this.callApi(params, req, runtime), new ExecuteScalingRuleResponse({}));
43993
+ } else {
43994
+ return $tea.cast<ExecuteScalingRuleResponse>(await this.execute(params, req, runtime), new ExecuteScalingRuleResponse({}));
43995
+ }
43996
+
43222
43997
  }
43223
43998
 
43224
43999
  /**
@@ -43301,7 +44076,12 @@ export default class Client extends OpenApi {
43301
44076
  reqBodyType: "formData",
43302
44077
  bodyType: "json",
43303
44078
  });
43304
- return $tea.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
44079
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44080
+ return $tea.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
44081
+ } else {
44082
+ return $tea.cast<ExitStandbyResponse>(await this.execute(params, req, runtime), new ExitStandbyResponse({}));
44083
+ }
44084
+
43305
44085
  }
43306
44086
 
43307
44087
  /**
@@ -43370,7 +44150,12 @@ export default class Client extends OpenApi {
43370
44150
  reqBodyType: "formData",
43371
44151
  bodyType: "json",
43372
44152
  });
43373
- return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
44153
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44154
+ return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
44155
+ } else {
44156
+ return $tea.cast<ListTagKeysResponse>(await this.execute(params, req, runtime), new ListTagKeysResponse({}));
44157
+ }
44158
+
43374
44159
  }
43375
44160
 
43376
44161
  /**
@@ -43385,7 +44170,7 @@ export default class Client extends OpenApi {
43385
44170
  }
43386
44171
 
43387
44172
  /**
43388
- * 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 management. This operation aids in the automation of resource categorization and permission management processes.
44173
+ * 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.
43389
44174
  *
43390
44175
  * @remarks
43391
44176
  * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
@@ -43440,11 +44225,16 @@ export default class Client extends OpenApi {
43440
44225
  reqBodyType: "formData",
43441
44226
  bodyType: "json",
43442
44227
  });
43443
- return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
44228
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44229
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
44230
+ } else {
44231
+ return $tea.cast<ListTagResourcesResponse>(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
44232
+ }
44233
+
43444
44234
  }
43445
44235
 
43446
44236
  /**
43447
- * 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 management. This operation aids in the automation of resource categorization and permission management processes.
44237
+ * 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.
43448
44238
  *
43449
44239
  * @remarks
43450
44240
  * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
@@ -43510,7 +44300,12 @@ export default class Client extends OpenApi {
43510
44300
  reqBodyType: "formData",
43511
44301
  bodyType: "json",
43512
44302
  });
43513
- return $tea.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
44303
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44304
+ return $tea.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
44305
+ } else {
44306
+ return $tea.cast<ListTagValuesResponse>(await this.execute(params, req, runtime), new ListTagValuesResponse({}));
44307
+ }
44308
+
43514
44309
  }
43515
44310
 
43516
44311
  /**
@@ -43631,7 +44426,12 @@ export default class Client extends OpenApi {
43631
44426
  reqBodyType: "formData",
43632
44427
  bodyType: "json",
43633
44428
  });
43634
- return $tea.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
44429
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44430
+ return $tea.cast<ModifyAlarmResponse>(await this.callApi(params, req, runtime), new ModifyAlarmResponse({}));
44431
+ } else {
44432
+ return $tea.cast<ModifyAlarmResponse>(await this.execute(params, req, runtime), new ModifyAlarmResponse({}));
44433
+ }
44434
+
43635
44435
  }
43636
44436
 
43637
44437
  /**
@@ -43696,7 +44496,12 @@ export default class Client extends OpenApi {
43696
44496
  reqBodyType: "formData",
43697
44497
  bodyType: "json",
43698
44498
  });
43699
- return $tea.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44499
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44500
+ return $tea.cast<ModifyAlertConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44501
+ } else {
44502
+ return $tea.cast<ModifyAlertConfigurationResponse>(await this.execute(params, req, runtime), new ModifyAlertConfigurationResponse({}));
44503
+ }
44504
+
43700
44505
  }
43701
44506
 
43702
44507
  /**
@@ -43942,7 +44747,12 @@ export default class Client extends OpenApi {
43942
44747
  reqBodyType: "formData",
43943
44748
  bodyType: "json",
43944
44749
  });
43945
- return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44750
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44751
+ return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44752
+ } else {
44753
+ return $tea.cast<ModifyEciScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyEciScalingConfigurationResponse({}));
44754
+ }
44755
+
43946
44756
  }
43947
44757
 
43948
44758
  /**
@@ -44008,7 +44818,12 @@ export default class Client extends OpenApi {
44008
44818
  reqBodyType: "formData",
44009
44819
  bodyType: "json",
44010
44820
  });
44011
- return $tea.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44821
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44822
+ return $tea.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44823
+ } else {
44824
+ return $tea.cast<ModifyInstanceAttributeResponse>(await this.execute(params, req, runtime), new ModifyInstanceAttributeResponse({}));
44825
+ }
44826
+
44012
44827
  }
44013
44828
 
44014
44829
  /**
@@ -44103,7 +44918,12 @@ export default class Client extends OpenApi {
44103
44918
  reqBodyType: "formData",
44104
44919
  bodyType: "json",
44105
44920
  });
44106
- return $tea.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
44921
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44922
+ return $tea.cast<ModifyLifecycleHookResponse>(await this.callApi(params, req, runtime), new ModifyLifecycleHookResponse({}));
44923
+ } else {
44924
+ return $tea.cast<ModifyLifecycleHookResponse>(await this.execute(params, req, runtime), new ModifyLifecycleHookResponse({}));
44925
+ }
44926
+
44107
44927
  }
44108
44928
 
44109
44929
  /**
@@ -44174,7 +44994,12 @@ export default class Client extends OpenApi {
44174
44994
  reqBodyType: "formData",
44175
44995
  bodyType: "json",
44176
44996
  });
44177
- return $tea.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
44997
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
44998
+ return $tea.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
44999
+ } else {
45000
+ return $tea.cast<ModifyNotificationConfigurationResponse>(await this.execute(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
45001
+ }
45002
+
44178
45003
  }
44179
45004
 
44180
45005
  /**
@@ -44456,7 +45281,12 @@ export default class Client extends OpenApi {
44456
45281
  reqBodyType: "formData",
44457
45282
  bodyType: "json",
44458
45283
  });
44459
- return $tea.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45284
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45285
+ return $tea.cast<ModifyScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45286
+ } else {
45287
+ return $tea.cast<ModifyScalingConfigurationResponse>(await this.execute(params, req, runtime), new ModifyScalingConfigurationResponse({}));
45288
+ }
45289
+
44460
45290
  }
44461
45291
 
44462
45292
  /**
@@ -44651,7 +45481,12 @@ export default class Client extends OpenApi {
44651
45481
  reqBodyType: "formData",
44652
45482
  bodyType: "json",
44653
45483
  });
44654
- return $tea.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
45484
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45485
+ return $tea.cast<ModifyScalingGroupResponse>(await this.callApi(params, req, runtime), new ModifyScalingGroupResponse({}));
45486
+ } else {
45487
+ return $tea.cast<ModifyScalingGroupResponse>(await this.execute(params, req, runtime), new ModifyScalingGroupResponse({}));
45488
+ }
45489
+
44655
45490
  }
44656
45491
 
44657
45492
  /**
@@ -44808,7 +45643,12 @@ export default class Client extends OpenApi {
44808
45643
  reqBodyType: "formData",
44809
45644
  bodyType: "json",
44810
45645
  });
44811
- return $tea.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
45646
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45647
+ return $tea.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
45648
+ } else {
45649
+ return $tea.cast<ModifyScalingRuleResponse>(await this.execute(params, req, runtime), new ModifyScalingRuleResponse({}));
45650
+ }
45651
+
44812
45652
  }
44813
45653
 
44814
45654
  /**
@@ -44882,6 +45722,10 @@ export default class Client extends OpenApi {
44882
45722
  query["RecurrenceValue"] = request.recurrenceValue;
44883
45723
  }
44884
45724
 
45725
+ if (!Util.isUnset(request.regionId)) {
45726
+ query["RegionId"] = request.regionId;
45727
+ }
45728
+
44885
45729
  if (!Util.isUnset(request.resourceOwnerAccount)) {
44886
45730
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
44887
45731
  }
@@ -44924,7 +45768,12 @@ export default class Client extends OpenApi {
44924
45768
  reqBodyType: "formData",
44925
45769
  bodyType: "json",
44926
45770
  });
44927
- return $tea.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
45771
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45772
+ return $tea.cast<ModifyScheduledTaskResponse>(await this.callApi(params, req, runtime), new ModifyScheduledTaskResponse({}));
45773
+ } else {
45774
+ return $tea.cast<ModifyScheduledTaskResponse>(await this.execute(params, req, runtime), new ModifyScheduledTaskResponse({}));
45775
+ }
45776
+
44928
45777
  }
44929
45778
 
44930
45779
  /**
@@ -45001,7 +45850,12 @@ export default class Client extends OpenApi {
45001
45850
  reqBodyType: "formData",
45002
45851
  bodyType: "json",
45003
45852
  });
45004
- return $tea.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
45853
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45854
+ return $tea.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
45855
+ } else {
45856
+ return $tea.cast<RebalanceInstancesResponse>(await this.execute(params, req, runtime), new RebalanceInstancesResponse({}));
45857
+ }
45858
+
45005
45859
  }
45006
45860
 
45007
45861
  /**
@@ -45028,8 +45882,8 @@ export default class Client extends OpenApi {
45028
45882
  * 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.
45029
45883
  *
45030
45884
  * @remarks
45031
- * You can call this operation only when the desired ECS instance enters a Pending state.\\
45032
- * An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in a Pending state up to 20 times.
45885
+ * You can call this operation only to extend the time window during which Elastic Compute Service (ECS) instances stay in a Pending state.
45886
+ * An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in the Pending state up to 20 times.
45033
45887
  *
45034
45888
  * @param request - RecordLifecycleActionHeartbeatRequest
45035
45889
  * @param runtime - runtime options for this request RuntimeOptions
@@ -45080,15 +45934,20 @@ export default class Client extends OpenApi {
45080
45934
  reqBodyType: "formData",
45081
45935
  bodyType: "json",
45082
45936
  });
45083
- return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45937
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
45938
+ return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.callApi(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45939
+ } else {
45940
+ return $tea.cast<RecordLifecycleActionHeartbeatResponse>(await this.execute(params, req, runtime), new RecordLifecycleActionHeartbeatResponse({}));
45941
+ }
45942
+
45084
45943
  }
45085
45944
 
45086
45945
  /**
45087
45946
  * 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.
45088
45947
  *
45089
45948
  * @remarks
45090
- * You can call this operation only when the desired ECS instance enters a Pending state.\\
45091
- * An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in a Pending state up to 20 times.
45949
+ * You can call this operation only to extend the time window during which Elastic Compute Service (ECS) instances stay in a Pending state.
45950
+ * An ECS instance can stay in a Pending state for up to six hours. Each time an ECS instance enters a Pending state, you can extend the time window during which the ECS instance stays in the Pending state up to 20 times.
45092
45951
  *
45093
45952
  * @param request - RecordLifecycleActionHeartbeatRequest
45094
45953
  * @returns RecordLifecycleActionHeartbeatResponse
@@ -45180,7 +46039,12 @@ export default class Client extends OpenApi {
45180
46039
  reqBodyType: "formData",
45181
46040
  bodyType: "json",
45182
46041
  });
45183
- return $tea.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
46042
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46043
+ return $tea.cast<RemoveInstancesResponse>(await this.callApi(params, req, runtime), new RemoveInstancesResponse({}));
46044
+ } else {
46045
+ return $tea.cast<RemoveInstancesResponse>(await this.execute(params, req, runtime), new RemoveInstancesResponse({}));
46046
+ }
46047
+
45184
46048
  }
45185
46049
 
45186
46050
  /**
@@ -45248,7 +46112,12 @@ export default class Client extends OpenApi {
45248
46112
  reqBodyType: "formData",
45249
46113
  bodyType: "json",
45250
46114
  });
45251
- return $tea.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46115
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46116
+ return $tea.cast<ResumeInstanceRefreshResponse>(await this.callApi(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46117
+ } else {
46118
+ return $tea.cast<ResumeInstanceRefreshResponse>(await this.execute(params, req, runtime), new ResumeInstanceRefreshResponse({}));
46119
+ }
46120
+
45252
46121
  }
45253
46122
 
45254
46123
  /**
@@ -45263,7 +46132,7 @@ export default class Client extends OpenApi {
45263
46132
  }
45264
46133
 
45265
46134
  /**
45266
- * Resumes suspended processes in a scaling group.
46135
+ * 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.
45267
46136
  *
45268
46137
  * @param request - ResumeProcessesRequest
45269
46138
  * @param runtime - runtime options for this request RuntimeOptions
@@ -45310,11 +46179,16 @@ export default class Client extends OpenApi {
45310
46179
  reqBodyType: "formData",
45311
46180
  bodyType: "json",
45312
46181
  });
45313
- return $tea.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
46182
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46183
+ return $tea.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
46184
+ } else {
46185
+ return $tea.cast<ResumeProcessesResponse>(await this.execute(params, req, runtime), new ResumeProcessesResponse({}));
46186
+ }
46187
+
45314
46188
  }
45315
46189
 
45316
46190
  /**
45317
- * Resumes suspended processes in a scaling group.
46191
+ * 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.
45318
46192
  *
45319
46193
  * @param request - ResumeProcessesRequest
45320
46194
  * @returns ResumeProcessesResponse
@@ -45325,7 +46199,7 @@ export default class Client extends OpenApi {
45325
46199
  }
45326
46200
 
45327
46201
  /**
45328
- * Rolls back an instance refresh task. If the configurations of an instance refresh task cannot meet your business requirements, you can call this operation to roll back the task. During the rollback process, Auto Scaling creates instances based on the active scaling configuration to replace instances that are created based on the configurations of the instance refresh task.
46202
+ * 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.
45329
46203
  *
45330
46204
  * @param request - RollbackInstanceRefreshRequest
45331
46205
  * @param runtime - runtime options for this request RuntimeOptions
@@ -45368,11 +46242,16 @@ export default class Client extends OpenApi {
45368
46242
  reqBodyType: "formData",
45369
46243
  bodyType: "json",
45370
46244
  });
45371
- return $tea.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46245
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46246
+ return $tea.cast<RollbackInstanceRefreshResponse>(await this.callApi(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46247
+ } else {
46248
+ return $tea.cast<RollbackInstanceRefreshResponse>(await this.execute(params, req, runtime), new RollbackInstanceRefreshResponse({}));
46249
+ }
46250
+
45372
46251
  }
45373
46252
 
45374
46253
  /**
45375
- * Rolls back an instance refresh task. If the configurations of an instance refresh task cannot meet your business requirements, you can call this operation to roll back the task. During the rollback process, Auto Scaling creates instances based on the active scaling configuration to replace instances that are created based on the configurations of the instance refresh task.
46254
+ * 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.
45376
46255
  *
45377
46256
  * @param request - RollbackInstanceRefreshRequest
45378
46257
  * @returns RollbackInstanceRefreshResponse
@@ -45469,7 +46348,12 @@ export default class Client extends OpenApi {
45469
46348
  reqBodyType: "formData",
45470
46349
  bodyType: "json",
45471
46350
  });
45472
- return $tea.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46351
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46352
+ return $tea.cast<ScaleWithAdjustmentResponse>(await this.callApi(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46353
+ } else {
46354
+ return $tea.cast<ScaleWithAdjustmentResponse>(await this.execute(params, req, runtime), new ScaleWithAdjustmentResponse({}));
46355
+ }
46356
+
45473
46357
  }
45474
46358
 
45475
46359
  /**
@@ -45536,7 +46420,12 @@ export default class Client extends OpenApi {
45536
46420
  reqBodyType: "formData",
45537
46421
  bodyType: "json",
45538
46422
  });
45539
- return $tea.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46423
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46424
+ return $tea.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46425
+ } else {
46426
+ return $tea.cast<SetGroupDeletionProtectionResponse>(await this.execute(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
46427
+ }
46428
+
45540
46429
  }
45541
46430
 
45542
46431
  /**
@@ -45593,7 +46482,12 @@ export default class Client extends OpenApi {
45593
46482
  reqBodyType: "formData",
45594
46483
  bodyType: "json",
45595
46484
  });
45596
- return $tea.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
46485
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46486
+ return $tea.cast<SetInstanceHealthResponse>(await this.callApi(params, req, runtime), new SetInstanceHealthResponse({}));
46487
+ } else {
46488
+ return $tea.cast<SetInstanceHealthResponse>(await this.execute(params, req, runtime), new SetInstanceHealthResponse({}));
46489
+ }
46490
+
45597
46491
  }
45598
46492
 
45599
46493
  /**
@@ -45660,7 +46554,12 @@ export default class Client extends OpenApi {
45660
46554
  reqBodyType: "formData",
45661
46555
  bodyType: "json",
45662
46556
  });
45663
- return $tea.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
46557
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46558
+ return $tea.cast<SetInstancesProtectionResponse>(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
46559
+ } else {
46560
+ return $tea.cast<SetInstancesProtectionResponse>(await this.execute(params, req, runtime), new SetInstancesProtectionResponse({}));
46561
+ }
46562
+
45664
46563
  }
45665
46564
 
45666
46565
  /**
@@ -45681,13 +46580,13 @@ export default class Client extends OpenApi {
45681
46580
  }
45682
46581
 
45683
46582
  /**
45684
- * Starts an instance refresh task. If you want to batch update instance images, modify information in scaling configurations, and scale out instances based on new configurations, you can call the StartInstanceRefresh.html operation. After you start an instance refresh task, Auto Scaling gradually creates new instances from the desired configurations provided by the task to replace old instances. When all replacements are complete, the configurations of instances in your scaling group perfectly match your expectations.
46583
+ * 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.
45685
46584
  *
45686
46585
  * @remarks
45687
46586
  * Only one instance refresh task can be executed at a time in a scaling group.
45688
- * * Instance refresh tasks are currently supported only by scaling groups of the Elastic Compute Service (ECS) type and using **the priority policy**. Scaling groups that use the number of vCPUs as the method to calculate the group capacity or scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support instance refresh tasks.
45689
- * * During the execution of an instance refresh task, scaling events can be complete as expected. Take note that instances that are scaled out use the desired configurations provided by the instance refresh task.
45690
- * * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
46587
+ * * You can start instance refresh tasks for Elastic Compute Service (ECS) instances in scaling groups that use the **priority policy** as the scaling policy. Scaling groups whose capacity is measured based on the **number of vCPUs** and scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support the StartInstanceRefresh operation.
46588
+ * * When you start an instance refresh task, scaling events can be completed as expected. Take note that instances that are scaled out use the configurations specified in the instance refresh task.
46589
+ * * The StartInstanceRefresh operation does not take effect on instances that are manually added or instances that are in the Standby and Protected states.
45691
46590
  *
45692
46591
  * @param request - StartInstanceRefreshRequest
45693
46592
  * @param runtime - runtime options for this request RuntimeOptions
@@ -45746,17 +46645,22 @@ export default class Client extends OpenApi {
45746
46645
  reqBodyType: "formData",
45747
46646
  bodyType: "json",
45748
46647
  });
45749
- return $tea.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
46648
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46649
+ return $tea.cast<StartInstanceRefreshResponse>(await this.callApi(params, req, runtime), new StartInstanceRefreshResponse({}));
46650
+ } else {
46651
+ return $tea.cast<StartInstanceRefreshResponse>(await this.execute(params, req, runtime), new StartInstanceRefreshResponse({}));
46652
+ }
46653
+
45750
46654
  }
45751
46655
 
45752
46656
  /**
45753
- * Starts an instance refresh task. If you want to batch update instance images, modify information in scaling configurations, and scale out instances based on new configurations, you can call the StartInstanceRefresh.html operation. After you start an instance refresh task, Auto Scaling gradually creates new instances from the desired configurations provided by the task to replace old instances. When all replacements are complete, the configurations of instances in your scaling group perfectly match your expectations.
46657
+ * 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.
45754
46658
  *
45755
46659
  * @remarks
45756
46660
  * Only one instance refresh task can be executed at a time in a scaling group.
45757
- * * Instance refresh tasks are currently supported only by scaling groups of the Elastic Compute Service (ECS) type and using **the priority policy**. Scaling groups that use the number of vCPUs as the method to calculate the group capacity or scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support instance refresh tasks.
45758
- * * During the execution of an instance refresh task, scaling events can be complete as expected. Take note that instances that are scaled out use the desired configurations provided by the instance refresh task.
45759
- * * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
46661
+ * * You can start instance refresh tasks for Elastic Compute Service (ECS) instances in scaling groups that use the **priority policy** as the scaling policy. Scaling groups whose capacity is measured based on the **number of vCPUs** and scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support the StartInstanceRefresh operation.
46662
+ * * When you start an instance refresh task, scaling events can be completed as expected. Take note that instances that are scaled out use the configurations specified in the instance refresh task.
46663
+ * * The StartInstanceRefresh operation does not take effect on instances that are manually added or instances that are in the Standby and Protected states.
45760
46664
  *
45761
46665
  * @param request - StartInstanceRefreshRequest
45762
46666
  * @returns StartInstanceRefreshResponse
@@ -45767,7 +46671,7 @@ export default class Client extends OpenApi {
45767
46671
  }
45768
46672
 
45769
46673
  /**
45770
- * Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
46674
+ * 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.
45771
46675
  *
45772
46676
  * @remarks
45773
46677
  * You cannot call this operation to suspend an instance refresh task that is being rolled back.
@@ -45813,11 +46717,16 @@ export default class Client extends OpenApi {
45813
46717
  reqBodyType: "formData",
45814
46718
  bodyType: "json",
45815
46719
  });
45816
- return $tea.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46720
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46721
+ return $tea.cast<SuspendInstanceRefreshResponse>(await this.callApi(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46722
+ } else {
46723
+ return $tea.cast<SuspendInstanceRefreshResponse>(await this.execute(params, req, runtime), new SuspendInstanceRefreshResponse({}));
46724
+ }
46725
+
45817
46726
  }
45818
46727
 
45819
46728
  /**
45820
- * Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
46729
+ * 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.
45821
46730
  *
45822
46731
  * @remarks
45823
46732
  * You cannot call this operation to suspend an instance refresh task that is being rolled back.
@@ -45878,7 +46787,12 @@ export default class Client extends OpenApi {
45878
46787
  reqBodyType: "formData",
45879
46788
  bodyType: "json",
45880
46789
  });
45881
- return $tea.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
46790
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46791
+ return $tea.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
46792
+ } else {
46793
+ return $tea.cast<SuspendProcessesResponse>(await this.execute(params, req, runtime), new SuspendProcessesResponse({}));
46794
+ }
46795
+
45882
46796
  }
45883
46797
 
45884
46798
  /**
@@ -45893,7 +46807,7 @@ export default class Client extends OpenApi {
45893
46807
  }
45894
46808
 
45895
46809
  /**
45896
- * Creates and attaches 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.
46810
+ * 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.
45897
46811
  *
45898
46812
  * @remarks
45899
46813
  * You can attach up to 20 tags to a scaling group.
@@ -45949,11 +46863,16 @@ export default class Client extends OpenApi {
45949
46863
  reqBodyType: "formData",
45950
46864
  bodyType: "json",
45951
46865
  });
45952
- return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
46866
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46867
+ return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
46868
+ } else {
46869
+ return $tea.cast<TagResourcesResponse>(await this.execute(params, req, runtime), new TagResourcesResponse({}));
46870
+ }
46871
+
45953
46872
  }
45954
46873
 
45955
46874
  /**
45956
- * Creates and attaches 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.
46875
+ * 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.
45957
46876
  *
45958
46877
  * @remarks
45959
46878
  * You can attach up to 20 tags to a scaling group.
@@ -46024,7 +46943,12 @@ export default class Client extends OpenApi {
46024
46943
  reqBodyType: "formData",
46025
46944
  bodyType: "json",
46026
46945
  });
46027
- return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
46946
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
46947
+ return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
46948
+ } else {
46949
+ return $tea.cast<UntagResourcesResponse>(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
46950
+ }
46951
+
46028
46952
  }
46029
46953
 
46030
46954
  /**
@@ -46039,7 +46963,7 @@ export default class Client extends OpenApi {
46039
46963
  }
46040
46964
 
46041
46965
  /**
46042
- * Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
46966
+ * 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.
46043
46967
  *
46044
46968
  * @param request - VerifyAuthenticationRequest
46045
46969
  * @param runtime - runtime options for this request RuntimeOptions
@@ -46082,11 +47006,16 @@ export default class Client extends OpenApi {
46082
47006
  reqBodyType: "formData",
46083
47007
  bodyType: "json",
46084
47008
  });
46085
- return $tea.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
47009
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
47010
+ return $tea.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
47011
+ } else {
47012
+ return $tea.cast<VerifyAuthenticationResponse>(await this.execute(params, req, runtime), new VerifyAuthenticationResponse({}));
47013
+ }
47014
+
46086
47015
  }
46087
47016
 
46088
47017
  /**
46089
- * Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
47018
+ * 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.
46090
47019
  *
46091
47020
  * @param request - VerifyAuthenticationRequest
46092
47021
  * @returns VerifyAuthenticationResponse
@@ -46136,7 +47065,12 @@ export default class Client extends OpenApi {
46136
47065
  reqBodyType: "formData",
46137
47066
  bodyType: "json",
46138
47067
  });
46139
- return $tea.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
47068
+ if (Util.isUnset(this._signatureVersion) || !Util.equalString(this._signatureVersion, "v4")) {
47069
+ return $tea.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
47070
+ } else {
47071
+ return $tea.cast<VerifyUserResponse>(await this.execute(params, req, runtime), new VerifyUserResponse({}));
47072
+ }
47073
+
46140
47074
  }
46141
47075
 
46142
47076
  /**