@alicloud/ess20220222 1.8.9 → 1.8.11

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.
2444
+ *
2445
+ * * PL0 ESSD: 1 to 2048.
2446
+ * * PL1 ESSD: 20 to 2048.
2447
+ * * PL2 ESSD: 461 to 2048.
2448
+ * * PL3 ESSD: 1261 to 2048.
2439
2449
  *
2440
- * The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}.
2450
+ * * ESSD AutoPL disk (cloud_auto): 1 to 2048.
2441
2451
  *
2442
- * Default value: 40 or the size of the image, whichever is greater.
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,11 @@ export declare class CreateScalingGroupRequestCapacityOptions extends $dara.Mode
3092
3106
  * 20
3093
3107
  */
3094
3108
  onDemandPercentageAboveBaseCapacity?: number;
3109
+ /**
3110
+ * @example
3111
+ * PricePerUnit
3112
+ */
3113
+ priceComparisonMode?: string;
3095
3114
  /**
3096
3115
  * @remarks
3097
3116
  * 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:
@@ -3385,7 +3404,7 @@ export declare class CreateScalingGroupRequestServerGroups extends $dara.Model {
3385
3404
  export declare class CreateScalingGroupRequestTags extends $dara.Model {
3386
3405
  /**
3387
3406
  * @remarks
3388
- * The tag key.
3407
+ * The tag key that you want to add to the scaling group.
3389
3408
  *
3390
3409
  * @example
3391
3410
  * Department
@@ -3393,10 +3412,10 @@ export declare class CreateScalingGroupRequestTags extends $dara.Model {
3393
3412
  key?: string;
3394
3413
  /**
3395
3414
  * @remarks
3396
- * Specifies whether to propagate the tag that you want to add. Valid values:
3415
+ * Specifies whether to propagate the tag that you want to add to the scaling group. Valid values:
3397
3416
  *
3398
- * * true: propagates the tag to new instances.
3399
- * * false: does not propagate the tag to any instance.
3417
+ * * true: propagates the tag to only instances that are newly created.
3418
+ * * false: does not propagate the tag to any instances.
3400
3419
  *
3401
3420
  * Default value: false.
3402
3421
  *
@@ -3406,7 +3425,7 @@ export declare class CreateScalingGroupRequestTags extends $dara.Model {
3406
3425
  propagate?: boolean;
3407
3426
  /**
3408
3427
  * @remarks
3409
- * The tag value.
3428
+ * The tag value that you want to add to the scaling group.
3410
3429
  *
3411
3430
  * @example
3412
3431
  * Finance
@@ -3515,7 +3534,21 @@ export declare class CreateScalingRuleRequestAlarmDimensions extends $dara.Model
3515
3534
  });
3516
3535
  }
3517
3536
  export declare class CreateScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
3537
+ /**
3538
+ * @remarks
3539
+ * The key of the metric dimension.
3540
+ *
3541
+ * @example
3542
+ * queue
3543
+ */
3518
3544
  dimensionKey?: string;
3545
+ /**
3546
+ * @remarks
3547
+ * The value of the metric dimension.
3548
+ *
3549
+ * @example
3550
+ * testQueue
3551
+ */
3519
3552
  dimensionValue?: string;
3520
3553
  static names(): {
3521
3554
  [key: string]: string;
@@ -3529,10 +3562,48 @@ export declare class CreateScalingRuleRequestHybridMetricsDimensions extends $da
3529
3562
  });
3530
3563
  }
3531
3564
  export declare class CreateScalingRuleRequestHybridMetrics extends $dara.Model {
3565
+ /**
3566
+ * @remarks
3567
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
3568
+ */
3532
3569
  dimensions?: CreateScalingRuleRequestHybridMetricsDimensions[];
3570
+ /**
3571
+ * @remarks
3572
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
3573
+ *
3574
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
3575
+ *
3576
+ * @example
3577
+ * (a+b)/2
3578
+ */
3533
3579
  expression?: string;
3580
+ /**
3581
+ * @remarks
3582
+ * The reference ID of the metric in the metric expression.
3583
+ *
3584
+ * @example
3585
+ * a
3586
+ */
3534
3587
  id?: string;
3588
+ /**
3589
+ * @remarks
3590
+ * The name of the Hybrid Cloud Monitoring metric.
3591
+ *
3592
+ * @example
3593
+ * AliyunSmq_NumberOfMessagesVisible
3594
+ */
3535
3595
  metricName?: string;
3596
+ /**
3597
+ * @remarks
3598
+ * The statistical method of the metric value. Valid values:
3599
+ *
3600
+ * * Average: calculates the average value of all metric values within a specified interval.
3601
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
3602
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
3603
+ *
3604
+ * @example
3605
+ * Average
3606
+ */
3536
3607
  statistic?: string;
3537
3608
  static names(): {
3538
3609
  [key: string]: string;
@@ -3726,7 +3797,21 @@ export declare class DescribeAlarmsResponseBodyAlarmListExpressions extends $dar
3726
3797
  });
3727
3798
  }
3728
3799
  export declare class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions extends $dara.Model {
3800
+ /**
3801
+ * @remarks
3802
+ * The key of the metric dimension.
3803
+ *
3804
+ * @example
3805
+ * queue
3806
+ */
3729
3807
  dimensionKey?: string;
3808
+ /**
3809
+ * @remarks
3810
+ * The key of the metric dimension.
3811
+ *
3812
+ * @example
3813
+ * testQueue
3814
+ */
3730
3815
  dimensionValue?: string;
3731
3816
  static names(): {
3732
3817
  [key: string]: string;
@@ -3740,10 +3825,48 @@ export declare class DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions
3740
3825
  });
3741
3826
  }
3742
3827
  export declare class DescribeAlarmsResponseBodyAlarmListHybridMetrics extends $dara.Model {
3828
+ /**
3829
+ * @remarks
3830
+ * The metric dimensions. This parameter is used to specify the monitored resources.
3831
+ */
3743
3832
  dimensions?: DescribeAlarmsResponseBodyAlarmListHybridMetricsDimensions[];
3833
+ /**
3834
+ * @remarks
3835
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
3836
+ *
3837
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
3838
+ *
3839
+ * @example
3840
+ * (a+b)/2
3841
+ */
3744
3842
  expression?: string;
3843
+ /**
3844
+ * @remarks
3845
+ * The reference ID of the metric in the metric expression.
3846
+ *
3847
+ * @example
3848
+ * a
3849
+ */
3745
3850
  id?: string;
3851
+ /**
3852
+ * @remarks
3853
+ * The name of the Hybrid Cloud Monitoring metric.
3854
+ *
3855
+ * @example
3856
+ * AliyunSmq_NumberOfMessagesVisible
3857
+ */
3746
3858
  metricName?: string;
3859
+ /**
3860
+ * @remarks
3861
+ * The statistical method of the metric value. Valid values:
3862
+ *
3863
+ * * Average: The average value of all metric values within a specified interval is calculated.
3864
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
3865
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
3866
+ *
3867
+ * @example
3868
+ * Average
3869
+ */
3747
3870
  statistic?: string;
3748
3871
  static names(): {
3749
3872
  [key: string]: string;
@@ -3839,7 +3962,20 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3839
3962
  * &&
3840
3963
  */
3841
3964
  expressionsLogicOperator?: string;
3965
+ /**
3966
+ * @remarks
3967
+ * The Hybrid Cloud Monitoring metrics.
3968
+ */
3842
3969
  hybridMetrics?: DescribeAlarmsResponseBodyAlarmListHybridMetrics[];
3970
+ /**
3971
+ * @remarks
3972
+ * The ID of the Hybrid Cloud Monitoring namespace.
3973
+ *
3974
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
3975
+ *
3976
+ * @example
3977
+ * aliyun-test
3978
+ */
3843
3979
  hybridMonitorNamespace?: string;
3844
3980
  /**
3845
3981
  * @remarks
@@ -3879,10 +4015,11 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3879
4015
  metricName?: string;
3880
4016
  /**
3881
4017
  * @remarks
3882
- * The metric type. Valid values:
4018
+ * The type of the metric. Valid values:
3883
4019
  *
3884
4020
  * * system: system metrics of CloudMonitor
3885
4021
  * * custom: custom metrics that are reported to CloudMonitor.
4022
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
3886
4023
  *
3887
4024
  * @example
3888
4025
  * system
@@ -3912,6 +4049,13 @@ export declare class DescribeAlarmsResponseBodyAlarmList extends $dara.Model {
3912
4049
  * 300
3913
4050
  */
3914
4051
  period?: number;
4052
+ /**
4053
+ * @remarks
4054
+ * The PromQL statement of Hybrid Cloud Monitoring.
4055
+ *
4056
+ * @example
4057
+ * (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)
4058
+ */
3915
4059
  promQL?: string;
3916
4060
  /**
3917
4061
  * @remarks
@@ -7507,6 +7651,22 @@ export declare class DescribeElasticStrengthResponseBodyElasticStrengthModels ex
7507
7651
  [key: string]: any;
7508
7652
  });
7509
7653
  }
7654
+ export declare class DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth extends $dara.Model {
7655
+ adequacyScore?: number;
7656
+ healthScore?: number;
7657
+ hotScore?: number;
7658
+ supplyScore?: number;
7659
+ static names(): {
7660
+ [key: string]: string;
7661
+ };
7662
+ static types(): {
7663
+ [key: string]: any;
7664
+ };
7665
+ validate(): void;
7666
+ constructor(map?: {
7667
+ [key: string]: any;
7668
+ });
7669
+ }
7510
7670
  export declare class DescribeElasticStrengthResponseBodyResourcePools extends $dara.Model {
7511
7671
  /**
7512
7672
  * @remarks
@@ -7524,6 +7684,7 @@ export declare class DescribeElasticStrengthResponseBodyResourcePools extends $d
7524
7684
  * ecs.c7t.xlarge
7525
7685
  */
7526
7686
  instanceType?: string;
7687
+ inventoryHealth?: DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth;
7527
7688
  /**
7528
7689
  * @remarks
7529
7690
  * The error message returned when the scaling strength is the weakest.
@@ -7532,6 +7693,7 @@ export declare class DescribeElasticStrengthResponseBodyResourcePools extends $d
7532
7693
  * The instanceType does not support the image in the configuration.
7533
7694
  */
7534
7695
  msg?: string;
7696
+ status?: string;
7535
7697
  /**
7536
7698
  * @remarks
7537
7699
  * The scaling strength of the resource pool.
@@ -7662,6 +7824,20 @@ export declare class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks e
7662
7824
  * asg-bp16pbfcr8j9*****
7663
7825
  */
7664
7826
  scalingGroupId?: string;
7827
+ /**
7828
+ * @remarks
7829
+ * Indicates whether instances that match the desired scaling configuration are skipped.
7830
+ *
7831
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
7832
+ *
7833
+ * Valid values:
7834
+ *
7835
+ * * 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.
7836
+ * * 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.
7837
+ *
7838
+ * @example
7839
+ * true
7840
+ */
7665
7841
  skipMatching?: boolean;
7666
7842
  /**
7667
7843
  * @remarks
@@ -8029,9 +8205,34 @@ export declare class DescribeRegionsResponseBodyRegions extends $dara.Model {
8029
8205
  });
8030
8206
  }
8031
8207
  export declare class DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages extends $dara.Model {
8208
+ /**
8209
+ * @remarks
8210
+ * The error code that is returned when the scaling activity failed.
8211
+ *
8212
+ * @example
8213
+ * OperationDenied.NoStock
8214
+ */
8032
8215
  code?: string;
8216
+ /**
8217
+ * @remarks
8218
+ * The description of the scaling activity exception.
8219
+ *
8220
+ * @example
8221
+ * Fail to create instances into scaling group.
8222
+ */
8033
8223
  description?: string;
8224
+ /**
8225
+ * @remarks
8226
+ * The IDs of the instances included in the failed scaling activities.
8227
+ */
8034
8228
  failedInstanceIds?: string[];
8229
+ /**
8230
+ * @remarks
8231
+ * The error message that is returned when the scaling activity failed or is partially successful.
8232
+ *
8233
+ * @example
8234
+ * The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.
8235
+ */
8035
8236
  message?: string;
8036
8237
  static names(): {
8037
8238
  [key: string]: string;
@@ -8171,6 +8372,10 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
8171
8372
  * The specified ECS resource is out of stock in this region. Please try again later.
8172
8373
  */
8173
8374
  errorMessage?: string;
8375
+ /**
8376
+ * @remarks
8377
+ * The error messages that are returned when the scaling activities failed or are partially successful.
8378
+ */
8174
8379
  errorMessages?: DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages[];
8175
8380
  /**
8176
8381
  * @remarks
@@ -10376,6 +10581,17 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptio
10376
10581
  * 0
10377
10582
  */
10378
10583
  onDemandPercentageAboveBaseCapacity?: number;
10584
+ /**
10585
+ * @remarks
10586
+ * The price comparison mode. Valid values:
10587
+ *
10588
+ * * PricePerUnit: compares prices based on capacity. The capacity of instances in a scaling group is determined by the weights of the instance types used. If no weight is specified, the default weight is 1.
10589
+ * * PricePerVCpu: compares prices based on the price per vCPU.
10590
+ *
10591
+ * @example
10592
+ * PricePerUnit
10593
+ */
10594
+ priceComparisonMode?: string;
10379
10595
  /**
10380
10596
  * @remarks
10381
10597
  * 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 +11759,21 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesAlarms extends
11543
11759
  });
11544
11760
  }
11545
11761
  export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions extends $dara.Model {
11762
+ /**
11763
+ * @remarks
11764
+ * The key of the metric dimension.
11765
+ *
11766
+ * @example
11767
+ * queue
11768
+ */
11546
11769
  dimensionKey?: string;
11770
+ /**
11771
+ * @remarks
11772
+ * The key of the metric dimension.
11773
+ *
11774
+ * @example
11775
+ * testQueue
11776
+ */
11547
11777
  dimensionValue?: string;
11548
11778
  static names(): {
11549
11779
  [key: string]: string;
@@ -11557,10 +11787,48 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDi
11557
11787
  });
11558
11788
  }
11559
11789
  export declare class DescribeScalingRulesResponseBodyScalingRulesHybridMetrics extends $dara.Model {
11790
+ /**
11791
+ * @remarks
11792
+ * The metric dimensions. This parameter is used to specify the monitored resources.
11793
+ */
11560
11794
  dimensions?: DescribeScalingRulesResponseBodyScalingRulesHybridMetricsDimensions[];
11795
+ /**
11796
+ * @remarks
11797
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
11798
+ *
11799
+ * The expression is written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
11800
+ *
11801
+ * @example
11802
+ * (a+b)/2
11803
+ */
11561
11804
  expression?: string;
11805
+ /**
11806
+ * @remarks
11807
+ * The reference ID of the metric in the metric expression.
11808
+ *
11809
+ * @example
11810
+ * a
11811
+ */
11562
11812
  id?: string;
11813
+ /**
11814
+ * @remarks
11815
+ * The name of the Hybrid Cloud Monitoring metric.
11816
+ *
11817
+ * @example
11818
+ * AliyunSmq_NumberOfMessagesVisible
11819
+ */
11563
11820
  metricName?: string;
11821
+ /**
11822
+ * @remarks
11823
+ * The statistical method of the metric value. Valid values:
11824
+ *
11825
+ * * Average: The average value of all metric values within a specified interval is calculated.
11826
+ * * Minimum: The minimum value of all metric values within a specified interval is calculated.
11827
+ * * Maximum: The maximum value of all metric values within a specified interval is calculated.
11828
+ *
11829
+ * @example
11830
+ * Average
11831
+ */
11564
11832
  statistic?: string;
11565
11833
  static names(): {
11566
11834
  [key: string]: string;
@@ -11667,7 +11935,20 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
11667
11935
  * 300
11668
11936
  */
11669
11937
  estimatedInstanceWarmup?: number;
11938
+ /**
11939
+ * @remarks
11940
+ * The Hybrid Cloud Monitoring metrics.
11941
+ */
11670
11942
  hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
11943
+ /**
11944
+ * @remarks
11945
+ * The ID of the Hybrid Cloud Monitoring namespace.
11946
+ *
11947
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
11948
+ *
11949
+ * @example
11950
+ * aliyun-test
11951
+ */
11671
11952
  hybridMonitorNamespace?: string;
11672
11953
  /**
11673
11954
  * @remarks
@@ -11693,6 +11974,17 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
11693
11974
  * CpuUtilization
11694
11975
  */
11695
11976
  metricName?: string;
11977
+ /**
11978
+ * @remarks
11979
+ * The metric type. Valid values:
11980
+ *
11981
+ * * system: system metrics of CloudMonitor.
11982
+ * * custom: custom metrics that are reported to CloudMonitor.
11983
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
11984
+ *
11985
+ * @example
11986
+ * system
11987
+ */
11696
11988
  metricType?: string;
11697
11989
  /**
11698
11990
  * @remarks
@@ -13692,13 +13984,20 @@ export declare class ModifyScalingConfigurationRequestSystemDisk extends $dara.M
13692
13984
  * @remarks
13693
13985
  * The size of the system disk. Unit: GiB. Valid values:
13694
13986
  *
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.
13987
+ * * Basic disk: 20 to 500.
13700
13988
  *
13701
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
13989
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
13990
+ *
13991
+ * * PL0 ESSD: 1 to 2048.
13992
+ * * PL1 ESSD: 20 to 2048.
13993
+ * * PL2 ESSD: 461 to 2048.
13994
+ * * PL3 ESSD: 1261 to 2048.
13995
+ *
13996
+ * * ESSD AutoPL disk: 1 to 2048.
13997
+ *
13998
+ * * Other disk categories: 20 to 2048.
13999
+ *
14000
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
13702
14001
  *
13703
14002
  * @example
13704
14003
  * 50
@@ -14477,13 +14776,20 @@ export declare class ModifyScalingConfigurationShrinkRequestSystemDisk extends $
14477
14776
  * @remarks
14478
14777
  * The size of the system disk. Unit: GiB. Valid values:
14479
14778
  *
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.
14779
+ * * Basic disk: 20 to 500.
14780
+ *
14781
+ * * ESSD: Valid values vary based on the performance level of the ESSD.
14485
14782
  *
14486
- * The value of SystemDisk.Size must be greater than or equal to max{20, ImageSize}.
14783
+ * * PL0 ESSD: 1 to 2048.
14784
+ * * PL1 ESSD: 20 to 2048.
14785
+ * * PL2 ESSD: 461 to 2048.
14786
+ * * PL3 ESSD: 1261 to 2048.
14787
+ *
14788
+ * * ESSD AutoPL disk: 1 to 2048.
14789
+ *
14790
+ * * Other disk categories: 20 to 2048.
14791
+ *
14792
+ * The value of this parameter must be at least 1 and greater than or equal to the image size.
14487
14793
  *
14488
14794
  * @example
14489
14795
  * 50
@@ -15090,7 +15396,7 @@ export declare class ModifyScalingConfigurationShrinkRequestSpotPriceLimits exte
15090
15396
  export declare class ModifyScalingGroupRequestCapacityOptions extends $dara.Model {
15091
15397
  /**
15092
15398
  * @remarks
15093
- * 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:
15399
+ * 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 only if you set `MultiAZPolicy` in the `CreateScalingGroup` operation to `COST_OPTIMIZED`. Valid values:
15094
15400
  *
15095
15401
  * * true
15096
15402
  * * false
@@ -15101,7 +15407,7 @@ export declare class ModifyScalingGroupRequestCapacityOptions extends $dara.Mode
15101
15407
  compensateWithOnDemand?: boolean;
15102
15408
  /**
15103
15409
  * @remarks
15104
- * 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.
15410
+ * 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.
15105
15411
  *
15106
15412
  * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 0.
15107
15413
  *
@@ -15111,7 +15417,7 @@ export declare class ModifyScalingGroupRequestCapacityOptions extends $dara.Mode
15111
15417
  onDemandBaseCapacity?: number;
15112
15418
  /**
15113
15419
  * @remarks
15114
- * 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
15420
+ * The percentage of additional pay-as-you-go instances beyond the minimum required by `OnDemandBaseCapacity` in the scaling group. Valid values: 0 to 100
15115
15421
  *
15116
15422
  * If you set `MultiAZPolicy` to `COMPOSABLE`, the default value is 100.
15117
15423
  *
@@ -15121,7 +15427,23 @@ export declare class ModifyScalingGroupRequestCapacityOptions extends $dara.Mode
15121
15427
  onDemandPercentageAboveBaseCapacity?: number;
15122
15428
  /**
15123
15429
  * @remarks
15124
- * 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:
15430
+ * The price comparison mode. Valid values:
15431
+ *
15432
+ * * PricePerUnit: compares prices based on capacity.
15433
+ *
15434
+ * The capacity of instances in a scaling group is determined by the weights of the instance types used. If no weight is specified, the default weight is 1, which specifies that each instance in the scaling group has a capacity of 1.
15435
+ *
15436
+ * * PricePerVCpu: compares prices based on the price per vCPU.
15437
+ *
15438
+ * Default value: PricePerUnit.
15439
+ *
15440
+ * @example
15441
+ * PricePerUnit
15442
+ */
15443
+ priceComparisonMode?: string;
15444
+ /**
15445
+ * @remarks
15446
+ * 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 case, 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:
15125
15447
  *
15126
15448
  * * true
15127
15449
  * * false
@@ -15227,7 +15549,21 @@ export declare class ModifyScalingRuleRequestAlarmDimensions extends $dara.Model
15227
15549
  });
15228
15550
  }
15229
15551
  export declare class ModifyScalingRuleRequestHybridMetricsDimensions extends $dara.Model {
15552
+ /**
15553
+ * @remarks
15554
+ * The key of the metric dimension.
15555
+ *
15556
+ * @example
15557
+ * queue
15558
+ */
15230
15559
  dimensionKey?: string;
15560
+ /**
15561
+ * @remarks
15562
+ * The value of the metric dimension.
15563
+ *
15564
+ * @example
15565
+ * testQueue
15566
+ */
15231
15567
  dimensionValue?: string;
15232
15568
  static names(): {
15233
15569
  [key: string]: string;
@@ -15241,10 +15577,48 @@ export declare class ModifyScalingRuleRequestHybridMetricsDimensions extends $da
15241
15577
  });
15242
15578
  }
15243
15579
  export declare class ModifyScalingRuleRequestHybridMetrics extends $dara.Model {
15580
+ /**
15581
+ * @remarks
15582
+ * The metric dimensions. You can use this parameter to specify the monitored resources.
15583
+ */
15244
15584
  dimensions?: ModifyScalingRuleRequestHybridMetricsDimensions[];
15585
+ /**
15586
+ * @remarks
15587
+ * The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events.
15588
+ *
15589
+ * The expression must be written in Reverse Polish Notation (RPN) format and supports only the following operators: `+, -, *, /`.
15590
+ *
15591
+ * @example
15592
+ * (a+b)/2
15593
+ */
15245
15594
  expression?: string;
15595
+ /**
15596
+ * @remarks
15597
+ * The reference ID of the metric in the metric expression.
15598
+ *
15599
+ * @example
15600
+ * a
15601
+ */
15246
15602
  id?: string;
15603
+ /**
15604
+ * @remarks
15605
+ * The name of the Hybrid Cloud Monitoring metric.
15606
+ *
15607
+ * @example
15608
+ * AliyunSmq_NumberOfMessagesVisible
15609
+ */
15247
15610
  metricName?: string;
15611
+ /**
15612
+ * @remarks
15613
+ * The statistical method of the metric value. Valid values:
15614
+ *
15615
+ * * Average: calculates the average value of all metric values within a specified interval.
15616
+ * * Minimum: calculates the minimum value of all metric values within a specified interval.
15617
+ * * Maximum: calculates the maximum value of all metric values within a specified interval.
15618
+ *
15619
+ * @example
15620
+ * Average
15621
+ */
15248
15622
  statistic?: string;
15249
15623
  static names(): {
15250
15624
  [key: string]: string;
@@ -16012,6 +16386,14 @@ export declare class AttachInstancesRequest extends $dara.Model {
16012
16386
  */
16013
16387
  entrusted?: boolean;
16014
16388
  /**
16389
+ * @remarks
16390
+ * Specifies whether to ignore invalid instances when a batch of instances is added to the scaling group. Valid values:
16391
+ *
16392
+ * * 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.
16393
+ * * 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.
16394
+ *
16395
+ * Default value: false.
16396
+ *
16015
16397
  * @example
16016
16398
  * false
16017
16399
  */
@@ -19472,7 +19854,20 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
19472
19854
  * 300
19473
19855
  */
19474
19856
  estimatedInstanceWarmup?: number;
19857
+ /**
19858
+ * @remarks
19859
+ * The Hybrid Cloud Monitoring metrics.
19860
+ */
19475
19861
  hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
19862
+ /**
19863
+ * @remarks
19864
+ * The ID of the Hybrid Cloud Monitoring namespace.
19865
+ *
19866
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
19867
+ *
19868
+ * @example
19869
+ * aliyun-test
19870
+ */
19476
19871
  hybridMonitorNamespace?: string;
19477
19872
  /**
19478
19873
  * @remarks
@@ -19511,6 +19906,17 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
19511
19906
  * CpuUtilization
19512
19907
  */
19513
19908
  metricName?: string;
19909
+ /**
19910
+ * @remarks
19911
+ * The metric type. Valid values:
19912
+ *
19913
+ * * system: system metrics of CloudMonitor.
19914
+ * * custom: custom metrics that are reported to CloudMonitor.
19915
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
19916
+ *
19917
+ * @example
19918
+ * system
19919
+ */
19514
19920
  metricType?: string;
19515
19921
  /**
19516
19922
  * @remarks
@@ -20626,10 +21032,11 @@ export declare class DescribeAlarmsRequest extends $dara.Model {
20626
21032
  metricName?: string;
20627
21033
  /**
20628
21034
  * @remarks
20629
- * The metric type. Valid values:
21035
+ * The type of the metric. Valid values:
20630
21036
  *
20631
21037
  * * system: system metrics of CloudMonitor
20632
21038
  * * custom: custom metrics that are reported to CloudMonitor.
21039
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
20633
21040
  *
20634
21041
  * @example
20635
21042
  * true
@@ -21355,6 +21762,7 @@ export declare class DescribeElasticStrengthRequest extends $dara.Model {
21355
21762
  });
21356
21763
  }
21357
21764
  export declare class DescribeElasticStrengthResponseBody extends $dara.Model {
21765
+ elasticStrength?: string;
21358
21766
  /**
21359
21767
  * @remarks
21360
21768
  * The scaling strength models.
@@ -23051,7 +23459,7 @@ export declare class DescribeScalingGroupsRequest extends $dara.Model {
23051
23459
  ownerId?: number;
23052
23460
  /**
23053
23461
  * @remarks
23054
- * The page number. Pages start from page 1.
23462
+ * The page number. Minimum value: 1.
23055
23463
  *
23056
23464
  * Default value: 1.
23057
23465
  *
@@ -26612,13 +27020,13 @@ export declare class ModifyScalingConfigurationRequest extends $dara.Model {
26612
27020
  creditSpecification?: string;
26613
27021
  /**
26614
27022
  * @remarks
26615
- * The priority of the custom ECS instance type + vSwitch combination.
27023
+ * The priority of the custom "ECS instance type + vSwitch" combination.
26616
27024
  *
26617
27025
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
26618
27026
  *
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.
27027
+ * 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
27028
  *
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.
27029
+ * > 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
27030
  *
26623
27031
  * * 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
27032
  */
@@ -27111,13 +27519,13 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $dara.Model
27111
27519
  creditSpecification?: string;
27112
27520
  /**
27113
27521
  * @remarks
27114
- * The priority of the custom ECS instance type + vSwitch combination.
27522
+ * The priority of the custom "ECS instance type + vSwitch" combination.
27115
27523
  *
27116
27524
  * > This setting is valid only if the scaling policy of the scaling group is a priority policy.
27117
27525
  *
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.
27526
+ * 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
27527
  *
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.
27528
+ * > 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
27529
  *
27122
27530
  * * 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
27531
  */
@@ -28039,7 +28447,20 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
28039
28447
  * 60
28040
28448
  */
28041
28449
  estimatedInstanceWarmup?: number;
28450
+ /**
28451
+ * @remarks
28452
+ * The Hybrid Cloud Monitoring metrics.
28453
+ */
28042
28454
  hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
28455
+ /**
28456
+ * @remarks
28457
+ * The ID of the Hybrid Cloud Monitoring namespace.
28458
+ *
28459
+ * For information about how to manage Hybrid Cloud Monitoring namespaces, see [Manage namespaces](https://help.aliyun.com/document_detail/217606.html).
28460
+ *
28461
+ * @example
28462
+ * aliyun-test
28463
+ */
28043
28464
  hybridMonitorNamespace?: string;
28044
28465
  /**
28045
28466
  * @remarks
@@ -28076,6 +28497,17 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
28076
28497
  * CpuUtilization
28077
28498
  */
28078
28499
  metricName?: string;
28500
+ /**
28501
+ * @remarks
28502
+ * The metric type. Valid values:
28503
+ *
28504
+ * * system: system metrics of CloudMonitor.
28505
+ * * custom: custom metrics that are reported to CloudMonitor.
28506
+ * * hybrid: metrics of Hybrid Cloud Monitoring.
28507
+ *
28508
+ * @example
28509
+ * system
28510
+ */
28079
28511
  metricType?: string;
28080
28512
  /**
28081
28513
  * @remarks
@@ -29574,6 +30006,22 @@ export declare class StartInstanceRefreshRequest extends $dara.Model {
29574
30006
  * asg-bp18p2yfxow2dloq****
29575
30007
  */
29576
30008
  scalingGroupId?: string;
30009
+ /**
30010
+ * @remarks
30011
+ * Specifies whether to skip instances that match the desired scaling configuration.
30012
+ *
30013
+ * > The system determines the match based on the ID of the desired scaling configuration rather than individual configuration items.
30014
+ *
30015
+ * Valid values:
30016
+ *
30017
+ * * 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.
30018
+ * * 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.
30019
+ *
30020
+ * Default value: true.
30021
+ *
30022
+ * @example
30023
+ * true
30024
+ */
29577
30025
  skipMatching?: boolean;
29578
30026
  static names(): {
29579
30027
  [key: string]: string;