@alicloud/ess20220222 1.8.11 → 1.8.13

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
@@ -2209,6 +2209,24 @@ export declare class CreateScalingConfigurationRequestNetworkInterfaces extends
2209
2209
  [key: string]: any;
2210
2210
  });
2211
2211
  }
2212
+ export declare class CreateScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
2213
+ privatePoolIds?: string[];
2214
+ /**
2215
+ * @example
2216
+ * PrivatePoolFirst
2217
+ */
2218
+ strategy?: string;
2219
+ static names(): {
2220
+ [key: string]: string;
2221
+ };
2222
+ static types(): {
2223
+ [key: string]: any;
2224
+ };
2225
+ validate(): void;
2226
+ constructor(map?: {
2227
+ [key: string]: any;
2228
+ });
2229
+ }
2212
2230
  export declare class CreateScalingConfigurationRequestSecurityOptions extends $dara.Model {
2213
2231
  /**
2214
2232
  * @remarks
@@ -2983,6 +3001,24 @@ export declare class CreateScalingConfigurationShrinkRequestNetworkInterfaces ex
2983
3001
  [key: string]: any;
2984
3002
  });
2985
3003
  }
3004
+ export declare class CreateScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
3005
+ privatePoolIds?: string[];
3006
+ /**
3007
+ * @example
3008
+ * PrivatePoolFirst
3009
+ */
3010
+ strategy?: string;
3011
+ static names(): {
3012
+ [key: string]: string;
3013
+ };
3014
+ static types(): {
3015
+ [key: string]: any;
3016
+ };
3017
+ validate(): void;
3018
+ constructor(map?: {
3019
+ [key: string]: any;
3020
+ });
3021
+ }
2986
3022
  export declare class CreateScalingConfigurationShrinkRequestSecurityOptions extends $dara.Model {
2987
3023
  /**
2988
3024
  * @remarks
@@ -3107,6 +3143,14 @@ export declare class CreateScalingGroupRequestCapacityOptions extends $dara.Mode
3107
3143
  */
3108
3144
  onDemandPercentageAboveBaseCapacity?: number;
3109
3145
  /**
3146
+ * @remarks
3147
+ * The cost comparison method. Valid values:
3148
+ *
3149
+ * * PricePerUnit: compares costs based on unit price divided by instance capacities (weights). The capacity of an instance in a scaling group is determined by the weight of the instance type used. If no weight is set, the capacity defaults to 1.
3150
+ * * PricePerVCpu: compares costs based on unit price divided by the number of vCPUs.
3151
+ *
3152
+ * Default value: PricePerUnit.
3153
+ *
3110
3154
  * @example
3111
3155
  * PricePerUnit
3112
3156
  */
@@ -7652,9 +7696,25 @@ export declare class DescribeElasticStrengthResponseBodyElasticStrengthModels ex
7652
7696
  });
7653
7697
  }
7654
7698
  export declare class DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth extends $dara.Model {
7699
+ /**
7700
+ * @example
7701
+ * 3
7702
+ */
7655
7703
  adequacyScore?: number;
7704
+ /**
7705
+ * @example
7706
+ * 3
7707
+ */
7656
7708
  healthScore?: number;
7709
+ /**
7710
+ * @example
7711
+ * 3
7712
+ */
7657
7713
  hotScore?: number;
7714
+ /**
7715
+ * @example
7716
+ * 3
7717
+ */
7658
7718
  supplyScore?: number;
7659
7719
  static names(): {
7660
7720
  [key: string]: string;
@@ -7693,6 +7753,10 @@ export declare class DescribeElasticStrengthResponseBodyResourcePools extends $d
7693
7753
  * The instanceType does not support the image in the configuration.
7694
7754
  */
7695
7755
  msg?: string;
7756
+ /**
7757
+ * @example
7758
+ * Available
7759
+ */
7696
7760
  status?: string;
7697
7761
  /**
7698
7762
  * @remarks
@@ -8967,6 +9031,24 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
8967
9031
  [key: string]: any;
8968
9032
  });
8969
9033
  }
9034
+ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions extends $dara.Model {
9035
+ privatePoolIds?: string[];
9036
+ /**
9037
+ * @example
9038
+ * PrivatePoolFirst
9039
+ */
9040
+ strategy?: string;
9041
+ static names(): {
9042
+ [key: string]: string;
9043
+ };
9044
+ static types(): {
9045
+ [key: string]: any;
9046
+ };
9047
+ validate(): void;
9048
+ constructor(map?: {
9049
+ [key: string]: any;
9050
+ });
9051
+ }
8970
9052
  export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSchedulerOptions extends $dara.Model {
8971
9053
  /**
8972
9054
  * @remarks
@@ -9416,6 +9498,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
9416
9498
  * rg-aekzn2ou7xo****
9417
9499
  */
9418
9500
  resourceGroupId?: string;
9501
+ resourcePoolOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsResourcePoolOptions;
9419
9502
  /**
9420
9503
  * @remarks
9421
9504
  * The ID of the scaling configuration.
@@ -10583,10 +10666,13 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsCapacityOptio
10583
10666
  onDemandPercentageAboveBaseCapacity?: number;
10584
10667
  /**
10585
10668
  * @remarks
10586
- * The price comparison mode. Valid values:
10669
+ * Indicates how prices are compared. Valid values:
10587
10670
  *
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.
10671
+ * * PricePerUnit: Prices are compared based on the price per instance capacity.
10672
+ *
10673
+ * Capacity is determined by the weights assigned to instance types in the scaling group. If no weight is specified, a default weight of 1 is used, meaning each instance is assigned a capacity of 1.
10674
+ *
10675
+ * * PricePerVCpu: Prices are compared based on the price per vCPU.
10590
10676
  *
10591
10677
  * @example
10592
10678
  * PricePerUnit
@@ -11937,7 +12023,7 @@ export declare class DescribeScalingRulesResponseBodyScalingRules extends $dara.
11937
12023
  estimatedInstanceWarmup?: number;
11938
12024
  /**
11939
12025
  * @remarks
11940
- * The Hybrid Cloud Monitoring metrics.
12026
+ * The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
11941
12027
  */
11942
12028
  hybridMetrics?: DescribeScalingRulesResponseBodyScalingRulesHybridMetrics[];
11943
12029
  /**
@@ -14550,6 +14636,24 @@ export declare class ModifyScalingConfigurationRequestNetworkInterfaces extends
14550
14636
  [key: string]: any;
14551
14637
  });
14552
14638
  }
14639
+ export declare class ModifyScalingConfigurationRequestResourcePoolOptions extends $dara.Model {
14640
+ privatePoolIds?: string[];
14641
+ /**
14642
+ * @example
14643
+ * PrivatePoolFirst
14644
+ */
14645
+ strategy?: string;
14646
+ static names(): {
14647
+ [key: string]: string;
14648
+ };
14649
+ static types(): {
14650
+ [key: string]: any;
14651
+ };
14652
+ validate(): void;
14653
+ constructor(map?: {
14654
+ [key: string]: any;
14655
+ });
14656
+ }
14553
14657
  export declare class ModifyScalingConfigurationRequestSecurityOptions extends $dara.Model {
14554
14658
  /**
14555
14659
  * @remarks
@@ -15342,6 +15446,24 @@ export declare class ModifyScalingConfigurationShrinkRequestNetworkInterfaces ex
15342
15446
  [key: string]: any;
15343
15447
  });
15344
15448
  }
15449
+ export declare class ModifyScalingConfigurationShrinkRequestResourcePoolOptions extends $dara.Model {
15450
+ privatePoolIds?: string[];
15451
+ /**
15452
+ * @example
15453
+ * PrivatePoolFirst
15454
+ */
15455
+ strategy?: string;
15456
+ static names(): {
15457
+ [key: string]: string;
15458
+ };
15459
+ static types(): {
15460
+ [key: string]: any;
15461
+ };
15462
+ validate(): void;
15463
+ constructor(map?: {
15464
+ [key: string]: any;
15465
+ });
15466
+ }
15345
15467
  export declare class ModifyScalingConfigurationShrinkRequestSecurityOptions extends $dara.Model {
15346
15468
  /**
15347
15469
  * @remarks
@@ -16142,7 +16264,7 @@ export declare class AttachAlbServerGroupsRequest extends $dara.Model {
16142
16264
  * @remarks
16143
16265
  * 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:
16144
16266
  *
16145
- * * 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`.
16267
+ * * true: adds the existing ECS instances or elastic container instances in the scaling group to the new ALB server group and returns the value of `ScalingActivityId`. You can query the value of ScalingActivityId to check whether the existing ECS instances are added to the ALB server group.
16146
16268
  * * false: does not add the existing ECS instances or elastic container instances in the scaling group to the new ALB server group.
16147
16269
  *
16148
16270
  * Default value: false.
@@ -16266,7 +16388,7 @@ export declare class AttachDBInstancesRequest extends $dara.Model {
16266
16388
  DBInstances?: string[];
16267
16389
  /**
16268
16390
  * @remarks
16269
- * Specifies whether to add the private IP addresses of all ECS instances in the scaling group to the IP address whitelist of an ApsaraDB RDS instance when you attach the ApsaraDB RDS instance to the scaling group. Valid values:
16391
+ * Specifies whether to add the private IP addresses of all ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance that you want to attach to the scaling group. Valid values:
16270
16392
  *
16271
16393
  * * true
16272
16394
  * * false
@@ -17306,11 +17428,11 @@ export declare class CreateAlarmRequest extends $dara.Model {
17306
17428
  scalingGroupId?: string;
17307
17429
  /**
17308
17430
  * @remarks
17309
- * The method that you want to use to aggregate the metric data. Valid values:
17431
+ * The statistical method of the metric data. Valid values:
17310
17432
  *
17311
- * * Average: the average value.
17312
- * * Minimum: the minimum value.
17313
- * * Maximum: the maximum value.
17433
+ * * Average: calculates the average value of the metric data.
17434
+ * * Minimum: calculates the minimum value of the metric data.
17435
+ * * Maximum: calculates the maximum value of the metric data.
17314
17436
  *
17315
17437
  * Default value: Average.
17316
17438
  *
@@ -17763,7 +17885,7 @@ export declare class CreateEciScalingConfigurationRequest extends $dara.Model {
17763
17885
  ownerId?: number;
17764
17886
  /**
17765
17887
  * @remarks
17766
- * The name of the instance Resource Access Management (RAM) role. Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see [Use an instance RAM role by calling API operations](https://help.aliyun.com/document_detail/61178.html).
17888
+ * The name of the instance Resource Access Management (RAM) role. Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see [RAM roles](https://help.aliyun.com/document_detail/61175.html).
17767
17889
  *
17768
17890
  * @example
17769
17891
  * RamTestRole
@@ -18541,6 +18663,7 @@ export declare class CreateScalingConfigurationRequest extends $dara.Model {
18541
18663
  */
18542
18664
  resourceGroupId?: string;
18543
18665
  resourceOwnerAccount?: string;
18666
+ resourcePoolOptions?: CreateScalingConfigurationRequestResourcePoolOptions;
18544
18667
  /**
18545
18668
  * @remarks
18546
18669
  * The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit.
@@ -19058,6 +19181,7 @@ export declare class CreateScalingConfigurationShrinkRequest extends $dara.Model
19058
19181
  */
19059
19182
  resourceGroupId?: string;
19060
19183
  resourceOwnerAccount?: string;
19184
+ resourcePoolOptions?: CreateScalingConfigurationShrinkRequestResourcePoolOptions;
19061
19185
  /**
19062
19186
  * @remarks
19063
19187
  * The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit.
@@ -19856,7 +19980,7 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
19856
19980
  estimatedInstanceWarmup?: number;
19857
19981
  /**
19858
19982
  * @remarks
19859
- * The Hybrid Cloud Monitoring metrics.
19983
+ * The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
19860
19984
  */
19861
19985
  hybridMetrics?: CreateScalingRuleRequestHybridMetrics[];
19862
19986
  /**
@@ -20033,7 +20157,7 @@ export declare class CreateScalingRuleRequest extends $dara.Model {
20033
20157
  * * 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.
20034
20158
  * * 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).
20035
20159
  * * 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.
20036
- * * 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.
20160
+ * * 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 adjust the boundary values for the scaling group.
20037
20161
  *
20038
20162
  * Default value: SimpleScalingRule.
20039
20163
  *
@@ -21032,7 +21156,7 @@ export declare class DescribeAlarmsRequest extends $dara.Model {
21032
21156
  metricName?: string;
21033
21157
  /**
21034
21158
  * @remarks
21035
- * The type of the metric. Valid values:
21159
+ * The metric type. Valid values:
21036
21160
  *
21037
21161
  * * system: system metrics of CloudMonitor
21038
21162
  * * custom: custom metrics that are reported to CloudMonitor.
@@ -21492,7 +21616,7 @@ export declare class DescribeEciScalingConfigurationsRequest extends $dara.Model
21492
21616
  ownerId?: number;
21493
21617
  /**
21494
21618
  * @remarks
21495
- * The number of the page to return. Pages start from page 1.
21619
+ * The page number. Pages start from page 1.
21496
21620
  *
21497
21621
  * Default value: 1.
21498
21622
  *
@@ -21502,7 +21626,7 @@ export declare class DescribeEciScalingConfigurationsRequest extends $dara.Model
21502
21626
  pageNumber?: number;
21503
21627
  /**
21504
21628
  * @remarks
21505
- * The number of entries to return on each page. Maximum value: 50.
21629
+ * The number of entries per page. Maximum value: 50.
21506
21630
  *
21507
21631
  * Default value: 10.
21508
21632
  *
@@ -21762,6 +21886,10 @@ export declare class DescribeElasticStrengthRequest extends $dara.Model {
21762
21886
  });
21763
21887
  }
21764
21888
  export declare class DescribeElasticStrengthResponseBody extends $dara.Model {
21889
+ /**
21890
+ * @example
21891
+ * Strong
21892
+ */
21765
21893
  elasticStrength?: string;
21766
21894
  /**
21767
21895
  * @remarks
@@ -23461,7 +23589,7 @@ export declare class DescribeScalingGroupsRequest extends $dara.Model {
23461
23589
  * @remarks
23462
23590
  * The page number. Minimum value: 1.
23463
23591
  *
23464
- * Default value: 1.
23592
+ * Default value: 1
23465
23593
  *
23466
23594
  * @example
23467
23595
  * 1
@@ -24536,7 +24664,7 @@ export declare class DetachLoadBalancersRequest extends $dara.Model {
24536
24664
  clientToken?: string;
24537
24665
  /**
24538
24666
  * @remarks
24539
- * 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:
24667
+ * Specifies whether to remove Elastic Compute Service (ECS) instances in the scaling group from the backend server groups of the load balancer. Valid values:
24540
24668
  *
24541
24669
  * * true
24542
24670
  * * false
@@ -25951,7 +26079,7 @@ export declare class ModifyAlarmRequest extends $dara.Model {
25951
26079
  * @remarks
25952
26080
  * The metric type. Valid values:
25953
26081
  *
25954
- * * system: system metrics of CloudMonitor
26082
+ * * system: system metrics of CloudMonitor.
25955
26083
  * * custom: custom metrics that are reported to CloudMonitor.
25956
26084
  *
25957
26085
  * @example
@@ -26635,12 +26763,11 @@ export declare class ModifyInstanceAttributeRequest extends $dara.Model {
26635
26763
  * @remarks
26636
26764
  * The ID of the ECS instance.
26637
26765
  *
26638
- * This parameter is required.
26639
- *
26640
26766
  * @example
26641
26767
  * i-bp109k5j3dum1ce6****
26642
26768
  */
26643
26769
  instanceId?: string;
26770
+ instanceIds?: string[];
26644
26771
  ownerId?: number;
26645
26772
  /**
26646
26773
  * @remarks
@@ -27324,6 +27451,7 @@ export declare class ModifyScalingConfigurationRequest extends $dara.Model {
27324
27451
  */
27325
27452
  resourceGroupId?: string;
27326
27453
  resourceOwnerAccount?: string;
27454
+ resourcePoolOptions?: ModifyScalingConfigurationRequestResourcePoolOptions;
27327
27455
  /**
27328
27456
  * @remarks
27329
27457
  * The ID of the scaling configuration that you want to modify.
@@ -27823,6 +27951,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $dara.Model
27823
27951
  */
27824
27952
  resourceGroupId?: string;
27825
27953
  resourceOwnerAccount?: string;
27954
+ resourcePoolOptions?: ModifyScalingConfigurationShrinkRequestResourcePoolOptions;
27826
27955
  /**
27827
27956
  * @remarks
27828
27957
  * The ID of the scaling configuration that you want to modify.
@@ -28449,7 +28578,7 @@ export declare class ModifyScalingRuleRequest extends $dara.Model {
28449
28578
  estimatedInstanceWarmup?: number;
28450
28579
  /**
28451
28580
  * @remarks
28452
- * The Hybrid Cloud Monitoring metrics.
28581
+ * The Hybrid Cloud Monitoring metrics. For more information, see [Create a custom target tracking scaling rule](https://help.aliyun.com/document_detail/2852162.html).
28453
28582
  */
28454
28583
  hybridMetrics?: ModifyScalingRuleRequestHybridMetrics[];
28455
28584
  /**
@@ -32245,8 +32374,8 @@ export default class Client extends OpenApi {
32245
32374
  * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
32246
32375
  *
32247
32376
  * @remarks
32248
- * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
32249
- * * You can call the [ModifyEciScalingConfiguration](https://help.aliyun.com/document_detail/459378.html) operation to check the modification result.
32377
+ * To rename a scaling configuration in a scaling group, ensure the new name is unique within that group.
32378
+ * * You can call the [DescribeEciScalingConfigurations](https://help.aliyun.com/document_detail/459374.html) operation to check the modification result.
32250
32379
  *
32251
32380
  * @param request - ModifyEciScalingConfigurationRequest
32252
32381
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32257,8 +32386,8 @@ export default class Client extends OpenApi {
32257
32386
  * Modifies a scaling configuration of the Elastic Container Instance type. When you call the ModifyEciScalingConfiguration operation, you can specify the ID, name, and instance properties of the scaling configuration whose information you want to modify. You can modify the instance restart policy, instance bidding policy, and elastic IP address (EIP) bandwidth.
32258
32387
  *
32259
32388
  * @remarks
32260
- * If you want to change the name of a scaling configuration in a scaling group, make sure that the new name is unique within the scaling group.
32261
- * * You can call the [ModifyEciScalingConfiguration](https://help.aliyun.com/document_detail/459378.html) operation to check the modification result.
32389
+ * To rename a scaling configuration in a scaling group, ensure the new name is unique within that group.
32390
+ * * You can call the [DescribeEciScalingConfigurations](https://help.aliyun.com/document_detail/459374.html) operation to check the modification result.
32262
32391
  *
32263
32392
  * @param request - ModifyEciScalingConfigurationRequest
32264
32393
  * @returns ModifyEciScalingConfigurationResponse