@alicloud/ess20220222 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -98,6 +98,7 @@ export declare class AttachDBInstancesResponse extends $tea.Model {
98
98
  });
99
99
  }
100
100
  export declare class AttachInstancesRequest extends $tea.Model {
101
+ clientToken?: string;
101
102
  entrusted?: boolean;
102
103
  instanceIds?: string[];
103
104
  lifecycleHook?: boolean;
@@ -450,6 +451,10 @@ export declare class CreateEciScalingConfigurationRequest extends $tea.Model {
450
451
  cpu?: number;
451
452
  cpuOptionsCore?: number;
452
453
  cpuOptionsThreadsPerCore?: number;
454
+ dataCacheBucket?: string;
455
+ dataCacheBurstingEnabled?: boolean;
456
+ dataCachePL?: string;
457
+ dataCacheProvisionedIops?: number;
453
458
  description?: string;
454
459
  dnsConfigNameServers?: string[];
455
460
  dnsConfigOptions?: CreateEciScalingConfigurationRequestDnsConfigOptions[];
@@ -669,6 +674,8 @@ export declare class CreateScalingConfigurationRequest extends $tea.Model {
669
674
  spotInterruptionBehavior?: string;
670
675
  spotPriceLimits?: CreateScalingConfigurationRequestSpotPriceLimits[];
671
676
  spotStrategy?: string;
677
+ storageSetId?: string;
678
+ storageSetPartitionNumber?: number;
672
679
  systemDiskCategories?: string[];
673
680
  tags?: string;
674
681
  tenancy?: string;
@@ -732,6 +739,8 @@ export declare class CreateScalingConfigurationShrinkRequest extends $tea.Model
732
739
  spotInterruptionBehavior?: string;
733
740
  spotPriceLimits?: CreateScalingConfigurationShrinkRequestSpotPriceLimits[];
734
741
  spotStrategy?: string;
742
+ storageSetId?: string;
743
+ storageSetPartitionNumber?: number;
735
744
  systemDiskCategories?: string[];
736
745
  tags?: string;
737
746
  tenancy?: string;
@@ -1985,6 +1994,7 @@ export declare class DescribeScalingInstancesRequest extends $tea.Model {
1985
1994
  healthStatus?: string;
1986
1995
  instanceIds?: string[];
1987
1996
  lifecycleState?: string;
1997
+ lifecycleStates?: string[];
1988
1998
  ownerAccount?: string;
1989
1999
  ownerId?: number;
1990
2000
  pageNumber?: number;
@@ -2971,6 +2981,10 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
2971
2981
  cpu?: number;
2972
2982
  cpuOptionsCore?: number;
2973
2983
  cpuOptionsThreadsPerCore?: number;
2984
+ dataCacheBucket?: string;
2985
+ dataCacheBurstingEnabled?: boolean;
2986
+ dataCachePL?: string;
2987
+ dataCacheProvisionedIops?: number;
2974
2988
  description?: string;
2975
2989
  dnsConfigNameServers?: string[];
2976
2990
  dnsConfigOptions?: ModifyEciScalingConfigurationRequestDnsConfigOptions[];
@@ -3187,6 +3201,8 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
3187
3201
  spotInterruptionBehavior?: string;
3188
3202
  spotPriceLimits?: ModifyScalingConfigurationRequestSpotPriceLimits[];
3189
3203
  spotStrategy?: string;
3204
+ storageSetId?: string;
3205
+ storageSetPartitionNumber?: number;
3190
3206
  systemDiskCategories?: string[];
3191
3207
  tags?: string;
3192
3208
  tenancy?: string;
@@ -3246,6 +3262,8 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
3246
3262
  spotInterruptionBehavior?: string;
3247
3263
  spotPriceLimits?: ModifyScalingConfigurationShrinkRequestSpotPriceLimits[];
3248
3264
  spotStrategy?: string;
3265
+ storageSetId?: string;
3266
+ storageSetPartitionNumber?: number;
3249
3267
  systemDiskCategories?: string[];
3250
3268
  tags?: string;
3251
3269
  tenancy?: string;
@@ -4960,6 +4978,7 @@ export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
4960
4978
  }
4961
4979
  export declare class CreateScalingGroupRequestTags extends $tea.Model {
4962
4980
  key?: string;
4981
+ propagate?: boolean;
4963
4982
  value?: string;
4964
4983
  static names(): {
4965
4984
  [key: string]: string;
@@ -5350,6 +5369,8 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
5350
5369
  flexVolumeDriver?: string;
5351
5370
  flexVolumeFsType?: string;
5352
5371
  flexVolumeOptions?: string;
5372
+ hostPathVolumePath?: string;
5373
+ hostPathVolumeType?: string;
5353
5374
  NFSVolumePath?: string;
5354
5375
  NFSVolumeReadOnly?: boolean;
5355
5376
  NFSVolumeServer?: string;
@@ -5377,6 +5398,10 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
5377
5398
  cpuOptionsCore?: number;
5378
5399
  cpuOptionsThreadsPerCore?: number;
5379
5400
  creationTime?: string;
5401
+ dataCacheBucket?: string;
5402
+ dataCacheBurstingEnabled?: boolean;
5403
+ dataCachePL?: string;
5404
+ dataCacheProvisionedIops?: number;
5380
5405
  description?: string;
5381
5406
  dnsConfigNameServers?: string[];
5382
5407
  dnsConfigOptions?: DescribeEciScalingConfigurationsResponseBodyScalingConfigurationsDnsConfigOptions[];
@@ -5652,6 +5677,8 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
5652
5677
  spotInterruptionBehavior?: string;
5653
5678
  spotPriceLimits?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSpotPriceLimits[];
5654
5679
  spotStrategy?: string;
5680
+ storageSetId?: string;
5681
+ storageSetPartitionNumber?: number;
5655
5682
  systemDiskAutoSnapshotPolicyId?: string;
5656
5683
  systemDiskBurstingEnabled?: boolean;
5657
5684
  systemDiskCategories?: string[];
@@ -5749,6 +5776,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups
5749
5776
  });
5750
5777
  }
5751
5778
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsTags extends $tea.Model {
5779
+ propagate?: boolean;
5752
5780
  tagKey?: string;
5753
5781
  tagValue?: string;
5754
5782
  static names(): {
@@ -5868,9 +5896,11 @@ export declare class DescribeScalingInstancesResponseBodyScalingInstances extend
5868
5896
  launchTemplateVersion?: string;
5869
5897
  lifecycleState?: string;
5870
5898
  loadBalancerWeight?: number;
5899
+ privateIpAddress?: string;
5871
5900
  scalingActivityId?: string;
5872
5901
  scalingConfigurationId?: string;
5873
5902
  scalingGroupId?: string;
5903
+ scalingInstanceId?: string;
5874
5904
  spotStrategy?: string;
5875
5905
  warmupState?: string;
5876
5906
  weightedCapacity?: number;
@@ -6934,17 +6964,162 @@ export default class Client extends OpenApi {
6934
6964
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
6935
6965
  [key: string]: string;
6936
6966
  }, endpoint: string): string;
6967
+ /**
6968
+ * Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
6969
+ * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
6970
+ * * The ALB server group is in the Available state.
6971
+ * * 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).
6972
+ *
6973
+ * @param request AttachAlbServerGroupsRequest
6974
+ * @param runtime runtime options for this request RuntimeOptions
6975
+ * @return AttachAlbServerGroupsResponse
6976
+ */
6937
6977
  attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse>;
6978
+ /**
6979
+ * Before you associate an ALB server group with a scaling group, make sure that the following requirements are met:
6980
+ * * The scaling group resides in a virtual private cloud (VPC). The scaling group and the ALB server group must reside in the same VPC.
6981
+ * * The ALB server group is in the Available state.
6982
+ * * 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).
6983
+ *
6984
+ * @param request AttachAlbServerGroupsRequest
6985
+ * @return AttachAlbServerGroupsResponse
6986
+ */
6938
6987
  attachAlbServerGroups(request: AttachAlbServerGroupsRequest): Promise<AttachAlbServerGroupsResponse>;
6988
+ /**
6989
+ * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
6990
+ * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
6991
+ * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](~~41872~~).
6992
+ * * The ApsaraDB RDS instance must be in the Running state.
6993
+ * 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~~).
6994
+ *
6995
+ * @param request AttachDBInstancesRequest
6996
+ * @param runtime runtime options for this request RuntimeOptions
6997
+ * @return AttachDBInstancesResponse
6998
+ */
6939
6999
  attachDBInstancesWithOptions(request: AttachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachDBInstancesResponse>;
7000
+ /**
7001
+ * Before you associate an ApsaraDB RDS instance with a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
7002
+ * * The ApsaraDB RDS instance and the scaling group must belong to the same Alibaba Cloud account.
7003
+ * * The ApsaraDB RDS instance must be unlocked. For more information about the lock policy, see [ApsaraDB RDS usage notes](~~41872~~).
7004
+ * * The ApsaraDB RDS instance must be in the Running state.
7005
+ * 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~~).
7006
+ *
7007
+ * @param request AttachDBInstancesRequest
7008
+ * @return AttachDBInstancesResponse
7009
+ */
6940
7010
  attachDBInstances(request: AttachDBInstancesRequest): Promise<AttachDBInstancesResponse>;
7011
+ /**
7012
+ * Before you call this operation, take note of the following items:
7013
+ * * The scaling group is in the Active state.
7014
+ * * No scaling activities in the scaling group are in progress.
7015
+ * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
7016
+ * * The instances reside in the same region as the scaling group.
7017
+ * * The instances must be in the Running state.
7018
+ * * The instances are not added to other scaling groups.
7019
+ * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
7020
+ * * 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.
7021
+ * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
7022
+ * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7023
+ * 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.
7024
+ * 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.
7025
+ * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
7026
+ *
7027
+ * @param request AttachInstancesRequest
7028
+ * @param runtime runtime options for this request RuntimeOptions
7029
+ * @return AttachInstancesResponse
7030
+ */
6941
7031
  attachInstancesWithOptions(request: AttachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse>;
7032
+ /**
7033
+ * Before you call this operation, take note of the following items:
7034
+ * * The scaling group is in the Active state.
7035
+ * * No scaling activities in the scaling group are in progress.
7036
+ * The ECS instances or the elastic container instances that you want to add to a scaling group must meet the following requirements:
7037
+ * * The instances reside in the same region as the scaling group.
7038
+ * * The instances must be in the Running state.
7039
+ * * The instances are not added to other scaling groups.
7040
+ * * The instances use the subscription or pay-as-you-go billing method, or are preemptible instances.
7041
+ * * 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.
7042
+ * * If the VswitchID parameter is not specified for a scaling group, the instances that are in VPCs cannot be added to the scaling group.
7043
+ * If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7044
+ * 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.
7045
+ * 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.
7046
+ * Instances that are manually added by calling the AttachInstances operation are not associated with the active scaling configuration of the scaling group.
7047
+ *
7048
+ * @param request AttachInstancesRequest
7049
+ * @return AttachInstancesResponse
7050
+ */
6942
7051
  attachInstances(request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
7052
+ /**
7053
+ * Before you call this operation to attach a CLB instance to your scaling group, take note of the following items:
7054
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
7055
+ * * The CLB instance and the scaling group must reside in the same region.
7056
+ * * The CLB instance must be in the Running state.
7057
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
7058
+ * * The CLB instance and the scaling group must be in the same virtual private cloud (VPC) if their network type is VPC.
7059
+ * * 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.
7060
+ * * You can attach only a limited number of CLB instances to a scaling group. Fore more information, see [Limits](~~25863~~).
7061
+ *
7062
+ * @param request AttachLoadBalancersRequest
7063
+ * @param runtime runtime options for this request RuntimeOptions
7064
+ * @return AttachLoadBalancersResponse
7065
+ */
6943
7066
  attachLoadBalancersWithOptions(request: AttachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<AttachLoadBalancersResponse>;
7067
+ /**
7068
+ * Before you call this operation to attach a CLB instance to your scaling group, take note of the following items:
7069
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
7070
+ * * The CLB instance and the scaling group must reside in the same region.
7071
+ * * The CLB instance must be in the Running state.
7072
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
7073
+ * * The CLB instance and the scaling group must be in the same virtual private cloud (VPC) if their network type is VPC.
7074
+ * * 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.
7075
+ * * You can attach only a limited number of CLB instances to a scaling group. Fore more information, see [Limits](~~25863~~).
7076
+ *
7077
+ * @param request AttachLoadBalancersRequest
7078
+ * @return AttachLoadBalancersResponse
7079
+ */
6944
7080
  attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse>;
6945
7081
  attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse>;
6946
7082
  attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse>;
7083
+ /**
7084
+ * Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
7085
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
7086
+ * * The CLB instance and the scaling group must reside in the same region.
7087
+ * * The CLB instance must be in the Running state.
7088
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
7089
+ * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
7090
+ * * 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.
7091
+ * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
7092
+ * * 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~~).
7093
+ * When you call this operation, you must specify the following parameters:
7094
+ * * LoadBalancerId: the ID of the CLB instance.
7095
+ * * VServerGroupId: the ID of the vServer group.
7096
+ * * Port: the port number of the vServer group.
7097
+ * 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.
7098
+ *
7099
+ * @param request AttachVServerGroupsRequest
7100
+ * @param runtime runtime options for this request RuntimeOptions
7101
+ * @return AttachVServerGroupsResponse
7102
+ */
6947
7103
  attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse>;
7104
+ /**
7105
+ * Before you call this operation to attach a vServer group to your scaling group, take note of the following items:
7106
+ * * The CLB instance and the scaling group must belong to the same Alibaba Cloud account.
7107
+ * * The CLB instance and the scaling group must reside in the same region.
7108
+ * * The CLB instance must be in the Running state.
7109
+ * * The CLB instance must be configured with at least one listener. Health check is enabled for the CLB instance.
7110
+ * * The CLB instance and the scaling group must be in the same VPC if their network type is VPC.
7111
+ * * 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.
7112
+ * * The vServer group that you want to attach to your scaling group must belong to the CLB instance.
7113
+ * * 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~~).
7114
+ * When you call this operation, you must specify the following parameters:
7115
+ * * LoadBalancerId: the ID of the CLB instance.
7116
+ * * VServerGroupId: the ID of the vServer group.
7117
+ * * Port: the port number of the vServer group.
7118
+ * 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.
7119
+ *
7120
+ * @param request AttachVServerGroupsRequest
7121
+ * @return AttachVServerGroupsResponse
7122
+ */
6948
7123
  attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
6949
7124
  changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
6950
7125
  changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
@@ -7003,7 +7178,22 @@ export default class Client extends OpenApi {
7003
7178
  * @return CreateLifecycleHookResponse
7004
7179
  */
7005
7180
  createLifecycleHook(request: CreateLifecycleHookRequest): Promise<CreateLifecycleHookResponse>;
7181
+ /**
7182
+ * ## Description
7183
+ * 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.
7184
+ *
7185
+ * @param request CreateNotificationConfigurationRequest
7186
+ * @param runtime runtime options for this request RuntimeOptions
7187
+ * @return CreateNotificationConfigurationResponse
7188
+ */
7006
7189
  createNotificationConfigurationWithOptions(request: CreateNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateNotificationConfigurationResponse>;
7190
+ /**
7191
+ * ## Description
7192
+ * 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.
7193
+ *
7194
+ * @param request CreateNotificationConfigurationRequest
7195
+ * @return CreateNotificationConfigurationResponse
7196
+ */
7007
7197
  createNotificationConfiguration(request: CreateNotificationConfigurationRequest): Promise<CreateNotificationConfigurationResponse>;
7008
7198
  /**
7009
7199
  * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
@@ -7090,18 +7280,19 @@ export default class Client extends OpenApi {
7090
7280
  */
7091
7281
  createScalingGroup(request: CreateScalingGroupRequest): Promise<CreateScalingGroupResponse>;
7092
7282
  /**
7093
- * 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 calculates the number of ECS instances that need to be added or removed. This ensures that the number of ECS instances can be maintained within the valid range after the scaling rule is executed. Examples:
7094
- * * 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.
7095
- * * 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.
7283
+ * ## Description
7284
+ * 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:
7285
+ * * 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.
7286
+ * * 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.
7096
7287
  * Before you call this operation, take note of the following items:
7097
- * * If you set AdjustmentType to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of AdjustmentValue must be greater than or equal to 0.
7098
- * * If you set AdjustmentType to QuantityChangeInCapacity, 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.
7099
- * * If you set AdjustmentType 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.
7100
- * * If you specify a cooldown period for the scaling rule, the specified cooldown period takes effect after the rule is executed. Otherwise, the value of DefaultCooldown of the scaling group takes effect.
7288
+ * * 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.
7289
+ * * 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.
7290
+ * * 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.
7291
+ * * 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.
7101
7292
  * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
7102
7293
  * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
7103
- * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to execute.
7104
- * * CreateScheduledTask: You can call this operation to create a scheduled task. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to associate with the scheduled task.
7294
+ * * 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.
7295
+ * * 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.
7105
7296
  *
7106
7297
  * @param request CreateScalingRuleRequest
7107
7298
  * @param runtime runtime options for this request RuntimeOptions
@@ -7109,36 +7300,94 @@ export default class Client extends OpenApi {
7109
7300
  */
7110
7301
  createScalingRuleWithOptions(request: CreateScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingRuleResponse>;
7111
7302
  /**
7112
- * 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 calculates the number of ECS instances that need to be added or removed. This ensures that the number of ECS instances can be maintained within the valid range after the scaling rule is executed. Examples:
7113
- * * 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.
7114
- * * 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.
7303
+ * ## Description
7304
+ * 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:
7305
+ * * 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.
7306
+ * * 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.
7115
7307
  * Before you call this operation, take note of the following items:
7116
- * * If you set AdjustmentType to TotalCapacity, the number of ECS instances in the scaling group is adjusted to the specified value. The value of AdjustmentValue must be greater than or equal to 0.
7117
- * * If you set AdjustmentType to QuantityChangeInCapacity, 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.
7118
- * * If you set AdjustmentType 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.
7119
- * * If you specify a cooldown period for the scaling rule, the specified cooldown period takes effect after the rule is executed. Otherwise, the value of DefaultCooldown of the scaling group takes effect.
7308
+ * * 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.
7309
+ * * 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.
7310
+ * * 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.
7311
+ * * 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.
7120
7312
  * * You can create only a limited number of scaling rules for a scaling group. For more information, see the "Limits" topic.
7121
7313
  * * The unique identifier (ScalingRuleAri) of a scaling rule can be used by the following operations:
7122
- * * ExecuteScalingRule: You can call this operation to manually execute a specific scaling rule. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to execute.
7123
- * * CreateScheduledTask: You can call this operation to create a scheduled task. In this operation, you can set ScalingRuleAri to the unique identifier of the scaling rule that you want to associate with the scheduled task.
7314
+ * * 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.
7315
+ * * 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.
7124
7316
  *
7125
7317
  * @param request CreateScalingRuleRequest
7126
7318
  * @return CreateScalingRuleResponse
7127
7319
  */
7128
7320
  createScalingRule(request: CreateScalingRuleRequest): Promise<CreateScalingRuleResponse>;
7321
+ /**
7322
+ * * 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.
7323
+ * * 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.``
7324
+ * * A scheduled task supports the following scaling methods:
7325
+ * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
7326
+ * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
7327
+ * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
7328
+ *
7329
+ * @param request CreateScheduledTaskRequest
7330
+ * @param runtime runtime options for this request RuntimeOptions
7331
+ * @return CreateScheduledTaskResponse
7332
+ */
7129
7333
  createScheduledTaskWithOptions(request: CreateScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateScheduledTaskResponse>;
7334
+ /**
7335
+ * * 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.
7336
+ * * 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.``
7337
+ * * A scheduled task supports the following scaling methods:
7338
+ * * `ScheduledAction`: Specify an existing scaling rule that you want Auto Scaling to execute when the scheduled task is triggered.
7339
+ * * `ScalingGroupId`: Specify the minimum number, maximum number, or expected number of instances for the scaling group for which you created the scheduled task.
7340
+ * > You cannot specify the `ScheduledAction` and ScalingGroupId parameters at the same time.
7341
+ *
7342
+ * @param request CreateScheduledTaskRequest
7343
+ * @return CreateScheduledTaskResponse
7344
+ */
7130
7345
  createScheduledTask(request: CreateScheduledTaskRequest): Promise<CreateScheduledTaskResponse>;
7131
7346
  deactivateScalingConfigurationWithOptions(request: DeactivateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeactivateScalingConfigurationResponse>;
7132
7347
  deactivateScalingConfiguration(request: DeactivateScalingConfigurationRequest): Promise<DeactivateScalingConfigurationResponse>;
7133
7348
  deleteAlarmWithOptions(request: DeleteAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAlarmResponse>;
7134
7349
  deleteAlarm(request: DeleteAlarmRequest): Promise<DeleteAlarmResponse>;
7350
+ /**
7351
+ * You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
7352
+ * * The scaling configuration is in the Active state.
7353
+ * * The scaling group contains elastic container instances that are created based on the scaling configuration.
7354
+ *
7355
+ * @param request DeleteEciScalingConfigurationRequest
7356
+ * @param runtime runtime options for this request RuntimeOptions
7357
+ * @return DeleteEciScalingConfigurationResponse
7358
+ */
7135
7359
  deleteEciScalingConfigurationWithOptions(request: DeleteEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteEciScalingConfigurationResponse>;
7360
+ /**
7361
+ * You cannot delete a scaling configuration that is used to create elastic container instances in the following scenarios:
7362
+ * * The scaling configuration is in the Active state.
7363
+ * * The scaling group contains elastic container instances that are created based on the scaling configuration.
7364
+ *
7365
+ * @param request DeleteEciScalingConfigurationRequest
7366
+ * @return DeleteEciScalingConfigurationResponse
7367
+ */
7136
7368
  deleteEciScalingConfiguration(request: DeleteEciScalingConfigurationRequest): Promise<DeleteEciScalingConfigurationResponse>;
7137
7369
  deleteLifecycleHookWithOptions(request: DeleteLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<DeleteLifecycleHookResponse>;
7138
7370
  deleteLifecycleHook(request: DeleteLifecycleHookRequest): Promise<DeleteLifecycleHookResponse>;
7139
7371
  deleteNotificationConfigurationWithOptions(request: DeleteNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNotificationConfigurationResponse>;
7140
7372
  deleteNotificationConfiguration(request: DeleteNotificationConfigurationRequest): Promise<DeleteNotificationConfigurationResponse>;
7373
+ /**
7374
+ * You cannot delete a scaling configuration in one of the following scenarios:
7375
+ * * The scaling configuration in your scaling group is in the Active state.
7376
+ * * The scaling group contains ECS instances that were created based on the scaling configuration.
7377
+ *
7378
+ * @param request DeleteScalingConfigurationRequest
7379
+ * @param runtime runtime options for this request RuntimeOptions
7380
+ * @return DeleteScalingConfigurationResponse
7381
+ */
7141
7382
  deleteScalingConfigurationWithOptions(request: DeleteScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingConfigurationResponse>;
7383
+ /**
7384
+ * You cannot delete a scaling configuration in one of the following scenarios:
7385
+ * * The scaling configuration in your scaling group is in the Active state.
7386
+ * * The scaling group contains ECS instances that were created based on the scaling configuration.
7387
+ *
7388
+ * @param request DeleteScalingConfigurationRequest
7389
+ * @return DeleteScalingConfigurationResponse
7390
+ */
7142
7391
  deleteScalingConfiguration(request: DeleteScalingConfigurationRequest): Promise<DeleteScalingConfigurationResponse>;
7143
7392
  deleteScalingGroupWithOptions(request: DeleteScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingGroupResponse>;
7144
7393
  deleteScalingGroup(request: DeleteScalingGroupRequest): Promise<DeleteScalingGroupResponse>;
@@ -7150,7 +7399,28 @@ export default class Client extends OpenApi {
7150
7399
  describeAlarms(request: DescribeAlarmsRequest): Promise<DescribeAlarmsResponse>;
7151
7400
  describeEciScalingConfigurationsWithOptions(request: DescribeEciScalingConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEciScalingConfigurationsResponse>;
7152
7401
  describeEciScalingConfigurations(request: DescribeEciScalingConfigurationsRequest): Promise<DescribeEciScalingConfigurationsResponse>;
7402
+ /**
7403
+ * 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:
7404
+ * * 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.
7405
+ * * 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.
7406
+ * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
7407
+ * 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.
7408
+ *
7409
+ * @param request DescribeLifecycleActionsRequest
7410
+ * @param runtime runtime options for this request RuntimeOptions
7411
+ * @return DescribeLifecycleActionsResponse
7412
+ */
7153
7413
  describeLifecycleActionsWithOptions(request: DescribeLifecycleActionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleActionsResponse>;
7414
+ /**
7415
+ * 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:
7416
+ * * 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.
7417
+ * * 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.
7418
+ * * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
7419
+ * 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.
7420
+ *
7421
+ * @param request DescribeLifecycleActionsRequest
7422
+ * @return DescribeLifecycleActionsResponse
7423
+ */
7154
7424
  describeLifecycleActions(request: DescribeLifecycleActionsRequest): Promise<DescribeLifecycleActionsResponse>;
7155
7425
  describeLifecycleHooksWithOptions(request: DescribeLifecycleHooksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleHooksResponse>;
7156
7426
  describeLifecycleHooks(request: DescribeLifecycleHooksRequest): Promise<DescribeLifecycleHooksResponse>;
@@ -7190,7 +7460,7 @@ export default class Client extends OpenApi {
7190
7460
  describeScalingInstancesWithOptions(request: DescribeScalingInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingInstancesResponse>;
7191
7461
  describeScalingInstances(request: DescribeScalingInstancesRequest): Promise<DescribeScalingInstancesResponse>;
7192
7462
  /**
7193
- * You can specify a scaling group ID to query the information about all scaling rules in a scaling group. You can also specify the scaling rule ID, name, unique identifier, or type in the request parameters as filter conditions.
7463
+ * 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.
7194
7464
  *
7195
7465
  * @param request DescribeScalingRulesRequest
7196
7466
  * @param runtime runtime options for this request RuntimeOptions
@@ -7198,7 +7468,7 @@ export default class Client extends OpenApi {
7198
7468
  */
7199
7469
  describeScalingRulesWithOptions(request: DescribeScalingRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingRulesResponse>;
7200
7470
  /**
7201
- * You can specify a scaling group ID to query the information about all scaling rules in a scaling group. You can also specify the scaling rule ID, name, unique identifier, or type in the request parameters as filter conditions.
7471
+ * 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.
7202
7472
  *
7203
7473
  * @param request DescribeScalingRulesRequest
7204
7474
  * @return DescribeScalingRulesResponse
@@ -7210,13 +7480,61 @@ export default class Client extends OpenApi {
7210
7480
  detachAlbServerGroups(request: DetachAlbServerGroupsRequest): Promise<DetachAlbServerGroupsResponse>;
7211
7481
  detachDBInstancesWithOptions(request: DetachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachDBInstancesResponse>;
7212
7482
  detachDBInstances(request: DetachDBInstancesRequest): Promise<DetachDBInstancesResponse>;
7483
+ /**
7484
+ * 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.
7485
+ * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
7486
+ * Before you call this operation, make sure that the following conditions are met:
7487
+ * * The specified scaling group is enabled.
7488
+ * * No scaling activities in the specified scaling group are in progress.
7489
+ * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7490
+ * 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.
7491
+ * 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.
7492
+ *
7493
+ * @param request DetachInstancesRequest
7494
+ * @param runtime runtime options for this request RuntimeOptions
7495
+ * @return DetachInstancesResponse
7496
+ */
7213
7497
  detachInstancesWithOptions(request: DetachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachInstancesResponse>;
7498
+ /**
7499
+ * 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.
7500
+ * After you remove an ECS instance or elastic container instance by calling the DetachInstances operation, the instance is not stopped or released.
7501
+ * Before you call this operation, make sure that the following conditions are met:
7502
+ * * The specified scaling group is enabled.
7503
+ * * No scaling activities in the specified scaling group are in progress.
7504
+ * > If no scaling activities in the specified scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7505
+ * 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.
7506
+ * 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.
7507
+ *
7508
+ * @param request DetachInstancesRequest
7509
+ * @return DetachInstancesResponse
7510
+ */
7214
7511
  detachInstances(request: DetachInstancesRequest): Promise<DetachInstancesResponse>;
7215
7512
  detachLoadBalancersWithOptions(request: DetachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<DetachLoadBalancersResponse>;
7216
7513
  detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse>;
7217
7514
  detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse>;
7218
7515
  detachServerGroups(request: DetachServerGroupsRequest): Promise<DetachServerGroupsResponse>;
7516
+ /**
7517
+ * You can use the following parameters to specify the vServer groups that you want to detach from your scaling group.
7518
+ * * LoadBalancerId: the ID of the Classic Load Balancer (CLB) instance.
7519
+ * * VServerGroupId: the ID of the vServer group.
7520
+ * * Port: the port number of the vServer group.
7521
+ * 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.
7522
+ *
7523
+ * @param request DetachVServerGroupsRequest
7524
+ * @param runtime runtime options for this request RuntimeOptions
7525
+ * @return DetachVServerGroupsResponse
7526
+ */
7219
7527
  detachVServerGroupsWithOptions(request: DetachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachVServerGroupsResponse>;
7528
+ /**
7529
+ * You can use the following parameters to specify the vServer groups that you want to detach from your scaling group.
7530
+ * * LoadBalancerId: the ID of the Classic Load Balancer (CLB) instance.
7531
+ * * VServerGroupId: the ID of the vServer group.
7532
+ * * Port: the port number of the vServer group.
7533
+ * 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.
7534
+ *
7535
+ * @param request DetachVServerGroupsRequest
7536
+ * @return DetachVServerGroupsResponse
7537
+ */
7220
7538
  detachVServerGroups(request: DetachVServerGroupsRequest): Promise<DetachVServerGroupsResponse>;
7221
7539
  disableAlarmWithOptions(request: DisableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DisableAlarmResponse>;
7222
7540
  disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse>;
@@ -7249,7 +7567,34 @@ export default class Client extends OpenApi {
7249
7567
  enableScalingGroup(request: EnableScalingGroupRequest): Promise<EnableScalingGroupResponse>;
7250
7568
  enterStandbyWithOptions(request: EnterStandbyRequest, runtime: $Util.RuntimeOptions): Promise<EnterStandbyResponse>;
7251
7569
  enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse>;
7570
+ /**
7571
+ * Before you call this operation, take note of the following items:
7572
+ * * The scaling group is in the Active state.
7573
+ * * No scaling activities in the scaling group are in progress.
7574
+ * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7575
+ * 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.
7576
+ * 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.
7577
+ * 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.
7578
+ * 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.
7579
+ *
7580
+ * @param request ExecuteScalingRuleRequest
7581
+ * @param runtime runtime options for this request RuntimeOptions
7582
+ * @return ExecuteScalingRuleResponse
7583
+ */
7252
7584
  executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse>;
7585
+ /**
7586
+ * Before you call this operation, take note of the following items:
7587
+ * * The scaling group is in the Active state.
7588
+ * * No scaling activities in the scaling group are in progress.
7589
+ * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7590
+ * 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.
7591
+ * 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.
7592
+ * 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.
7593
+ * 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.
7594
+ *
7595
+ * @param request ExecuteScalingRuleRequest
7596
+ * @return ExecuteScalingRuleResponse
7597
+ */
7253
7598
  executeScalingRule(request: ExecuteScalingRuleRequest): Promise<ExecuteScalingRuleResponse>;
7254
7599
  exitStandbyWithOptions(request: ExitStandbyRequest, runtime: $Util.RuntimeOptions): Promise<ExitStandbyResponse>;
7255
7600
  exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse>;
@@ -7337,18 +7682,57 @@ export default class Client extends OpenApi {
7337
7682
  modifyScalingGroup(request: ModifyScalingGroupRequest): Promise<ModifyScalingGroupResponse>;
7338
7683
  modifyScalingRuleWithOptions(request: ModifyScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingRuleResponse>;
7339
7684
  modifyScalingRule(request: ModifyScalingRuleRequest): Promise<ModifyScalingRuleResponse>;
7685
+ /**
7686
+ * You can use the following parameters to specify the scaling method of a scheduled task:
7687
+ * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
7688
+ * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
7689
+ * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
7690
+ *
7691
+ * @param request ModifyScheduledTaskRequest
7692
+ * @param runtime runtime options for this request RuntimeOptions
7693
+ * @return ModifyScheduledTaskResponse
7694
+ */
7340
7695
  modifyScheduledTaskWithOptions(request: ModifyScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScheduledTaskResponse>;
7696
+ /**
7697
+ * You can use the following parameters to specify the scaling method of a scheduled task:
7698
+ * * If you use the `ScheduledAction` parameter, you must select an existing scaling rule for the scheduled task.
7699
+ * * If you use the `ScalingGroupId` parameter, you must specify the minimum number, maximum number, or expected number of instances in the scheduled task.
7700
+ * > You cannot specify the `ScheduledAction` and `ScalingGroupId` parameters at the same time.
7701
+ *
7702
+ * @param request ModifyScheduledTaskRequest
7703
+ * @return ModifyScheduledTaskResponse
7704
+ */
7341
7705
  modifyScheduledTask(request: ModifyScheduledTaskRequest): Promise<ModifyScheduledTaskResponse>;
7342
7706
  rebalanceInstancesWithOptions(request: RebalanceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebalanceInstancesResponse>;
7343
7707
  rebalanceInstances(request: RebalanceInstancesRequest): Promise<RebalanceInstancesResponse>;
7708
+ /**
7709
+ * 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.
7710
+ *
7711
+ * @param request RecordLifecycleActionHeartbeatRequest
7712
+ * @param runtime runtime options for this request RuntimeOptions
7713
+ * @return RecordLifecycleActionHeartbeatResponse
7714
+ */
7344
7715
  recordLifecycleActionHeartbeatWithOptions(request: RecordLifecycleActionHeartbeatRequest, runtime: $Util.RuntimeOptions): Promise<RecordLifecycleActionHeartbeatResponse>;
7716
+ /**
7717
+ * 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.
7718
+ *
7719
+ * @param request RecordLifecycleActionHeartbeatRequest
7720
+ * @return RecordLifecycleActionHeartbeatResponse
7721
+ */
7345
7722
  recordLifecycleActionHeartbeat(request: RecordLifecycleActionHeartbeatRequest): Promise<RecordLifecycleActionHeartbeatResponse>;
7346
7723
  removeInstancesWithOptions(request: RemoveInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveInstancesResponse>;
7347
7724
  removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse>;
7348
7725
  resumeProcessesWithOptions(request: ResumeProcessesRequest, runtime: $Util.RuntimeOptions): Promise<ResumeProcessesResponse>;
7349
7726
  resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
7350
7727
  /**
7351
- * The ID of the scaling activity.
7728
+ * 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:
7729
+ * * The following conditions must be met:
7730
+ * * The scaling group is in the Active state.
7731
+ * * No scaling activities in the scaling group are in progress.
7732
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7733
+ * * 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.
7734
+ * * 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.
7735
+ * 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.
7352
7736
  *
7353
7737
  * @param request ScaleWithAdjustmentRequest
7354
7738
  * @param runtime runtime options for this request RuntimeOptions
@@ -7356,7 +7740,14 @@ export default class Client extends OpenApi {
7356
7740
  */
7357
7741
  scaleWithAdjustmentWithOptions(request: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse>;
7358
7742
  /**
7359
- * The ID of the scaling activity.
7743
+ * 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:
7744
+ * * The following conditions must be met:
7745
+ * * The scaling group is in the Active state.
7746
+ * * No scaling activities in the scaling group are in progress.
7747
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7748
+ * * 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.
7749
+ * * 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.
7750
+ * 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.
7360
7751
  *
7361
7752
  * @param request ScaleWithAdjustmentRequest
7362
7753
  * @return ScaleWithAdjustmentResponse