@alicloud/ess20220222 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -3618,6 +3618,108 @@ export class DescribeNotificationTypesResponse extends $tea.Model {
3618
3618
  }
3619
3619
  }
3620
3620
 
3621
+ export class DescribePatternTypesRequest extends $tea.Model {
3622
+ architecture?: string[];
3623
+ burstablePerformance?: string;
3624
+ channelId?: number;
3625
+ cores?: number;
3626
+ coresList?: number[];
3627
+ excludedInstanceType?: string[];
3628
+ instanceFamilyLevel?: string;
3629
+ maxPrice?: number;
3630
+ memory?: number;
3631
+ memoryList?: number[];
3632
+ regionId?: string;
3633
+ spotStrategy?: string;
3634
+ vSwitchId?: string[];
3635
+ static names(): { [key: string]: string } {
3636
+ return {
3637
+ architecture: 'Architecture',
3638
+ burstablePerformance: 'BurstablePerformance',
3639
+ channelId: 'ChannelId',
3640
+ cores: 'Cores',
3641
+ coresList: 'CoresList',
3642
+ excludedInstanceType: 'ExcludedInstanceType',
3643
+ instanceFamilyLevel: 'InstanceFamilyLevel',
3644
+ maxPrice: 'MaxPrice',
3645
+ memory: 'Memory',
3646
+ memoryList: 'MemoryList',
3647
+ regionId: 'RegionId',
3648
+ spotStrategy: 'SpotStrategy',
3649
+ vSwitchId: 'VSwitchId',
3650
+ };
3651
+ }
3652
+
3653
+ static types(): { [key: string]: any } {
3654
+ return {
3655
+ architecture: { 'type': 'array', 'itemType': 'string' },
3656
+ burstablePerformance: 'string',
3657
+ channelId: 'number',
3658
+ cores: 'number',
3659
+ coresList: { 'type': 'array', 'itemType': 'number' },
3660
+ excludedInstanceType: { 'type': 'array', 'itemType': 'string' },
3661
+ instanceFamilyLevel: 'string',
3662
+ maxPrice: 'number',
3663
+ memory: 'number',
3664
+ memoryList: { 'type': 'array', 'itemType': 'number' },
3665
+ regionId: 'string',
3666
+ spotStrategy: 'string',
3667
+ vSwitchId: { 'type': 'array', 'itemType': 'string' },
3668
+ };
3669
+ }
3670
+
3671
+ constructor(map?: { [key: string]: any }) {
3672
+ super(map);
3673
+ }
3674
+ }
3675
+
3676
+ export class DescribePatternTypesResponseBody extends $tea.Model {
3677
+ patternTypes?: DescribePatternTypesResponseBodyPatternTypes[];
3678
+ requestId?: string;
3679
+ static names(): { [key: string]: string } {
3680
+ return {
3681
+ patternTypes: 'PatternTypes',
3682
+ requestId: 'RequestId',
3683
+ };
3684
+ }
3685
+
3686
+ static types(): { [key: string]: any } {
3687
+ return {
3688
+ patternTypes: { 'type': 'array', 'itemType': DescribePatternTypesResponseBodyPatternTypes },
3689
+ requestId: 'string',
3690
+ };
3691
+ }
3692
+
3693
+ constructor(map?: { [key: string]: any }) {
3694
+ super(map);
3695
+ }
3696
+ }
3697
+
3698
+ export class DescribePatternTypesResponse extends $tea.Model {
3699
+ headers?: { [key: string]: string };
3700
+ statusCode?: number;
3701
+ body?: DescribePatternTypesResponseBody;
3702
+ static names(): { [key: string]: string } {
3703
+ return {
3704
+ headers: 'headers',
3705
+ statusCode: 'statusCode',
3706
+ body: 'body',
3707
+ };
3708
+ }
3709
+
3710
+ static types(): { [key: string]: any } {
3711
+ return {
3712
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3713
+ statusCode: 'number',
3714
+ body: DescribePatternTypesResponseBody,
3715
+ };
3716
+ }
3717
+
3718
+ constructor(map?: { [key: string]: any }) {
3719
+ super(map);
3720
+ }
3721
+ }
3722
+
3621
3723
  export class DescribeRegionsRequest extends $tea.Model {
3622
3724
  acceptLanguage?: string;
3623
3725
  ownerId?: number;
@@ -12087,6 +12189,37 @@ export class DescribeNotificationConfigurationsResponseBodyNotificationConfigura
12087
12189
  }
12088
12190
  }
12089
12191
 
12192
+ export class DescribePatternTypesResponseBodyPatternTypes extends $tea.Model {
12193
+ cores?: number;
12194
+ instanceFamilyLevel?: string;
12195
+ instanceType?: string;
12196
+ instanceTypeFamily?: string;
12197
+ memory?: number;
12198
+ static names(): { [key: string]: string } {
12199
+ return {
12200
+ cores: 'Cores',
12201
+ instanceFamilyLevel: 'InstanceFamilyLevel',
12202
+ instanceType: 'InstanceType',
12203
+ instanceTypeFamily: 'InstanceTypeFamily',
12204
+ memory: 'Memory',
12205
+ };
12206
+ }
12207
+
12208
+ static types(): { [key: string]: any } {
12209
+ return {
12210
+ cores: 'number',
12211
+ instanceFamilyLevel: 'string',
12212
+ instanceType: 'string',
12213
+ instanceTypeFamily: 'string',
12214
+ memory: 'number',
12215
+ };
12216
+ }
12217
+
12218
+ constructor(map?: { [key: string]: any }) {
12219
+ super(map);
12220
+ }
12221
+ }
12222
+
12090
12223
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
12091
12224
  classicUnavailable?: boolean;
12092
12225
  localName?: string;
@@ -15811,6 +15944,16 @@ export default class Client extends OpenApi {
15811
15944
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
15812
15945
  }
15813
15946
 
15947
+ /**
15948
+ * @summary Manages scaling configurations of the Elastic Container Instance type. If you want to efficiently create or update a scaling configuration of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
15949
+ *
15950
+ * @description You can manage scaling configurations of the Elastic Container Instance type by using a YAML configuration file based on the following logic:
15951
+ * If you specify the ID of a scaling configuration, you can update the scaling configuration by using the YAML configuration file. If you do not specify the ID of a scaling configuration, you can create a scaling configuration by using the YAML configuration file.
15952
+ *
15953
+ * @param request ApplyEciScalingConfigurationRequest
15954
+ * @param runtime runtime options for this request RuntimeOptions
15955
+ * @return ApplyEciScalingConfigurationResponse
15956
+ */
15814
15957
  async applyEciScalingConfigurationWithOptions(request: ApplyEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ApplyEciScalingConfigurationResponse> {
15815
15958
  Util.validateModel(request);
15816
15959
  let query = { };
@@ -15851,11 +15994,61 @@ export default class Client extends OpenApi {
15851
15994
  return $tea.cast<ApplyEciScalingConfigurationResponse>(await this.callApi(params, req, runtime), new ApplyEciScalingConfigurationResponse({}));
15852
15995
  }
15853
15996
 
15997
+ /**
15998
+ * @summary Manages scaling configurations of the Elastic Container Instance type. If you want to efficiently create or update a scaling configuration of the Elastic Container Instance type by using a configuration file, you can call the ApplyEciScalingConfiguration operation.
15999
+ *
16000
+ * @description You can manage scaling configurations of the Elastic Container Instance type by using a YAML configuration file based on the following logic:
16001
+ * If you specify the ID of a scaling configuration, you can update the scaling configuration by using the YAML configuration file. If you do not specify the ID of a scaling configuration, you can create a scaling configuration by using the YAML configuration file.
16002
+ *
16003
+ * @param request ApplyEciScalingConfigurationRequest
16004
+ * @return ApplyEciScalingConfigurationResponse
16005
+ */
15854
16006
  async applyEciScalingConfiguration(request: ApplyEciScalingConfigurationRequest): Promise<ApplyEciScalingConfigurationResponse> {
15855
16007
  let runtime = new $Util.RuntimeOptions({ });
15856
16008
  return await this.applyEciScalingConfigurationWithOptions(request, runtime);
15857
16009
  }
15858
16010
 
16011
+ /**
16012
+ * @summary 基于yaml配置进行弹性伸缩管理
16013
+ *
16014
+ * @description You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
16015
+ * Mapping between YAML files and scaling groups: You can map the triplet of namespace, kind, and name in a YAML file to a scaling group name. A YAML file and a scaling group have a one-to-one mapping relationship in a region. For example, if you use the Kubernetes Deployment YAML file whose name is NGINX in the default namespace to create a scaling group in a region, the unique name of the mapped scaling group is k8s_default_Deployment_nginx.
16016
+ * You can use a Kubernetes Deployment YAML file to manage a scaling group based on the following logic:
16017
+ * * If an existing scaling group has a mapping relationship with your Kubernetes Deployment YAML file, you can update the scaling group by using the YAML file.
16018
+ * * If no scaling group that has a mapping relationship with your Kubernetes Deployment YAML file exists, you can create a scaling group with ease by using the YAML file.
16019
+ * ### Precautions
16020
+ * 1. If you do not specify a virtual private cloud (VPC), vSwitch, security group, or annotation in your Kubernetes Deployment YAML file, the system creates a default VPC that has default vSwitches and uses the default security group ess-default-sg of Auto Scaling. By default, the security group rule allows traffic on Transmission Control Protocol (TCP)-based port 22 and port 3389 and enables Internet Control Message Protocol (ICMP) for IPv4 addresses. If you want to enable other ports or protocols, you can create custom security group rules.
16021
+ * 2. If you want to use a public image, you must enable the Internet access feature and configure the k8s.aliyun.com/eci-with-eip pod annotation to enable the elastic IP address (EIP) feature.
16022
+ * 3. After you call the ApplyScalingGroup operation to apply a Kubernetes Deployment YAML file, the scaling group immediately enters the Enabled state and the scaling configuration immediately enters the Active state. If the number of replicas that you specified in the YAML file is grater than 0, elastic container instances are automatically created.
16023
+ * ### Supported annotations
16024
+ * For more information about annotations, see [ECI Pod Annotation](https://help.aliyun.com/document_detail/186939.html).
16025
+ * |Annotation|Example|Description|
16026
+ * |---|---|---|
16027
+ * |k8s.aliyun.com/ess-scaling-group-min-size|1|The minimum size of the scaling group that you want to create. Default value: 0.|
16028
+ * |k8s.aliyun.com/ess-scaling-group-max-size|20|The maximum size of the scaling group that you want to create. Default value: maximum number of replicas or 30, whichever is greater.|
16029
+ * |k8s.aliyun.com/eci-ntp-server|100.100.*.*|The IP address of the Network Time Protocol (NTP) server.|
16030
+ * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GB memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
16031
+ * |k8s.aliyun.com/eci-vswitch|vsw-bp1xpiowfm5vo8o3c\\*\\*\\*\\*|The ID of the vSwitch. You can specify multiple vSwitches to specify multiple zones.|
16032
+ * |k8s.aliyun.com/eci-security-group|sg-bp1dktddjsg5nktv\\*\\*\\*\\*|The ID of the security group. Before you configure this annotation, take note of the following requirements:<ul data-sourcepos="26:74-26:168"><li data-sourcepos="26:78-26:114">You can specify one or more security groups. You can specify up to five security groups for each scaling group.</li><li data-sourcepos="26:114-26:140">If you specify multiple security groups, the security groups must belong to the same VPC.</li><li data-sourcepos="26:140-26:163">If you specify multiple security groups, the security groups must be of the same type.</li></ul>|
16033
+ * |k8s.aliyun.com/eci-sls-enable|"false"|If you set the value to false, the log collection feature is disabled.
16034
+ * If you do not want to use Custom Resource Definition (CRD) for Simple Log Service to collect logs of specific pods, you can configure this annotation for the pods and set the value to false. This prevents resource wastes caused by Logtails created by the system.|
16035
+ * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for the preemptible instance. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instance is created as a preemptible instance for which you specify the maximum hourly price If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.</li></ul>|
16036
+ * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of the preemptible instance. This value can be accurate to up to three decimal places.
16037
+ * This annotation takes effect only when you set the k8s.aliyun.com/eci-spot-strategy annotation to SpotWithPriceLimit.|
16038
+ * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an EIP is automatically created and bound to each elastic container instance.|
16039
+ * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of the specified DataCache. If you want to use a DataCache to create a pod, you must configure this annotation.|
16040
+ * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create by using the specified DataCache.
16041
+ * By default, enhanced SSDs (ESSDs) are created. Default value: PL1.|
16042
+ * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
16043
+ * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
16044
+ * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
16045
+ * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
16046
+ * |k8s.aliyun.com/eci-custom-tags|"env:test,name:alice"|The tags that you want to add to each elastic container instance. You can add up to three tags for each elastic container instance. Separate a tag key and a tag value with a colon (:). Separate multiple tags with commas (,).|
16047
+ *
16048
+ * @param request ApplyScalingGroupRequest
16049
+ * @param runtime runtime options for this request RuntimeOptions
16050
+ * @return ApplyScalingGroupResponse
16051
+ */
15859
16052
  async applyScalingGroupWithOptions(request: ApplyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ApplyScalingGroupResponse> {
15860
16053
  Util.validateModel(request);
15861
16054
  let query = { };
@@ -15888,20 +16081,62 @@ export default class Client extends OpenApi {
15888
16081
  return $tea.cast<ApplyScalingGroupResponse>(await this.callApi(params, req, runtime), new ApplyScalingGroupResponse({}));
15889
16082
  }
15890
16083
 
16084
+ /**
16085
+ * @summary 基于yaml配置进行弹性伸缩管理
16086
+ *
16087
+ * @description You can call the ApplyScalingGroup operation to create scaling groups of the Elastic Container Instance type with ease. The resources of the scaling groups are defined in Kubernetes Deployment YAML files. You can also call this operation to extend annotations for elastic container instances in Kubernetes Deployment YAML files. For more information, see "Supported annotations" in this topic.
16088
+ * Mapping between YAML files and scaling groups: You can map the triplet of namespace, kind, and name in a YAML file to a scaling group name. A YAML file and a scaling group have a one-to-one mapping relationship in a region. For example, if you use the Kubernetes Deployment YAML file whose name is NGINX in the default namespace to create a scaling group in a region, the unique name of the mapped scaling group is k8s_default_Deployment_nginx.
16089
+ * You can use a Kubernetes Deployment YAML file to manage a scaling group based on the following logic:
16090
+ * * If an existing scaling group has a mapping relationship with your Kubernetes Deployment YAML file, you can update the scaling group by using the YAML file.
16091
+ * * If no scaling group that has a mapping relationship with your Kubernetes Deployment YAML file exists, you can create a scaling group with ease by using the YAML file.
16092
+ * ### Precautions
16093
+ * 1. If you do not specify a virtual private cloud (VPC), vSwitch, security group, or annotation in your Kubernetes Deployment YAML file, the system creates a default VPC that has default vSwitches and uses the default security group ess-default-sg of Auto Scaling. By default, the security group rule allows traffic on Transmission Control Protocol (TCP)-based port 22 and port 3389 and enables Internet Control Message Protocol (ICMP) for IPv4 addresses. If you want to enable other ports or protocols, you can create custom security group rules.
16094
+ * 2. If you want to use a public image, you must enable the Internet access feature and configure the k8s.aliyun.com/eci-with-eip pod annotation to enable the elastic IP address (EIP) feature.
16095
+ * 3. After you call the ApplyScalingGroup operation to apply a Kubernetes Deployment YAML file, the scaling group immediately enters the Enabled state and the scaling configuration immediately enters the Active state. If the number of replicas that you specified in the YAML file is grater than 0, elastic container instances are automatically created.
16096
+ * ### Supported annotations
16097
+ * For more information about annotations, see [ECI Pod Annotation](https://help.aliyun.com/document_detail/186939.html).
16098
+ * |Annotation|Example|Description|
16099
+ * |---|---|---|
16100
+ * |k8s.aliyun.com/ess-scaling-group-min-size|1|The minimum size of the scaling group that you want to create. Default value: 0.|
16101
+ * |k8s.aliyun.com/ess-scaling-group-max-size|20|The maximum size of the scaling group that you want to create. Default value: maximum number of replicas or 30, whichever is greater.|
16102
+ * |k8s.aliyun.com/eci-ntp-server|100.100.*.*|The IP address of the Network Time Protocol (NTP) server.|
16103
+ * |k8s.aliyun.com/eci-use-specs|2-4Gi|The specifications of 2 vCPUs and 4 GB memory. For more information, see [Create pods by specifying multiple specifications](https://help.aliyun.com/document_detail/451267.html).|
16104
+ * |k8s.aliyun.com/eci-vswitch|vsw-bp1xpiowfm5vo8o3c\\*\\*\\*\\*|The ID of the vSwitch. You can specify multiple vSwitches to specify multiple zones.|
16105
+ * |k8s.aliyun.com/eci-security-group|sg-bp1dktddjsg5nktv\\*\\*\\*\\*|The ID of the security group. Before you configure this annotation, take note of the following requirements:<ul data-sourcepos="26:74-26:168"><li data-sourcepos="26:78-26:114">You can specify one or more security groups. You can specify up to five security groups for each scaling group.</li><li data-sourcepos="26:114-26:140">If you specify multiple security groups, the security groups must belong to the same VPC.</li><li data-sourcepos="26:140-26:163">If you specify multiple security groups, the security groups must be of the same type.</li></ul>|
16106
+ * |k8s.aliyun.com/eci-sls-enable|"false"|If you set the value to false, the log collection feature is disabled.
16107
+ * If you do not want to use Custom Resource Definition (CRD) for Simple Log Service to collect logs of specific pods, you can configure this annotation for the pods and set the value to false. This prevents resource wastes caused by Logtails created by the system.|
16108
+ * |k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for the preemptible instance. Valid values:<ul data-sourcepos="28:69-28:204"><li data-sourcepos="28:73-28:158">SpotWithPriceLimit: The instance is created as a preemptible instance for which you specify the maximum hourly price If you set the value to SpotWithPriceLimit, you must configure the k8s.aliyun.com/eci-spot-price-limit annotation.</li><li data-sourcepos="28:158-28:199">SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.</li></ul>|
16109
+ * |k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price of the preemptible instance. This value can be accurate to up to three decimal places.
16110
+ * This annotation takes effect only when you set the k8s.aliyun.com/eci-spot-strategy annotation to SpotWithPriceLimit.|
16111
+ * |k8s.aliyun.com/eci-with-eip|"true"|If you set the value to true, an EIP is automatically created and bound to each elastic container instance.|
16112
+ * |k8s.aliyun.com/eci-data-cache-bucket|default|The bucket of the specified DataCache. If you want to use a DataCache to create a pod, you must configure this annotation.|
16113
+ * |k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk that you want to create by using the specified DataCache.
16114
+ * By default, enhanced SSDs (ESSDs) are created. Default value: PL1.|
16115
+ * |k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
16116
+ * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
16117
+ * |k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether the Burst feature is enabled for the ESSD AutoPL disk. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
16118
+ * If you configure this annotation, the cloud disk that is created by using the specified DataCache is of the ESSD AutoPL type.|
16119
+ * |k8s.aliyun.com/eci-custom-tags|"env:test,name:alice"|The tags that you want to add to each elastic container instance. You can add up to three tags for each elastic container instance. Separate a tag key and a tag value with a colon (:). Separate multiple tags with commas (,).|
16120
+ *
16121
+ * @param request ApplyScalingGroupRequest
16122
+ * @return ApplyScalingGroupResponse
16123
+ */
15891
16124
  async applyScalingGroup(request: ApplyScalingGroupRequest): Promise<ApplyScalingGroupResponse> {
15892
16125
  let runtime = new $Util.RuntimeOptions({ });
15893
16126
  return await this.applyScalingGroupWithOptions(request, runtime);
15894
16127
  }
15895
16128
 
15896
16129
  /**
15897
- * Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
15898
- * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
15899
- * * The ALB server group is in the Available state.
15900
- * * 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).
15901
- *
15902
- * @param request AttachAlbServerGroupsRequest
15903
- * @param runtime runtime options for this request RuntimeOptions
15904
- * @return AttachAlbServerGroupsResponse
16130
+ * @summary Associates Application Load Balancer (ALB) server groups with a scaling group.
16131
+ *
16132
+ * @description Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
16133
+ * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
16134
+ * * The ALB server group is in the Available state.
16135
+ * * 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).
16136
+ *
16137
+ * @param request AttachAlbServerGroupsRequest
16138
+ * @param runtime runtime options for this request RuntimeOptions
16139
+ * @return AttachAlbServerGroupsResponse
15905
16140
  */
15906
16141
  async attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse> {
15907
16142
  Util.validateModel(request);
@@ -15952,13 +16187,15 @@ export default class Client extends OpenApi {
15952
16187
  }
15953
16188
 
15954
16189
  /**
15955
- * Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
15956
- * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
15957
- * * The ALB server group is in the Available state.
15958
- * * 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).
15959
- *
15960
- * @param request AttachAlbServerGroupsRequest
15961
- * @return AttachAlbServerGroupsResponse
16190
+ * @summary Associates Application Load Balancer (ALB) server groups with a scaling group.
16191
+ *
16192
+ * @description Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
16193
+ * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
16194
+ * * The ALB server group is in the Available state.
16195
+ * * 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).
16196
+ *
16197
+ * @param request AttachAlbServerGroupsRequest
16198
+ * @return AttachAlbServerGroupsResponse
15962
16199
  */
15963
16200
  async attachAlbServerGroups(request: AttachAlbServerGroupsRequest): Promise<AttachAlbServerGroupsResponse> {
15964
16201
  let runtime = new $Util.RuntimeOptions({ });
@@ -15966,15 +16203,17 @@ export default class Client extends OpenApi {
15966
16203
  }
15967
16204
 
15968
16205
  /**
15969
- * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
15970
- * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
15971
- * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](~~41872~~).
15972
- * * The ApsaraDB RDS instance must be in the Running state.
15973
- * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](~~43185~~).
15974
- *
15975
- * @param request AttachDBInstancesRequest
15976
- * @param runtime runtime options for this request RuntimeOptions
15977
- * @return AttachDBInstancesResponse
16206
+ * @summary Associates one or more ApsaraDB RDS instances with a scaling group.
16207
+ *
16208
+ * @description Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
16209
+ * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
16210
+ * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
16211
+ * * The ApsaraDB RDS instance must be in the Running state.
16212
+ * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](https://help.aliyun.com/document_detail/43185.html).
16213
+ *
16214
+ * @param request AttachDBInstancesRequest
16215
+ * @param runtime runtime options for this request RuntimeOptions
16216
+ * @return AttachDBInstancesResponse
15978
16217
  */
15979
16218
  async attachDBInstancesWithOptions(request: AttachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachDBInstancesResponse> {
15980
16219
  Util.validateModel(request);
@@ -16033,14 +16272,16 @@ export default class Client extends OpenApi {
16033
16272
  }
16034
16273
 
16035
16274
  /**
16036
- * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
16037
- * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
16038
- * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](~~41872~~).
16039
- * * The ApsaraDB RDS instance must be in the Running state.
16040
- * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](~~43185~~).
16041
- *
16042
- * @param request AttachDBInstancesRequest
16043
- * @return AttachDBInstancesResponse
16275
+ * @summary Associates one or more ApsaraDB RDS instances with a scaling group.
16276
+ *
16277
+ * @description Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
16278
+ * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
16279
+ * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
16280
+ * * The ApsaraDB RDS instance must be in the Running state.
16281
+ * After an ApsaraDB RDS instance is associated with the scaling group, the default IP address whitelist of the ApsaraDB RDS instance can contain no more than 1,000 IP addresses. For more information, see [Set the whitelist](https://help.aliyun.com/document_detail/43185.html).
16282
+ *
16283
+ * @param request AttachDBInstancesRequest
16284
+ * @return AttachDBInstancesResponse
16044
16285
  */
16045
16286
  async attachDBInstances(request: AttachDBInstancesRequest): Promise<AttachDBInstancesResponse> {
16046
16287
  let runtime = new $Util.RuntimeOptions({ });
@@ -16048,24 +16289,26 @@ export default class Client extends OpenApi {
16048
16289
  }
16049
16290
 
16050
16291
  /**
16051
- * Before you call this operation, take note of the following items:
16052
- * * The scaling group is in the Active state.
16053
- * * No scaling activities in the scaling group are in progress.
16054
- * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
16055
- * * The instances reside in the same region as the scaling group.
16056
- * * The instances must be in the Running state.
16057
- * * The instances are not added to other scaling groups.
16058
- * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
16059
- * * If the VswitchID parameter is specified for a scaling group, the instances that are in the classic network or those that are not in the same virtual private cloud (VPC) as the specified vSwitch cannot be added to the scaling group.
16060
- * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
16061
- * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
16062
- * 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.
16063
- * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
16064
- * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
16065
- *
16066
- * @param request AttachInstancesRequest
16067
- * @param runtime runtime options for this request RuntimeOptions
16068
- * @return AttachInstancesResponse
16292
+ * @summary Adds instances to a scaling group. You can call the AttachInstances operation to add independent Elastic Compute Service (ECS) instances, elastic container instances, or non-Alibaba Cloud instances to your scaling group to provide services. You can also call this operation to change the state of ECS instances in your scaling group from Economical Mode to In Service.
16293
+ *
16294
+ * @description Before you call this operation, take note of the following items:
16295
+ * * The scaling group is in the Active state.
16296
+ * * No scaling activities in the scaling group are in progress.
16297
+ * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
16298
+ * * The instances reside in the same region as the scaling group.
16299
+ * * The instances must be in the Running state.
16300
+ * * The instances are not added to other scaling groups.
16301
+ * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
16302
+ * * If the VswitchID parameter is specified for a scaling group, the instances that are in the classic network or those that are not in the same virtual private cloud (VPC) as the specified vSwitch cannot be added to the scaling group.
16303
+ * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
16304
+ * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
16305
+ * 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.
16306
+ * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
16307
+ * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
16308
+ *
16309
+ * @param request AttachInstancesRequest
16310
+ * @param runtime runtime options for this request RuntimeOptions
16311
+ * @return AttachInstancesResponse
16069
16312
  */
16070
16313
  async attachInstancesWithOptions(request: AttachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse> {
16071
16314
  Util.validateModel(request);
@@ -16132,23 +16375,25 @@ export default class Client extends OpenApi {
16132
16375
  }
16133
16376
 
16134
16377
  /**
16135
- * Before you call this operation, take note of the following items:
16136
- * * The scaling group is in the Active state.
16137
- * * No scaling activities in the scaling group are in progress.
16138
- * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
16139
- * * The instances reside in the same region as the scaling group.
16140
- * * The instances must be in the Running state.
16141
- * * The instances are not added to other scaling groups.
16142
- * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
16143
- * * If the VswitchID parameter is specified for a scaling group, the instances that are in the classic network or those that are not in the same virtual private cloud (VPC) as the specified vSwitch cannot be added to the scaling group.
16144
- * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
16145
- * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
16146
- * 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.
16147
- * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
16148
- * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
16149
- *
16150
- * @param request AttachInstancesRequest
16151
- * @return AttachInstancesResponse
16378
+ * @summary Adds instances to a scaling group. You can call the AttachInstances operation to add independent Elastic Compute Service (ECS) instances, elastic container instances, or non-Alibaba Cloud instances to your scaling group to provide services. You can also call this operation to change the state of ECS instances in your scaling group from Economical Mode to In Service.
16379
+ *
16380
+ * @description Before you call this operation, take note of the following items:
16381
+ * * The scaling group is in the Active state.
16382
+ * * No scaling activities in the scaling group are in progress.
16383
+ * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
16384
+ * * The instances reside in the same region as the scaling group.
16385
+ * * The instances must be in the Running state.
16386
+ * * The instances are not added to other scaling groups.
16387
+ * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
16388
+ * * If the VswitchID parameter is specified for a scaling group, the instances that are in the classic network or those that are not in the same virtual private cloud (VPC) as the specified vSwitch cannot be added to the scaling group.
16389
+ * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
16390
+ * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
16391
+ * 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.
16392
+ * If the sum of the number of instances that you want to add and the number of existing instances in the scaling group is greater than the value of the MaxSize parameter, the call fails.
16393
+ * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
16394
+ *
16395
+ * @param request AttachInstancesRequest
16396
+ * @return AttachInstancesResponse
16152
16397
  */
16153
16398
  async attachInstances(request: AttachInstancesRequest): Promise<AttachInstancesResponse> {
16154
16399
  let runtime = new $Util.RuntimeOptions({ });
@@ -16156,18 +16401,19 @@ export default class Client extends OpenApi {
16156
16401
  }
16157
16402
 
16158
16403
  /**
16159
- * Before you call this operation to attach a CLB instance to your scaling group, take note of the following items:
16160
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16161
- * * The CLB instance and the scaling group must reside in the same region.
16162
- * * The CLB instance must be in the Running state.
16163
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16164
- * * The CLB instance and the scaling group must be in the same virtual private cloud (VPC) if their network type is VPC.
16165
- * * If the network type of the scaling group is VPC, the network type of the CLB instance is classic network, and the CLB backend server groups contain instances of the VPC network type, the instances and the scaling group must be in the same VPC.
16166
- * * You can attach only a limited number of CLB instances to a scaling group. Fore more information, see [Limits](~~25863~~).
16167
- *
16168
- * @param request AttachLoadBalancersRequest
16169
- * @param runtime runtime options for this request RuntimeOptions
16170
- * @return AttachLoadBalancersResponse
16404
+ * @summary Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
16405
+ *
16406
+ * @description Before you call this operation, make sure that the following requirements are met:
16407
+ * * The load balancer and the scaling group belong to the same Alibaba Cloud account and region.
16408
+ * * The load balancer is in the `Running` state.
16409
+ * * At least one listener is configured for the load balancer, and the health check feature is enabled for the load balancer.
16410
+ * * If the network type of the load balancer and the scaling group is virtual private cloud (VPC), they use the same VPC.
16411
+ * * If the network type of the scaling group is VPC, and that of the load balancer is classic network and a backend server of the load balancer uses a VPC, the scaling group and the backend server use the same VPC.
16412
+ * * The attachment of load balancers ensures that the cumulative number of load balancers attached to the scaling group stays within the predefined maximum limit. For information about the load balancer quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
16413
+ *
16414
+ * @param request AttachLoadBalancersRequest
16415
+ * @param runtime runtime options for this request RuntimeOptions
16416
+ * @return AttachLoadBalancersResponse
16171
16417
  */
16172
16418
  async attachLoadBalancersWithOptions(request: AttachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<AttachLoadBalancersResponse> {
16173
16419
  Util.validateModel(request);
@@ -16222,23 +16468,31 @@ export default class Client extends OpenApi {
16222
16468
  }
16223
16469
 
16224
16470
  /**
16225
- * Before you call this operation to attach a CLB instance to your scaling group, take note of the following items:
16226
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16227
- * * The CLB instance and the scaling group must reside in the same region.
16228
- * * The CLB instance must be in the Running state.
16229
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16230
- * * The CLB instance and the scaling group must be in the same virtual private cloud (VPC) if their network type is VPC.
16231
- * * If the network type of the scaling group is VPC, the network type of the CLB instance is classic network, and the CLB backend server groups contain instances of the VPC network type, the instances and the scaling group must be in the same VPC.
16232
- * * You can attach only a limited number of CLB instances to a scaling group. Fore more information, see [Limits](~~25863~~).
16233
- *
16234
- * @param request AttachLoadBalancersRequest
16235
- * @return AttachLoadBalancersResponse
16471
+ * @summary Attaches load balancers to a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups. Load balancers help distribute the access traffic to the instances in scaling groups, which effectively improves the service performance of the scaling groups. You can call the AttachLoadBalancers operation to attach one or more load balancers to your scaling group.
16472
+ *
16473
+ * @description Before you call this operation, make sure that the following requirements are met:
16474
+ * * The load balancer and the scaling group belong to the same Alibaba Cloud account and region.
16475
+ * * The load balancer is in the `Running` state.
16476
+ * * At least one listener is configured for the load balancer, and the health check feature is enabled for the load balancer.
16477
+ * * If the network type of the load balancer and the scaling group is virtual private cloud (VPC), they use the same VPC.
16478
+ * * If the network type of the scaling group is VPC, and that of the load balancer is classic network and a backend server of the load balancer uses a VPC, the scaling group and the backend server use the same VPC.
16479
+ * * The attachment of load balancers ensures that the cumulative number of load balancers attached to the scaling group stays within the predefined maximum limit. For information about the load balancer quota, see [Limits](https://help.aliyun.com/document_detail/25863.html).
16480
+ *
16481
+ * @param request AttachLoadBalancersRequest
16482
+ * @return AttachLoadBalancersResponse
16236
16483
  */
16237
16484
  async attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse> {
16238
16485
  let runtime = new $Util.RuntimeOptions({ });
16239
16486
  return await this.attachLoadBalancersWithOptions(request, runtime);
16240
16487
  }
16241
16488
 
16489
+ /**
16490
+ * @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.
16491
+ *
16492
+ * @param request AttachServerGroupsRequest
16493
+ * @param runtime runtime options for this request RuntimeOptions
16494
+ * @return AttachServerGroupsResponse
16495
+ */
16242
16496
  async attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse> {
16243
16497
  Util.validateModel(request);
16244
16498
  let query = { };
@@ -16287,30 +16541,38 @@ export default class Client extends OpenApi {
16287
16541
  return $tea.cast<AttachServerGroupsResponse>(await this.callApi(params, req, runtime), new AttachServerGroupsResponse({}));
16288
16542
  }
16289
16543
 
16544
+ /**
16545
+ * @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.
16546
+ *
16547
+ * @param request AttachServerGroupsRequest
16548
+ * @return AttachServerGroupsResponse
16549
+ */
16290
16550
  async attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse> {
16291
16551
  let runtime = new $Util.RuntimeOptions({ });
16292
16552
  return await this.attachServerGroupsWithOptions(request, runtime);
16293
16553
  }
16294
16554
 
16295
16555
  /**
16296
- * Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
16297
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16298
- * * The CLB instance and the scaling group must reside in the same region.
16299
- * * The CLB instance must be in the Running state.
16300
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16301
- * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
16302
- * * 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.
16303
- * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
16304
- * * You can attach only a limited number of vServer groups to a scaling group. For information about the quota on vServer groups, see [Limits](~~25863~~).
16305
- * When you call this operation, you must specify the following parameters:
16306
- * * LoadBalancerId: the ID of the CLB instance.
16307
- * * VServerGroupId: the ID of the vServer group.
16308
- * * Port: the port number of the vServer group.
16309
- * 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.
16310
- *
16311
- * @param request AttachVServerGroupsRequest
16312
- * @param runtime runtime options for this request RuntimeOptions
16313
- * @return AttachVServerGroupsResponse
16556
+ * @summary Associates Sever Load Balancer (SLB) vServer groups with a scaling group.
16557
+ *
16558
+ * @description Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
16559
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16560
+ * * The CLB instance and the scaling group must reside in the same region.
16561
+ * * The CLB instance must be in the Running state.
16562
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16563
+ * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
16564
+ * * 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.
16565
+ * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
16566
+ * * 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).
16567
+ * When you call this operation, you must specify the following parameters:
16568
+ * * LoadBalancerId: the ID of the CLB instance.
16569
+ * * VServerGroupId: the ID of the vServer group.
16570
+ * * Port: the port number of the vServer group.
16571
+ * 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.
16572
+ *
16573
+ * @param request AttachVServerGroupsRequest
16574
+ * @param runtime runtime options for this request RuntimeOptions
16575
+ * @return AttachVServerGroupsResponse
16314
16576
  */
16315
16577
  async attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse> {
16316
16578
  Util.validateModel(request);
@@ -16361,29 +16623,38 @@ export default class Client extends OpenApi {
16361
16623
  }
16362
16624
 
16363
16625
  /**
16364
- * Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
16365
- * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16366
- * * The CLB instance and the scaling group must reside in the same region.
16367
- * * The CLB instance must be in the Running state.
16368
- * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16369
- * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
16370
- * * 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.
16371
- * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
16372
- * * You can attach only a limited number of vServer groups to a scaling group. For information about the quota on vServer groups, see [Limits](~~25863~~).
16373
- * When you call this operation, you must specify the following parameters:
16374
- * * LoadBalancerId: the ID of the CLB instance.
16375
- * * VServerGroupId: the ID of the vServer group.
16376
- * * Port: the port number of the vServer group.
16377
- * 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.
16378
- *
16379
- * @param request AttachVServerGroupsRequest
16380
- * @return AttachVServerGroupsResponse
16626
+ * @summary Associates Sever Load Balancer (SLB) vServer groups with a scaling group.
16627
+ *
16628
+ * @description Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
16629
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
16630
+ * * The CLB instance and the scaling group must reside in the same region.
16631
+ * * The CLB instance must be in the Running state.
16632
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
16633
+ * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
16634
+ * * 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.
16635
+ * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
16636
+ * * 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).
16637
+ * When you call this operation, you must specify the following parameters:
16638
+ * * LoadBalancerId: the ID of the CLB instance.
16639
+ * * VServerGroupId: the ID of the vServer group.
16640
+ * * Port: the port number of the vServer group.
16641
+ * 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.
16642
+ *
16643
+ * @param request AttachVServerGroupsRequest
16644
+ * @return AttachVServerGroupsResponse
16381
16645
  */
16382
16646
  async attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse> {
16383
16647
  let runtime = new $Util.RuntimeOptions({ });
16384
16648
  return await this.attachVServerGroupsWithOptions(request, runtime);
16385
16649
  }
16386
16650
 
16651
+ /**
16652
+ * @summary Adds a scaling group to a resource group.
16653
+ *
16654
+ * @param request ChangeResourceGroupRequest
16655
+ * @param runtime runtime options for this request RuntimeOptions
16656
+ * @return ChangeResourceGroupResponse
16657
+ */
16387
16658
  async changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse> {
16388
16659
  Util.validateModel(request);
16389
16660
  let query = { };
@@ -16428,17 +16699,25 @@ export default class Client extends OpenApi {
16428
16699
  return $tea.cast<ChangeResourceGroupResponse>(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
16429
16700
  }
16430
16701
 
16702
+ /**
16703
+ * @summary Adds a scaling group to a resource group.
16704
+ *
16705
+ * @param request ChangeResourceGroupRequest
16706
+ * @return ChangeResourceGroupResponse
16707
+ */
16431
16708
  async changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse> {
16432
16709
  let runtime = new $Util.RuntimeOptions({ });
16433
16710
  return await this.changeResourceGroupWithOptions(request, runtime);
16434
16711
  }
16435
16712
 
16436
16713
  /**
16437
- * If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
16438
- *
16439
- * @param request CompleteLifecycleActionRequest
16440
- * @param runtime runtime options for this request RuntimeOptions
16441
- * @return CompleteLifecycleActionResponse
16714
+ * @summary Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
16715
+ *
16716
+ * @description When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
16717
+ *
16718
+ * @param request CompleteLifecycleActionRequest
16719
+ * @param runtime runtime options for this request RuntimeOptions
16720
+ * @return CompleteLifecycleActionResponse
16442
16721
  */
16443
16722
  async completeLifecycleActionWithOptions(request: CompleteLifecycleActionRequest, runtime: $Util.RuntimeOptions): Promise<CompleteLifecycleActionResponse> {
16444
16723
  Util.validateModel(request);
@@ -16493,16 +16772,31 @@ export default class Client extends OpenApi {
16493
16772
  }
16494
16773
 
16495
16774
  /**
16496
- * If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
16497
- *
16498
- * @param request CompleteLifecycleActionRequest
16499
- * @return CompleteLifecycleActionResponse
16775
+ * @summary Ends the timeout period of a lifecycle hook ahead of schedule. If you have created a lifecycle hook for your scaling group, you can call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule based on your business requirements.
16776
+ *
16777
+ * @description When you manually cut short the timeout period of a lifecycle hook, Auto Scaling proceeds with one of the following actions based on the predefined settings: responding to the scaling request, aborting the scaling request, and initiating a rollback process.
16778
+ *
16779
+ * @param request CompleteLifecycleActionRequest
16780
+ * @return CompleteLifecycleActionResponse
16500
16781
  */
16501
16782
  async completeLifecycleAction(request: CompleteLifecycleActionRequest): Promise<CompleteLifecycleActionResponse> {
16502
16783
  let runtime = new $Util.RuntimeOptions({ });
16503
16784
  return await this.completeLifecycleActionWithOptions(request, runtime);
16504
16785
  }
16505
16786
 
16787
+ /**
16788
+ * @summary Creates an event-triggered task.
16789
+ *
16790
+ * @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).
16791
+ * * 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.
16792
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
16793
+ * * 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).
16794
+ * > 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.
16795
+ *
16796
+ * @param request CreateAlarmRequest
16797
+ * @param runtime runtime options for this request RuntimeOptions
16798
+ * @return CreateAlarmResponse
16799
+ */
16506
16800
  async createAlarmWithOptions(request: CreateAlarmRequest, runtime: $Util.RuntimeOptions): Promise<CreateAlarmResponse> {
16507
16801
  Util.validateModel(request);
16508
16802
  let query = { };
@@ -16599,18 +16893,32 @@ export default class Client extends OpenApi {
16599
16893
  return $tea.cast<CreateAlarmResponse>(await this.callApi(params, req, runtime), new CreateAlarmResponse({}));
16600
16894
  }
16601
16895
 
16896
+ /**
16897
+ * @summary Creates an event-triggered task.
16898
+ *
16899
+ * @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).
16900
+ * * 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.
16901
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
16902
+ * * 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).
16903
+ * > 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.
16904
+ *
16905
+ * @param request CreateAlarmRequest
16906
+ * @return CreateAlarmResponse
16907
+ */
16602
16908
  async createAlarm(request: CreateAlarmRequest): Promise<CreateAlarmResponse> {
16603
16909
  let runtime = new $Util.RuntimeOptions({ });
16604
16910
  return await this.createAlarmWithOptions(request, runtime);
16605
16911
  }
16606
16912
 
16607
16913
  /**
16608
- * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
16609
- * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
16610
- *
16611
- * @param request CreateEciScalingConfigurationRequest
16612
- * @param runtime runtime options for this request RuntimeOptions
16613
- * @return CreateEciScalingConfigurationResponse
16914
+ * @summary Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
16915
+ *
16916
+ * @description A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
16917
+ * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
16918
+ *
16919
+ * @param request CreateEciScalingConfigurationRequest
16920
+ * @param runtime runtime options for this request RuntimeOptions
16921
+ * @return CreateEciScalingConfigurationResponse
16614
16922
  */
16615
16923
  async createEciScalingConfigurationWithOptions(request: CreateEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateEciScalingConfigurationResponse> {
16616
16924
  Util.validateModel(request);
@@ -16829,11 +17137,13 @@ export default class Client extends OpenApi {
16829
17137
  }
16830
17138
 
16831
17139
  /**
16832
- * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
16833
- * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
16834
- *
16835
- * @param request CreateEciScalingConfigurationRequest
16836
- * @return CreateEciScalingConfigurationResponse
17140
+ * @summary Creates a scaling configuration of the Elastic Container Instance type. Auto Scaling uses the scaling configuration as a template to create elastic container instances to meet your business requirements during scale-outs.
17141
+ *
17142
+ * @description A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
17143
+ * You can specify the Cpu and Memory parameters to determine the range of instance types. If you specify the parameters, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Auto Scaling preferentially creates elastic container instances of the instance type that is provided at the lowest price. This scaling mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
17144
+ *
17145
+ * @param request CreateEciScalingConfigurationRequest
17146
+ * @return CreateEciScalingConfigurationResponse
16837
17147
  */
16838
17148
  async createEciScalingConfiguration(request: CreateEciScalingConfigurationRequest): Promise<CreateEciScalingConfigurationResponse> {
16839
17149
  let runtime = new $Util.RuntimeOptions({ });
@@ -16841,14 +17151,16 @@ export default class Client extends OpenApi {
16841
17151
  }
16842
17152
 
16843
17153
  /**
16844
- * You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
16845
- * If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
16846
- * You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
16847
- * > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
16848
- *
16849
- * @param request CreateLifecycleHookRequest
16850
- * @param runtime runtime options for this request RuntimeOptions
16851
- * @return CreateLifecycleHookResponse
17154
+ * @summary Creates one or more lifecycle hooks.
17155
+ *
17156
+ * @description You can create up to six lifecycle hooks for each scaling group. After a lifecycle hook is created for a scaling group, Elastic Compute Service (ECS) instances in the scaling group waits to be added to or removed from the scaling group during scaling activities. You can use the HeartbeatTimeout parameter to specify the timeout period of the lifecycle hook. During the timeout period of a lifecycle hook, you can perform custom operations such as initialize ECS instance configurations and download ECS instance data on the ECS instances for which the lifecycle hook is applied.
17157
+ * During a scale-out activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be added to the associated whitelist that manages access to the ApsaraDB RDS instance. The ECS instances also wait to be added to the backend server group of the associated Classic Load Balancer (CLB) instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are added to the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also added to the backend server group of the associated CLB instance. During a scale-in activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances also wait to be removed from the backend server group of the associated CLB instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also removed from the backend server group of the associated CLB instance.
17158
+ * You can configure a notification method for a lifecycle hook. When the lifecycle hook is triggered, a notification can be sent to the specified Message Service (MNS) topic or queue, or an operation can be performed based on the specified Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a Resource Access Management (RAM) role for OOS. For more information, see [Grant RAM permissions to OOS](https://help.aliyun.com/document_detail/120810.html).
17159
+ * > If your scaling group has existing ECS instances and you configured an OOS template that is used to add the private IP addresses of ECS instances to or remove the private IP addresses of ECS instances from the whitelists that manage access to cloud databases that are not ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the whitelists that manage access to the cloud databases.
17160
+ *
17161
+ * @param request CreateLifecycleHookRequest
17162
+ * @param runtime runtime options for this request RuntimeOptions
17163
+ * @return CreateLifecycleHookResponse
16852
17164
  */
16853
17165
  async createLifecycleHookWithOptions(request: CreateLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<CreateLifecycleHookResponse> {
16854
17166
  Util.validateModel(request);
@@ -16911,13 +17223,15 @@ export default class Client extends OpenApi {
16911
17223
  }
16912
17224
 
16913
17225
  /**
16914
- * You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
16915
- * If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
16916
- * You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
16917
- * > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
16918
- *
16919
- * @param request CreateLifecycleHookRequest
16920
- * @return CreateLifecycleHookResponse
17226
+ * @summary Creates one or more lifecycle hooks.
17227
+ *
17228
+ * @description You can create up to six lifecycle hooks for each scaling group. After a lifecycle hook is created for a scaling group, Elastic Compute Service (ECS) instances in the scaling group waits to be added to or removed from the scaling group during scaling activities. You can use the HeartbeatTimeout parameter to specify the timeout period of the lifecycle hook. During the timeout period of a lifecycle hook, you can perform custom operations such as initialize ECS instance configurations and download ECS instance data on the ECS instances for which the lifecycle hook is applied.
17229
+ * During a scale-out activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be added to the associated whitelist that manages access to the ApsaraDB RDS instance. The ECS instances also wait to be added to the backend server group of the associated Classic Load Balancer (CLB) instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are added to the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also added to the backend server group of the associated CLB instance. During a scale-in activity and the timeout period of a lifecycle hook, the private IP addresses of ECS instances wait to be removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances also wait to be removed from the backend server group of the associated CLB instance. After the lifecycle hook times out, the private IP addresses of the ECS instances are removed from the whitelist that manages access to the associated ApsaraDB RDS instance. The ECS instances are also removed from the backend server group of the associated CLB instance.
17230
+ * You can configure a notification method for a lifecycle hook. When the lifecycle hook is triggered, a notification can be sent to the specified Message Service (MNS) topic or queue, or an operation can be performed based on the specified Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a Resource Access Management (RAM) role for OOS. For more information, see [Grant RAM permissions to OOS](https://help.aliyun.com/document_detail/120810.html).
17231
+ * > If your scaling group has existing ECS instances and you configured an OOS template that is used to add the private IP addresses of ECS instances to or remove the private IP addresses of ECS instances from the whitelists that manage access to cloud databases that are not ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the whitelists that manage access to the cloud databases.
17232
+ *
17233
+ * @param request CreateLifecycleHookRequest
17234
+ * @return CreateLifecycleHookResponse
16921
17235
  */
16922
17236
  async createLifecycleHook(request: CreateLifecycleHookRequest): Promise<CreateLifecycleHookResponse> {
16923
17237
  let runtime = new $Util.RuntimeOptions({ });
@@ -16925,12 +17239,14 @@ export default class Client extends OpenApi {
16925
17239
  }
16926
17240
 
16927
17241
  /**
16928
- * ## Description
16929
- * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
16930
- *
16931
- * @param request CreateNotificationConfigurationRequest
16932
- * @param runtime runtime options for this request RuntimeOptions
16933
- * @return CreateNotificationConfigurationResponse
17242
+ * @summary Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
17243
+ *
17244
+ * @description ## Description
17245
+ * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
17246
+ *
17247
+ * @param request CreateNotificationConfigurationRequest
17248
+ * @param runtime runtime options for this request RuntimeOptions
17249
+ * @return CreateNotificationConfigurationResponse
16934
17250
  */
16935
17251
  async createNotificationConfigurationWithOptions(request: CreateNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateNotificationConfigurationResponse> {
16936
17252
  Util.validateModel(request);
@@ -16977,11 +17293,13 @@ export default class Client extends OpenApi {
16977
17293
  }
16978
17294
 
16979
17295
  /**
16980
- * ## Description
16981
- * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
16982
- *
16983
- * @param request CreateNotificationConfigurationRequest
16984
- * @return CreateNotificationConfigurationResponse
17296
+ * @summary Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
17297
+ *
17298
+ * @description ## Description
17299
+ * You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling activity or resource change occurs in a scaling group, Auto Scaling sends notifications by using CloudMonitor or MNS.
17300
+ *
17301
+ * @param request CreateNotificationConfigurationRequest
17302
+ * @return CreateNotificationConfigurationResponse
16985
17303
  */
16986
17304
  async createNotificationConfiguration(request: CreateNotificationConfigurationRequest): Promise<CreateNotificationConfigurationResponse> {
16987
17305
  let runtime = new $Util.RuntimeOptions({ });
@@ -16989,17 +17307,19 @@ export default class Client extends OpenApi {
16989
17307
  }
16990
17308
 
16991
17309
  /**
16992
- * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
16993
- * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
16994
- * * InstanceType: In this mode, you must specify one instance type.
16995
- * * InstanceTypes: In this mode, you can specify more than one instance type.
16996
- * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
16997
- * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
16998
- * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
16999
- *
17000
- * @param tmpReq CreateScalingConfigurationRequest
17001
- * @param runtime runtime options for this request RuntimeOptions
17002
- * @return CreateScalingConfigurationResponse
17310
+ * @summary Creates a scaling configuration.
17311
+ *
17312
+ * @description Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
17313
+ * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
17314
+ * * InstanceType: In this mode, you must specify one instance type.
17315
+ * * InstanceTypes: In this mode, you can specify more than one instance type.
17316
+ * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
17317
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
17318
+ * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
17319
+ *
17320
+ * @param tmpReq CreateScalingConfigurationRequest
17321
+ * @param runtime runtime options for this request RuntimeOptions
17322
+ * @return CreateScalingConfigurationResponse
17003
17323
  */
17004
17324
  async createScalingConfigurationWithOptions(tmpReq: CreateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingConfigurationResponse> {
17005
17325
  Util.validateModel(tmpReq);
@@ -17256,16 +17576,18 @@ export default class Client extends OpenApi {
17256
17576
  }
17257
17577
 
17258
17578
  /**
17259
- * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
17260
- * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
17261
- * * InstanceType: In this mode, you must specify one instance type.
17262
- * * InstanceTypes: In this mode, you can specify more than one instance type.
17263
- * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
17264
- * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
17265
- * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
17266
- *
17267
- * @param request CreateScalingConfigurationRequest
17268
- * @return CreateScalingConfigurationResponse
17579
+ * @summary Creates a scaling configuration.
17580
+ *
17581
+ * @description Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
17582
+ * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the instance type that has the lowest price based on the configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode reduces scale-out failures caused by insufficient inventory of instance types.
17583
+ * * InstanceType: In this mode, you must specify one instance type.
17584
+ * * InstanceTypes: In this mode, you can specify more than one instance type.
17585
+ * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
17586
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances by using the lowest-priced instance type. This mode is available only if Scaling Policy is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
17587
+ * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-outs. If the instance types that are specified by InstanceType or InstanceTypes do not have sufficient inventory, Auto Scaling uses the instance types that are specified by InstancePatternInfos for scale-outs.
17588
+ *
17589
+ * @param request CreateScalingConfigurationRequest
17590
+ * @return CreateScalingConfigurationResponse
17269
17591
  */
17270
17592
  async createScalingConfiguration(request: CreateScalingConfigurationRequest): Promise<CreateScalingConfigurationResponse> {
17271
17593
  let runtime = new $Util.RuntimeOptions({ });
@@ -17273,32 +17595,34 @@ export default class Client extends OpenApi {
17273
17595
  }
17274
17596
 
17275
17597
  /**
17276
- * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
17277
- * You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
17278
- * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
17279
- * The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](~~40654~~) topic.
17280
- * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
17281
- * * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
17282
- * * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
17283
- * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
17284
- * The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
17285
- * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
17286
- * * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
17287
- * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
17288
- * If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
17289
- * * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
17290
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
17291
- * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
17292
- * * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
17293
- * * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
17294
- * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
17295
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
17296
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
17297
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
17298
- *
17299
- * @param request CreateScalingGroupRequest
17300
- * @param runtime runtime options for this request RuntimeOptions
17301
- * @return CreateScalingGroupResponse
17598
+ * @summary Creates a scaling group.
17599
+ *
17600
+ * @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
17601
+ * You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
17602
+ * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
17603
+ * The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](https://help.aliyun.com/document_detail/40654.html) topic.
17604
+ * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
17605
+ * * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
17606
+ * * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
17607
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
17608
+ * The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
17609
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
17610
+ * * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
17611
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
17612
+ * If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
17613
+ * * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
17614
+ * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
17615
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
17616
+ * * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
17617
+ * * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
17618
+ * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
17619
+ * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
17620
+ * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
17621
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
17622
+ *
17623
+ * @param request CreateScalingGroupRequest
17624
+ * @param runtime runtime options for this request RuntimeOptions
17625
+ * @return CreateScalingGroupResponse
17302
17626
  */
17303
17627
  async createScalingGroupWithOptions(request: CreateScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingGroupResponse> {
17304
17628
  Util.validateModel(request);
@@ -17501,31 +17825,33 @@ export default class Client extends OpenApi {
17501
17825
  }
17502
17826
 
17503
17827
  /**
17504
- * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
17505
- * You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
17506
- * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
17507
- * The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](~~40654~~) topic.
17508
- * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
17509
- * * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
17510
- * * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
17511
- * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
17512
- * The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
17513
- * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
17514
- * * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
17515
- * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
17516
- * If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
17517
- * * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
17518
- * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
17519
- * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
17520
- * * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
17521
- * * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
17522
- * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
17523
- * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
17524
- * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
17525
- * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
17526
- *
17527
- * @param request CreateScalingGroupRequest
17528
- * @return CreateScalingGroupResponse
17828
+ * @summary Creates a scaling group.
17829
+ *
17830
+ * @description A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
17831
+ * You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
17832
+ * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
17833
+ * The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](https://help.aliyun.com/document_detail/40654.html) topic.
17834
+ * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
17835
+ * * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
17836
+ * * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
17837
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
17838
+ * The default weight of an ECS instance that is added as a backend server of a CLB instance is 50. The CLB instance that you want to associate with your scaling group must meet the following requirements:
17839
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
17840
+ * * The health check feature must be enabled on all listener ports that are configured for the CLB instance. Otherwise, the scaling group fails to be created.
17841
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
17842
+ * If you associate an ApsaraDB RDS instance with a scaling group, Auto Scaling automatically adds the private IP addresses of the ECS instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. The ApsaraDB RDS instance that you want to associate with your scaling group must meet the following requirements:
17843
+ * * The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to query the state of the ApsaraDB RDS instance.
17844
+ * * The number of IP addresses in the IP address whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see the "Configure whitelists" topic.
17845
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
17846
+ * * You can use the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters to specify the instance allocation method based on the cost optimization policy. This instance allocation method is prioritized during scaling.
17847
+ * * If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameter, the instance types that are provided at the lowest price are used to create instances based on the cost optimization policy.
17848
+ * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
17849
+ * * Tags that you add to the scaling group cannot be propagated to existing instances in the scaling group. Tags that you add to the scaling group are propagated to only new instances.
17850
+ * * If you specify instance tags in the scaling configuration that is used to create instances and propagate the tags that you add to the scaling group to the instances, all tags exist at the same time.
17851
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
17852
+ *
17853
+ * @param request CreateScalingGroupRequest
17854
+ * @return CreateScalingGroupResponse
17529
17855
  */
17530
17856
  async createScalingGroup(request: CreateScalingGroupRequest): Promise<CreateScalingGroupResponse> {
17531
17857
  let runtime = new $Util.RuntimeOptions({ });
@@ -17533,23 +17859,25 @@ export default class Client extends OpenApi {
17533
17859
  }
17534
17860
 
17535
17861
  /**
17536
- * ## Description
17537
- * A scaling rule defines a specific scaling activity, such as adding or removing N instances. If the number of Elastic Compute Service (ECS) instances in a scaling group is less than the minimum number allowed or greater than the maximum number allowed after a scaling rule is executed, Auto Scaling adjusts the number of ECS instances that you want to add or remove. This way, the number of ECS instances can be maintained within the valid range after the scaling rule is executed. The number of ECS instances that is specified in the scaling rule remains unchanged. Example:
17538
- * * If your scaling group contains two ECS instances and allows up to three ECS instances, only one ECS instance is added to your scaling group after you execute a scale-out rule in which three ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17539
- * * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17540
- * Before you call this operation, take note of the following items:
17541
- * * If you set the AdjustmentType parameter to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of the AdjustmentValue parameter must be greater than or equal to 0.
17542
- * * If you set the AdjustmentType parameter to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies the number of ECS instances that are added to the scaling group, and a negative value of AdjustmentValue specifies the number of ECS instances that are removed from the scaling group.
17543
- * * If you set the AdjustmentType parameter to PercentChangeInCapacity, Auto Scaling uses the following formula to calculate a value, and then rounds the value to the nearest integer to obtain the number of ECS instances that need to be scaled: Value of TotalCapacity × Value of AdjustmentValue/100.
17544
- * * If the cooldown time is specified in a scaling rule, the specified time applies to the scaling group after the rule is executed. Otherwise, the value of the DefaultCooldown parameter of the scaling group applies to the scaling group.
17545
- * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
17546
- * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
17547
- * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule by setting the ScalingRuleAri parameter to the unique identifier of the scaling rule.
17548
- * * CreateScheduledTask: You can call this operation to create a scheduled task for a specific scaling rule by setting the ScheduledAction parameter to the unique identifier of the scaling rule.
17549
- *
17550
- * @param request CreateScalingRuleRequest
17551
- * @param runtime runtime options for this request RuntimeOptions
17552
- * @return CreateScalingRuleResponse
17862
+ * @summary Creates a scaling rule.
17863
+ *
17864
+ * @description ## Description
17865
+ * A scaling rule defines a specific scaling activity, such as adding or removing N instances. If the number of Elastic Compute Service (ECS) instances in a scaling group is less than the minimum number allowed or greater than the maximum number allowed after a scaling rule is executed, Auto Scaling adjusts the number of ECS instances that you want to add or remove. This way, the number of ECS instances can be maintained within the valid range after the scaling rule is executed. The number of ECS instances that is specified in the scaling rule remains unchanged. Example:
17866
+ * * If your scaling group contains two ECS instances and allows up to three ECS instances, only one ECS instance is added to your scaling group after you execute a scale-out rule in which three ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17867
+ * * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17868
+ * Before you call this operation, take note of the following items:
17869
+ * * If you set the AdjustmentType parameter to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of the AdjustmentValue parameter must be greater than or equal to 0.
17870
+ * * If you set the AdjustmentType parameter to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies the number of ECS instances that are added to the scaling group, and a negative value of AdjustmentValue specifies the number of ECS instances that are removed from the scaling group.
17871
+ * * If you set the AdjustmentType parameter to PercentChangeInCapacity, Auto Scaling uses the following formula to calculate a value, and then rounds the value to the nearest integer to obtain the number of ECS instances that need to be scaled: Value of TotalCapacity × Value of AdjustmentValue/100.
17872
+ * * If the cooldown time is specified in a scaling rule, the specified time applies to the scaling group after the rule is executed. Otherwise, the value of the DefaultCooldown parameter of the scaling group applies to the scaling group.
17873
+ * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
17874
+ * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
17875
+ * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule by setting the ScalingRuleAri parameter to the unique identifier of the scaling rule.
17876
+ * * CreateScheduledTask: You can call this operation to create a scheduled task for a specific scaling rule by setting the ScheduledAction parameter to the unique identifier of the scaling rule.
17877
+ *
17878
+ * @param request CreateScalingRuleRequest
17879
+ * @param runtime runtime options for this request RuntimeOptions
17880
+ * @return CreateScalingRuleResponse
17553
17881
  */
17554
17882
  async createScalingRuleWithOptions(request: CreateScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingRuleResponse> {
17555
17883
  Util.validateModel(request);
@@ -17668,22 +17996,24 @@ export default class Client extends OpenApi {
17668
17996
  }
17669
17997
 
17670
17998
  /**
17671
- * ## Description
17672
- * A scaling rule defines a specific scaling activity, such as adding or removing N instances. If the number of Elastic Compute Service (ECS) instances in a scaling group is less than the minimum number allowed or greater than the maximum number allowed after a scaling rule is executed, Auto Scaling adjusts the number of ECS instances that you want to add or remove. This way, the number of ECS instances can be maintained within the valid range after the scaling rule is executed. The number of ECS instances that is specified in the scaling rule remains unchanged. Example:
17673
- * * If your scaling group contains two ECS instances and allows up to three ECS instances, only one ECS instance is added to your scaling group after you execute a scale-out rule in which three ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17674
- * * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
17675
- * Before you call this operation, take note of the following items:
17676
- * * If you set the AdjustmentType parameter to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of the AdjustmentValue parameter must be greater than or equal to 0.
17677
- * * If you set the AdjustmentType parameter to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies the number of ECS instances that are added to the scaling group, and a negative value of AdjustmentValue specifies the number of ECS instances that are removed from the scaling group.
17678
- * * If you set the AdjustmentType parameter to PercentChangeInCapacity, Auto Scaling uses the following formula to calculate a value, and then rounds the value to the nearest integer to obtain the number of ECS instances that need to be scaled: Value of TotalCapacity × Value of AdjustmentValue/100.
17679
- * * If the cooldown time is specified in a scaling rule, the specified time applies to the scaling group after the rule is executed. Otherwise, the value of the DefaultCooldown parameter of the scaling group applies to the scaling group.
17680
- * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
17681
- * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
17682
- * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule by setting the ScalingRuleAri parameter to the unique identifier of the scaling rule.
17683
- * * CreateScheduledTask: You can call this operation to create a scheduled task for a specific scaling rule by setting the ScheduledAction parameter to the unique identifier of the scaling rule.
17684
- *
17685
- * @param request CreateScalingRuleRequest
17686
- * @return CreateScalingRuleResponse
17999
+ * @summary Creates a scaling rule.
18000
+ *
18001
+ * @description ## Description
18002
+ * A scaling rule defines a specific scaling activity, such as adding or removing N instances. If the number of Elastic Compute Service (ECS) instances in a scaling group is less than the minimum number allowed or greater than the maximum number allowed after a scaling rule is executed, Auto Scaling adjusts the number of ECS instances that you want to add or remove. This way, the number of ECS instances can be maintained within the valid range after the scaling rule is executed. The number of ECS instances that is specified in the scaling rule remains unchanged. Example:
18003
+ * * If your scaling group contains two ECS instances and allows up to three ECS instances, only one ECS instance is added to your scaling group after you execute a scale-out rule in which three ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
18004
+ * * If your scaling group contains three ECS instances and requires at least two ECS instances, only one ECS instance is removed from your scaling group after you execute a scale-in rule in which five ECS instances are specified. The number of ECS instances that is specified in the scaling rule remains unchanged.
18005
+ * Before you call this operation, take note of the following items:
18006
+ * * If you set the AdjustmentType parameter to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of the AdjustmentValue parameter must be greater than or equal to 0.
18007
+ * * If you set the AdjustmentType parameter to QuantityChangeInCapacity or PercentChangeInCapacity, a positive value of AdjustmentValue specifies the number of ECS instances that are added to the scaling group, and a negative value of AdjustmentValue specifies the number of ECS instances that are removed from the scaling group.
18008
+ * * If you set the AdjustmentType parameter to PercentChangeInCapacity, Auto Scaling uses the following formula to calculate a value, and then rounds the value to the nearest integer to obtain the number of ECS instances that need to be scaled: Value of TotalCapacity × Value of AdjustmentValue/100.
18009
+ * * If the cooldown time is specified in a scaling rule, the specified time applies to the scaling group after the rule is executed. Otherwise, the value of the DefaultCooldown parameter of the scaling group applies to the scaling group.
18010
+ * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
18011
+ * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
18012
+ * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule by setting the ScalingRuleAri parameter to the unique identifier of the scaling rule.
18013
+ * * CreateScheduledTask: You can call this operation to create a scheduled task for a specific scaling rule by setting the ScheduledAction parameter to the unique identifier of the scaling rule.
18014
+ *
18015
+ * @param request CreateScalingRuleRequest
18016
+ * @return CreateScalingRuleResponse
17687
18017
  */
17688
18018
  async createScalingRule(request: CreateScalingRuleRequest): Promise<CreateScalingRuleResponse> {
17689
18019
  let runtime = new $Util.RuntimeOptions({ });
@@ -17691,16 +18021,18 @@ export default class Client extends OpenApi {
17691
18021
  }
17692
18022
 
17693
18023
  /**
17694
- * * If a scheduled task fails to trigger a scaling activity due to an ongoing scaling activity in a scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the period that is specified by the LaunchExpirationTime parameter. If the scheduled task still fails to trigger a scaling activity after the period ends, the task is automatically skipped.
17695
- * * If multiple tasks are scheduled at similar points in time to trigger scaling activities in the same scaling group, the earliest task triggers the scaling activity first. Other tasks trigger scaling activities within their launch expiration time. Only one scaling activity can be triggered in a scaling group at a time.`` If the previous scaling activity is complete and another scheduled task attempts to trigger a scaling activity, Auto Scaling executes the scaling rule that is specified in the scheduled task and then triggers a scaling activity.``
17696
- * * A scheduled task supports the following scaling methods:
17697
- * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
17698
- * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
17699
- * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
17700
- *
17701
- * @param request CreateScheduledTaskRequest
17702
- * @param runtime runtime options for this request RuntimeOptions
17703
- * @return CreateScheduledTaskResponse
18024
+ * @summary Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
18025
+ *
18026
+ * @description * If a scheduled task fails to trigger a scaling activity due to an ongoing scaling activity in a scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the period that is specified by the LaunchExpirationTime parameter. If the scheduled task still fails to trigger a scaling activity after the period ends, the task is automatically skipped.
18027
+ * * If multiple tasks are scheduled at similar points in time to trigger scaling activities in the same scaling group, the earliest task triggers the scaling activity first. Other tasks trigger scaling activities within their launch expiration time. Only one scaling activity can be triggered in a scaling group at a time.`` If the previous scaling activity is complete and another scheduled task attempts to trigger a scaling activity, Auto Scaling executes the scaling rule that is specified in the scheduled task and then triggers a scaling activity.``
18028
+ * * A scheduled task supports the following scaling methods:
18029
+ * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
18030
+ * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
18031
+ * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
18032
+ *
18033
+ * @param request CreateScheduledTaskRequest
18034
+ * @param runtime runtime options for this request RuntimeOptions
18035
+ * @return CreateScheduledTaskResponse
17704
18036
  */
17705
18037
  async createScheduledTaskWithOptions(request: CreateScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateScheduledTaskResponse> {
17706
18038
  Util.validateModel(request);
@@ -17791,21 +18123,32 @@ export default class Client extends OpenApi {
17791
18123
  }
17792
18124
 
17793
18125
  /**
17794
- * * If a scheduled task fails to trigger a scaling activity due to an ongoing scaling activity in a scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the period that is specified by the LaunchExpirationTime parameter. If the scheduled task still fails to trigger a scaling activity after the period ends, the task is automatically skipped.
17795
- * * If multiple tasks are scheduled at similar points in time to trigger scaling activities in the same scaling group, the earliest task triggers the scaling activity first. Other tasks trigger scaling activities within their launch expiration time. Only one scaling activity can be triggered in a scaling group at a time.`` If the previous scaling activity is complete and another scheduled task attempts to trigger a scaling activity, Auto Scaling executes the scaling rule that is specified in the scheduled task and then triggers a scaling activity.``
17796
- * * A scheduled task supports the following scaling methods:
17797
- * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
17798
- * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
17799
- * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
17800
- *
17801
- * @param request CreateScheduledTaskRequest
17802
- * @return CreateScheduledTaskResponse
18126
+ * @summary Creates a scheduled task. A scheduled task is a type of scaling task that enables automatic execution of a specific scaling rule at a specified point in time. You can call the CreateScheduledTask operation to create a scheduled task to implement automatic scaling of computing resources. This ensures your business continuity and minimizes resource costs.
18127
+ *
18128
+ * @description * If a scheduled task fails to trigger a scaling activity due to an ongoing scaling activity in a scaling group or because the scaling group is disabled, the scheduled task is automatically retried during the period that is specified by the LaunchExpirationTime parameter. If the scheduled task still fails to trigger a scaling activity after the period ends, the task is automatically skipped.
18129
+ * * If multiple tasks are scheduled at similar points in time to trigger scaling activities in the same scaling group, the earliest task triggers the scaling activity first. Other tasks trigger scaling activities within their launch expiration time. Only one scaling activity can be triggered in a scaling group at a time.`` If the previous scaling activity is complete and another scheduled task attempts to trigger a scaling activity, Auto Scaling executes the scaling rule that is specified in the scheduled task and then triggers a scaling activity.``
18130
+ * * A scheduled task supports the following scaling methods:
18131
+ * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
18132
+ * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
18133
+ * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
18134
+ *
18135
+ * @param request CreateScheduledTaskRequest
18136
+ * @return CreateScheduledTaskResponse
17803
18137
  */
17804
18138
  async createScheduledTask(request: CreateScheduledTaskRequest): Promise<CreateScheduledTaskResponse> {
17805
18139
  let runtime = new $Util.RuntimeOptions({ });
17806
18140
  return await this.createScheduledTaskWithOptions(request, runtime);
17807
18141
  }
17808
18142
 
18143
+ /**
18144
+ * @summary Deactivates a scaling configuration.
18145
+ *
18146
+ * @description * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
18147
+ *
18148
+ * @param request DeactivateScalingConfigurationRequest
18149
+ * @param runtime runtime options for this request RuntimeOptions
18150
+ * @return DeactivateScalingConfigurationResponse
18151
+ */
17809
18152
  async deactivateScalingConfigurationWithOptions(request: DeactivateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeactivateScalingConfigurationResponse> {
17810
18153
  Util.validateModel(request);
17811
18154
  let query = { };
@@ -17842,11 +18185,26 @@ export default class Client extends OpenApi {
17842
18185
  return $tea.cast<DeactivateScalingConfigurationResponse>(await this.callApi(params, req, runtime), new DeactivateScalingConfigurationResponse({}));
17843
18186
  }
17844
18187
 
18188
+ /**
18189
+ * @summary Deactivates a scaling configuration.
18190
+ *
18191
+ * @description * You can call this operation to deactivate a scaling configuration only in a disabled scaling group.
18192
+ *
18193
+ * @param request DeactivateScalingConfigurationRequest
18194
+ * @return DeactivateScalingConfigurationResponse
18195
+ */
17845
18196
  async deactivateScalingConfiguration(request: DeactivateScalingConfigurationRequest): Promise<DeactivateScalingConfigurationResponse> {
17846
18197
  let runtime = new $Util.RuntimeOptions({ });
17847
18198
  return await this.deactivateScalingConfigurationWithOptions(request, runtime);
17848
18199
  }
17849
18200
 
18201
+ /**
18202
+ * @summary Deletes an event-triggered task.
18203
+ *
18204
+ * @param request DeleteAlarmRequest
18205
+ * @param runtime runtime options for this request RuntimeOptions
18206
+ * @return DeleteAlarmResponse
18207
+ */
17850
18208
  async deleteAlarmWithOptions(request: DeleteAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAlarmResponse> {
17851
18209
  Util.validateModel(request);
17852
18210
  let query = { };
@@ -17883,19 +18241,27 @@ export default class Client extends OpenApi {
17883
18241
  return $tea.cast<DeleteAlarmResponse>(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
17884
18242
  }
17885
18243
 
18244
+ /**
18245
+ * @summary Deletes an event-triggered task.
18246
+ *
18247
+ * @param request DeleteAlarmRequest
18248
+ * @return DeleteAlarmResponse
18249
+ */
17886
18250
  async deleteAlarm(request: DeleteAlarmRequest): Promise<DeleteAlarmResponse> {
17887
18251
  let runtime = new $Util.RuntimeOptions({ });
17888
18252
  return await this.deleteAlarmWithOptions(request, runtime);
17889
18253
  }
17890
18254
 
17891
18255
  /**
17892
- * You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
17893
- * * The scaling configuration is in the Active state.
17894
- * * The scaling group contains elastic container instances that are created based on the scaling configuration.
17895
- *
17896
- * @param request DeleteEciScalingConfigurationRequest
17897
- * @param runtime runtime options for this request RuntimeOptions
17898
- * @return DeleteEciScalingConfigurationResponse
18256
+ * @summary Deletes a scaling configuration that is used to create elastic container instances.
18257
+ *
18258
+ * @description You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
18259
+ * * The scaling configuration is in the Active state.
18260
+ * * The scaling group contains elastic container instances that are created based on the scaling configuration.
18261
+ *
18262
+ * @param request DeleteEciScalingConfigurationRequest
18263
+ * @param runtime runtime options for this request RuntimeOptions
18264
+ * @return DeleteEciScalingConfigurationResponse
17899
18265
  */
17900
18266
  async deleteEciScalingConfigurationWithOptions(request: DeleteEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteEciScalingConfigurationResponse> {
17901
18267
  Util.validateModel(request);
@@ -17938,18 +18304,31 @@ export default class Client extends OpenApi {
17938
18304
  }
17939
18305
 
17940
18306
  /**
17941
- * You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
17942
- * * The scaling configuration is in the Active state.
17943
- * * The scaling group contains elastic container instances that are created based on the scaling configuration.
17944
- *
17945
- * @param request DeleteEciScalingConfigurationRequest
17946
- * @return DeleteEciScalingConfigurationResponse
18307
+ * @summary Deletes a scaling configuration that is used to create elastic container instances.
18308
+ *
18309
+ * @description You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
18310
+ * * The scaling configuration is in the Active state.
18311
+ * * The scaling group contains elastic container instances that are created based on the scaling configuration.
18312
+ *
18313
+ * @param request DeleteEciScalingConfigurationRequest
18314
+ * @return DeleteEciScalingConfigurationResponse
17947
18315
  */
17948
18316
  async deleteEciScalingConfiguration(request: DeleteEciScalingConfigurationRequest): Promise<DeleteEciScalingConfigurationResponse> {
17949
18317
  let runtime = new $Util.RuntimeOptions({ });
17950
18318
  return await this.deleteEciScalingConfigurationWithOptions(request, runtime);
17951
18319
  }
17952
18320
 
18321
+ /**
18322
+ * @summary Deletes a lifecycle hook.
18323
+ *
18324
+ * @description If you delete a lifecycle hook that is in effect in a scaling group, instances exit the Pending state in advance. You can use one of the following methods to specify the lifecycle hooks that you want to delete:
18325
+ * * Specify the scaling group ID of the lifecycle hook that you want to delete by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter.
18326
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
18327
+ *
18328
+ * @param request DeleteLifecycleHookRequest
18329
+ * @param runtime runtime options for this request RuntimeOptions
18330
+ * @return DeleteLifecycleHookResponse
18331
+ */
17953
18332
  async deleteLifecycleHookWithOptions(request: DeleteLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<DeleteLifecycleHookResponse> {
17954
18333
  Util.validateModel(request);
17955
18334
  let query = { };
@@ -17998,11 +18377,28 @@ export default class Client extends OpenApi {
17998
18377
  return $tea.cast<DeleteLifecycleHookResponse>(await this.callApi(params, req, runtime), new DeleteLifecycleHookResponse({}));
17999
18378
  }
18000
18379
 
18380
+ /**
18381
+ * @summary Deletes a lifecycle hook.
18382
+ *
18383
+ * @description If you delete a lifecycle hook that is in effect in a scaling group, instances exit the Pending state in advance. You can use one of the following methods to specify the lifecycle hooks that you want to delete:
18384
+ * * Specify the scaling group ID of the lifecycle hook that you want to delete by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter.
18385
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
18386
+ *
18387
+ * @param request DeleteLifecycleHookRequest
18388
+ * @return DeleteLifecycleHookResponse
18389
+ */
18001
18390
  async deleteLifecycleHook(request: DeleteLifecycleHookRequest): Promise<DeleteLifecycleHookResponse> {
18002
18391
  let runtime = new $Util.RuntimeOptions({ });
18003
18392
  return await this.deleteLifecycleHookWithOptions(request, runtime);
18004
18393
  }
18005
18394
 
18395
+ /**
18396
+ * @summary Deletes a notification.
18397
+ *
18398
+ * @param request DeleteNotificationConfigurationRequest
18399
+ * @param runtime runtime options for this request RuntimeOptions
18400
+ * @return DeleteNotificationConfigurationResponse
18401
+ */
18006
18402
  async deleteNotificationConfigurationWithOptions(request: DeleteNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNotificationConfigurationResponse> {
18007
18403
  Util.validateModel(request);
18008
18404
  let query = { };
@@ -18043,19 +18439,27 @@ export default class Client extends OpenApi {
18043
18439
  return $tea.cast<DeleteNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
18044
18440
  }
18045
18441
 
18442
+ /**
18443
+ * @summary Deletes a notification.
18444
+ *
18445
+ * @param request DeleteNotificationConfigurationRequest
18446
+ * @return DeleteNotificationConfigurationResponse
18447
+ */
18046
18448
  async deleteNotificationConfiguration(request: DeleteNotificationConfigurationRequest): Promise<DeleteNotificationConfigurationResponse> {
18047
18449
  let runtime = new $Util.RuntimeOptions({ });
18048
18450
  return await this.deleteNotificationConfigurationWithOptions(request, runtime);
18049
18451
  }
18050
18452
 
18051
18453
  /**
18052
- * You cannot delete a scaling configuration in one of the following scenarios:
18053
- * * The scaling configuration in your scaling group is in the Active state.
18054
- * * The scaling group contains ECS instances that were created based on the scaling configuration.
18055
- *
18056
- * @param request DeleteScalingConfigurationRequest
18057
- * @param runtime runtime options for this request RuntimeOptions
18058
- * @return DeleteScalingConfigurationResponse
18454
+ * @summary Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
18455
+ *
18456
+ * @description You cannot delete a scaling configuration in one of the following scenarios:
18457
+ * * The scaling configuration in your scaling group is in the Active state.
18458
+ * * The scaling group contains ECS instances that were created based on the scaling configuration.
18459
+ *
18460
+ * @param request DeleteScalingConfigurationRequest
18461
+ * @param runtime runtime options for this request RuntimeOptions
18462
+ * @return DeleteScalingConfigurationResponse
18059
18463
  */
18060
18464
  async deleteScalingConfigurationWithOptions(request: DeleteScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingConfigurationResponse> {
18061
18465
  Util.validateModel(request);
@@ -18094,18 +18498,31 @@ export default class Client extends OpenApi {
18094
18498
  }
18095
18499
 
18096
18500
  /**
18097
- * You cannot delete a scaling configuration in one of the following scenarios:
18098
- * * The scaling configuration in your scaling group is in the Active state.
18099
- * * The scaling group contains ECS instances that were created based on the scaling configuration.
18100
- *
18101
- * @param request DeleteScalingConfigurationRequest
18102
- * @return DeleteScalingConfigurationResponse
18501
+ * @summary Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
18502
+ *
18503
+ * @description You cannot delete a scaling configuration in one of the following scenarios:
18504
+ * * The scaling configuration in your scaling group is in the Active state.
18505
+ * * The scaling group contains ECS instances that were created based on the scaling configuration.
18506
+ *
18507
+ * @param request DeleteScalingConfigurationRequest
18508
+ * @return DeleteScalingConfigurationResponse
18103
18509
  */
18104
18510
  async deleteScalingConfiguration(request: DeleteScalingConfigurationRequest): Promise<DeleteScalingConfigurationResponse> {
18105
18511
  let runtime = new $Util.RuntimeOptions({ });
18106
18512
  return await this.deleteScalingConfigurationWithOptions(request, runtime);
18107
18513
  }
18108
18514
 
18515
+ /**
18516
+ * @summary Deletes a scaling group.
18517
+ *
18518
+ * @description Before you delete a scaling group, take note of the following items:
18519
+ * * After you delete a scaling group, the scaling configuration, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
18520
+ * * After you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances with which the scaling group is associated are also not deleted.
18521
+ *
18522
+ * @param request DeleteScalingGroupRequest
18523
+ * @param runtime runtime options for this request RuntimeOptions
18524
+ * @return DeleteScalingGroupResponse
18525
+ */
18109
18526
  async deleteScalingGroupWithOptions(request: DeleteScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingGroupResponse> {
18110
18527
  Util.validateModel(request);
18111
18528
  let query = { };
@@ -18150,11 +18567,28 @@ export default class Client extends OpenApi {
18150
18567
  return $tea.cast<DeleteScalingGroupResponse>(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
18151
18568
  }
18152
18569
 
18570
+ /**
18571
+ * @summary Deletes a scaling group.
18572
+ *
18573
+ * @description Before you delete a scaling group, take note of the following items:
18574
+ * * After you delete a scaling group, the scaling configuration, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
18575
+ * * After you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances with which the scaling group is associated are also not deleted.
18576
+ *
18577
+ * @param request DeleteScalingGroupRequest
18578
+ * @return DeleteScalingGroupResponse
18579
+ */
18153
18580
  async deleteScalingGroup(request: DeleteScalingGroupRequest): Promise<DeleteScalingGroupResponse> {
18154
18581
  let runtime = new $Util.RuntimeOptions({ });
18155
18582
  return await this.deleteScalingGroupWithOptions(request, runtime);
18156
18583
  }
18157
18584
 
18585
+ /**
18586
+ * @summary Deletes a scaling rule.
18587
+ *
18588
+ * @param request DeleteScalingRuleRequest
18589
+ * @param runtime runtime options for this request RuntimeOptions
18590
+ * @return DeleteScalingRuleResponse
18591
+ */
18158
18592
  async deleteScalingRuleWithOptions(request: DeleteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingRuleResponse> {
18159
18593
  Util.validateModel(request);
18160
18594
  let query = { };
@@ -18195,11 +18629,24 @@ export default class Client extends OpenApi {
18195
18629
  return $tea.cast<DeleteScalingRuleResponse>(await this.callApi(params, req, runtime), new DeleteScalingRuleResponse({}));
18196
18630
  }
18197
18631
 
18632
+ /**
18633
+ * @summary Deletes a scaling rule.
18634
+ *
18635
+ * @param request DeleteScalingRuleRequest
18636
+ * @return DeleteScalingRuleResponse
18637
+ */
18198
18638
  async deleteScalingRule(request: DeleteScalingRuleRequest): Promise<DeleteScalingRuleResponse> {
18199
18639
  let runtime = new $Util.RuntimeOptions({ });
18200
18640
  return await this.deleteScalingRuleWithOptions(request, runtime);
18201
18641
  }
18202
18642
 
18643
+ /**
18644
+ * @summary Deletes a scheduled task.
18645
+ *
18646
+ * @param request DeleteScheduledTaskRequest
18647
+ * @param runtime runtime options for this request RuntimeOptions
18648
+ * @return DeleteScheduledTaskResponse
18649
+ */
18203
18650
  async deleteScheduledTaskWithOptions(request: DeleteScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScheduledTaskResponse> {
18204
18651
  Util.validateModel(request);
18205
18652
  let query = { };
@@ -18240,11 +18687,24 @@ export default class Client extends OpenApi {
18240
18687
  return $tea.cast<DeleteScheduledTaskResponse>(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
18241
18688
  }
18242
18689
 
18690
+ /**
18691
+ * @summary Deletes a scheduled task.
18692
+ *
18693
+ * @param request DeleteScheduledTaskRequest
18694
+ * @return DeleteScheduledTaskResponse
18695
+ */
18243
18696
  async deleteScheduledTask(request: DeleteScheduledTaskRequest): Promise<DeleteScheduledTaskResponse> {
18244
18697
  let runtime = new $Util.RuntimeOptions({ });
18245
18698
  return await this.deleteScheduledTaskWithOptions(request, runtime);
18246
18699
  }
18247
18700
 
18701
+ /**
18702
+ * @summary Queries event-triggered tasks.
18703
+ *
18704
+ * @param request DescribeAlarmsRequest
18705
+ * @param runtime runtime options for this request RuntimeOptions
18706
+ * @return DescribeAlarmsResponse
18707
+ */
18248
18708
  async describeAlarmsWithOptions(request: DescribeAlarmsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlarmsResponse> {
18249
18709
  Util.validateModel(request);
18250
18710
  let query = { };
@@ -18309,11 +18769,24 @@ export default class Client extends OpenApi {
18309
18769
  return $tea.cast<DescribeAlarmsResponse>(await this.callApi(params, req, runtime), new DescribeAlarmsResponse({}));
18310
18770
  }
18311
18771
 
18772
+ /**
18773
+ * @summary Queries event-triggered tasks.
18774
+ *
18775
+ * @param request DescribeAlarmsRequest
18776
+ * @return DescribeAlarmsResponse
18777
+ */
18312
18778
  async describeAlarms(request: DescribeAlarmsRequest): Promise<DescribeAlarmsResponse> {
18313
18779
  let runtime = new $Util.RuntimeOptions({ });
18314
18780
  return await this.describeAlarmsWithOptions(request, runtime);
18315
18781
  }
18316
18782
 
18783
+ /**
18784
+ * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
18785
+ *
18786
+ * @param request DescribeEciScalingConfigurationDetailRequest
18787
+ * @param runtime runtime options for this request RuntimeOptions
18788
+ * @return DescribeEciScalingConfigurationDetailResponse
18789
+ */
18317
18790
  async describeEciScalingConfigurationDetailWithOptions(request: DescribeEciScalingConfigurationDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEciScalingConfigurationDetailResponse> {
18318
18791
  Util.validateModel(request);
18319
18792
  let query = { };
@@ -18350,11 +18823,24 @@ export default class Client extends OpenApi {
18350
18823
  return $tea.cast<DescribeEciScalingConfigurationDetailResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationDetailResponse({}));
18351
18824
  }
18352
18825
 
18826
+ /**
18827
+ * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances. If you set OutputFormat to yaml, the output is a Kubernetes Deployment file in the YAML format.
18828
+ *
18829
+ * @param request DescribeEciScalingConfigurationDetailRequest
18830
+ * @return DescribeEciScalingConfigurationDetailResponse
18831
+ */
18353
18832
  async describeEciScalingConfigurationDetail(request: DescribeEciScalingConfigurationDetailRequest): Promise<DescribeEciScalingConfigurationDetailResponse> {
18354
18833
  let runtime = new $Util.RuntimeOptions({ });
18355
18834
  return await this.describeEciScalingConfigurationDetailWithOptions(request, runtime);
18356
18835
  }
18357
18836
 
18837
+ /**
18838
+ * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances.
18839
+ *
18840
+ * @param request DescribeEciScalingConfigurationsRequest
18841
+ * @param runtime runtime options for this request RuntimeOptions
18842
+ * @return DescribeEciScalingConfigurationsResponse
18843
+ */
18358
18844
  async describeEciScalingConfigurationsWithOptions(request: DescribeEciScalingConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEciScalingConfigurationsResponse> {
18359
18845
  Util.validateModel(request);
18360
18846
  let query = { };
@@ -18415,21 +18901,29 @@ export default class Client extends OpenApi {
18415
18901
  return $tea.cast<DescribeEciScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeEciScalingConfigurationsResponse({}));
18416
18902
  }
18417
18903
 
18904
+ /**
18905
+ * @summary Queries scaling configurations of the Elastic Container Instance type to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container instances.
18906
+ *
18907
+ * @param request DescribeEciScalingConfigurationsRequest
18908
+ * @return DescribeEciScalingConfigurationsResponse
18909
+ */
18418
18910
  async describeEciScalingConfigurations(request: DescribeEciScalingConfigurationsRequest): Promise<DescribeEciScalingConfigurationsResponse> {
18419
18911
  let runtime = new $Util.RuntimeOptions({ });
18420
18912
  return await this.describeEciScalingConfigurationsWithOptions(request, runtime);
18421
18913
  }
18422
18914
 
18423
18915
  /**
18424
- * If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
18425
- * * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
18426
- * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
18427
- * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
18428
- * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
18429
- *
18430
- * @param request DescribeLifecycleActionsRequest
18431
- * @param runtime runtime options for this request RuntimeOptions
18432
- * @return DescribeLifecycleActionsResponse
18916
+ * @summary Queries lifecycle actions.
18917
+ *
18918
+ * @description If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
18919
+ * * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
18920
+ * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
18921
+ * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
18922
+ * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
18923
+ *
18924
+ * @param request DescribeLifecycleActionsRequest
18925
+ * @param runtime runtime options for this request RuntimeOptions
18926
+ * @return DescribeLifecycleActionsResponse
18433
18927
  */
18434
18928
  async describeLifecycleActionsWithOptions(request: DescribeLifecycleActionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleActionsResponse> {
18435
18929
  Util.validateModel(request);
@@ -18480,20 +18974,34 @@ export default class Client extends OpenApi {
18480
18974
  }
18481
18975
 
18482
18976
  /**
18483
- * If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
18484
- * * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
18485
- * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
18486
- * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
18487
- * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
18488
- *
18489
- * @param request DescribeLifecycleActionsRequest
18490
- * @return DescribeLifecycleActionsResponse
18977
+ * @summary Queries lifecycle actions.
18978
+ *
18979
+ * @description If a scaling activity is executed and a lifecycle hook is created for the scaling activity, the lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:
18980
+ * * If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group.
18981
+ * * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action expires and ECS instances are added to or removed from a scaling group.
18982
+ * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
18983
+ * If you do not specify the action to perform, such as execute a specific OOS template, after a lifecycle hook ends, you can call this operation to obtain the token of the lifecycle action that corresponds to the lifecycle hook. Then, you can specify a custom action to perform after the lifecycle hook ends.
18984
+ *
18985
+ * @param request DescribeLifecycleActionsRequest
18986
+ * @return DescribeLifecycleActionsResponse
18491
18987
  */
18492
18988
  async describeLifecycleActions(request: DescribeLifecycleActionsRequest): Promise<DescribeLifecycleActionsResponse> {
18493
18989
  let runtime = new $Util.RuntimeOptions({ });
18494
18990
  return await this.describeLifecycleActionsWithOptions(request, runtime);
18495
18991
  }
18496
18992
 
18993
+ /**
18994
+ * @summary Queries lifecycle hooks.
18995
+ *
18996
+ * @description You can use one of the following methods to query lifecycle hooks:
18997
+ * * Specify a list of lifecycle hook IDs by using the LifecycleHookIds parameter. In this case, you do not need to specify the ScalingGroupId and LifecycleHookName parameters.
18998
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
18999
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
19000
+ *
19001
+ * @param request DescribeLifecycleHooksRequest
19002
+ * @param runtime runtime options for this request RuntimeOptions
19003
+ * @return DescribeLifecycleHooksResponse
19004
+ */
18497
19005
  async describeLifecycleHooksWithOptions(request: DescribeLifecycleHooksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleHooksResponse> {
18498
19006
  Util.validateModel(request);
18499
19007
  let query = { };
@@ -18550,11 +19058,29 @@ export default class Client extends OpenApi {
18550
19058
  return $tea.cast<DescribeLifecycleHooksResponse>(await this.callApi(params, req, runtime), new DescribeLifecycleHooksResponse({}));
18551
19059
  }
18552
19060
 
19061
+ /**
19062
+ * @summary Queries lifecycle hooks.
19063
+ *
19064
+ * @description You can use one of the following methods to query lifecycle hooks:
19065
+ * * Specify a list of lifecycle hook IDs by using the LifecycleHookIds parameter. In this case, you do not need to specify the ScalingGroupId and LifecycleHookName parameters.
19066
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
19067
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
19068
+ *
19069
+ * @param request DescribeLifecycleHooksRequest
19070
+ * @return DescribeLifecycleHooksResponse
19071
+ */
18553
19072
  async describeLifecycleHooks(request: DescribeLifecycleHooksRequest): Promise<DescribeLifecycleHooksResponse> {
18554
19073
  let runtime = new $Util.RuntimeOptions({ });
18555
19074
  return await this.describeLifecycleHooksWithOptions(request, runtime);
18556
19075
  }
18557
19076
 
19077
+ /**
19078
+ * @summary Queries resource quotas. You can call the DescribeLimitation operation to query the upper limits on resources such as scheduled tasks that can be created in a scaling group, load balancers that can be attached to a scaling group, instances that can be contained in a scaling group, and scaling configurations that can be created in a scaling group.
19079
+ *
19080
+ * @param request DescribeLimitationRequest
19081
+ * @param runtime runtime options for this request RuntimeOptions
19082
+ * @return DescribeLimitationResponse
19083
+ */
18558
19084
  async describeLimitationWithOptions(request: DescribeLimitationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLimitationResponse> {
18559
19085
  Util.validateModel(request);
18560
19086
  let query = { };
@@ -18583,11 +19109,24 @@ export default class Client extends OpenApi {
18583
19109
  return $tea.cast<DescribeLimitationResponse>(await this.callApi(params, req, runtime), new DescribeLimitationResponse({}));
18584
19110
  }
18585
19111
 
19112
+ /**
19113
+ * @summary Queries resource quotas. You can call the DescribeLimitation operation to query the upper limits on resources such as scheduled tasks that can be created in a scaling group, load balancers that can be attached to a scaling group, instances that can be contained in a scaling group, and scaling configurations that can be created in a scaling group.
19114
+ *
19115
+ * @param request DescribeLimitationRequest
19116
+ * @return DescribeLimitationResponse
19117
+ */
18586
19118
  async describeLimitation(request: DescribeLimitationRequest): Promise<DescribeLimitationResponse> {
18587
19119
  let runtime = new $Util.RuntimeOptions({ });
18588
19120
  return await this.describeLimitationWithOptions(request, runtime);
18589
19121
  }
18590
19122
 
19123
+ /**
19124
+ * @summary Queries event notifications.
19125
+ *
19126
+ * @param request DescribeNotificationConfigurationsRequest
19127
+ * @param runtime runtime options for this request RuntimeOptions
19128
+ * @return DescribeNotificationConfigurationsResponse
19129
+ */
18591
19130
  async describeNotificationConfigurationsWithOptions(request: DescribeNotificationConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNotificationConfigurationsResponse> {
18592
19131
  Util.validateModel(request);
18593
19132
  let query = { };
@@ -18624,11 +19163,24 @@ export default class Client extends OpenApi {
18624
19163
  return $tea.cast<DescribeNotificationConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeNotificationConfigurationsResponse({}));
18625
19164
  }
18626
19165
 
19166
+ /**
19167
+ * @summary Queries event notifications.
19168
+ *
19169
+ * @param request DescribeNotificationConfigurationsRequest
19170
+ * @return DescribeNotificationConfigurationsResponse
19171
+ */
18627
19172
  async describeNotificationConfigurations(request: DescribeNotificationConfigurationsRequest): Promise<DescribeNotificationConfigurationsResponse> {
18628
19173
  let runtime = new $Util.RuntimeOptions({ });
18629
19174
  return await this.describeNotificationConfigurationsWithOptions(request, runtime);
18630
19175
  }
18631
19176
 
19177
+ /**
19178
+ * @summary Queries notification types.
19179
+ *
19180
+ * @param request DescribeNotificationTypesRequest
19181
+ * @param runtime runtime options for this request RuntimeOptions
19182
+ * @return DescribeNotificationTypesResponse
19183
+ */
18632
19184
  async describeNotificationTypesWithOptions(request: DescribeNotificationTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNotificationTypesResponse> {
18633
19185
  Util.validateModel(request);
18634
19186
  let query = { };
@@ -18657,11 +19209,62 @@ export default class Client extends OpenApi {
18657
19209
  return $tea.cast<DescribeNotificationTypesResponse>(await this.callApi(params, req, runtime), new DescribeNotificationTypesResponse({}));
18658
19210
  }
18659
19211
 
19212
+ /**
19213
+ * @summary Queries notification types.
19214
+ *
19215
+ * @param request DescribeNotificationTypesRequest
19216
+ * @return DescribeNotificationTypesResponse
19217
+ */
18660
19218
  async describeNotificationTypes(request: DescribeNotificationTypesRequest): Promise<DescribeNotificationTypesResponse> {
18661
19219
  let runtime = new $Util.RuntimeOptions({ });
18662
19220
  return await this.describeNotificationTypesWithOptions(request, runtime);
18663
19221
  }
18664
19222
 
19223
+ /**
19224
+ * @summary DescribePatternTypes
19225
+ *
19226
+ * @param request DescribePatternTypesRequest
19227
+ * @param runtime runtime options for this request RuntimeOptions
19228
+ * @return DescribePatternTypesResponse
19229
+ */
19230
+ async describePatternTypesWithOptions(request: DescribePatternTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribePatternTypesResponse> {
19231
+ Util.validateModel(request);
19232
+ let query = OpenApiUtil.query(Util.toMap(request));
19233
+ let req = new $OpenApi.OpenApiRequest({
19234
+ query: OpenApiUtil.query(query),
19235
+ });
19236
+ let params = new $OpenApi.Params({
19237
+ action: "DescribePatternTypes",
19238
+ version: "2022-02-22",
19239
+ protocol: "HTTPS",
19240
+ pathname: "/",
19241
+ method: "GET",
19242
+ authType: "AK",
19243
+ style: "RPC",
19244
+ reqBodyType: "formData",
19245
+ bodyType: "json",
19246
+ });
19247
+ return $tea.cast<DescribePatternTypesResponse>(await this.callApi(params, req, runtime), new DescribePatternTypesResponse({}));
19248
+ }
19249
+
19250
+ /**
19251
+ * @summary DescribePatternTypes
19252
+ *
19253
+ * @param request DescribePatternTypesRequest
19254
+ * @return DescribePatternTypesResponse
19255
+ */
19256
+ async describePatternTypes(request: DescribePatternTypesRequest): Promise<DescribePatternTypesResponse> {
19257
+ let runtime = new $Util.RuntimeOptions({ });
19258
+ return await this.describePatternTypesWithOptions(request, runtime);
19259
+ }
19260
+
19261
+ /**
19262
+ * @summary Queries the regions in which Auto Scaling is available.
19263
+ *
19264
+ * @param request DescribeRegionsRequest
19265
+ * @param runtime runtime options for this request RuntimeOptions
19266
+ * @return DescribeRegionsResponse
19267
+ */
18665
19268
  async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
18666
19269
  Util.validateModel(request);
18667
19270
  let query = { };
@@ -18698,19 +19301,27 @@ export default class Client extends OpenApi {
18698
19301
  return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
18699
19302
  }
18700
19303
 
19304
+ /**
19305
+ * @summary Queries the regions in which Auto Scaling is available.
19306
+ *
19307
+ * @param request DescribeRegionsRequest
19308
+ * @return DescribeRegionsResponse
19309
+ */
18701
19310
  async describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse> {
18702
19311
  let runtime = new $Util.RuntimeOptions({ });
18703
19312
  return await this.describeRegionsWithOptions(request, runtime);
18704
19313
  }
18705
19314
 
18706
19315
  /**
18707
- * You can specify a scaling group ID to query all scaling activities in the scaling group.
18708
- * You can filter query results based on the status of scaling activities.
18709
- * You can query scaling activities that are executed in the previous 30 days.
18710
- *
18711
- * @param request DescribeScalingActivitiesRequest
18712
- * @param runtime runtime options for this request RuntimeOptions
18713
- * @return DescribeScalingActivitiesResponse
19316
+ * @summary Queries scaling activities.
19317
+ *
19318
+ * @description You can specify a scaling group ID to query all scaling activities in the scaling group.
19319
+ * You can filter query results based on the status of scaling activities.
19320
+ * You can query scaling activities that are executed in the previous 30 days.
19321
+ *
19322
+ * @param request DescribeScalingActivitiesRequest
19323
+ * @param runtime runtime options for this request RuntimeOptions
19324
+ * @return DescribeScalingActivitiesResponse
18714
19325
  */
18715
19326
  async describeScalingActivitiesWithOptions(request: DescribeScalingActivitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivitiesResponse> {
18716
19327
  Util.validateModel(request);
@@ -18773,18 +19384,27 @@ export default class Client extends OpenApi {
18773
19384
  }
18774
19385
 
18775
19386
  /**
18776
- * You can specify a scaling group ID to query all scaling activities in the scaling group.
18777
- * You can filter query results based on the status of scaling activities.
18778
- * You can query scaling activities that are executed in the previous 30 days.
18779
- *
18780
- * @param request DescribeScalingActivitiesRequest
18781
- * @return DescribeScalingActivitiesResponse
19387
+ * @summary Queries scaling activities.
19388
+ *
19389
+ * @description You can specify a scaling group ID to query all scaling activities in the scaling group.
19390
+ * You can filter query results based on the status of scaling activities.
19391
+ * You can query scaling activities that are executed in the previous 30 days.
19392
+ *
19393
+ * @param request DescribeScalingActivitiesRequest
19394
+ * @return DescribeScalingActivitiesResponse
18782
19395
  */
18783
19396
  async describeScalingActivities(request: DescribeScalingActivitiesRequest): Promise<DescribeScalingActivitiesResponse> {
18784
19397
  let runtime = new $Util.RuntimeOptions({ });
18785
19398
  return await this.describeScalingActivitiesWithOptions(request, runtime);
18786
19399
  }
18787
19400
 
19401
+ /**
19402
+ * @summary Queries the details about a scaling activity.
19403
+ *
19404
+ * @param request DescribeScalingActivityDetailRequest
19405
+ * @param runtime runtime options for this request RuntimeOptions
19406
+ * @return DescribeScalingActivityDetailResponse
19407
+ */
18788
19408
  async describeScalingActivityDetailWithOptions(request: DescribeScalingActivityDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivityDetailResponse> {
18789
19409
  Util.validateModel(request);
18790
19410
  let query = { };
@@ -18821,11 +19441,24 @@ export default class Client extends OpenApi {
18821
19441
  return $tea.cast<DescribeScalingActivityDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingActivityDetailResponse({}));
18822
19442
  }
18823
19443
 
19444
+ /**
19445
+ * @summary Queries the details about a scaling activity.
19446
+ *
19447
+ * @param request DescribeScalingActivityDetailRequest
19448
+ * @return DescribeScalingActivityDetailResponse
19449
+ */
18824
19450
  async describeScalingActivityDetail(request: DescribeScalingActivityDetailRequest): Promise<DescribeScalingActivityDetailResponse> {
18825
19451
  let runtime = new $Util.RuntimeOptions({ });
18826
19452
  return await this.describeScalingActivityDetailWithOptions(request, runtime);
18827
19453
  }
18828
19454
 
19455
+ /**
19456
+ * @summary Queries scaling configurations.
19457
+ *
19458
+ * @param request DescribeScalingConfigurationsRequest
19459
+ * @param runtime runtime options for this request RuntimeOptions
19460
+ * @return DescribeScalingConfigurationsResponse
19461
+ */
18829
19462
  async describeScalingConfigurationsWithOptions(request: DescribeScalingConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingConfigurationsResponse> {
18830
19463
  Util.validateModel(request);
18831
19464
  let query = { };
@@ -18886,11 +19519,24 @@ export default class Client extends OpenApi {
18886
19519
  return $tea.cast<DescribeScalingConfigurationsResponse>(await this.callApi(params, req, runtime), new DescribeScalingConfigurationsResponse({}));
18887
19520
  }
18888
19521
 
19522
+ /**
19523
+ * @summary Queries scaling configurations.
19524
+ *
19525
+ * @param request DescribeScalingConfigurationsRequest
19526
+ * @return DescribeScalingConfigurationsResponse
19527
+ */
18889
19528
  async describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse> {
18890
19529
  let runtime = new $Util.RuntimeOptions({ });
18891
19530
  return await this.describeScalingConfigurationsWithOptions(request, runtime);
18892
19531
  }
18893
19532
 
19533
+ /**
19534
+ * @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.
19535
+ *
19536
+ * @param request DescribeScalingGroupDetailRequest
19537
+ * @param runtime runtime options for this request RuntimeOptions
19538
+ * @return DescribeScalingGroupDetailResponse
19539
+ */
18894
19540
  async describeScalingGroupDetailWithOptions(request: DescribeScalingGroupDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupDetailResponse> {
18895
19541
  Util.validateModel(request);
18896
19542
  let query = { };
@@ -18927,11 +19573,24 @@ export default class Client extends OpenApi {
18927
19573
  return $tea.cast<DescribeScalingGroupDetailResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupDetailResponse({}));
18928
19574
  }
18929
19575
 
19576
+ /**
19577
+ * @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.
19578
+ *
19579
+ * @param request DescribeScalingGroupDetailRequest
19580
+ * @return DescribeScalingGroupDetailResponse
19581
+ */
18930
19582
  async describeScalingGroupDetail(request: DescribeScalingGroupDetailRequest): Promise<DescribeScalingGroupDetailResponse> {
18931
19583
  let runtime = new $Util.RuntimeOptions({ });
18932
19584
  return await this.describeScalingGroupDetailWithOptions(request, runtime);
18933
19585
  }
18934
19586
 
19587
+ /**
19588
+ * @summary Queries scaling groups. If you want to query the basic information, instances, and scaling configurations of a scaling group, you can call the DescribeScalingGroups operation.
19589
+ *
19590
+ * @param request DescribeScalingGroupsRequest
19591
+ * @param runtime runtime options for this request RuntimeOptions
19592
+ * @return DescribeScalingGroupsResponse
19593
+ */
18935
19594
  async describeScalingGroupsWithOptions(request: DescribeScalingGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupsResponse> {
18936
19595
  Util.validateModel(request);
18937
19596
  let query = { };
@@ -19004,11 +19663,24 @@ export default class Client extends OpenApi {
19004
19663
  return $tea.cast<DescribeScalingGroupsResponse>(await this.callApi(params, req, runtime), new DescribeScalingGroupsResponse({}));
19005
19664
  }
19006
19665
 
19666
+ /**
19667
+ * @summary Queries scaling groups. If you want to query the basic information, instances, and scaling configurations of a scaling group, you can call the DescribeScalingGroups operation.
19668
+ *
19669
+ * @param request DescribeScalingGroupsRequest
19670
+ * @return DescribeScalingGroupsResponse
19671
+ */
19007
19672
  async describeScalingGroups(request: DescribeScalingGroupsRequest): Promise<DescribeScalingGroupsResponse> {
19008
19673
  let runtime = new $Util.RuntimeOptions({ });
19009
19674
  return await this.describeScalingGroupsWithOptions(request, runtime);
19010
19675
  }
19011
19676
 
19677
+ /**
19678
+ * @summary Queries the Elastic Compute Service (ECS) instances in a scaling group
19679
+ *
19680
+ * @param request DescribeScalingInstancesRequest
19681
+ * @param runtime runtime options for this request RuntimeOptions
19682
+ * @return DescribeScalingInstancesResponse
19683
+ */
19012
19684
  async describeScalingInstancesWithOptions(request: DescribeScalingInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingInstancesResponse> {
19013
19685
  Util.validateModel(request);
19014
19686
  let query = { };
@@ -19093,17 +19765,25 @@ export default class Client extends OpenApi {
19093
19765
  return $tea.cast<DescribeScalingInstancesResponse>(await this.callApi(params, req, runtime), new DescribeScalingInstancesResponse({}));
19094
19766
  }
19095
19767
 
19768
+ /**
19769
+ * @summary Queries the Elastic Compute Service (ECS) instances in a scaling group
19770
+ *
19771
+ * @param request DescribeScalingInstancesRequest
19772
+ * @return DescribeScalingInstancesResponse
19773
+ */
19096
19774
  async describeScalingInstances(request: DescribeScalingInstancesRequest): Promise<DescribeScalingInstancesResponse> {
19097
19775
  let runtime = new $Util.RuntimeOptions({ });
19098
19776
  return await this.describeScalingInstancesWithOptions(request, runtime);
19099
19777
  }
19100
19778
 
19101
19779
  /**
19102
- * You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
19103
- *
19104
- * @param request DescribeScalingRulesRequest
19105
- * @param runtime runtime options for this request RuntimeOptions
19106
- * @return DescribeScalingRulesResponse
19780
+ * @summary Queries all scaling rules in a scaling group.
19781
+ *
19782
+ * @description You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
19783
+ *
19784
+ * @param request DescribeScalingRulesRequest
19785
+ * @param runtime runtime options for this request RuntimeOptions
19786
+ * @return DescribeScalingRulesResponse
19107
19787
  */
19108
19788
  async describeScalingRulesWithOptions(request: DescribeScalingRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingRulesResponse> {
19109
19789
  Util.validateModel(request);
@@ -19178,16 +19858,27 @@ export default class Client extends OpenApi {
19178
19858
  }
19179
19859
 
19180
19860
  /**
19181
- * You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
19182
- *
19183
- * @param request DescribeScalingRulesRequest
19184
- * @return DescribeScalingRulesResponse
19861
+ * @summary Queries all scaling rules in a scaling group.
19862
+ *
19863
+ * @description You can specify a scaling group ID to query all scaling rules in the scaling group. You can also specify the scaling rule ID, name, unique identifier, and type in the request parameters as filter conditions.
19864
+ *
19865
+ * @param request DescribeScalingRulesRequest
19866
+ * @return DescribeScalingRulesResponse
19185
19867
  */
19186
19868
  async describeScalingRules(request: DescribeScalingRulesRequest): Promise<DescribeScalingRulesResponse> {
19187
19869
  let runtime = new $Util.RuntimeOptions({ });
19188
19870
  return await this.describeScalingRulesWithOptions(request, runtime);
19189
19871
  }
19190
19872
 
19873
+ /**
19874
+ * @summary Queries scheduled tasks.
19875
+ *
19876
+ * @description You can query scheduled tasks by scaling rule, task ID, or task name.
19877
+ *
19878
+ * @param request DescribeScheduledTasksRequest
19879
+ * @param runtime runtime options for this request RuntimeOptions
19880
+ * @return DescribeScheduledTasksResponse
19881
+ */
19191
19882
  async describeScheduledTasksWithOptions(request: DescribeScheduledTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScheduledTasksResponse> {
19192
19883
  Util.validateModel(request);
19193
19884
  let query = { };
@@ -19252,11 +19943,26 @@ export default class Client extends OpenApi {
19252
19943
  return $tea.cast<DescribeScheduledTasksResponse>(await this.callApi(params, req, runtime), new DescribeScheduledTasksResponse({}));
19253
19944
  }
19254
19945
 
19946
+ /**
19947
+ * @summary Queries scheduled tasks.
19948
+ *
19949
+ * @description You can query scheduled tasks by scaling rule, task ID, or task name.
19950
+ *
19951
+ * @param request DescribeScheduledTasksRequest
19952
+ * @return DescribeScheduledTasksResponse
19953
+ */
19255
19954
  async describeScheduledTasks(request: DescribeScheduledTasksRequest): Promise<DescribeScheduledTasksResponse> {
19256
19955
  let runtime = new $Util.RuntimeOptions({ });
19257
19956
  return await this.describeScheduledTasksWithOptions(request, runtime);
19258
19957
  }
19259
19958
 
19959
+ /**
19960
+ * @summary Disassociates one or more Application Load Balancer (ALB) server groups from a scaling group.
19961
+ *
19962
+ * @param request DetachAlbServerGroupsRequest
19963
+ * @param runtime runtime options for this request RuntimeOptions
19964
+ * @return DetachAlbServerGroupsResponse
19965
+ */
19260
19966
  async detachAlbServerGroupsWithOptions(request: DetachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachAlbServerGroupsResponse> {
19261
19967
  Util.validateModel(request);
19262
19968
  let query = { };
@@ -19305,11 +20011,24 @@ export default class Client extends OpenApi {
19305
20011
  return $tea.cast<DetachAlbServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachAlbServerGroupsResponse({}));
19306
20012
  }
19307
20013
 
20014
+ /**
20015
+ * @summary Disassociates one or more Application Load Balancer (ALB) server groups from a scaling group.
20016
+ *
20017
+ * @param request DetachAlbServerGroupsRequest
20018
+ * @return DetachAlbServerGroupsResponse
20019
+ */
19308
20020
  async detachAlbServerGroups(request: DetachAlbServerGroupsRequest): Promise<DetachAlbServerGroupsResponse> {
19309
20021
  let runtime = new $Util.RuntimeOptions({ });
19310
20022
  return await this.detachAlbServerGroupsWithOptions(request, runtime);
19311
20023
  }
19312
20024
 
20025
+ /**
20026
+ * @summary Disassociates one or more ApsaraDB RDS instances from a scaling group.
20027
+ *
20028
+ * @param request DetachDBInstancesRequest
20029
+ * @param runtime runtime options for this request RuntimeOptions
20030
+ * @return DetachDBInstancesResponse
20031
+ */
19313
20032
  async detachDBInstancesWithOptions(request: DetachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachDBInstancesResponse> {
19314
20033
  Util.validateModel(request);
19315
20034
  let query = { };
@@ -19362,24 +20081,32 @@ export default class Client extends OpenApi {
19362
20081
  return $tea.cast<DetachDBInstancesResponse>(await this.callApi(params, req, runtime), new DetachDBInstancesResponse({}));
19363
20082
  }
19364
20083
 
20084
+ /**
20085
+ * @summary Disassociates one or more ApsaraDB RDS instances from a scaling group.
20086
+ *
20087
+ * @param request DetachDBInstancesRequest
20088
+ * @return DetachDBInstancesResponse
20089
+ */
19365
20090
  async detachDBInstances(request: DetachDBInstancesRequest): Promise<DetachDBInstancesResponse> {
19366
20091
  let runtime = new $Util.RuntimeOptions({ });
19367
20092
  return await this.detachDBInstancesWithOptions(request, runtime);
19368
20093
  }
19369
20094
 
19370
20095
  /**
19371
- * After ECS instances or elastic container instances are removed from a scaling group, you can call the AttachInstances operation to add the ECS instances or elastic container instances that are removed from the scaling group to other scaling groups.
19372
- * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
19373
- * Before you call this operation, make sure that the following conditions are met:
19374
- * * The specified scaling group is enabled.
19375
- * * No scaling activities in the specified scaling group are in progress.
19376
- * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
19377
- * A successful call indicates only 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 the ScalingActivityId parameter in the response.
19378
- * The number of ECS instances or elastic container instances in a scaling group after you remove a specific number of instances from the scaling group must be equal to or greater than the value of the MinSize parameter. Otherwise, an error is reported when you call the DetachInstances operation.
19379
- *
19380
- * @param request DetachInstancesRequest
19381
- * @param runtime runtime options for this request RuntimeOptions
19382
- * @return DetachInstancesResponse
20096
+ * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
20097
+ *
20098
+ * @description After ECS instances or elastic container instances are removed from a scaling group, you can call the AttachInstances operation to add the ECS instances or elastic container instances that are removed from the scaling group to other scaling groups.
20099
+ * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
20100
+ * Before you call this operation, make sure that the following conditions are met:
20101
+ * * The specified scaling group is enabled.
20102
+ * * No scaling activities in the specified scaling group are in progress.
20103
+ * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
20104
+ * A successful call indicates only 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 the ScalingActivityId parameter in the response.
20105
+ * The number of ECS instances or elastic container instances in a scaling group after you remove a specific number of instances from the scaling group must be equal to or greater than the value of the MinSize parameter. Otherwise, an error is reported when you call the DetachInstances operation.
20106
+ *
20107
+ * @param request DetachInstancesRequest
20108
+ * @param runtime runtime options for this request RuntimeOptions
20109
+ * @return DetachInstancesResponse
19383
20110
  */
19384
20111
  async detachInstancesWithOptions(request: DetachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachInstancesResponse> {
19385
20112
  Util.validateModel(request);
@@ -19442,23 +20169,32 @@ export default class Client extends OpenApi {
19442
20169
  }
19443
20170
 
19444
20171
  /**
19445
- * After ECS instances or elastic container instances are removed from a scaling group, you can call the AttachInstances operation to add the ECS instances or elastic container instances that are removed from the scaling group to other scaling groups.
19446
- * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
19447
- * Before you call this operation, make sure that the following conditions are met:
19448
- * * The specified scaling group is enabled.
19449
- * * No scaling activities in the specified scaling group are in progress.
19450
- * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
19451
- * A successful call indicates only 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 the ScalingActivityId parameter in the response.
19452
- * The number of ECS instances or elastic container instances in a scaling group after you remove a specific number of instances from the scaling group must be equal to or greater than the value of the MinSize parameter. Otherwise, an error is reported when you call the DetachInstances operation.
19453
- *
19454
- * @param request DetachInstancesRequest
19455
- * @return DetachInstancesResponse
20172
+ * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
20173
+ *
20174
+ * @description After ECS instances or elastic container instances are removed from a scaling group, you can call the AttachInstances operation to add the ECS instances or elastic container instances that are removed from the scaling group to other scaling groups.
20175
+ * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
20176
+ * Before you call this operation, make sure that the following conditions are met:
20177
+ * * The specified scaling group is enabled.
20178
+ * * No scaling activities in the specified scaling group are in progress.
20179
+ * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
20180
+ * A successful call indicates only 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 the ScalingActivityId parameter in the response.
20181
+ * The number of ECS instances or elastic container instances in a scaling group after you remove a specific number of instances from the scaling group must be equal to or greater than the value of the MinSize parameter. Otherwise, an error is reported when you call the DetachInstances operation.
20182
+ *
20183
+ * @param request DetachInstancesRequest
20184
+ * @return DetachInstancesResponse
19456
20185
  */
19457
20186
  async detachInstances(request: DetachInstancesRequest): Promise<DetachInstancesResponse> {
19458
20187
  let runtime = new $Util.RuntimeOptions({ });
19459
20188
  return await this.detachInstancesWithOptions(request, runtime);
19460
20189
  }
19461
20190
 
20191
+ /**
20192
+ * @summary Detaches one or more Classic Load Balancer (CLB) instances from a scaling group.
20193
+ *
20194
+ * @param request DetachLoadBalancersRequest
20195
+ * @param runtime runtime options for this request RuntimeOptions
20196
+ * @return DetachLoadBalancersResponse
20197
+ */
19462
20198
  async detachLoadBalancersWithOptions(request: DetachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<DetachLoadBalancersResponse> {
19463
20199
  Util.validateModel(request);
19464
20200
  let query = { };
@@ -19511,11 +20247,24 @@ export default class Client extends OpenApi {
19511
20247
  return $tea.cast<DetachLoadBalancersResponse>(await this.callApi(params, req, runtime), new DetachLoadBalancersResponse({}));
19512
20248
  }
19513
20249
 
20250
+ /**
20251
+ * @summary Detaches one or more Classic Load Balancer (CLB) instances from a scaling group.
20252
+ *
20253
+ * @param request DetachLoadBalancersRequest
20254
+ * @return DetachLoadBalancersResponse
20255
+ */
19514
20256
  async detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse> {
19515
20257
  let runtime = new $Util.RuntimeOptions({ });
19516
20258
  return await this.detachLoadBalancersWithOptions(request, runtime);
19517
20259
  }
19518
20260
 
20261
+ /**
20262
+ * @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.
20263
+ *
20264
+ * @param request DetachServerGroupsRequest
20265
+ * @param runtime runtime options for this request RuntimeOptions
20266
+ * @return DetachServerGroupsResponse
20267
+ */
19519
20268
  async detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse> {
19520
20269
  Util.validateModel(request);
19521
20270
  let query = { };
@@ -19564,21 +20313,30 @@ export default class Client extends OpenApi {
19564
20313
  return $tea.cast<DetachServerGroupsResponse>(await this.callApi(params, req, runtime), new DetachServerGroupsResponse({}));
19565
20314
  }
19566
20315
 
20316
+ /**
20317
+ * @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.
20318
+ *
20319
+ * @param request DetachServerGroupsRequest
20320
+ * @return DetachServerGroupsResponse
20321
+ */
19567
20322
  async detachServerGroups(request: DetachServerGroupsRequest): Promise<DetachServerGroupsResponse> {
19568
20323
  let runtime = new $Util.RuntimeOptions({ });
19569
20324
  return await this.detachServerGroupsWithOptions(request, runtime);
19570
20325
  }
19571
20326
 
19572
20327
  /**
19573
- * You can use the following parameters to specify the vServer groups that you want to detach from your scaling group.
19574
- * * LoadBalancerId: the ID of the Classic Load Balancer (CLB) instance.
19575
- * * VServerGroupId: the ID of the vServer group.
19576
- * * Port: the port number of the vServer group.
19577
- * If the vServer group that is specified in this call matches the vServer group associated with your scaling group, the vServer group can be detached. Otherwise, the request for detaching the vServer group is ignored, and no error is reported.
19578
- *
19579
- * @param request DetachVServerGroupsRequest
19580
- * @param runtime runtime options for this request RuntimeOptions
19581
- * @return DetachVServerGroupsResponse
20328
+ * @summary Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
20329
+ *
20330
+ * @description * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
20331
+ * * LoadBalancerId: the ID of the load balancer
20332
+ * * VServerGroupId: the ID of the vServer group
20333
+ * * Port: the port number of the vServer group
20334
+ * * When the vServer group specified by the request parameters matches that attached to your scaling group, this operation yields a favorable result. Otherwise, the request is ignored and no error is reported.
20335
+ * * Before you call this operation, you must make sure that the load balancer has ceased routing the access traffic to the instances in the scaling group. Failure to do so may lead to service requests being dropped or lost during the detachment process.
20336
+ *
20337
+ * @param request DetachVServerGroupsRequest
20338
+ * @param runtime runtime options for this request RuntimeOptions
20339
+ * @return DetachVServerGroupsResponse
19582
20340
  */
19583
20341
  async detachVServerGroupsWithOptions(request: DetachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachVServerGroupsResponse> {
19584
20342
  Util.validateModel(request);
@@ -19629,20 +20387,30 @@ export default class Client extends OpenApi {
19629
20387
  }
19630
20388
 
19631
20389
  /**
19632
- * You can use the following parameters to specify the vServer groups that you want to detach from your scaling group.
19633
- * * LoadBalancerId: the ID of the Classic Load Balancer (CLB) instance.
19634
- * * VServerGroupId: the ID of the vServer group.
19635
- * * Port: the port number of the vServer group.
19636
- * If the vServer group that is specified in this call matches the vServer group associated with your scaling group, the vServer group can be detached. Otherwise, the request for detaching the vServer group is ignored, and no error is reported.
19637
- *
19638
- * @param request DetachVServerGroupsRequest
19639
- * @return DetachVServerGroupsResponse
20390
+ * @summary Detaches vServer groups from a scaling group. Auto Scaling supports the attachment of load balancers to scaling groups to improve service performance. If the load balancer currently attached to your scaling group is no longer needed to distribute the access traffic to the instances in your scaling group, you can call the DetachVServerGroups operation to detach one or more vServer groups of this load balancer from the scaling group.
20391
+ *
20392
+ * @description * When you call the DetachVServerGroups operation, you must use the following parameters to specify the vServer groups that you want to detach from your scaling group:
20393
+ * * LoadBalancerId: the ID of the load balancer
20394
+ * * VServerGroupId: the ID of the vServer group
20395
+ * * Port: the port number of the vServer group
20396
+ * * When the vServer group specified by the request parameters matches that attached to your scaling group, this operation yields a favorable result. Otherwise, the request is ignored and no error is reported.
20397
+ * * Before you call this operation, you must make sure that the load balancer has ceased routing the access traffic to the instances in the scaling group. Failure to do so may lead to service requests being dropped or lost during the detachment process.
20398
+ *
20399
+ * @param request DetachVServerGroupsRequest
20400
+ * @return DetachVServerGroupsResponse
19640
20401
  */
19641
20402
  async detachVServerGroups(request: DetachVServerGroupsRequest): Promise<DetachVServerGroupsResponse> {
19642
20403
  let runtime = new $Util.RuntimeOptions({ });
19643
20404
  return await this.detachVServerGroupsWithOptions(request, runtime);
19644
20405
  }
19645
20406
 
20407
+ /**
20408
+ * @summary Disables an event-triggered task.
20409
+ *
20410
+ * @param request DisableAlarmRequest
20411
+ * @param runtime runtime options for this request RuntimeOptions
20412
+ * @return DisableAlarmResponse
20413
+ */
19646
20414
  async disableAlarmWithOptions(request: DisableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DisableAlarmResponse> {
19647
20415
  Util.validateModel(request);
19648
20416
  let query = { };
@@ -19679,11 +20447,28 @@ export default class Client extends OpenApi {
19679
20447
  return $tea.cast<DisableAlarmResponse>(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
19680
20448
  }
19681
20449
 
20450
+ /**
20451
+ * @summary Disables an event-triggered task.
20452
+ *
20453
+ * @param request DisableAlarmRequest
20454
+ * @return DisableAlarmResponse
20455
+ */
19682
20456
  async disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse> {
19683
20457
  let runtime = new $Util.RuntimeOptions({ });
19684
20458
  return await this.disableAlarmWithOptions(request, runtime);
19685
20459
  }
19686
20460
 
20461
+ /**
20462
+ * @summary Disables a scaling group.
20463
+ *
20464
+ * @description Before you call this operation to disable a scaling group, take note of the following items:
20465
+ * * When you call this operation, ongoing scaling activities will continue until they are complete, but new activities will be rejected.
20466
+ * * You can disable only scaling groups that are in the Active state.
20467
+ *
20468
+ * @param request DisableScalingGroupRequest
20469
+ * @param runtime runtime options for this request RuntimeOptions
20470
+ * @return DisableScalingGroupResponse
20471
+ */
19687
20472
  async disableScalingGroupWithOptions(request: DisableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DisableScalingGroupResponse> {
19688
20473
  Util.validateModel(request);
19689
20474
  let query = { };
@@ -19724,11 +20509,28 @@ export default class Client extends OpenApi {
19724
20509
  return $tea.cast<DisableScalingGroupResponse>(await this.callApi(params, req, runtime), new DisableScalingGroupResponse({}));
19725
20510
  }
19726
20511
 
20512
+ /**
20513
+ * @summary Disables a scaling group.
20514
+ *
20515
+ * @description Before you call this operation to disable a scaling group, take note of the following items:
20516
+ * * When you call this operation, ongoing scaling activities will continue until they are complete, but new activities will be rejected.
20517
+ * * You can disable only scaling groups that are in the Active state.
20518
+ *
20519
+ * @param request DisableScalingGroupRequest
20520
+ * @return DisableScalingGroupResponse
20521
+ */
19727
20522
  async disableScalingGroup(request: DisableScalingGroupRequest): Promise<DisableScalingGroupResponse> {
19728
20523
  let runtime = new $Util.RuntimeOptions({ });
19729
20524
  return await this.disableScalingGroupWithOptions(request, runtime);
19730
20525
  }
19731
20526
 
20527
+ /**
20528
+ * @summary Enables an event-triggered task.
20529
+ *
20530
+ * @param request EnableAlarmRequest
20531
+ * @param runtime runtime options for this request RuntimeOptions
20532
+ * @return EnableAlarmResponse
20533
+ */
19732
20534
  async enableAlarmWithOptions(request: EnableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<EnableAlarmResponse> {
19733
20535
  Util.validateModel(request);
19734
20536
  let query = { };
@@ -19765,21 +20567,29 @@ export default class Client extends OpenApi {
19765
20567
  return $tea.cast<EnableAlarmResponse>(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
19766
20568
  }
19767
20569
 
20570
+ /**
20571
+ * @summary Enables an event-triggered task.
20572
+ *
20573
+ * @param request EnableAlarmRequest
20574
+ * @return EnableAlarmResponse
20575
+ */
19768
20576
  async enableAlarm(request: EnableAlarmRequest): Promise<EnableAlarmResponse> {
19769
20577
  let runtime = new $Util.RuntimeOptions({ });
19770
20578
  return await this.enableAlarmWithOptions(request, runtime);
19771
20579
  }
19772
20580
 
19773
20581
  /**
19774
- * 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.
19775
- * > 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.
19776
- * If you specify a value for the InstanceIds 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.
19777
- * * If the total number of ECS instances is less than the minimum number of instances required 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 required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
19778
- * * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
19779
- *
19780
- * @param request EnableScalingGroupRequest
19781
- * @param runtime runtime options for this request RuntimeOptions
19782
- * @return EnableScalingGroupResponse
20582
+ * @summary Enables a scaling group.
20583
+ *
20584
+ * @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.
20585
+ * > 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.
20586
+ * 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.
20587
+ * * 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.
20588
+ * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
20589
+ *
20590
+ * @param request EnableScalingGroupRequest
20591
+ * @param runtime runtime options for this request RuntimeOptions
20592
+ * @return EnableScalingGroupResponse
19783
20593
  */
19784
20594
  async enableScalingGroupWithOptions(request: EnableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<EnableScalingGroupResponse> {
19785
20595
  Util.validateModel(request);
@@ -19850,20 +20660,35 @@ export default class Client extends OpenApi {
19850
20660
  }
19851
20661
 
19852
20662
  /**
19853
- * 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.
19854
- * > 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.
19855
- * If you specify a value for the InstanceIds 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.
19856
- * * If the total number of ECS instances is less than the minimum number of instances required 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 required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
19857
- * * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
19858
- *
19859
- * @param request EnableScalingGroupRequest
19860
- * @return EnableScalingGroupResponse
20663
+ * @summary Enables a scaling group.
20664
+ *
20665
+ * @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.
20666
+ * > 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.
20667
+ * 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.
20668
+ * * 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.
20669
+ * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
20670
+ *
20671
+ * @param request EnableScalingGroupRequest
20672
+ * @return EnableScalingGroupResponse
19861
20673
  */
19862
20674
  async enableScalingGroup(request: EnableScalingGroupRequest): Promise<EnableScalingGroupResponse> {
19863
20675
  let runtime = new $Util.RuntimeOptions({ });
19864
20676
  return await this.enableScalingGroupWithOptions(request, runtime);
19865
20677
  }
19866
20678
 
20679
+ /**
20680
+ * @summary Puts an Elastic Compute Service (ECS) instance into the Standby state.
20681
+ *
20682
+ * @description ## Description
20683
+ * * If you call the operation to put an ECS instance in a scaling group that is associated with a Classic Load Balancer (CLB) instance into the Standby state, the weight of the ECS instance as a backend server of the CLB instance is set to 0.
20684
+ * * You can remove an instance that is in the Standby state from a scaling group, and then release the instance.
20685
+ * * ECS instances that are in the Standby state are not removed from the scaling group during scale-in activities triggered by event-triggered tasks.
20686
+ * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, for example, the ECS instance is being stopped or being restarted, Auto Scaling does not update the health status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health status of the ECS instance only when the ECS instance is no longer in the Standby state.
20687
+ *
20688
+ * @param request EnterStandbyRequest
20689
+ * @param runtime runtime options for this request RuntimeOptions
20690
+ * @return EnterStandbyResponse
20691
+ */
19867
20692
  async enterStandbyWithOptions(request: EnterStandbyRequest, runtime: $Util.RuntimeOptions): Promise<EnterStandbyResponse> {
19868
20693
  Util.validateModel(request);
19869
20694
  let query = { };
@@ -19908,24 +20733,38 @@ export default class Client extends OpenApi {
19908
20733
  return $tea.cast<EnterStandbyResponse>(await this.callApi(params, req, runtime), new EnterStandbyResponse({}));
19909
20734
  }
19910
20735
 
20736
+ /**
20737
+ * @summary Puts an Elastic Compute Service (ECS) instance into the Standby state.
20738
+ *
20739
+ * @description ## Description
20740
+ * * If you call the operation to put an ECS instance in a scaling group that is associated with a Classic Load Balancer (CLB) instance into the Standby state, the weight of the ECS instance as a backend server of the CLB instance is set to 0.
20741
+ * * You can remove an instance that is in the Standby state from a scaling group, and then release the instance.
20742
+ * * ECS instances that are in the Standby state are not removed from the scaling group during scale-in activities triggered by event-triggered tasks.
20743
+ * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, for example, the ECS instance is being stopped or being restarted, Auto Scaling does not update the health status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health status of the ECS instance only when the ECS instance is no longer in the Standby state.
20744
+ *
20745
+ * @param request EnterStandbyRequest
20746
+ * @return EnterStandbyResponse
20747
+ */
19911
20748
  async enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse> {
19912
20749
  let runtime = new $Util.RuntimeOptions({ });
19913
20750
  return await this.enterStandbyWithOptions(request, runtime);
19914
20751
  }
19915
20752
 
19916
20753
  /**
19917
- * Before you call this operation, take note of the following items:
19918
- * * The scaling group is in the Active state.
19919
- * * No scaling activities in the scaling group are in progress.
19920
- * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
19921
- * 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.
19922
- * 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.
19923
- * 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.
19924
- * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
19925
- *
19926
- * @param request ExecuteScalingRuleRequest
19927
- * @param runtime runtime options for this request RuntimeOptions
19928
- * @return ExecuteScalingRuleResponse
20754
+ * @summary Executes a scaling rule.
20755
+ *
20756
+ * @description Before you call this operation, take note of the following items:
20757
+ * * The scaling group is in the Active state.
20758
+ * * No scaling activities in the scaling group are in progress.
20759
+ * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
20760
+ * 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.
20761
+ * 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.
20762
+ * 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.
20763
+ * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
20764
+ *
20765
+ * @param request ExecuteScalingRuleRequest
20766
+ * @param runtime runtime options for this request RuntimeOptions
20767
+ * @return ExecuteScalingRuleResponse
19929
20768
  */
19930
20769
  async executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse> {
19931
20770
  Util.validateModel(request);
@@ -19984,23 +20823,35 @@ export default class Client extends OpenApi {
19984
20823
  }
19985
20824
 
19986
20825
  /**
19987
- * Before you call this operation, take note of the following items:
19988
- * * The scaling group is in the Active state.
19989
- * * No scaling activities in the scaling group are in progress.
19990
- * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
19991
- * 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.
19992
- * 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.
19993
- * 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.
19994
- * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
19995
- *
19996
- * @param request ExecuteScalingRuleRequest
19997
- * @return ExecuteScalingRuleResponse
20826
+ * @summary Executes a scaling rule.
20827
+ *
20828
+ * @description Before you call this operation, take note of the following items:
20829
+ * * The scaling group is in the Active state.
20830
+ * * No scaling activities in the scaling group are in progress.
20831
+ * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
20832
+ * 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.
20833
+ * 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.
20834
+ * 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.
20835
+ * You can specify only a limited number of ECS instances in each adjustment. For more information, see the description of the AdjustmentValue parameter in the CreateScalingRule topic.
20836
+ *
20837
+ * @param request ExecuteScalingRuleRequest
20838
+ * @return ExecuteScalingRuleResponse
19998
20839
  */
19999
20840
  async executeScalingRule(request: ExecuteScalingRuleRequest): Promise<ExecuteScalingRuleResponse> {
20000
20841
  let runtime = new $Util.RuntimeOptions({ });
20001
20842
  return await this.executeScalingRuleWithOptions(request, runtime);
20002
20843
  }
20003
20844
 
20845
+ /**
20846
+ * @summary Moves an Elastic Compute Service (ECS) instance out of the Standby state.
20847
+ *
20848
+ * @description ## Description
20849
+ * If your scaling group is associated with a Classic Load Balancer (CLB) instance and you move an ECS instance in your scaling group out of the Standby state, the weight of the ECS instance is reset to the value that is specified in the scaling configuration of your scaling group.
20850
+ *
20851
+ * @param request ExitStandbyRequest
20852
+ * @param runtime runtime options for this request RuntimeOptions
20853
+ * @return ExitStandbyResponse
20854
+ */
20004
20855
  async exitStandbyWithOptions(request: ExitStandbyRequest, runtime: $Util.RuntimeOptions): Promise<ExitStandbyResponse> {
20005
20856
  Util.validateModel(request);
20006
20857
  let query = { };
@@ -20049,11 +20900,27 @@ export default class Client extends OpenApi {
20049
20900
  return $tea.cast<ExitStandbyResponse>(await this.callApi(params, req, runtime), new ExitStandbyResponse({}));
20050
20901
  }
20051
20902
 
20903
+ /**
20904
+ * @summary Moves an Elastic Compute Service (ECS) instance out of the Standby state.
20905
+ *
20906
+ * @description ## Description
20907
+ * If your scaling group is associated with a Classic Load Balancer (CLB) instance and you move an ECS instance in your scaling group out of the Standby state, the weight of the ECS instance is reset to the value that is specified in the scaling configuration of your scaling group.
20908
+ *
20909
+ * @param request ExitStandbyRequest
20910
+ * @return ExitStandbyResponse
20911
+ */
20052
20912
  async exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse> {
20053
20913
  let runtime = new $Util.RuntimeOptions({ });
20054
20914
  return await this.exitStandbyWithOptions(request, runtime);
20055
20915
  }
20056
20916
 
20917
+ /**
20918
+ * @summary Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
20919
+ *
20920
+ * @param request ListTagKeysRequest
20921
+ * @param runtime runtime options for this request RuntimeOptions
20922
+ * @return ListTagKeysResponse
20923
+ */
20057
20924
  async listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse> {
20058
20925
  Util.validateModel(request);
20059
20926
  let query = { };
@@ -20098,11 +20965,24 @@ export default class Client extends OpenApi {
20098
20965
  return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
20099
20966
  }
20100
20967
 
20968
+ /**
20969
+ * @summary Queries the tag keys added to Auto Scaling resources. Querying tag keys facilitates easier classification, identification, and monitoring of your Auto Scaling resources, thereby enhancing the flexibility and convenience of your resource management processes.
20970
+ *
20971
+ * @param request ListTagKeysRequest
20972
+ * @return ListTagKeysResponse
20973
+ */
20101
20974
  async listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse> {
20102
20975
  let runtime = new $Util.RuntimeOptions({ });
20103
20976
  return await this.listTagKeysWithOptions(request, runtime);
20104
20977
  }
20105
20978
 
20979
+ /**
20980
+ * @summary Queries tags that are added to one or more Auto Scaling resources.
20981
+ *
20982
+ * @param request ListTagResourcesRequest
20983
+ * @param runtime runtime options for this request RuntimeOptions
20984
+ * @return ListTagResourcesResponse
20985
+ */
20106
20986
  async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
20107
20987
  Util.validateModel(request);
20108
20988
  let query = { };
@@ -20151,11 +21031,24 @@ export default class Client extends OpenApi {
20151
21031
  return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
20152
21032
  }
20153
21033
 
21034
+ /**
21035
+ * @summary Queries tags that are added to one or more Auto Scaling resources.
21036
+ *
21037
+ * @param request ListTagResourcesRequest
21038
+ * @return ListTagResourcesResponse
21039
+ */
20154
21040
  async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
20155
21041
  let runtime = new $Util.RuntimeOptions({ });
20156
21042
  return await this.listTagResourcesWithOptions(request, runtime);
20157
21043
  }
20158
21044
 
21045
+ /**
21046
+ * @summary Queries tag values.
21047
+ *
21048
+ * @param request ListTagValuesRequest
21049
+ * @param runtime runtime options for this request RuntimeOptions
21050
+ * @return ListTagValuesResponse
21051
+ */
20159
21052
  async listTagValuesWithOptions(request: ListTagValuesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagValuesResponse> {
20160
21053
  Util.validateModel(request);
20161
21054
  let query = { };
@@ -20204,21 +21097,29 @@ export default class Client extends OpenApi {
20204
21097
  return $tea.cast<ListTagValuesResponse>(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
20205
21098
  }
20206
21099
 
21100
+ /**
21101
+ * @summary Queries tag values.
21102
+ *
21103
+ * @param request ListTagValuesRequest
21104
+ * @return ListTagValuesResponse
21105
+ */
20207
21106
  async listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse> {
20208
21107
  let runtime = new $Util.RuntimeOptions({ });
20209
21108
  return await this.listTagValuesWithOptions(request, runtime);
20210
21109
  }
20211
21110
 
20212
21111
  /**
20213
- * * 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 the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
20214
- * * 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.
20215
- * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
20216
- * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](~~74854~~).
20217
- * > 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.
20218
- *
20219
- * @param request ModifyAlarmRequest
20220
- * @param runtime runtime options for this request RuntimeOptions
20221
- * @return ModifyAlarmResponse
21112
+ * @summary Modifies an event-triggered task.
21113
+ *
21114
+ * @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 the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
21115
+ * * 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.
21116
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
21117
+ * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
21118
+ * > 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.
21119
+ *
21120
+ * @param request ModifyAlarmRequest
21121
+ * @param runtime runtime options for this request RuntimeOptions
21122
+ * @return ModifyAlarmResponse
20222
21123
  */
20223
21124
  async modifyAlarmWithOptions(request: ModifyAlarmRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAlarmResponse> {
20224
21125
  Util.validateModel(request);
@@ -20317,14 +21218,16 @@ export default class Client extends OpenApi {
20317
21218
  }
20318
21219
 
20319
21220
  /**
20320
- * * 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 the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
20321
- * * 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.
20322
- * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
20323
- * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](~~74854~~).
20324
- * > 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.
20325
- *
20326
- * @param request ModifyAlarmRequest
20327
- * @return ModifyAlarmResponse
21221
+ * @summary Modifies an event-triggered task.
21222
+ *
21223
+ * @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 the custom metrics. For more information, see [Custom monitoring event-triggered tasks](https://help.aliyun.com/document_detail/74861.html).
21224
+ * * 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.
21225
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
21226
+ * * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](https://help.aliyun.com/document_detail/74854.html).
21227
+ * > 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.
21228
+ *
21229
+ * @param request ModifyAlarmRequest
21230
+ * @return ModifyAlarmResponse
20328
21231
  */
20329
21232
  async modifyAlarm(request: ModifyAlarmRequest): Promise<ModifyAlarmResponse> {
20330
21233
  let runtime = new $Util.RuntimeOptions({ });
@@ -20332,11 +21235,13 @@ export default class Client extends OpenApi {
20332
21235
  }
20333
21236
 
20334
21237
  /**
20335
- * 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.
20336
- *
20337
- * @param request ModifyEciScalingConfigurationRequest
20338
- * @param runtime runtime options for this request RuntimeOptions
20339
- * @return ModifyEciScalingConfigurationResponse
21238
+ * @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
21239
+ *
21240
+ * @description 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.
21241
+ *
21242
+ * @param request ModifyEciScalingConfigurationRequest
21243
+ * @param runtime runtime options for this request RuntimeOptions
21244
+ * @return ModifyEciScalingConfigurationResponse
20340
21245
  */
20341
21246
  async modifyEciScalingConfigurationWithOptions(request: ModifyEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEciScalingConfigurationResponse> {
20342
21247
  Util.validateModel(request);
@@ -20559,16 +21464,25 @@ export default class Client extends OpenApi {
20559
21464
  }
20560
21465
 
20561
21466
  /**
20562
- * 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.
20563
- *
20564
- * @param request ModifyEciScalingConfigurationRequest
20565
- * @return ModifyEciScalingConfigurationResponse
21467
+ * @summary Modifies a scaling configuration for a scaling group that contains elastic container instances.
21468
+ *
21469
+ * @description 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.
21470
+ *
21471
+ * @param request ModifyEciScalingConfigurationRequest
21472
+ * @return ModifyEciScalingConfigurationResponse
20566
21473
  */
20567
21474
  async modifyEciScalingConfiguration(request: ModifyEciScalingConfigurationRequest): Promise<ModifyEciScalingConfigurationResponse> {
20568
21475
  let runtime = new $Util.RuntimeOptions({ });
20569
21476
  return await this.modifyEciScalingConfigurationWithOptions(request, runtime);
20570
21477
  }
20571
21478
 
21479
+ /**
21480
+ * @summary Modifies the attributes of an Elastic Compute Service (ECS) instance in a scaling group. You can call the ModifyInstanceAttribute operation to modify the lifecycle management attribute of a manually added ECS instance in a scaling group.
21481
+ *
21482
+ * @param request ModifyInstanceAttributeRequest
21483
+ * @param runtime runtime options for this request RuntimeOptions
21484
+ * @return ModifyInstanceAttributeResponse
21485
+ */
20572
21486
  async modifyInstanceAttributeWithOptions(request: ModifyInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttributeResponse> {
20573
21487
  Util.validateModel(request);
20574
21488
  let query = { };
@@ -20613,19 +21527,27 @@ export default class Client extends OpenApi {
20613
21527
  return $tea.cast<ModifyInstanceAttributeResponse>(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
20614
21528
  }
20615
21529
 
21530
+ /**
21531
+ * @summary Modifies the attributes of an Elastic Compute Service (ECS) instance in a scaling group. You can call the ModifyInstanceAttribute operation to modify the lifecycle management attribute of a manually added ECS instance in a scaling group.
21532
+ *
21533
+ * @param request ModifyInstanceAttributeRequest
21534
+ * @return ModifyInstanceAttributeResponse
21535
+ */
20616
21536
  async modifyInstanceAttribute(request: ModifyInstanceAttributeRequest): Promise<ModifyInstanceAttributeResponse> {
20617
21537
  let runtime = new $Util.RuntimeOptions({ });
20618
21538
  return await this.modifyInstanceAttributeWithOptions(request, runtime);
20619
21539
  }
20620
21540
 
20621
21541
  /**
20622
- * You can use one of the following methods to specify the lifecycle hook that you want to modify:
20623
- * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
20624
- * * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
20625
- *
20626
- * @param request ModifyLifecycleHookRequest
20627
- * @param runtime runtime options for this request RuntimeOptions
20628
- * @return ModifyLifecycleHookResponse
21542
+ * @summary Modifies a lifecycle hook.
21543
+ *
21544
+ * @description You can use one of the following methods to specify the lifecycle hook that you want to modify:
21545
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
21546
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter.
21547
+ *
21548
+ * @param request ModifyLifecycleHookRequest
21549
+ * @param runtime runtime options for this request RuntimeOptions
21550
+ * @return ModifyLifecycleHookResponse
20629
21551
  */
20630
21552
  async modifyLifecycleHookWithOptions(request: ModifyLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLifecycleHookResponse> {
20631
21553
  Util.validateModel(request);
@@ -20700,18 +21622,27 @@ export default class Client extends OpenApi {
20700
21622
  }
20701
21623
 
20702
21624
  /**
20703
- * You can use one of the following methods to specify the lifecycle hook that you want to modify:
20704
- * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
20705
- * * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
20706
- *
20707
- * @param request ModifyLifecycleHookRequest
20708
- * @return ModifyLifecycleHookResponse
21625
+ * @summary Modifies a lifecycle hook.
21626
+ *
21627
+ * @description You can use one of the following methods to specify the lifecycle hook that you want to modify:
21628
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
21629
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter.
21630
+ *
21631
+ * @param request ModifyLifecycleHookRequest
21632
+ * @return ModifyLifecycleHookResponse
20709
21633
  */
20710
21634
  async modifyLifecycleHook(request: ModifyLifecycleHookRequest): Promise<ModifyLifecycleHookResponse> {
20711
21635
  let runtime = new $Util.RuntimeOptions({ });
20712
21636
  return await this.modifyLifecycleHookWithOptions(request, runtime);
20713
21637
  }
20714
21638
 
21639
+ /**
21640
+ * @summary Modifies a notification.
21641
+ *
21642
+ * @param request ModifyNotificationConfigurationRequest
21643
+ * @param runtime runtime options for this request RuntimeOptions
21644
+ * @return ModifyNotificationConfigurationResponse
21645
+ */
20715
21646
  async modifyNotificationConfigurationWithOptions(request: ModifyNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNotificationConfigurationResponse> {
20716
21647
  Util.validateModel(request);
20717
21648
  let query = { };
@@ -20756,17 +21687,25 @@ export default class Client extends OpenApi {
20756
21687
  return $tea.cast<ModifyNotificationConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyNotificationConfigurationResponse({}));
20757
21688
  }
20758
21689
 
21690
+ /**
21691
+ * @summary Modifies a notification.
21692
+ *
21693
+ * @param request ModifyNotificationConfigurationRequest
21694
+ * @return ModifyNotificationConfigurationResponse
21695
+ */
20759
21696
  async modifyNotificationConfiguration(request: ModifyNotificationConfigurationRequest): Promise<ModifyNotificationConfigurationResponse> {
20760
21697
  let runtime = new $Util.RuntimeOptions({ });
20761
21698
  return await this.modifyNotificationConfigurationWithOptions(request, runtime);
20762
21699
  }
20763
21700
 
20764
21701
  /**
20765
- * You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
20766
- *
20767
- * @param tmpReq ModifyScalingConfigurationRequest
20768
- * @param runtime runtime options for this request RuntimeOptions
20769
- * @return ModifyScalingConfigurationResponse
21702
+ * @summary Modifies a scaling configuration.
21703
+ *
21704
+ * @description You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
21705
+ *
21706
+ * @param tmpReq ModifyScalingConfigurationRequest
21707
+ * @param runtime runtime options for this request RuntimeOptions
21708
+ * @return ModifyScalingConfigurationResponse
20770
21709
  */
20771
21710
  async modifyScalingConfigurationWithOptions(tmpReq: ModifyScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingConfigurationResponse> {
20772
21711
  Util.validateModel(tmpReq);
@@ -21007,10 +21946,12 @@ export default class Client extends OpenApi {
21007
21946
  }
21008
21947
 
21009
21948
  /**
21010
- * You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
21011
- *
21012
- * @param request ModifyScalingConfigurationRequest
21013
- * @return ModifyScalingConfigurationResponse
21949
+ * @summary Modifies a scaling configuration.
21950
+ *
21951
+ * @description You can change the name of a scaling configuration in a scaling group. The name must be unique within the scaling group.
21952
+ *
21953
+ * @param request ModifyScalingConfigurationRequest
21954
+ * @return ModifyScalingConfigurationResponse
21014
21955
  */
21015
21956
  async modifyScalingConfiguration(request: ModifyScalingConfigurationRequest): Promise<ModifyScalingConfigurationResponse> {
21016
21957
  let runtime = new $Util.RuntimeOptions({ });
@@ -21018,21 +21959,23 @@ export default class Client extends OpenApi {
21018
21959
  }
21019
21960
 
21020
21961
  /**
21021
- * * You cannot call this operation to modify the settings of the following parameters:
21022
- * * RegionId
21023
- * * LoadBalancerId
21024
- * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
21025
- * * DBInstanceId
21026
- * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
21027
- * * You can modify only scaling groups that are in the Active or Inactive state.
21028
- * * 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.
21029
- * * 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.
21030
- * * 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.
21031
- * * 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.
21032
- *
21033
- * @param request ModifyScalingGroupRequest
21034
- * @param runtime runtime options for this request RuntimeOptions
21035
- * @return ModifyScalingGroupResponse
21962
+ * @summary Modifies a scaling group.
21963
+ *
21964
+ * @description * You cannot call this operation to modify the settings of the following parameters:
21965
+ * * RegionId
21966
+ * * LoadBalancerId
21967
+ * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
21968
+ * * DBInstanceId
21969
+ * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
21970
+ * * You can modify only scaling groups that are in the Active or Inactive state.
21971
+ * * 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.
21972
+ * * 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.
21973
+ * * 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.
21974
+ * * 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.
21975
+ *
21976
+ * @param request ModifyScalingGroupRequest
21977
+ * @param runtime runtime options for this request RuntimeOptions
21978
+ * @return ModifyScalingGroupResponse
21036
21979
  */
21037
21980
  async modifyScalingGroupWithOptions(request: ModifyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingGroupResponse> {
21038
21981
  Util.validateModel(request);
@@ -21183,26 +22126,35 @@ export default class Client extends OpenApi {
21183
22126
  }
21184
22127
 
21185
22128
  /**
21186
- * * You cannot call this operation to modify the settings of the following parameters:
21187
- * * RegionId
21188
- * * LoadBalancerId
21189
- * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
21190
- * * DBInstanceId
21191
- * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
21192
- * * You can modify only scaling groups that are in the Active or Inactive state.
21193
- * * 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.
21194
- * * 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.
21195
- * * 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.
21196
- * * 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.
21197
- *
21198
- * @param request ModifyScalingGroupRequest
21199
- * @return ModifyScalingGroupResponse
22129
+ * @summary Modifies a scaling group.
22130
+ *
22131
+ * @description * You cannot call this operation to modify the settings of the following parameters:
22132
+ * * RegionId
22133
+ * * LoadBalancerId
22134
+ * > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
22135
+ * * DBInstanceId
22136
+ * > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
22137
+ * * You can modify only scaling groups that are in the Active or Inactive state.
22138
+ * * 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.
22139
+ * * 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.
22140
+ * * 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.
22141
+ * * 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.
22142
+ *
22143
+ * @param request ModifyScalingGroupRequest
22144
+ * @return ModifyScalingGroupResponse
21200
22145
  */
21201
22146
  async modifyScalingGroup(request: ModifyScalingGroupRequest): Promise<ModifyScalingGroupResponse> {
21202
22147
  let runtime = new $Util.RuntimeOptions({ });
21203
22148
  return await this.modifyScalingGroupWithOptions(request, runtime);
21204
22149
  }
21205
22150
 
22151
+ /**
22152
+ * @summary Modifies a scaling rule.
22153
+ *
22154
+ * @param request ModifyScalingRuleRequest
22155
+ * @param runtime runtime options for this request RuntimeOptions
22156
+ * @return ModifyScalingRuleResponse
22157
+ */
21206
22158
  async modifyScalingRuleWithOptions(request: ModifyScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingRuleResponse> {
21207
22159
  Util.validateModel(request);
21208
22160
  let query = { };
@@ -21315,20 +22267,28 @@ export default class Client extends OpenApi {
21315
22267
  return $tea.cast<ModifyScalingRuleResponse>(await this.callApi(params, req, runtime), new ModifyScalingRuleResponse({}));
21316
22268
  }
21317
22269
 
22270
+ /**
22271
+ * @summary Modifies a scaling rule.
22272
+ *
22273
+ * @param request ModifyScalingRuleRequest
22274
+ * @return ModifyScalingRuleResponse
22275
+ */
21318
22276
  async modifyScalingRule(request: ModifyScalingRuleRequest): Promise<ModifyScalingRuleResponse> {
21319
22277
  let runtime = new $Util.RuntimeOptions({ });
21320
22278
  return await this.modifyScalingRuleWithOptions(request, runtime);
21321
22279
  }
21322
22280
 
21323
22281
  /**
21324
- * You can use the following parameters to specify the scaling method of a scheduled task:
21325
- * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
21326
- * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
21327
- * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
21328
- *
21329
- * @param request ModifyScheduledTaskRequest
21330
- * @param runtime runtime options for this request RuntimeOptions
21331
- * @return ModifyScheduledTaskResponse
22282
+ * @summary Modifies a scheduled task.
22283
+ *
22284
+ * @description You can use the following parameters to specify the scaling method of a scheduled task:
22285
+ * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
22286
+ * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
22287
+ * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
22288
+ *
22289
+ * @param request ModifyScheduledTaskRequest
22290
+ * @param runtime runtime options for this request RuntimeOptions
22291
+ * @return ModifyScheduledTaskResponse
21332
22292
  */
21333
22293
  async modifyScheduledTaskWithOptions(request: ModifyScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScheduledTaskResponse> {
21334
22294
  Util.validateModel(request);
@@ -21423,19 +22383,36 @@ export default class Client extends OpenApi {
21423
22383
  }
21424
22384
 
21425
22385
  /**
21426
- * You can use the following parameters to specify the scaling method of a scheduled task:
21427
- * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
21428
- * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
21429
- * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
21430
- *
21431
- * @param request ModifyScheduledTaskRequest
21432
- * @return ModifyScheduledTaskResponse
22386
+ * @summary Modifies a scheduled task.
22387
+ *
22388
+ * @description You can use the following parameters to specify the scaling method of a scheduled task:
22389
+ * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
22390
+ * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
22391
+ * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
22392
+ *
22393
+ * @param request ModifyScheduledTaskRequest
22394
+ * @return ModifyScheduledTaskResponse
21433
22395
  */
21434
22396
  async modifyScheduledTask(request: ModifyScheduledTaskRequest): Promise<ModifyScheduledTaskResponse> {
21435
22397
  let runtime = new $Util.RuntimeOptions({ });
21436
22398
  return await this.modifyScheduledTaskWithOptions(request, runtime);
21437
22399
  }
21438
22400
 
22401
+ /**
22402
+ * @summary Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
22403
+ *
22404
+ * @description ## [](#)Usage notes
22405
+ * Auto Scaling creates new ECS instances to replace the existing ECS instances to fulfill the rebalancing purpose. Auto Scaling starts the new ECS instances before stopping the existing ECS instances. The rebalancing operation does not affect the performance or service availability of your application.
22406
+ * * This operation is supported by only multi-zone scaling groups whose `MultiAZPolicy` is set to `BALANCE`.
22407
+ * * A rebalancing operation is required only when the distribution of the instances of a multi-zone scaling group is significantly unbalanced. In a rebalancing activity, Auto Scaling replaces up to 20 ECS instances to rectify the unbalanced distribution.
22408
+ * * During the execution of a rebalancing operation, if the number of instances in the scaling group approaches or hits the value of MaxSize but the rebalancing operation needs to continue, Auto Scaling allows the total number of ECS instances to momentarily exceed the value of MaxSize by 10%. This temporary surplus condition persists for a duration until equilibrium in the distribution of ECS instances is achieved. Typically, it takes 1 to 6 minutes.
22409
+ * **
22410
+ * **Note** If the 10% increment of the maximum number of instances in a scaling group yield a non-integer value, the decimal portion is always rounded up to ensure an additional instance is accounted for. For example, you have a scaling group that holds a maximum of 15 ECS instances. During a rebalancing operation, Auto Scaling would permit the total number of instances to momentarily surpass this limit by 2, instead of the calculated 10% (which is 1.5).
22411
+ *
22412
+ * @param request RebalanceInstancesRequest
22413
+ * @param runtime runtime options for this request RuntimeOptions
22414
+ * @return RebalanceInstancesResponse
22415
+ */
21439
22416
  async rebalanceInstancesWithOptions(request: RebalanceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebalanceInstancesResponse> {
21440
22417
  Util.validateModel(request);
21441
22418
  let query = { };
@@ -21480,17 +22457,33 @@ export default class Client extends OpenApi {
21480
22457
  return $tea.cast<RebalanceInstancesResponse>(await this.callApi(params, req, runtime), new RebalanceInstancesResponse({}));
21481
22458
  }
21482
22459
 
22460
+ /**
22461
+ * @summary Rebalances the distribution of Elastic Compute Service (ECS) instances across zones. If ECS instances are unevenly distributed across multiple zones, you can call the RebalanceInstances operation to rebalance the distribution of the ECS instances across the zones.
22462
+ *
22463
+ * @description ## [](#)Usage notes
22464
+ * Auto Scaling creates new ECS instances to replace the existing ECS instances to fulfill the rebalancing purpose. Auto Scaling starts the new ECS instances before stopping the existing ECS instances. The rebalancing operation does not affect the performance or service availability of your application.
22465
+ * * This operation is supported by only multi-zone scaling groups whose `MultiAZPolicy` is set to `BALANCE`.
22466
+ * * A rebalancing operation is required only when the distribution of the instances of a multi-zone scaling group is significantly unbalanced. In a rebalancing activity, Auto Scaling replaces up to 20 ECS instances to rectify the unbalanced distribution.
22467
+ * * During the execution of a rebalancing operation, if the number of instances in the scaling group approaches or hits the value of MaxSize but the rebalancing operation needs to continue, Auto Scaling allows the total number of ECS instances to momentarily exceed the value of MaxSize by 10%. This temporary surplus condition persists for a duration until equilibrium in the distribution of ECS instances is achieved. Typically, it takes 1 to 6 minutes.
22468
+ * **
22469
+ * **Note** If the 10% increment of the maximum number of instances in a scaling group yield a non-integer value, the decimal portion is always rounded up to ensure an additional instance is accounted for. For example, you have a scaling group that holds a maximum of 15 ECS instances. During a rebalancing operation, Auto Scaling would permit the total number of instances to momentarily surpass this limit by 2, instead of the calculated 10% (which is 1.5).
22470
+ *
22471
+ * @param request RebalanceInstancesRequest
22472
+ * @return RebalanceInstancesResponse
22473
+ */
21483
22474
  async rebalanceInstances(request: RebalanceInstancesRequest): Promise<RebalanceInstancesResponse> {
21484
22475
  let runtime = new $Util.RuntimeOptions({ });
21485
22476
  return await this.rebalanceInstancesWithOptions(request, runtime);
21486
22477
  }
21487
22478
 
21488
22479
  /**
21489
- * You can call this operation to prolong the length of a lifecycle hook up to 20 times. Take note that the total length of a lifecycle hook cannot exceed 6 hours.
21490
- *
21491
- * @param request RecordLifecycleActionHeartbeatRequest
21492
- * @param runtime runtime options for this request RuntimeOptions
21493
- * @return RecordLifecycleActionHeartbeatResponse
22480
+ * @summary Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
22481
+ *
22482
+ * @description You can call this operation to prolong the length of a lifecycle hook up to 20 times. Take note that the total length of a lifecycle hook cannot exceed 6 hours.
22483
+ *
22484
+ * @param request RecordLifecycleActionHeartbeatRequest
22485
+ * @param runtime runtime options for this request RuntimeOptions
22486
+ * @return RecordLifecycleActionHeartbeatResponse
21494
22487
  */
21495
22488
  async recordLifecycleActionHeartbeatWithOptions(request: RecordLifecycleActionHeartbeatRequest, runtime: $Util.RuntimeOptions): Promise<RecordLifecycleActionHeartbeatResponse> {
21496
22489
  Util.validateModel(request);
@@ -21541,10 +22534,12 @@ export default class Client extends OpenApi {
21541
22534
  }
21542
22535
 
21543
22536
  /**
21544
- * You can call this operation to prolong the length of a lifecycle hook up to 20 times. Take note that the total length of a lifecycle hook cannot exceed 6 hours.
21545
- *
21546
- * @param request RecordLifecycleActionHeartbeatRequest
21547
- * @return RecordLifecycleActionHeartbeatResponse
22537
+ * @summary Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
22538
+ *
22539
+ * @description You can call this operation to prolong the length of a lifecycle hook up to 20 times. Take note that the total length of a lifecycle hook cannot exceed 6 hours.
22540
+ *
22541
+ * @param request RecordLifecycleActionHeartbeatRequest
22542
+ * @return RecordLifecycleActionHeartbeatResponse
21548
22543
  */
21549
22544
  async recordLifecycleActionHeartbeat(request: RecordLifecycleActionHeartbeatRequest): Promise<RecordLifecycleActionHeartbeatResponse> {
21550
22545
  let runtime = new $Util.RuntimeOptions({ });
@@ -21552,18 +22547,20 @@ export default class Client extends OpenApi {
21552
22547
  }
21553
22548
 
21554
22549
  /**
21555
- * * Before you call this operation, make sure that the following requirements are met:
21556
- * * The scaling group is in the Active state.
21557
- * * No scaling activity is in progress within the scaling group.
21558
- * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
21559
- * * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
21560
- * * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
21561
- * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
21562
- * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
21563
- *
21564
- * @param request RemoveInstancesRequest
21565
- * @param runtime runtime options for this request RuntimeOptions
21566
- * @return RemoveInstancesResponse
22550
+ * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
22551
+ *
22552
+ * @description * Before you call this operation, make sure that the following requirements are met:
22553
+ * * The scaling group is in the Active state.
22554
+ * * No scaling activity is in progress within the scaling group.
22555
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
22556
+ * * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
22557
+ * * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
22558
+ * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
22559
+ * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
22560
+ *
22561
+ * @param request RemoveInstancesRequest
22562
+ * @param runtime runtime options for this request RuntimeOptions
22563
+ * @return RemoveInstancesResponse
21567
22564
  */
21568
22565
  async removeInstancesWithOptions(request: RemoveInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveInstancesResponse> {
21569
22566
  Util.validateModel(request);
@@ -21626,23 +22623,32 @@ export default class Client extends OpenApi {
21626
22623
  }
21627
22624
 
21628
22625
  /**
21629
- * * Before you call this operation, make sure that the following requirements are met:
21630
- * * The scaling group is in the Active state.
21631
- * * No scaling activity is in progress within the scaling group.
21632
- * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
21633
- * * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
21634
- * * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
21635
- * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
21636
- * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
21637
- *
21638
- * @param request RemoveInstancesRequest
21639
- * @return RemoveInstancesResponse
22626
+ * @summary Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
22627
+ *
22628
+ * @description * Before you call this operation, make sure that the following requirements are met:
22629
+ * * The scaling group is in the Active state.
22630
+ * * No scaling activity is in progress within the scaling group.
22631
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
22632
+ * * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
22633
+ * * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
22634
+ * * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
22635
+ * A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
22636
+ *
22637
+ * @param request RemoveInstancesRequest
22638
+ * @return RemoveInstancesResponse
21640
22639
  */
21641
22640
  async removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse> {
21642
22641
  let runtime = new $Util.RuntimeOptions({ });
21643
22642
  return await this.removeInstancesWithOptions(request, runtime);
21644
22643
  }
21645
22644
 
22645
+ /**
22646
+ * @summary Resumes suspended processes in a scaling group.
22647
+ *
22648
+ * @param request ResumeProcessesRequest
22649
+ * @param runtime runtime options for this request RuntimeOptions
22650
+ * @return ResumeProcessesResponse
22651
+ */
21646
22652
  async resumeProcessesWithOptions(request: ResumeProcessesRequest, runtime: $Util.RuntimeOptions): Promise<ResumeProcessesResponse> {
21647
22653
  Util.validateModel(request);
21648
22654
  let query = { };
@@ -21687,24 +22693,32 @@ export default class Client extends OpenApi {
21687
22693
  return $tea.cast<ResumeProcessesResponse>(await this.callApi(params, req, runtime), new ResumeProcessesResponse({}));
21688
22694
  }
21689
22695
 
22696
+ /**
22697
+ * @summary Resumes suspended processes in a scaling group.
22698
+ *
22699
+ * @param request ResumeProcessesRequest
22700
+ * @return ResumeProcessesResponse
22701
+ */
21690
22702
  async resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse> {
21691
22703
  let runtime = new $Util.RuntimeOptions({ });
21692
22704
  return await this.resumeProcessesWithOptions(request, runtime);
21693
22705
  }
21694
22706
 
21695
22707
  /**
21696
- * 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:
21697
- * * The following conditions must be met:
21698
- * * The scaling group is in the Active state.
21699
- * * No scaling activities in the scaling group are in progress.
21700
- * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
21701
- * * 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.
21702
- * * 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.
21703
- * 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.
21704
- *
21705
- * @param tmpReq ScaleWithAdjustmentRequest
21706
- * @param runtime runtime options for this request RuntimeOptions
21707
- * @return ScaleWithAdjustmentResponse
22708
+ * @summary Scales instances in a scaling group based on the specified scaling policy.
22709
+ *
22710
+ * @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:
22711
+ * * The following conditions must be met:
22712
+ * * The scaling group is in the Active state.
22713
+ * * No scaling activities in the scaling group are in progress.
22714
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
22715
+ * * 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.
22716
+ * * 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.
22717
+ * 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.
22718
+ *
22719
+ * @param tmpReq ScaleWithAdjustmentRequest
22720
+ * @param runtime runtime options for this request RuntimeOptions
22721
+ * @return ScaleWithAdjustmentResponse
21708
22722
  */
21709
22723
  async scaleWithAdjustmentWithOptions(tmpReq: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse> {
21710
22724
  Util.validateModel(tmpReq);
@@ -21781,23 +22795,32 @@ export default class Client extends OpenApi {
21781
22795
  }
21782
22796
 
21783
22797
  /**
21784
- * 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:
21785
- * * The following conditions must be met:
21786
- * * The scaling group is in the Active state.
21787
- * * No scaling activities in the scaling group are in progress.
21788
- * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
21789
- * * 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.
21790
- * * 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.
21791
- * 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.
21792
- *
21793
- * @param request ScaleWithAdjustmentRequest
21794
- * @return ScaleWithAdjustmentResponse
22798
+ * @summary Scales instances in a scaling group based on the specified scaling policy.
22799
+ *
22800
+ * @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:
22801
+ * * The following conditions must be met:
22802
+ * * The scaling group is in the Active state.
22803
+ * * No scaling activities in the scaling group are in progress.
22804
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
22805
+ * * 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.
22806
+ * * 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.
22807
+ * 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.
22808
+ *
22809
+ * @param request ScaleWithAdjustmentRequest
22810
+ * @return ScaleWithAdjustmentResponse
21795
22811
  */
21796
22812
  async scaleWithAdjustment(request: ScaleWithAdjustmentRequest): Promise<ScaleWithAdjustmentResponse> {
21797
22813
  let runtime = new $Util.RuntimeOptions({ });
21798
22814
  return await this.scaleWithAdjustmentWithOptions(request, runtime);
21799
22815
  }
21800
22816
 
22817
+ /**
22818
+ * @summary Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
22819
+ *
22820
+ * @param request SetGroupDeletionProtectionRequest
22821
+ * @param runtime runtime options for this request RuntimeOptions
22822
+ * @return SetGroupDeletionProtectionResponse
22823
+ */
21801
22824
  async setGroupDeletionProtectionWithOptions(request: SetGroupDeletionProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetGroupDeletionProtectionResponse> {
21802
22825
  Util.validateModel(request);
21803
22826
  let query = { };
@@ -21838,17 +22861,25 @@ export default class Client extends OpenApi {
21838
22861
  return $tea.cast<SetGroupDeletionProtectionResponse>(await this.callApi(params, req, runtime), new SetGroupDeletionProtectionResponse({}));
21839
22862
  }
21840
22863
 
22864
+ /**
22865
+ * @summary Sets deletion protection for a scaling group. If you enable deletion protection for a scaling group, you cannot delete the scaling group. If you disable deletion protection for a scaling group, you can directly delete the scaling group. You can call the SetGroupDeletionProtection operation to enable or disable deletion protection.
22866
+ *
22867
+ * @param request SetGroupDeletionProtectionRequest
22868
+ * @return SetGroupDeletionProtectionResponse
22869
+ */
21841
22870
  async setGroupDeletionProtection(request: SetGroupDeletionProtectionRequest): Promise<SetGroupDeletionProtectionResponse> {
21842
22871
  let runtime = new $Util.RuntimeOptions({ });
21843
22872
  return await this.setGroupDeletionProtectionWithOptions(request, runtime);
21844
22873
  }
21845
22874
 
21846
22875
  /**
21847
- * Configures the health check feature for Elastic Compute Service (ECS) instances.
21848
- *
21849
- * @param request SetInstanceHealthRequest
21850
- * @param runtime runtime options for this request RuntimeOptions
21851
- * @return SetInstanceHealthResponse
22876
+ * @summary Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
22877
+ *
22878
+ * @description Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
22879
+ *
22880
+ * @param request SetInstanceHealthRequest
22881
+ * @param runtime runtime options for this request RuntimeOptions
22882
+ * @return SetInstanceHealthResponse
21852
22883
  */
21853
22884
  async setInstanceHealthWithOptions(request: SetInstanceHealthRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceHealthResponse> {
21854
22885
  Util.validateModel(request);
@@ -21887,10 +22918,12 @@ export default class Client extends OpenApi {
21887
22918
  }
21888
22919
 
21889
22920
  /**
21890
- * Configures the health check feature for Elastic Compute Service (ECS) instances.
21891
- *
21892
- * @param request SetInstanceHealthRequest
21893
- * @return SetInstanceHealthResponse
22921
+ * @summary Sets instance health. At times, the automatic health check system might not sufficiently determine the precise health status of your Elastic Compute Service (ECS) instances or elastic container instances. To overcome this, you can call the SetInstanceHealth operation to swiftly pinpoint problematic instances and resolve issues. This operation is designed to more precisely align with real-world business requirements and tackle O\\&M hurdles efficiently.
22922
+ *
22923
+ * @description Auto Scaling detects and removes unhealthy ECS instances or elastic container instances from the corresponding scaling groups. If you want to retain a specific instance in the corresponding scaling group, you can put the instance into the Standby or Protected state. For more information, see [EnterStandby](~~EnterStandby~~) and [SetInstancesProtection](~~SetInstancesProtection~~).
22924
+ *
22925
+ * @param request SetInstanceHealthRequest
22926
+ * @return SetInstanceHealthResponse
21894
22927
  */
21895
22928
  async setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse> {
21896
22929
  let runtime = new $Util.RuntimeOptions({ });
@@ -21898,11 +22931,17 @@ export default class Client extends OpenApi {
21898
22931
  }
21899
22932
 
21900
22933
  /**
21901
- * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
21902
- *
21903
- * @param request SetInstancesProtectionRequest
21904
- * @param runtime runtime options for this request RuntimeOptions
21905
- * @return SetInstancesProtectionResponse
22934
+ * @summary Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
22935
+ *
22936
+ * @description ## Description
22937
+ * Before you call this operation, take note of the following items:
22938
+ * * After you put an ECS instance into the Protected state, the ECS instance remains in the Protected state until you manually move the ECS instance out of the Protected state.
22939
+ * * After you put an ECS instance into the Protected state, Auto Scaling does not remove the ECS instance even if a scale-in activity caused by changes in instance quantity or event-triggered tasks occurs. In this case, you must manually move the ECS instance out of the Protected state and then release the ECS instance. For more information, see the "RemoveInstances" topic.
22940
+ * * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
22941
+ *
22942
+ * @param request SetInstancesProtectionRequest
22943
+ * @param runtime runtime options for this request RuntimeOptions
22944
+ * @return SetInstancesProtectionResponse
21906
22945
  */
21907
22946
  async setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse> {
21908
22947
  Util.validateModel(request);
@@ -21945,16 +22984,29 @@ export default class Client extends OpenApi {
21945
22984
  }
21946
22985
 
21947
22986
  /**
21948
- * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
21949
- *
21950
- * @param request SetInstancesProtectionRequest
21951
- * @return SetInstancesProtectionResponse
22987
+ * @summary Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
22988
+ *
22989
+ * @description ## Description
22990
+ * Before you call this operation, take note of the following items:
22991
+ * * After you put an ECS instance into the Protected state, the ECS instance remains in the Protected state until you manually move the ECS instance out of the Protected state.
22992
+ * * After you put an ECS instance into the Protected state, Auto Scaling does not remove the ECS instance even if a scale-in activity caused by changes in instance quantity or event-triggered tasks occurs. In this case, you must manually move the ECS instance out of the Protected state and then release the ECS instance. For more information, see the "RemoveInstances" topic.
22993
+ * * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
22994
+ *
22995
+ * @param request SetInstancesProtectionRequest
22996
+ * @return SetInstancesProtectionResponse
21952
22997
  */
21953
22998
  async setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse> {
21954
22999
  let runtime = new $Util.RuntimeOptions({ });
21955
23000
  return await this.setInstancesProtectionWithOptions(request, runtime);
21956
23001
  }
21957
23002
 
23003
+ /**
23004
+ * @summary Suspends processes in a scaling group.
23005
+ *
23006
+ * @param request SuspendProcessesRequest
23007
+ * @param runtime runtime options for this request RuntimeOptions
23008
+ * @return SuspendProcessesResponse
23009
+ */
21958
23010
  async suspendProcessesWithOptions(request: SuspendProcessesRequest, runtime: $Util.RuntimeOptions): Promise<SuspendProcessesResponse> {
21959
23011
  Util.validateModel(request);
21960
23012
  let query = { };
@@ -21999,11 +23051,24 @@ export default class Client extends OpenApi {
21999
23051
  return $tea.cast<SuspendProcessesResponse>(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
22000
23052
  }
22001
23053
 
23054
+ /**
23055
+ * @summary Suspends processes in a scaling group.
23056
+ *
23057
+ * @param request SuspendProcessesRequest
23058
+ * @return SuspendProcessesResponse
23059
+ */
22002
23060
  async suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse> {
22003
23061
  let runtime = new $Util.RuntimeOptions({ });
22004
23062
  return await this.suspendProcessesWithOptions(request, runtime);
22005
23063
  }
22006
23064
 
23065
+ /**
23066
+ * @summary Adds tags to specified Auto Scaling resources.
23067
+ *
23068
+ * @param request TagResourcesRequest
23069
+ * @param runtime runtime options for this request RuntimeOptions
23070
+ * @return TagResourcesResponse
23071
+ */
22007
23072
  async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
22008
23073
  Util.validateModel(request);
22009
23074
  let query = { };
@@ -22048,11 +23113,24 @@ export default class Client extends OpenApi {
22048
23113
  return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
22049
23114
  }
22050
23115
 
23116
+ /**
23117
+ * @summary Adds tags to specified Auto Scaling resources.
23118
+ *
23119
+ * @param request TagResourcesRequest
23120
+ * @return TagResourcesResponse
23121
+ */
22051
23122
  async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
22052
23123
  let runtime = new $Util.RuntimeOptions({ });
22053
23124
  return await this.tagResourcesWithOptions(request, runtime);
22054
23125
  }
22055
23126
 
23127
+ /**
23128
+ * @summary Removes tags from the specified Auto Scaling resources. If you remove a tag and the tag is not added to other resources, the tag is automatically deleted.
23129
+ *
23130
+ * @param request UntagResourcesRequest
23131
+ * @param runtime runtime options for this request RuntimeOptions
23132
+ * @return UntagResourcesResponse
23133
+ */
22056
23134
  async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
22057
23135
  Util.validateModel(request);
22058
23136
  let query = { };
@@ -22101,11 +23179,24 @@ export default class Client extends OpenApi {
22101
23179
  return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
22102
23180
  }
22103
23181
 
23182
+ /**
23183
+ * @summary Removes tags from the specified Auto Scaling resources. If you remove a tag and the tag is not added to other resources, the tag is automatically deleted.
23184
+ *
23185
+ * @param request UntagResourcesRequest
23186
+ * @return UntagResourcesResponse
23187
+ */
22104
23188
  async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
22105
23189
  let runtime = new $Util.RuntimeOptions({ });
22106
23190
  return await this.untagResourcesWithOptions(request, runtime);
22107
23191
  }
22108
23192
 
23193
+ /**
23194
+ * @summary Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
23195
+ *
23196
+ * @param request VerifyAuthenticationRequest
23197
+ * @param runtime runtime options for this request RuntimeOptions
23198
+ * @return VerifyAuthenticationResponse
23199
+ */
22109
23200
  async verifyAuthenticationWithOptions(request: VerifyAuthenticationRequest, runtime: $Util.RuntimeOptions): Promise<VerifyAuthenticationResponse> {
22110
23201
  Util.validateModel(request);
22111
23202
  let query = { };
@@ -22146,11 +23237,24 @@ export default class Client extends OpenApi {
22146
23237
  return $tea.cast<VerifyAuthenticationResponse>(await this.callApi(params, req, runtime), new VerifyAuthenticationResponse({}));
22147
23238
  }
22148
23239
 
23240
+ /**
23241
+ * @summary Checks whether Auto Scaling is authorized to access Elastic Compute Service (ECS) and Elastic Container Instance resources.
23242
+ *
23243
+ * @param request VerifyAuthenticationRequest
23244
+ * @return VerifyAuthenticationResponse
23245
+ */
22149
23246
  async verifyAuthentication(request: VerifyAuthenticationRequest): Promise<VerifyAuthenticationResponse> {
22150
23247
  let runtime = new $Util.RuntimeOptions({ });
22151
23248
  return await this.verifyAuthenticationWithOptions(request, runtime);
22152
23249
  }
22153
23250
 
23251
+ /**
23252
+ * @summary Checks whether Auto Scaling is activated.
23253
+ *
23254
+ * @param request VerifyUserRequest
23255
+ * @param runtime runtime options for this request RuntimeOptions
23256
+ * @return VerifyUserResponse
23257
+ */
22154
23258
  async verifyUserWithOptions(request: VerifyUserRequest, runtime: $Util.RuntimeOptions): Promise<VerifyUserResponse> {
22155
23259
  Util.validateModel(request);
22156
23260
  let query = { };
@@ -22187,6 +23291,12 @@ export default class Client extends OpenApi {
22187
23291
  return $tea.cast<VerifyUserResponse>(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
22188
23292
  }
22189
23293
 
23294
+ /**
23295
+ * @summary Checks whether Auto Scaling is activated.
23296
+ *
23297
+ * @param request VerifyUserRequest
23298
+ * @return VerifyUserResponse
23299
+ */
22190
23300
  async verifyUser(request: VerifyUserRequest): Promise<VerifyUserResponse> {
22191
23301
  let runtime = new $Util.RuntimeOptions({ });
22192
23302
  return await this.verifyUserWithOptions(request, runtime);