@alicloud/ess20220222 1.8.9 → 1.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1664,15 +1664,22 @@ export declare class CreateScalingConfigurationRequestSystemDisk extends $dara.M
1664
1664
  * @remarks
1665
1665
  * The size of the system disk. Unit: GiB.
1666
1666
  *
1667
- * * If you set SystemDisk.Category cloud: 20 to 500.
1668
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
1669
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
1670
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
1671
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
1667
+ * * Basic disk: 20 to 500.
1672
1668
  *
1673
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
1669
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
1674
1670
  *
1675
- * Default value: 40 or the size of the image, whichever is greater.
1671
+ * * PL0 ESSD: 1 to 2048.
1672
+ * * PL1 ESSD: 20 to 2048.
1673
+ * * PL2 ESSD: 461 to 2048.
1674
+ * * PL3 ESSD: 1261 to 2048.
1675
+ *
1676
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
1677
+ *
1678
+ * * Other disk categories: 20 to 2048.
1679
+ *
1680
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
1681
+ *
1682
+ * Default value: 40 or the size of the image, whichever is larger.
1676
1683
  *
1677
1684
  * @example
1678
1685
  * 100
@@ -2431,15 +2438,22 @@ export declare class CreateScalingConfigurationShrinkRequestSystemDisk extends $
2431
2438
  * @remarks
2432
2439
  * The size of the system disk. Unit: GiB.
2433
2440
  *
2434
- * * If you set SystemDisk.Category cloud: 20 to 500.
2435
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
2436
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
2437
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2438
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
2441
+ * * Basic disk: 20 to 500.
2442
+ *
2443
+ * * ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD.
2439
2444
  *
2440
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
2445
+ * * PL0 ESSD: 1 to 2048.
2446
+ * * PL1 ESSD: 20 to 2048.
2447
+ * * PL2 ESSD: 461 to 2048.
2448
+ * * PL3 ESSD: 1261 to 2048.
2441
2449
  *
2442
- * Default value: 40 or the size of the image, whichever is greater.
2450
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
2451
+ *
2452
+ * * Other disk categories: 20 to 2048.
2453
+ *
2454
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
2455
+ *
2456
+ * Default value: 40 or the size of the image, whichever is larger.
2443
2457
  *
2444
2458
  * @example
2445
2459
  * 100
@@ -3092,6 +3106,7 @@ export declare class CreateScalingGroupRequestCapacityOptions extends $dara.Mode
3092
3106
  * 20
3093
3107
  */
3094
3108
  onDemandPercentageAboveBaseCapacity?: number;
3109
+ priceComparisonMode?: string;
3095
3110
  /**
3096
3111
  * @remarks
3097
3112
  * 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:
@@ -3515,7 +3530,21 @@ export declare class CreateScalingRuleRequestAlarmDimensions extends $dara.Model
3515
3530
  });
3516
3531
  }
3517
3532
  export declare class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
3533
+ /**
3534
+ * @remarks
3535
+ * The key of the metric dimension.
3536
+ *
3537
+ * @example
3538
+ * queue
3539
+ */
3518
3540
  dimensionKey?: string;
3541
+ /**
3542
+ * @remarks
3543
+ * The value of the metric dimension.
3544
+ *
3545
+ * @example
3546
+ * testQueue
3547
+ */
3519
3548
  dimensionValue?: string;
3520
3549
  static names(): {
3521
3550
  [key: string]: string;
@@ -3529,10 +3558,48 @@ export declare class CreateScalingRuleRequestHybridMetricsDimensions extends $da
3529
3558
  });
3530
3559
  }
3531
3560
  export declare class CreateScalingRuleRequestHybridMetrics extends $dara.Model {
3561
+ /**
3562
+ * @remarks
3563
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
3564
+ */
3532
3565
  dimensions?: CreateScalingRuleRequestHybridMetricsDimensions[];
3566
+ /**
3567
+ * @remarks
3568
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
3569
+ *
3570
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
3571
+ *
3572
+ * @example
3573
+ * (a+b)/2
3574
+ */
3533
3575
  expression?: string;
3576
+ /**
3577
+ * @remarks
3578
+ * The reference ID of the metric in the metric expression.
3579
+ *
3580
+ * @example
3581
+ * a
3582
+ */
3534
3583
  id?: string;
3584
+ /**
3585
+ * @remarks
3586
+ * The name of the Hybrid Cloud Monitoring metric.
3587
+ *
3588
+ * @example
3589
+ * AliyunSmq_NumberOfMessagesVisible
3590
+ */
3535
3591
  metricName?: string;
3592
+ /**
3593
+ * @remarks
3594
+ * The statistical method of the metric value. Valid values:
3595
+ *
3596
+ * * Average: calculates the average value of all metric values within a specified interval.
3597
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
3598
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
3599
+ *
3600
+ * @example
3601
+ * Average
3602
+ */
3536
3603
  statistic?: string;
3537
3604
  static names(): {
3538
3605
  [key: string]: string;
@@ -3726,7 +3793,21 @@ export declare class DescribeAlarmsResponseBodyAlarmListExpressions extends $dar
3726
3793
  });
3727
3794
  }
3728
3795
  export declare class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends $dara.Model {
3796
+ /**
3797
+ * @remarks
3798
+ * The key of the metric dimension.
3799
+ *
3800
+ * @example
3801
+ * queue
3802
+ */
3729
3803
  dimensionKey?: string;
3804
+ /**
3805
+ * @remarks
3806
+ * The key of the metric dimension.
3807
+ *
3808
+ * @example
3809
+ * testQueue
3810
+ */
3730
3811
  dimensionValue?: string;
3731
3812
  static names(): {
3732
3813
  [key: string]: string;
@@ -3740,10 +3821,48 @@ export declare class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions
3740
3821
  });
3741
3822
  }
3742
3823
  export declare class DescribeAlarmsResponseBodyAlarmListHybridMetrics extends $dara.Model {
3824
+ /**
3825
+ * @remarks
3826
+ * The metric dimensions. This parameter is used to specify the monitored resources.
3827
+ */
3743
3828
  dimensions?: DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions[];
3829
+ /**
3830
+ * @remarks
3831
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
3832
+ *
3833
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
3834
+ *
3835
+ * @example
3836
+ * (a+b)/2
3837
+ */
3744
3838
  expression?: string;
3839
+ /**
3840
+ * @remarks
3841
+ * The reference ID of the metric in the metric expression.
3842
+ *
3843
+ * @example
3844
+ * a
3845
+ */
3745
3846
  id?: string;
3847
+ /**
3848
+ * @remarks
3849
+ * The name of the Hybrid Cloud Monitoring metric.
3850
+ *
3851
+ * @example
3852
+ * AliyunSmq_NumberOfMessagesVisible
3853
+ */
3746
3854
  metricName?: string;
3855
+ /**
3856
+ * @remarks
3857
+ * The statistical method of the metric value. Valid values:
3858
+ *
3859
+ * * Average: The average value of all metric values within a specified interval is calculated.
3860
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
3861
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
3862
+ *
3863
+ * @example
3864
+ * Average
3865
+ */
3747
3866
  statistic?: string;
3748
3867
  static names(): {
3749
3868
  [key: string]: string;
@@ -3839,7 +3958,20 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3839
3958
  * &&
3840
3959
  */
3841
3960
  expressionsLogicOperator?: string;
3961
+ /**
3962
+ * @remarks
3963
+ * The Hybrid Cloud Monitoring metrics.
3964
+ */
3842
3965
  hybridMetrics?: DescribeAlarmsResponseBodyAlarmListHybridMetrics[];
3966
+ /**
3967
+ * @remarks
3968
+ * The ID of the Hybrid Cloud Monitoring namespace.
3969
+ *
3970
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
3971
+ *
3972
+ * @example
3973
+ * aliyun-test
3974
+ */
3843
3975
  hybridMonitorNamespace?: string;
3844
3976
  /**
3845
3977
  * @remarks
@@ -3879,10 +4011,11 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3879
4011
  metricName?: string;
3880
4012
  /**
3881
4013
  * @remarks
3882
- * The metric type. Valid values:
4014
+ * The type of the metric. Valid values:
3883
4015
  *
3884
4016
  * * system: system metrics of CloudMonitor
3885
4017
  * * custom: custom metrics that are reported to CloudMonitor.
4018
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
3886
4019
  *
3887
4020
  * @example
3888
4021
  * system
@@ -3912,6 +4045,13 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3912
4045
  * 300
3913
4046
  */
3914
4047
  period?: number;
4048
+ /**
4049
+ * @remarks
4050
+ * The PromQL statement of Hybrid Cloud Monitoring.
4051
+ *
4052
+ * @example
4053
+ * (avg(last_over_time(AliyunMnsnew_ActiveMessages{region=\\"cn-hangzhou\\",userId=\\"123456****\\",queue=\\"testQueue\\"}[900s])) by (userId))/(avg(last_over_time(AliyunEss_RunningInstanceCount{instanceId=\\"asg-bp1****\\"}[900s])) by (userId) != 0)
4054
+ */
3915
4055
  promQL?: string;
3916
4056
  /**
3917
4057
  * @remarks
@@ -7662,6 +7802,20 @@ export declare class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks e
7662
7802
  * asg-bp16pbfcr8j9*****
7663
7803
  */
7664
7804
  scalingGroupId?: string;
7805
+ /**
7806
+ * @remarks
7807
+ * Indicates whether instances that match the desired scaling configuration are skipped.
7808
+ *
7809
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
7810
+ *
7811
+ * Valid values:
7812
+ *
7813
+ * * true: Instances that match the desired scaling configuration are skipped. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
7814
+ * * false: Instances that match the desired scaling configuration are not skipped. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
7815
+ *
7816
+ * @example
7817
+ * true
7818
+ */
7665
7819
  skipMatching?: boolean;
7666
7820
  /**
7667
7821
  * @remarks
@@ -8029,9 +8183,34 @@ export declare class DescribeRegionsResponseBodyRegions extends $dara.Model {
8029
8183
  });
8030
8184
  }
8031
8185
  export declare class DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages extends $dara.Model {
8186
+ /**
8187
+ * @remarks
8188
+ * The error code that is returned when the scaling activity failed.
8189
+ *
8190
+ * @example
8191
+ * OperationDenied.NoStock
8192
+ */
8032
8193
  code?: string;
8194
+ /**
8195
+ * @remarks
8196
+ * The description of the scaling activity exception.
8197
+ *
8198
+ * @example
8199
+ * Fail to create instances into scaling group.
8200
+ */
8033
8201
  description?: string;
8202
+ /**
8203
+ * @remarks
8204
+ * The IDs of the instances included in the failed scaling activities.
8205
+ */
8034
8206
  failedInstanceIds?: string[];
8207
+ /**
8208
+ * @remarks
8209
+ * The error message that is returned when the scaling activity failed or is partially successful.
8210
+ *
8211
+ * @example
8212
+ * The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.
8213
+ */
8035
8214
  message?: string;
8036
8215
  static names(): {
8037
8216
  [key: string]: string;
@@ -8171,6 +8350,10 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
8171
8350
  * The specified ECS resource is out of stock in this region. Please try again later.
8172
8351
  */
8173
8352
  errorMessage?: string;
8353
+ /**
8354
+ * @remarks
8355
+ * The error messages that are returned when the scaling activities failed or are partially successful.
8356
+ */
8174
8357
  errorMessages?: DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages[];
8175
8358
  /**
8176
8359
  * @remarks
@@ -10376,6 +10559,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptio
10376
10559
  * 0
10377
10560
  */
10378
10561
  onDemandPercentageAboveBaseCapacity?: number;
10562
+ priceComparisonMode?: string;
10379
10563
  /**
10380
10564
  * @remarks
10381
10565
  * 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:
@@ -11543,7 +11727,21 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesAlarms extends
11543
11727
  });
11544
11728
  }
11545
11729
  export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions extends $dara.Model {
11730
+ /**
11731
+ * @remarks
11732
+ * The key of the metric dimension.
11733
+ *
11734
+ * @example
11735
+ * queue
11736
+ */
11546
11737
  dimensionKey?: string;
11738
+ /**
11739
+ * @remarks
11740
+ * The key of the metric dimension.
11741
+ *
11742
+ * @example
11743
+ * testQueue
11744
+ */
11547
11745
  dimensionValue?: string;
11548
11746
  static names(): {
11549
11747
  [key: string]: string;
@@ -11557,10 +11755,48 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDi
11557
11755
  });
11558
11756
  }
11559
11757
  export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetrics extends $dara.Model {
11758
+ /**
11759
+ * @remarks
11760
+ * The metric dimensions. This parameter is used to specify the monitored resources.
11761
+ */
11560
11762
  dimensions?: DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions[];
11763
+ /**
11764
+ * @remarks
11765
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
11766
+ *
11767
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
11768
+ *
11769
+ * @example
11770
+ * (a+b)/2
11771
+ */
11561
11772
  expression?: string;
11773
+ /**
11774
+ * @remarks
11775
+ * The reference ID of the metric in the metric expression.
11776
+ *
11777
+ * @example
11778
+ * a
11779
+ */
11562
11780
  id?: string;
11781
+ /**
11782
+ * @remarks
11783
+ * The name of the Hybrid Cloud Monitoring metric.
11784
+ *
11785
+ * @example
11786
+ * AliyunSmq_NumberOfMessagesVisible
11787
+ */
11563
11788
  metricName?: string;
11789
+ /**
11790
+ * @remarks
11791
+ * The statistical method of the metric value. Valid values:
11792
+ *
11793
+ * * Average: The average value of all metric values within a specified interval is calculated.
11794
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
11795
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
11796
+ *
11797
+ * @example
11798
+ * Average
11799
+ */
11564
11800
  statistic?: string;
11565
11801
  static names(): {
11566
11802
  [key: string]: string;
@@ -11667,7 +11903,20 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
11667
11903
  * 300
11668
11904
  */
11669
11905
  estimatedInstanceWarmup?: number;
11906
+ /**
11907
+ * @remarks
11908
+ * The Hybrid Cloud Monitoring metrics.
11909
+ */
11670
11910
  hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
11911
+ /**
11912
+ * @remarks
11913
+ * The ID of the Hybrid Cloud Monitoring namespace.
11914
+ *
11915
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
11916
+ *
11917
+ * @example
11918
+ * aliyun-test
11919
+ */
11671
11920
  hybridMonitorNamespace?: string;
11672
11921
  /**
11673
11922
  * @remarks
@@ -11693,6 +11942,17 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
11693
11942
  * CpuUtilization
11694
11943
  */
11695
11944
  metricName?: string;
11945
+ /**
11946
+ * @remarks
11947
+ * The metric type. Valid values:
11948
+ *
11949
+ * * system: system metrics of CloudMonitor.
11950
+ * * custom: custom metrics that are reported to CloudMonitor.
11951
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
11952
+ *
11953
+ * @example
11954
+ * system
11955
+ */
11696
11956
  metricType?: string;
11697
11957
  /**
11698
11958
  * @remarks
@@ -13692,13 +13952,20 @@ export declare class ModifyScalingConfigurationRequestSystemDisk extends $dara.M
13692
13952
  * @remarks
13693
13953
  * The size of the system disk. Unit: GiB. Valid values:
13694
13954
  *
13695
- * * If you set SystemDisk.Category to cloud: 20 to 500.
13696
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
13697
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
13698
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
13699
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
13955
+ * * Basic disk: 20 to 500.
13956
+ *
13957
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
13958
+ *
13959
+ * * PL0 ESSD: 1 to 2048.
13960
+ * * PL1 ESSD: 20 to 2048.
13961
+ * * PL2 ESSD: 461 to 2048.
13962
+ * * PL3 ESSD: 1261 to 2048.
13700
13963
  *
13701
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
13964
+ * * ESSD AutoPL disk: 1 to 2048.
13965
+ *
13966
+ * * Other disk categories: 20 to 2048.
13967
+ *
13968
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
13702
13969
  *
13703
13970
  * @example
13704
13971
  * 50
@@ -14477,13 +14744,20 @@ export declare class ModifyScalingConfigurationShrinkRequestSystemDisk extends $
14477
14744
  * @remarks
14478
14745
  * The size of the system disk. Unit: GiB. Valid values:
14479
14746
  *
14480
- * * If you set SystemDisk.Category to cloud: 20 to 500.
14481
- * * If you set SystemDisk.Category to cloud_efficiency: 20 to 500.
14482
- * * If you set SystemDisk.Category to cloud_ssd: 20 to 500.
14483
- * * If you set SystemDisk.Category to cloud_essd: 20 to 500.
14484
- * * If you set SystemDisk.Category to ephemeral_ssd: 20 to 500.
14747
+ * * Basic disk: 20 to 500.
14748
+ *
14749
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
14750
+ *
14751
+ * * PL0 ESSD: 1 to 2048.
14752
+ * * PL1 ESSD: 20 to 2048.
14753
+ * * PL2 ESSD: 461 to 2048.
14754
+ * * PL3 ESSD: 1261 to 2048.
14485
14755
  *
14486
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
14756
+ * * ESSD AutoPL disk: 1 to 2048.
14757
+ *
14758
+ * * Other disk categories: 20 to 2048.
14759
+ *
14760
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
14487
14761
  *
14488
14762
  * @example
14489
14763
  * 50
@@ -15119,6 +15393,7 @@ export declare class ModifyScalingGroupRequestCapacityOptions extends $dara.Mode
15119
15393
  * 20
15120
15394
  */
15121
15395
  onDemandPercentageAboveBaseCapacity?: number;
15396
+ priceComparisonMode?: string;
15122
15397
  /**
15123
15398
  * @remarks
15124
15399
  * 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:
@@ -15227,7 +15502,21 @@ export declare class ModifyScalingRuleRequestAlarmDimensions extends $dara.Model
15227
15502
  });
15228
15503
  }
15229
15504
  export declare class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
15505
+ /**
15506
+ * @remarks
15507
+ * The key of the metric dimension.
15508
+ *
15509
+ * @example
15510
+ * queue
15511
+ */
15230
15512
  dimensionKey?: string;
15513
+ /**
15514
+ * @remarks
15515
+ * The value of the metric dimension.
15516
+ *
15517
+ * @example
15518
+ * testQueue
15519
+ */
15231
15520
  dimensionValue?: string;
15232
15521
  static names(): {
15233
15522
  [key: string]: string;
@@ -15241,10 +15530,48 @@ export declare class ModifyScalingRuleRequestHybridMetricsDimensions extends $da
15241
15530
  });
15242
15531
  }
15243
15532
  export declare class ModifyScalingRuleRequestHybridMetrics extends $dara.Model {
15533
+ /**
15534
+ * @remarks
15535
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
15536
+ */
15244
15537
  dimensions?: ModifyScalingRuleRequestHybridMetricsDimensions[];
15538
+ /**
15539
+ * @remarks
15540
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
15541
+ *
15542
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
15543
+ *
15544
+ * @example
15545
+ * (a+b)/2
15546
+ */
15245
15547
  expression?: string;
15548
+ /**
15549
+ * @remarks
15550
+ * The reference ID of the metric in the metric expression.
15551
+ *
15552
+ * @example
15553
+ * a
15554
+ */
15246
15555
  id?: string;
15556
+ /**
15557
+ * @remarks
15558
+ * The name of the Hybrid Cloud Monitoring metric.
15559
+ *
15560
+ * @example
15561
+ * AliyunSmq_NumberOfMessagesVisible
15562
+ */
15247
15563
  metricName?: string;
15564
+ /**
15565
+ * @remarks
15566
+ * The statistical method of the metric value. Valid values:
15567
+ *
15568
+ * * Average: calculates the average value of all metric values within a specified interval.
15569
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
15570
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
15571
+ *
15572
+ * @example
15573
+ * Average
15574
+ */
15248
15575
  statistic?: string;
15249
15576
  static names(): {
15250
15577
  [key: string]: string;
@@ -16012,6 +16339,14 @@ export declare class AttachInstancesRequest extends $dara.Model {
16012
16339
  */
16013
16340
  entrusted?: boolean;
16014
16341
  /**
16342
+ * @remarks
16343
+ * Specifies whether to ignore invalid instances when a batch of instances is added to the scaling group. Valid values:
16344
+ *
16345
+ * * true: ignores invalid instances. If invalid instances exist and valid instances are added, the corresponding scaling activity enters the Warning state. You can check the scaling activity details to view the invalid instances that are ignored.
16346
+ * * false: does not ignore invalid instances. If invalid instances exist in the batch of instances that you want to add to the scaling group, an error is reported.
16347
+ *
16348
+ * Default value: false.
16349
+ *
16015
16350
  * @example
16016
16351
  * false
16017
16352
  */
@@ -19472,7 +19807,20 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
19472
19807
  * 300
19473
19808
  */
19474
19809
  estimatedInstanceWarmup?: number;
19810
+ /**
19811
+ * @remarks
19812
+ * The Hybrid Cloud Monitoring metrics.
19813
+ */
19475
19814
  hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
19815
+ /**
19816
+ * @remarks
19817
+ * The ID of the Hybrid Cloud Monitoring namespace.
19818
+ *
19819
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
19820
+ *
19821
+ * @example
19822
+ * aliyun-test
19823
+ */
19476
19824
  hybridMonitorNamespace?: string;
19477
19825
  /**
19478
19826
  * @remarks
@@ -19511,6 +19859,17 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
19511
19859
  * CpuUtilization
19512
19860
  */
19513
19861
  metricName?: string;
19862
+ /**
19863
+ * @remarks
19864
+ * The metric type. Valid values:
19865
+ *
19866
+ * * system: system metrics of CloudMonitor.
19867
+ * * custom: custom metrics that are reported to CloudMonitor.
19868
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
19869
+ *
19870
+ * @example
19871
+ * system
19872
+ */
19514
19873
  metricType?: string;
19515
19874
  /**
19516
19875
  * @remarks
@@ -20626,10 +20985,11 @@ export declare class DescribeAlarmsRequest extends $dara.Model {
20626
20985
  metricName?: string;
20627
20986
  /**
20628
20987
  * @remarks
20629
- * The metric type. Valid values:
20988
+ * The type of the metric. Valid values:
20630
20989
  *
20631
20990
  * * system: system metrics of CloudMonitor
20632
20991
  * * custom: custom metrics that are reported to CloudMonitor.
20992
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
20633
20993
  *
20634
20994
  * @example
20635
20995
  * true
@@ -26612,13 +26972,13 @@ export declare class ModifyScalingConfigurationRequest extends $dara.Model {
26612
26972
  creditSpecification?: string;
26613
26973
  /**
26614
26974
  * @remarks
26615
- * The priority of the custom ECS instance type + vSwitch combination.
26975
+ * The priority of the custom "ECS instance type + vSwitch" combination.
26616
26976
  *
26617
26977
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
26618
26978
  *
26619
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
26979
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
26620
26980
  *
26621
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
26981
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
26622
26982
  *
26623
26983
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
26624
26984
  */
@@ -27111,13 +27471,13 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $dara.Model
27111
27471
  creditSpecification?: string;
27112
27472
  /**
27113
27473
  * @remarks
27114
- * The priority of the custom ECS instance type + vSwitch combination.
27474
+ * The priority of the custom "ECS instance type + vSwitch" combination.
27115
27475
  *
27116
27476
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
27117
27477
  *
27118
- * If Auto Scaling cannot create ECS instances by using the custom ECS instance type + vSwitch combination of the highest priority, Auto Scaling creates ECS instances by using the custom ECS instance type + vSwitch combination of the next highest priority.
27478
+ * If Auto Scaling cannot create ECS instances by using the custom "ECS instance type + vSwitch" combination of the highest priority, Auto Scaling creates ECS instances by using the custom "ECS instance type + vSwitch" combination of the next highest priority.
27119
27479
  *
27120
- * > If you specify the priorities of only a part of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
27480
+ * > If you specify the priorities of only a part of custom "ECS instance type + vSwitch" combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have the specified priorities. If the custom combinations that have the specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom combinations that do not have the specified priorities based on the specified orders of vSwitches and instance types.
27121
27481
  *
27122
27482
  * * Example: The specified order of vSwitches for your scaling group is vsw1 and vsw2, and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you use CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.
27123
27483
  */
@@ -28039,7 +28399,20 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
28039
28399
  * 60
28040
28400
  */
28041
28401
  estimatedInstanceWarmup?: number;
28402
+ /**
28403
+ * @remarks
28404
+ * The Hybrid Cloud Monitoring metrics.
28405
+ */
28042
28406
  hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
28407
+ /**
28408
+ * @remarks
28409
+ * The ID of the Hybrid Cloud Monitoring namespace.
28410
+ *
28411
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
28412
+ *
28413
+ * @example
28414
+ * aliyun-test
28415
+ */
28043
28416
  hybridMonitorNamespace?: string;
28044
28417
  /**
28045
28418
  * @remarks
@@ -28076,6 +28449,17 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
28076
28449
  * CpuUtilization
28077
28450
  */
28078
28451
  metricName?: string;
28452
+ /**
28453
+ * @remarks
28454
+ * The metric type. Valid values:
28455
+ *
28456
+ * * system: system metrics of CloudMonitor.
28457
+ * * custom: custom metrics that are reported to CloudMonitor.
28458
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
28459
+ *
28460
+ * @example
28461
+ * system
28462
+ */
28079
28463
  metricType?: string;
28080
28464
  /**
28081
28465
  * @remarks
@@ -29574,6 +29958,22 @@ export declare class StartInstanceRefreshRequest extends $dara.Model {
29574
29958
  * asg-bp18p2yfxow2dloq****
29575
29959
  */
29576
29960
  scalingGroupId?: string;
29961
+ /**
29962
+ * @remarks
29963
+ * Specifies whether to skip instances that match the desired scaling configuration.
29964
+ *
29965
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
29966
+ *
29967
+ * Valid values:
29968
+ *
29969
+ * * true: skips instances that match the desired scaling configuration. When you initiate an instance refresh task, the system checks the configurations of all instances. The refresh operation is skipped for instances created based on the desired scaling configuration.
29970
+ * * false: does not skip instances that match the desired scaling configuration. When an instance refresh task is initiated, all instances in the scaling group at the time of initiation are refreshed.
29971
+ *
29972
+ * Default value: true.
29973
+ *
29974
+ * @example
29975
+ * true
29976
+ */
29577
29977
  skipMatching?: boolean;
29578
29978
  static names(): {
29579
29979
  [key: string]: string;