@alicloud/ess20220222 1.4.1 → 1.4.2

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
@@ -1886,11 +1886,27 @@ export declare class DescribePatternTypesRequest extends $tea.Model {
1886
1886
  channelId?: number;
1887
1887
  cores?: number;
1888
1888
  coresList?: number[];
1889
+ cpuArchitectures?: string[];
1889
1890
  excludedInstanceType?: string[];
1891
+ gpuSpecs?: string[];
1892
+ instanceCategories?: string[];
1890
1893
  instanceFamilyLevel?: string;
1894
+ instanceTypeFamilies?: string[];
1891
1895
  maxPrice?: number;
1896
+ maximumCpuCoreCount?: number;
1897
+ maximumGpuAmount?: number;
1898
+ maximumMemorySize?: number;
1892
1899
  memory?: number;
1893
1900
  memoryList?: number[];
1901
+ minimumBaselineCredit?: number;
1902
+ minimumCpuCoreCount?: number;
1903
+ minimumEniIpv6AddressQuantity?: number;
1904
+ minimumEniPrivateIpAddressQuantity?: number;
1905
+ minimumEniQuantity?: number;
1906
+ minimumGpuAmount?: number;
1907
+ minimumInitialCredit?: number;
1908
+ minimumMemorySize?: number;
1909
+ physicalProcessorModels?: string[];
1894
1910
  regionId?: string;
1895
1911
  spotStrategy?: string;
1896
1912
  vSwitchId?: string[];
@@ -5096,10 +5112,26 @@ export declare class CreateScalingConfigurationRequestInstancePatternInfos exten
5096
5112
  architectures?: string[];
5097
5113
  burstablePerformance?: string;
5098
5114
  cores?: number;
5115
+ cpuArchitectures?: string[];
5099
5116
  excludedInstanceTypes?: string[];
5117
+ gpuSpecs?: string[];
5118
+ instanceCategories?: string[];
5100
5119
  instanceFamilyLevel?: string;
5120
+ instanceTypeFamilies?: string[];
5101
5121
  maxPrice?: number;
5122
+ maximumCpuCoreCount?: number;
5123
+ maximumGpuAmount?: number;
5124
+ maximumMemorySize?: number;
5102
5125
  memory?: number;
5126
+ minimumBaselineCredit?: number;
5127
+ minimumCpuCoreCount?: number;
5128
+ minimumEniIpv6AddressQuantity?: number;
5129
+ minimumEniPrivateIpAddressQuantity?: number;
5130
+ minimumEniQuantity?: number;
5131
+ minimumGpuAmount?: number;
5132
+ minimumInitialCredit?: number;
5133
+ minimumMemorySize?: number;
5134
+ physicalProcessorModels?: string[];
5103
5135
  static names(): {
5104
5136
  [key: string]: string;
5105
5137
  };
@@ -5240,10 +5272,26 @@ export declare class CreateScalingConfigurationShrinkRequestInstancePatternInfos
5240
5272
  architectures?: string[];
5241
5273
  burstablePerformance?: string;
5242
5274
  cores?: number;
5275
+ cpuArchitectures?: string[];
5243
5276
  excludedInstanceTypes?: string[];
5277
+ gpuSpecs?: string[];
5278
+ instanceCategories?: string[];
5244
5279
  instanceFamilyLevel?: string;
5280
+ instanceTypeFamilies?: string[];
5245
5281
  maxPrice?: number;
5282
+ maximumCpuCoreCount?: number;
5283
+ maximumGpuAmount?: number;
5284
+ maximumMemorySize?: number;
5246
5285
  memory?: number;
5286
+ minimumBaselineCredit?: number;
5287
+ minimumCpuCoreCount?: number;
5288
+ minimumEniIpv6AddressQuantity?: number;
5289
+ minimumEniPrivateIpAddressQuantity?: number;
5290
+ minimumEniQuantity?: number;
5291
+ minimumGpuAmount?: number;
5292
+ minimumInitialCredit?: number;
5293
+ minimumMemorySize?: number;
5294
+ physicalProcessorModels?: string[];
5247
5295
  static names(): {
5248
5296
  [key: string]: string;
5249
5297
  };
@@ -6408,10 +6456,26 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
6408
6456
  architectures?: string[];
6409
6457
  burstablePerformance?: string;
6410
6458
  cores?: number;
6459
+ cpuArchitectures?: string[];
6411
6460
  excludedInstanceTypes?: string[];
6461
+ gpuSpecs?: string[];
6462
+ instanceCategories?: string[];
6412
6463
  instanceFamilyLevel?: string;
6464
+ instanceTypeFamilies?: string[];
6413
6465
  maxPrice?: number;
6466
+ maximumCpuCoreCount?: number;
6467
+ maximumGpuAmount?: number;
6468
+ maximumMemorySize?: number;
6414
6469
  memory?: number;
6470
+ minimumBaselineCredit?: number;
6471
+ minimumCpuCoreCount?: number;
6472
+ minimumEniIpv6AddressQuantity?: number;
6473
+ minimumEniPrivateIpAddressQuantity?: number;
6474
+ minimumEniQuantity?: number;
6475
+ minimumGpuAmount?: number;
6476
+ minimumInitialCredit?: number;
6477
+ minimumMemorySize?: number;
6478
+ physicalProcessorModels?: string[];
6415
6479
  static names(): {
6416
6480
  [key: string]: string;
6417
6481
  };
@@ -7806,10 +7870,26 @@ export declare class ModifyScalingConfigurationRequestInstancePatternInfos exten
7806
7870
  architectures?: string[];
7807
7871
  burstablePerformance?: string;
7808
7872
  cores?: number;
7873
+ cpuArchitectures?: string[];
7809
7874
  excludedInstanceTypes?: string[];
7875
+ gpuSpecs?: string[];
7876
+ instanceCategories?: string[];
7810
7877
  instanceFamilyLevel?: string;
7878
+ instanceTypeFamilies?: string[];
7811
7879
  maxPrice?: number;
7880
+ maximumCpuCoreCount?: number;
7881
+ maximumGpuAmount?: number;
7882
+ maximumMemorySize?: number;
7812
7883
  memory?: number;
7884
+ minimumBaselineCredit?: number;
7885
+ minimumCpuCoreCount?: number;
7886
+ minimumEniIpv6AddressQuantity?: number;
7887
+ minimumEniPrivateIpAddressQuantity?: number;
7888
+ minimumEniQuantity?: number;
7889
+ minimumGpuAmount?: number;
7890
+ minimumInitialCredit?: number;
7891
+ minimumMemorySize?: number;
7892
+ physicalProcessorModels?: string[];
7813
7893
  static names(): {
7814
7894
  [key: string]: string;
7815
7895
  };
@@ -7950,10 +8030,26 @@ export declare class ModifyScalingConfigurationShrinkRequestInstancePatternInfos
7950
8030
  architectures?: string[];
7951
8031
  burstablePerformance?: string;
7952
8032
  cores?: number;
8033
+ cpuArchitectures?: string[];
7953
8034
  excludedInstanceTypes?: string[];
8035
+ gpuSpecs?: string[];
8036
+ instanceCategories?: string[];
7954
8037
  instanceFamilyLevel?: string;
8038
+ instanceTypeFamilies?: string[];
7955
8039
  maxPrice?: number;
8040
+ maximumCpuCoreCount?: number;
8041
+ maximumGpuAmount?: number;
8042
+ maximumMemorySize?: number;
7956
8043
  memory?: number;
8044
+ minimumBaselineCredit?: number;
8045
+ minimumCpuCoreCount?: number;
8046
+ minimumEniIpv6AddressQuantity?: number;
8047
+ minimumEniPrivateIpAddressQuantity?: number;
8048
+ minimumEniQuantity?: number;
8049
+ minimumGpuAmount?: number;
8050
+ minimumInitialCredit?: number;
8051
+ minimumMemorySize?: number;
8052
+ physicalProcessorModels?: string[];
7957
8053
  static names(): {
7958
8054
  [key: string]: string;
7959
8055
  };
@@ -8227,12 +8323,11 @@ export default class Client extends OpenApi {
8227
8323
  */
8228
8324
  applyScalingGroup(request: ApplyScalingGroupRequest): Promise<ApplyScalingGroupResponse>;
8229
8325
  /**
8230
- * @summary Associates Application Load Balancer (ALB) server groups with a scaling group.
8326
+ * @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
8231
8327
  *
8232
- * @description Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
8233
- * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
8328
+ * @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
8329
+ * * The scaling group and the ALB server group share the same virtual private cloud (VPC).
8234
8330
  * * The ALB server group is in the Available state.
8235
- * * You can associate only a limited number of ALB server groups with a scaling group. To view the quota or manually request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).
8236
8331
  *
8237
8332
  * @param request AttachAlbServerGroupsRequest
8238
8333
  * @param runtime runtime options for this request RuntimeOptions
@@ -8240,12 +8335,11 @@ export default class Client extends OpenApi {
8240
8335
  */
8241
8336
  attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse>;
8242
8337
  /**
8243
- * @summary Associates Application Load Balancer (ALB) server groups with a scaling group.
8338
+ * @summary Attaches Application Load Balancer (ALB) server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachAlbServerGroups operation. By attaching ALB server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
8244
8339
  *
8245
- * @description Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
8246
- * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
8340
+ * @description Before you call the operation to attach an ALB server group to your scaling group, make sure that the following requirements are met:
8341
+ * * The scaling group and the ALB server group share the same virtual private cloud (VPC).
8247
8342
  * * The ALB server group is in the Available state.
8248
- * * You can associate only a limited number of ALB server groups with a scaling group. To view the quota or manually request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).
8249
8343
  *
8250
8344
  * @param request AttachAlbServerGroupsRequest
8251
8345
  * @return AttachAlbServerGroupsResponse
@@ -8355,7 +8449,7 @@ export default class Client extends OpenApi {
8355
8449
  */
8356
8450
  attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse>;
8357
8451
  /**
8358
- * @summary Attaches one or more server groups to a scaling group. You can attach the following server groups to a scaling group: Application Load Balancer (ALB) and Network Load Balancer (NLB) server groups.
8452
+ * @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
8359
8453
  *
8360
8454
  * @param request AttachServerGroupsRequest
8361
8455
  * @param runtime runtime options for this request RuntimeOptions
@@ -8363,29 +8457,30 @@ export default class Client extends OpenApi {
8363
8457
  */
8364
8458
  attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse>;
8365
8459
  /**
8366
- * @summary Attaches one or more server groups to a scaling group. You can attach the following server groups to a scaling group: Application Load Balancer (ALB) and Network Load Balancer (NLB) server groups.
8460
+ * @summary Attaches server groups to a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the AttachServerGroups operation. By attaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups to your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
8367
8461
  *
8368
8462
  * @param request AttachServerGroupsRequest
8369
8463
  * @return AttachServerGroupsResponse
8370
8464
  */
8371
8465
  attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse>;
8372
8466
  /**
8373
- * @summary Associates Sever Load Balancer (SLB) vServer groups with a scaling group.
8374
- *
8375
- * @description Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
8376
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
8377
- * * The CLB instance and the scaling group must reside in the same region.
8378
- * * The CLB instance must be in the Running state.
8379
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
8380
- * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
8381
- * * If the network type of the scaling group is VPC, the network type of the CLB instance is classic network, and the vServer groups of the CLB instance contain instances of the VPC network type, the instances and the scaling group must be in the same VPC.
8382
- * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
8383
- * * You can attach only a limited number of vServer groups to a scaling group. For information about the quota on vServer groups, see [Limits](https://help.aliyun.com/document_detail/25863.html).
8384
- * When you call this operation, you must specify the following parameters:
8385
- * * LoadBalancerId: the ID of the CLB instance.
8386
- * * VServerGroupId: the ID of the vServer group.
8387
- * * Port: the port number of the vServer group.
8388
- * If a vServer group is attached to a scaling group by using different ports, Auto Scaling considers that more than one vServer group is attached to the scaling group. If multiple vServer groups with the same group ID and port number are specified in the request parameters, only the first vServer group is used. The other vServer groups are ignored.
8467
+ * @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
8468
+ *
8469
+ * @description * Before you call this operation, make sure that the following requirements are met:
8470
+ * * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
8471
+ * * The CLB instance and the scaling group reside in the same region.
8472
+ * * The CLB instance is in the Running state.
8473
+ * * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
8474
+ * * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
8475
+ * * If the network type of the scaling group is VPC and the network type of the CLB instance is classic network, any backend server of the CLB instance within a VPC setup shares the same VPC as the scaling group.
8476
+ * * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
8477
+ * * The operation to attach vServer groups does not result in the total number of vServer groups exceeding the predefined quota limit. For information about the vServer group quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
8478
+ * * When you call this operation to attach vServer groups, you must specify the following parameters:
8479
+ * * LoadBalancerId: the ID of the CLB instance
8480
+ * * VServerGroupId: the ID of the vServer group
8481
+ * * Port: the port number of the vServer group
8482
+ * **
8483
+ * **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
8389
8484
  *
8390
8485
  * @param request AttachVServerGroupsRequest
8391
8486
  * @param runtime runtime options for this request RuntimeOptions
@@ -8393,29 +8488,33 @@ export default class Client extends OpenApi {
8393
8488
  */
8394
8489
  attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse>;
8395
8490
  /**
8396
- * @summary Associates Sever Load Balancer (SLB) vServer groups with a scaling group.
8397
- *
8398
- * @description Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
8399
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
8400
- * * The CLB instance and the scaling group must reside in the same region.
8401
- * * The CLB instance must be in the Running state.
8402
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
8403
- * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
8404
- * * If the network type of the scaling group is VPC, the network type of the CLB instance is classic network, and the vServer groups of the CLB instance contain instances of the VPC network type, the instances and the scaling group must be in the same VPC.
8405
- * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
8406
- * * You can attach only a limited number of vServer groups to a scaling group. For information about the quota on vServer groups, see [Limits](https://help.aliyun.com/document_detail/25863.html).
8407
- * When you call this operation, you must specify the following parameters:
8408
- * * LoadBalancerId: the ID of the CLB instance.
8409
- * * VServerGroupId: the ID of the vServer group.
8410
- * * Port: the port number of the vServer group.
8411
- * If a vServer group is attached to a scaling group by using different ports, Auto Scaling considers that more than one vServer group is attached to the scaling group. If multiple vServer groups with the same group ID and port number are specified in the request parameters, only the first vServer group is used. The other vServer groups are ignored.
8491
+ * @summary Attaches vServer groups to a scaling group. After a Classic Load Balancer (CLB) instance is attached to your scaling group, the instances in the scaling group are automatically added as backend servers of the CLB instance. These servers then handle requests forwarded by the CLB instance, streamlining the processing of incoming traffic. To direct varying access requests to separate backend servers or to distribute requests based on domain names or URLs, you can call the AttachVServerGroups operation. This operation enables the addition of multiple vServer groups, allowing for efficient management of various backend server configurations tailored to your routing preferences.
8492
+ *
8493
+ * @description * Before you call this operation, make sure that the following requirements are met:
8494
+ * * The CLB instance and the scaling group belong to the same Alibaba Cloud account.
8495
+ * * The CLB instance and the scaling group reside in the same region.
8496
+ * * The CLB instance is in the Running state.
8497
+ * * The CLB instance is configured with at least one listener. The health check feature is enabled for the CLB instance.
8498
+ * * If the network type of both the CLB instance and the scaling group is virtual private cloud (VPC), they use the same VPC.
8499
+ * * If the network type of the scaling group is VPC and the network type of the CLB instance is classic network, any backend server of the CLB instance within a VPC setup shares the same VPC as the scaling group.
8500
+ * * The vServer groups that you want to attach to the scaling group belong to the CLB instance.
8501
+ * * The operation to attach vServer groups does not result in the total number of vServer groups exceeding the predefined quota limit. For information about the vServer group quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
8502
+ * * When you call this operation to attach vServer groups, you must specify the following parameters:
8503
+ * * LoadBalancerId: the ID of the CLB instance
8504
+ * * VServerGroupId: the ID of the vServer group
8505
+ * * Port: the port number of the vServer group
8506
+ * **
8507
+ * **Note** If you attempt to attach the same vServer group to a scaling group multiple times over the identical port, the system regards each attempt as a separate vServer group attachment to the scaling group. In your request, if you include the same vServer group ID coupled with the same port number multiple times, only the first configuration of the vServer group and port number pairing is considered valid. Subsequent vServer group and port number parings are disregarded.
8412
8508
  *
8413
8509
  * @param request AttachVServerGroupsRequest
8414
8510
  * @return AttachVServerGroupsResponse
8415
8511
  */
8416
8512
  attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
8417
8513
  /**
8418
- * @summary Adds a scaling group to a resource group.
8514
+ * @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
8515
+ *
8516
+ * @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
8517
+ * * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
8419
8518
  *
8420
8519
  * @param request ChangeResourceGroupRequest
8421
8520
  * @param runtime runtime options for this request RuntimeOptions
@@ -8423,7 +8522,10 @@ export default class Client extends OpenApi {
8423
8522
  */
8424
8523
  changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
8425
8524
  /**
8426
- * @summary Adds a scaling group to a resource group.
8525
+ * @summary Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
8526
+ *
8527
+ * @description * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
8528
+ * * A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see [What is resource management?](https://help.aliyun.com/document_detail/94475.html)
8427
8529
  *
8428
8530
  * @param request ChangeResourceGroupRequest
8429
8531
  * @return ChangeResourceGroupResponse
@@ -8449,13 +8551,13 @@ export default class Client extends OpenApi {
8449
8551
  */
8450
8552
  completeLifecycleAction(request: CompleteLifecycleActionRequest): Promise<CompleteLifecycleActionResponse>;
8451
8553
  /**
8452
- * @summary Creates an event-triggered task.
8554
+ * @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
8453
8555
  *
8454
- * @description * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
8455
- * * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
8456
- * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
8457
- * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
8458
- * > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
8556
+ * @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
8557
+ * * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
8558
+ * * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
8559
+ * * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
8560
+ * > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
8459
8561
  *
8460
8562
  * @param request CreateAlarmRequest
8461
8563
  * @param runtime runtime options for this request RuntimeOptions
@@ -8463,13 +8565,13 @@ export default class Client extends OpenApi {
8463
8565
  */
8464
8566
  createAlarmWithOptions(request: CreateAlarmRequest, runtime: $Util.RuntimeOptions): Promise<CreateAlarmResponse>;
8465
8567
  /**
8466
- * @summary Creates an event-triggered task.
8568
+ * @summary Creates event-triggered tasks. If your business encounters unexpected traffic surges or has no specific patterns, you can call the CreateAlarm operation to create an event-triggered task and associate a CloudMonitor metric with the task. This allows you to dynamically adjust the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling group and keep updated on the real-time metric data, which facilitates cloud resource management and maintenance.
8467
8569
  *
8468
- * @description * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
8469
- * * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
8470
- * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
8471
- * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
8472
- * > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
8570
+ * @description * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Event-triggered tasks of the custom monitoring type](https://help.aliyun.com/document_detail/74861.html).
8571
+ * * When you create an event-triggered task, you must specify MetricName, Dimensions.DimensionKey, and Dimensions.DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify user_id and scaling_group for an event-triggered task to aggregate monitoring data of all ECS instances or elastic container instances in a scaling group within an Alibaba Cloud account.
8572
+ * * If you create an event-triggered task of the custom monitoring type, you can specify only custom metrics in the task.
8573
+ * * If you create an event-triggered task of the system monitoring type, you can specify the system metrics described in [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html) in the task.
8574
+ * > user_id and scaling_group are automatically populated. You need to only specify device and state. For more information, see `Dimensions.DimensionKey` and `Dimensions.DimensionValue` in the "Request parameters" section of this topic.
8473
8575
  *
8474
8576
  * @param request CreateAlarmRequest
8475
8577
  * @return CreateAlarmResponse
@@ -8892,7 +8994,7 @@ export default class Client extends OpenApi {
8892
8994
  */
8893
8995
  deleteScheduledTask(request: DeleteScheduledTaskRequest): Promise<DeleteScheduledTaskResponse>;
8894
8996
  /**
8895
- * @summary Queries event-triggered tasks.
8997
+ * @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
8896
8998
  *
8897
8999
  * @param request DescribeAlarmsRequest
8898
9000
  * @param runtime runtime options for this request RuntimeOptions
@@ -8900,7 +9002,7 @@ export default class Client extends OpenApi {
8900
9002
  */
8901
9003
  describeAlarmsWithOptions(request: DescribeAlarmsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlarmsResponse>;
8902
9004
  /**
8903
- * @summary Queries event-triggered tasks.
9005
+ * @summary Queries event-triggered tasks. You can call the DescribeAlarms operation to learn about the configurations of event-triggered tasks and keep updated on monitoring data changes. This helps you troubleshoot system resource issues at the earliest opportunity and ensures system stability and reliability.
8904
9006
  *
8905
9007
  * @param request DescribeAlarmsRequest
8906
9008
  * @return DescribeAlarmsResponse
@@ -9034,7 +9136,7 @@ export default class Client extends OpenApi {
9034
9136
  */
9035
9137
  describeNotificationTypes(request: DescribeNotificationTypesRequest): Promise<DescribeNotificationTypesResponse>;
9036
9138
  /**
9037
- * @summary DescribePatternTypes
9139
+ * @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
9038
9140
  *
9039
9141
  * @param request DescribePatternTypesRequest
9040
9142
  * @param runtime runtime options for this request RuntimeOptions
@@ -9042,7 +9144,7 @@ export default class Client extends OpenApi {
9042
9144
  */
9043
9145
  describePatternTypesWithOptions(request: DescribePatternTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribePatternTypesResponse>;
9044
9146
  /**
9045
- * @summary DescribePatternTypes
9147
+ * @summary Filters instance types that meet your business requirements. If you create a scaling configuration by opting for the Specify Instance Type approach, you can call the DescribePatternTypes operation. This operation is designed to sift through and identify instance types that fulfill your specific business needs. It does so by examining the number of vCPUs, memory size, instance family level, and maximum budgeted expense that you specify within the scaling configuration settings.
9046
9148
  *
9047
9149
  * @param request DescribePatternTypesRequest
9048
9150
  * @return DescribePatternTypesResponse
@@ -9117,7 +9219,7 @@ export default class Client extends OpenApi {
9117
9219
  */
9118
9220
  describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse>;
9119
9221
  /**
9120
- * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, a Kubernetes Deployment file that is in the YAML format is returned.
9222
+ * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
9121
9223
  *
9122
9224
  * @param request DescribeScalingGroupDetailRequest
9123
9225
  * @param runtime runtime options for this request RuntimeOptions
@@ -9125,7 +9227,7 @@ export default class Client extends OpenApi {
9125
9227
  */
9126
9228
  describeScalingGroupDetailWithOptions(request: DescribeScalingGroupDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupDetailResponse>;
9127
9229
  /**
9128
- * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, a Kubernetes Deployment file that is in the YAML format is returned.
9230
+ * @summary Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
9129
9231
  *
9130
9232
  * @param request DescribeScalingGroupDetailRequest
9131
9233
  * @return DescribeScalingGroupDetailResponse
@@ -9278,7 +9380,7 @@ export default class Client extends OpenApi {
9278
9380
  */
9279
9381
  detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse>;
9280
9382
  /**
9281
- * @summary Detaches one or more server groups from a scaling group. You can attach and detach the following server groups from a scaling group: Application Load Balancer (ALB) and Network Load Balancer (NLB) server groups.
9383
+ * @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
9282
9384
  *
9283
9385
  * @param request DetachServerGroupsRequest
9284
9386
  * @param runtime runtime options for this request RuntimeOptions
@@ -9286,7 +9388,7 @@ export default class Client extends OpenApi {
9286
9388
  */
9287
9389
  detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse>;
9288
9390
  /**
9289
- * @summary Detaches one or more server groups from a scaling group. You can attach and detach the following server groups from a scaling group: Application Load Balancer (ALB) and Network Load Balancer (NLB) server groups.
9391
+ * @summary Detach server groups from a scaling group. To seamlessly adjust the number of instances in response to changes in your business workload or to maintain the uninterrupted accessibility of your application, you can call the DetachServerGroups operation. By detaching Application Load Balancer (ALB) or Network Load Balancer (NLB) server groups from your scaling group, this operation enables Auto Scaling to automatically tailor your computing capacity to your business needs. Furthermore, it optimizes traffic routing by dynamically allocating incoming requests based on current workload patterns, which significantly improves the stability and performance of your application.
9290
9392
  *
9291
9393
  * @param request DetachServerGroupsRequest
9292
9394
  * @return DetachServerGroupsResponse
@@ -9341,11 +9443,11 @@ export default class Client extends OpenApi {
9341
9443
  */
9342
9444
  disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse>;
9343
9445
  /**
9344
- * @summary Disables a scaling group.
9446
+ * @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
9345
9447
  *
9346
9448
  * @description Before you call this operation to disable a scaling group, take note of the following items:
9347
- * * When you call this operation, ongoing scaling activities will continue until they are complete, but new activities will be rejected.
9348
- * * You can disable only scaling groups that are in the Active state.
9449
+ * * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
9450
+ * * This operation can be called only when the scaling group is in the Active state.
9349
9451
  *
9350
9452
  * @param request DisableScalingGroupRequest
9351
9453
  * @param runtime runtime options for this request RuntimeOptions
@@ -9353,11 +9455,11 @@ export default class Client extends OpenApi {
9353
9455
  */
9354
9456
  disableScalingGroupWithOptions(request: DisableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DisableScalingGroupResponse>;
9355
9457
  /**
9356
- * @summary Disables a scaling group.
9458
+ * @summary Disables a scaling group. If you temporarily do not require a scaling group that is in the Enabled state, you can call the DisableScalingGroup operation to disable it.
9357
9459
  *
9358
9460
  * @description Before you call this operation to disable a scaling group, take note of the following items:
9359
- * * When you call this operation, ongoing scaling activities will continue until they are complete, but new activities will be rejected.
9360
- * * You can disable only scaling groups that are in the Active state.
9461
+ * * If scaling activities are being executed in the specified scaling group when you call this operation, these activities will continue until they are complete. However, scaling activities that are triggered after this operation is called will be rejected.
9462
+ * * This operation can be called only when the scaling group is in the Active state.
9361
9463
  *
9362
9464
  * @param request DisableScalingGroupRequest
9363
9465
  * @return DisableScalingGroupResponse
@@ -9379,13 +9481,14 @@ export default class Client extends OpenApi {
9379
9481
  */
9380
9482
  enableAlarm(request: EnableAlarmRequest): Promise<EnableAlarmResponse>;
9381
9483
  /**
9382
- * @summary Enables a scaling group.
9484
+ * @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
9383
9485
  *
9384
- * @description You can call this operation to enable a scaling group that is in the Inactive state and has an instance configuration source. The instance configuration source can be a scaling configuration, a launch template, or an Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If a scaling group is not in the Inactive state or does not have an active instance configuration source, you cannot call this operation to enable the scaling group.
9385
- * > A scaling group can have only one active instance configuration source. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If an instance configuration source has been configured for the scaling group before you call this operation, the scaling configuration or launch template that you specify in the request overwrites the original scaling configuration or launch template.
9386
- * If you specify a value for the InstanceId parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
9387
- * * If the total number of ECS instances is less than the minimum number of instances allowed in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances allowed in your scaling group is five, and you specify the InstanceId parameter to add two created ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
9388
- * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
9486
+ * @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
9487
+ * **
9488
+ * **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
9489
+ * * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
9490
+ * * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
9491
+ * * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
9389
9492
  *
9390
9493
  * @param request EnableScalingGroupRequest
9391
9494
  * @param runtime runtime options for this request RuntimeOptions
@@ -9393,13 +9496,14 @@ export default class Client extends OpenApi {
9393
9496
  */
9394
9497
  enableScalingGroupWithOptions(request: EnableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<EnableScalingGroupResponse>;
9395
9498
  /**
9396
- * @summary Enables a scaling group.
9499
+ * @summary Enables a scaling group. If a scaling group is in the Disabled state and contains an instance configuration source such as a launch template or a scaling configuration, you can call the EnableScalingGroup operation to enable the scaling group. This operation permits Auto Scaling to dynamically adjust the computing power (also known as the number of instances) in the scaling group based on your business requirements.
9397
9500
  *
9398
- * @description You can call this operation to enable a scaling group that is in the Inactive state and has an instance configuration source. The instance configuration source can be a scaling configuration, a launch template, or an Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If a scaling group is not in the Inactive state or does not have an active instance configuration source, you cannot call this operation to enable the scaling group.
9399
- * > A scaling group can have only one active instance configuration source. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If an instance configuration source has been configured for the scaling group before you call this operation, the scaling configuration or launch template that you specify in the request overwrites the original scaling configuration or launch template.
9400
- * If you specify a value for the InstanceId parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
9401
- * * If the total number of ECS instances is less than the minimum number of instances allowed in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances allowed in your scaling group is five, and you specify the InstanceId parameter to add two created ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
9402
- * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
9501
+ * @description * You can call this operation to enable a scaling group only if the scaling group is in the Inactive state and contains an instance configuration source such as a launch temple or a scaling configuration. The instance configuration source can also be the Elastic Compute Service (ECS) instance that you specified when you created the scaling group. If the preceding requirements are not met, the operation will fail.
9502
+ * **
9503
+ * **Note** A scaling group can have only one active instance configuration source at a time. When you call this operation to enable a scaling group, you can specify a scaling configuration or a launch template for the scaling group. If the scaling group already have an instance configuration source defined prior to your calling, the scaling configuration or launch template specified within your request will supersede the existing scaling configuration or launch template.
9504
+ * * If you specify InstanceId.N to add to the scaling group within your request, Auto Scaling will check whether the addition of InstanceId.N will cause the total number of ECS instances in the scaling group to fall outside the boundaries specified by MinSize and MaxSize after you call this operation.
9505
+ * * If the call results in the total number of ECS instances dropping below the value of MinSize, Auto Scaling proactively creates pay-as-you-go ECS instances to ensure that the total number reaches the minimum threshold. For example, if you set MinSize to 5 when you created a scaling group and include InstanceId.N within your request to add two ECS instances when you attempt to enable the scaling group, Auto Scaling creates three more ECS instances in the scaling group after the two ECS instances are added.
9506
+ * * If the call results in the total number of ECS instances exceeding the value of MaxSize, the operation fails.
9403
9507
  *
9404
9508
  * @param request EnableScalingGroupRequest
9405
9509
  * @return EnableScalingGroupResponse
@@ -9502,7 +9606,10 @@ export default class Client extends OpenApi {
9502
9606
  */
9503
9607
  listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
9504
9608
  /**
9505
- * @summary Queries tags that are added to one or more Auto Scaling resources.
9609
+ * @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
9610
+ *
9611
+ * @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
9612
+ * * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
9506
9613
  *
9507
9614
  * @param request ListTagResourcesRequest
9508
9615
  * @param runtime runtime options for this request RuntimeOptions
@@ -9510,7 +9617,10 @@ export default class Client extends OpenApi {
9510
9617
  */
9511
9618
  listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
9512
9619
  /**
9513
- * @summary Queries tags that are added to one or more Auto Scaling resources.
9620
+ * @summary Queries tags. You can call the ListTagResources operation to query tags that are added to Auto Scaling resources, thereby clarifying resource utilization and facilitating efficient management. This operation aids in the automation of resource categorization and permission management processes.
9621
+ *
9622
+ * @description * Specify at least one of the following request parameters: `ResourceIds` and `Tags`. `Tags.Key` and `Tags.Value` are used to specify the query objects.
9623
+ * * If you provide both `ResourceIds` and `Tags` in your request, the response will exclusively include Auto Scaling resources that satisfy the criteria set by these parameters, ensuring targeted and precise information retrieval.
9514
9624
  *
9515
9625
  * @param request ListTagResourcesRequest
9516
9626
  * @return ListTagResourcesResponse
@@ -9650,19 +9760,21 @@ export default class Client extends OpenApi {
9650
9760
  */
9651
9761
  modifyScalingConfiguration(request: ModifyScalingConfigurationRequest): Promise<ModifyScalingConfigurationResponse>;
9652
9762
  /**
9653
- * @summary Modifies a scaling group.
9763
+ * @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
9654
9764
  *
9655
- * @description * You cannot call this operation to modify the settings of the following parameters:
9765
+ * @description * You cannot modify the following parameters by calling this operation:
9656
9766
  * * RegionId
9657
9767
  * * LoadBalancerId
9658
- * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
9768
+ * **
9769
+ * **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
9659
9770
  * * DBInstanceId
9660
- * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
9661
- * * You can modify only scaling groups that are in the Active or Inactive state.
9662
- * * If you enable a new scaling configuration, Elastic Compute Service (ECS) instances that are created based on the previous scaling configuration still run as expected in the scaling group.
9663
- * * If the total number of instances in the scaling group is greater than the allowed maximum number after you change the value of the MaxSize parameter, Auto Scaling automatically removes instances from the scaling group to ensure that the number of instances is within the new range.
9664
- * * If the total number of instances in the scaling group is less than the allowed minimum number after you change the value of the MinSize parameter, Auto Scaling automatically adds instances to the scaling group to ensure that the number of instances is within the new range.
9665
- * * If the total number of instances in the scaling group does not match the expected number of instances after you change the value of the DesiredCapacity parameter, Auto Scaling automatically adds instances to or removes instances from the scaling group to ensure that the number of instances matches the value of the DesiredCapacity parameter.
9771
+ * **
9772
+ * **Note** If you want to modify the ApsaraDB RDS instance settings of your scaling group, you can call the AttachDBInstances operation or the DetachDBInstances operation.
9773
+ * * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
9774
+ * * Enabling a new scaling configuration in the scaling group will not impact existing Elastic Compute Service (ECS) instances or elastic container instances that were provisioned based on the previous scaling configuration. These instances will continue to run as expected.
9775
+ * * If the modification of the MaxSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new maximum limit, Auto Scaling proactively removes the surplus instances to restore the total number to match the new maximum limit.
9776
+ * * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
9777
+ * * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
9666
9778
  *
9667
9779
  * @param request ModifyScalingGroupRequest
9668
9780
  * @param runtime runtime options for this request RuntimeOptions
@@ -9670,19 +9782,21 @@ export default class Client extends OpenApi {
9670
9782
  */
9671
9783
  modifyScalingGroupWithOptions(request: ModifyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingGroupResponse>;
9672
9784
  /**
9673
- * @summary Modifies a scaling group.
9785
+ * @summary Modifies a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can modify scaling groups to adjust your computing power with ease. The computing power refers to the instances that provide the computing capability. When your scaling group cannot meet your business requirements, you can call the ModifyScalingGroup operation to modify scaling group attributes such as the maximum, minimum, and expected numbers of instances. This prevents repeated creation and configuration of scaling groups, which saves you a lot of time and resource costs.
9674
9786
  *
9675
- * @description * You cannot call this operation to modify the settings of the following parameters:
9787
+ * @description * You cannot modify the following parameters by calling this operation:
9676
9788
  * * RegionId
9677
9789
  * * LoadBalancerId
9678
- * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
9790
+ * **
9791
+ * **Note** If you want to modify the load balancer settings of your scaling group, you can call the AttachLoadBalancers operation or the DetachLoadBalancers operation.
9679
9792
  * * DBInstanceId
9680
- * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
9681
- * * You can modify only scaling groups that are in the Active or Inactive state.
9682
- * * If you enable a new scaling configuration, Elastic Compute Service (ECS) instances that are created based on the previous scaling configuration still run as expected in the scaling group.
9683
- * * If the total number of instances in the scaling group is greater than the allowed maximum number after you change the value of the MaxSize parameter, Auto Scaling automatically removes instances from the scaling group to ensure that the number of instances is within the new range.
9684
- * * If the total number of instances in the scaling group is less than the allowed minimum number after you change the value of the MinSize parameter, Auto Scaling automatically adds instances to the scaling group to ensure that the number of instances is within the new range.
9685
- * * If the total number of instances in the scaling group does not match the expected number of instances after you change the value of the DesiredCapacity parameter, Auto Scaling automatically adds instances to or removes instances from the scaling group to ensure that the number of instances matches the value of the DesiredCapacity parameter.
9793
+ * **
9794
+ * **Note** If you want to modify the ApsaraDB RDS instance settings of your scaling group, you can call the AttachDBInstances operation or the DetachDBInstances operation.
9795
+ * * You can call this operation to modify a scaling group only when the scaling group is in the `Active` or `Inactive` state.
9796
+ * * Enabling a new scaling configuration in the scaling group will not impact existing Elastic Compute Service (ECS) instances or elastic container instances that were provisioned based on the previous scaling configuration. These instances will continue to run as expected.
9797
+ * * If the modification of the MaxSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new maximum limit, Auto Scaling proactively removes the surplus instances to restore the total number to match the new maximum limit.
9798
+ * * If the modification of the MinSize setting leads to the total number of ECS instances or elastic container instances in the scaling group exceeding the new minimum threshold, Auto Scaling proactively adds more instances to the scaling group to ensure that the total number aligns with the new minimum threshold.
9799
+ * * If the modification of the DesiredCapacity setting leads to the total number of ECS instances or elastic container instances in the scaling group not matching the new desired capacity, Auto Scaling proactively adjusts the total number of instances to ensure that the total number aligns with the new desired capacity.
9686
9800
  *
9687
9801
  * @param request ModifyScalingGroupRequest
9688
9802
  * @return ModifyScalingGroupResponse
@@ -9827,16 +9941,15 @@ export default class Client extends OpenApi {
9827
9941
  */
9828
9942
  resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
9829
9943
  /**
9830
- * @summary Scales instances in a scaling group based on the specified scaling policy.
9944
+ * @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
9831
9945
  *
9832
- * @description Compared with the ExecuteScalingRule operation, the ScaleWithAdjustment operation does not require a scaling rule to be created in advance. Before you call the ScaleWithAdjustment operation, take note of the following items:
9833
- * * The following conditions must be met:
9946
+ * @description * Before you call this operation, take note of the following items:
9834
9947
  * * The scaling group is in the Active state.
9835
- * * No scaling activities in the scaling group are in progress.
9836
- * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
9837
- * * If the addition of a specified number of Elastic Compute Service (ECS) instances to a scaling group causes the total number of ECS instances in the scaling group to exceed the maximum number of instances allowed, Auto Scaling adds only a specific number of ECS instances to ensure that the total number of instances is equal to the maximum number of instances.
9838
- * * If the removal of a specified number of ECS instances from a scaling group causes the total number of ECS instances in the scaling group to drop below the minimum number of instances allowed, Auto Scaling removes only a specific number of ECS instances to ensure that the total number of instances is equal to the minimum number of instances.
9839
- * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity by using the value of the `ScalingActivityId` parameter in the response.
9948
+ * * The scaling group has no ongoing scaling activities.
9949
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
9950
+ * * If the addition of a specific number of Elastic Compute Service (ECS) instances to the scaling group causes the total number of ECS instances in the scaling group to exceed the maximum allowed number, Auto Scaling adds ECS instances to the scaling group until the total number of instances is equal to the maximum allowed number.
9951
+ * * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
9952
+ * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
9840
9953
  *
9841
9954
  * @param tmpReq ScaleWithAdjustmentRequest
9842
9955
  * @param runtime runtime options for this request RuntimeOptions
@@ -9844,16 +9957,15 @@ export default class Client extends OpenApi {
9844
9957
  */
9845
9958
  scaleWithAdjustmentWithOptions(tmpReq: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse>;
9846
9959
  /**
9847
- * @summary Scales instances in a scaling group based on the specified scaling policy.
9960
+ * @summary Scales instances. The ScaleWithAdjustment operation differs from the ExecuteScalingRule operation in that ScaleWithAdjust can directly scale instances without requiring you to create a scaling rule in advance.
9848
9961
  *
9849
- * @description Compared with the ExecuteScalingRule operation, the ScaleWithAdjustment operation does not require a scaling rule to be created in advance. Before you call the ScaleWithAdjustment operation, take note of the following items:
9850
- * * The following conditions must be met:
9962
+ * @description * Before you call this operation, take note of the following items:
9851
9963
  * * The scaling group is in the Active state.
9852
- * * No scaling activities in the scaling group are in progress.
9853
- * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
9854
- * * If the addition of a specified number of Elastic Compute Service (ECS) instances to a scaling group causes the total number of ECS instances in the scaling group to exceed the maximum number of instances allowed, Auto Scaling adds only a specific number of ECS instances to ensure that the total number of instances is equal to the maximum number of instances.
9855
- * * If the removal of a specified number of ECS instances from a scaling group causes the total number of ECS instances in the scaling group to drop below the minimum number of instances allowed, Auto Scaling removes only a specific number of ECS instances to ensure that the total number of instances is equal to the minimum number of instances.
9856
- * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity by using the value of the `ScalingActivityId` parameter in the response.
9964
+ * * The scaling group has no ongoing scaling activities.
9965
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities before the cooldown period of the scaling group expires.
9966
+ * * If the addition of a specific number of Elastic Compute Service (ECS) instances to the scaling group causes the total number of ECS instances in the scaling group to exceed the maximum allowed number, Auto Scaling adds ECS instances to the scaling group until the total number of instances is equal to the maximum allowed number.
9967
+ * * If the removal of a specific number of ECS instances from the scaling group causes the total number of ECS instances in the scaling group to be less than the minimum allowed number, Auto Scaling removes ECS instances from the scaling group until the total number of instances is equal to the minimum allowed number.
9968
+ * A successful call indicates that Auto Scaling accepts the request. However, the scaling activity may still fail. You can obtain the status of a scaling activity based on the value of `ScalingActivityId` in the response.
9857
9969
  *
9858
9970
  * @param request ScaleWithAdjustmentRequest
9859
9971
  * @return ScaleWithAdjustmentResponse
@@ -9934,7 +10046,15 @@ export default class Client extends OpenApi {
9934
10046
  */
9935
10047
  suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse>;
9936
10048
  /**
9937
- * @summary Adds tags to specified Auto Scaling resources.
10049
+ * @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
10050
+ *
10051
+ * @description * You can attach up to 20 tags to a scaling group.
10052
+ * **
10053
+ * **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
10054
+ * * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
10055
+ * * If both the scaling configuration and the scaling group have tags attached, and tag propagation from the scaling group is enabled, the tags of newly created instances comply with the following rules:
10056
+ * * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
10057
+ * * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
9938
10058
  *
9939
10059
  * @param request TagResourcesRequest
9940
10060
  * @param runtime runtime options for this request RuntimeOptions
@@ -9942,7 +10062,15 @@ export default class Client extends OpenApi {
9942
10062
  */
9943
10063
  tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
9944
10064
  /**
9945
- * @summary Adds tags to specified Auto Scaling resources.
10065
+ * @summary Creates and attaches tags. You can call the TagResources operation to uniformly create and attach tags to your Auto Scaling resources, streamlining resource management. This capability empowers you to categorize resources based on tags, thereby enhancing the overall efficiency of resource allocation and utilization.
10066
+ *
10067
+ * @description * You can attach up to 20 tags to a scaling group.
10068
+ * **
10069
+ * **Note** Before you attach tags to a specific Auto Scaling resource, Alibaba Cloud automatically verifies the current number of tags attached to that resource. In the event the proposed addition would exceed the maximum allowed number of tags, an error message will be promptly returned after you call this operation.
10070
+ * * If you set `Tags.Propagate` to `true`, any tags attached to your scaling group will be automatically propagated to new instances that are subsequently created in the scaling group, without affecting existing instances.
10071
+ * * If both the scaling configuration and the scaling group have tags attached, and tag propagation from the scaling group is enabled, the tags of newly created instances comply with the following rules:
10072
+ * * Instances set to join the scaling group will inherit the following tags: tags attached to the scaling configuration that initiates the instance creation and tags attached to the scaling group that are allowed to propagate to these instances upon instance creation.
10073
+ * * If the tag keys of the scaling configuration and those attached to the scaling group and propagated to the instances are identical, the tags attached to the scaling group and propagated to the instances will be overwritten by the tags of the scaling configuration.
9946
10074
  *
9947
10075
  * @param request TagResourcesRequest
9948
10076
  * @return TagResourcesResponse