@alicloud/ess20220222 1.0.2 → 1.0.3

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
@@ -194,6 +194,53 @@ export declare class AttachLoadBalancersResponse extends $tea.Model {
194
194
  [key: string]: any;
195
195
  });
196
196
  }
197
+ export declare class AttachServerGroupsRequest extends $tea.Model {
198
+ clientToken?: string;
199
+ forceAttach?: boolean;
200
+ ownerId?: number;
201
+ regionId?: string;
202
+ resourceOwnerAccount?: string;
203
+ scalingGroupId?: string;
204
+ serverGroups?: AttachServerGroupsRequestServerGroups[];
205
+ static names(): {
206
+ [key: string]: string;
207
+ };
208
+ static types(): {
209
+ [key: string]: any;
210
+ };
211
+ constructor(map?: {
212
+ [key: string]: any;
213
+ });
214
+ }
215
+ export declare class AttachServerGroupsResponseBody extends $tea.Model {
216
+ requestId?: string;
217
+ scalingActivityId?: string;
218
+ static names(): {
219
+ [key: string]: string;
220
+ };
221
+ static types(): {
222
+ [key: string]: any;
223
+ };
224
+ constructor(map?: {
225
+ [key: string]: any;
226
+ });
227
+ }
228
+ export declare class AttachServerGroupsResponse extends $tea.Model {
229
+ headers: {
230
+ [key: string]: string;
231
+ };
232
+ statusCode: number;
233
+ body: AttachServerGroupsResponseBody;
234
+ static names(): {
235
+ [key: string]: string;
236
+ };
237
+ static types(): {
238
+ [key: string]: any;
239
+ };
240
+ constructor(map?: {
241
+ [key: string]: any;
242
+ });
243
+ }
197
244
  export declare class AttachVServerGroupsRequest extends $tea.Model {
198
245
  clientToken?: string;
199
246
  forceAttach?: boolean;
@@ -240,6 +287,51 @@ export declare class AttachVServerGroupsResponse extends $tea.Model {
240
287
  [key: string]: any;
241
288
  });
242
289
  }
290
+ export declare class ChangeResourceGroupRequest extends $tea.Model {
291
+ newResourceGroupId?: string;
292
+ ownerId?: number;
293
+ regionId?: string;
294
+ resourceId?: string;
295
+ resourceOwnerAccount?: string;
296
+ resourceType?: string;
297
+ static names(): {
298
+ [key: string]: string;
299
+ };
300
+ static types(): {
301
+ [key: string]: any;
302
+ };
303
+ constructor(map?: {
304
+ [key: string]: any;
305
+ });
306
+ }
307
+ export declare class ChangeResourceGroupResponseBody extends $tea.Model {
308
+ requestId?: string;
309
+ static names(): {
310
+ [key: string]: string;
311
+ };
312
+ static types(): {
313
+ [key: string]: any;
314
+ };
315
+ constructor(map?: {
316
+ [key: string]: any;
317
+ });
318
+ }
319
+ export declare class ChangeResourceGroupResponse extends $tea.Model {
320
+ headers: {
321
+ [key: string]: string;
322
+ };
323
+ statusCode: number;
324
+ body: ChangeResourceGroupResponseBody;
325
+ static names(): {
326
+ [key: string]: string;
327
+ };
328
+ static types(): {
329
+ [key: string]: any;
330
+ };
331
+ constructor(map?: {
332
+ [key: string]: any;
333
+ });
334
+ }
243
335
  export declare class CompleteLifecycleActionRequest extends $tea.Model {
244
336
  clientToken?: string;
245
337
  lifecycleActionResult?: string;
@@ -708,9 +800,11 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
708
800
  ownerId?: number;
709
801
  regionId?: string;
710
802
  removalPolicies?: string[];
803
+ resourceGroupId?: string;
711
804
  resourceOwnerAccount?: string;
712
805
  scalingGroupName?: string;
713
806
  scalingPolicy?: string;
807
+ serverGroups?: CreateScalingGroupRequestServerGroups[];
714
808
  spotAllocationStrategy?: string;
715
809
  spotInstancePools?: number;
716
810
  spotInstanceRemedy?: boolean;
@@ -1827,6 +1921,7 @@ export declare class DescribeScalingGroupsRequest extends $tea.Model {
1827
1921
  pageNumber?: number;
1828
1922
  pageSize?: number;
1829
1923
  regionId?: string;
1924
+ resourceGroupId?: string;
1830
1925
  resourceOwnerAccount?: string;
1831
1926
  resourceOwnerId?: number;
1832
1927
  scalingGroupIds?: string[];
@@ -2232,6 +2327,53 @@ export declare class DetachLoadBalancersResponse extends $tea.Model {
2232
2327
  [key: string]: any;
2233
2328
  });
2234
2329
  }
2330
+ export declare class DetachServerGroupsRequest extends $tea.Model {
2331
+ clientToken?: string;
2332
+ forceDetach?: boolean;
2333
+ ownerId?: number;
2334
+ regionId?: string;
2335
+ resourceOwnerAccount?: string;
2336
+ scalingGroupId?: string;
2337
+ serverGroups?: DetachServerGroupsRequestServerGroups[];
2338
+ static names(): {
2339
+ [key: string]: string;
2340
+ };
2341
+ static types(): {
2342
+ [key: string]: any;
2343
+ };
2344
+ constructor(map?: {
2345
+ [key: string]: any;
2346
+ });
2347
+ }
2348
+ export declare class DetachServerGroupsResponseBody extends $tea.Model {
2349
+ requestId?: string;
2350
+ scalingActivityId?: string;
2351
+ static names(): {
2352
+ [key: string]: string;
2353
+ };
2354
+ static types(): {
2355
+ [key: string]: any;
2356
+ };
2357
+ constructor(map?: {
2358
+ [key: string]: any;
2359
+ });
2360
+ }
2361
+ export declare class DetachServerGroupsResponse extends $tea.Model {
2362
+ headers: {
2363
+ [key: string]: string;
2364
+ };
2365
+ statusCode: number;
2366
+ body: DetachServerGroupsResponseBody;
2367
+ static names(): {
2368
+ [key: string]: string;
2369
+ };
2370
+ static types(): {
2371
+ [key: string]: any;
2372
+ };
2373
+ constructor(map?: {
2374
+ [key: string]: any;
2375
+ });
2376
+ }
2235
2377
  export declare class DetachVServerGroupsRequest extends $tea.Model {
2236
2378
  clientToken?: string;
2237
2379
  forceDetach?: boolean;
@@ -2812,6 +2954,7 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
2812
2954
  autoMatchImageCache?: boolean;
2813
2955
  containerGroupName?: string;
2814
2956
  containers?: ModifyEciScalingConfigurationRequestContainers[];
2957
+ containersUpdateType?: string;
2815
2958
  costOptimization?: boolean;
2816
2959
  cpu?: number;
2817
2960
  cpuOptionsCore?: number;
@@ -3521,6 +3664,7 @@ export declare class ScaleWithAdjustmentRequest extends $tea.Model {
3521
3664
  });
3522
3665
  }
3523
3666
  export declare class ScaleWithAdjustmentResponseBody extends $tea.Model {
3667
+ activityType?: string;
3524
3668
  requestId?: string;
3525
3669
  scalingActivityId?: string;
3526
3670
  static names(): {
@@ -3916,6 +4060,21 @@ export declare class AttachAlbServerGroupsRequestAlbServerGroups extends $tea.Mo
3916
4060
  [key: string]: any;
3917
4061
  });
3918
4062
  }
4063
+ export declare class AttachServerGroupsRequestServerGroups extends $tea.Model {
4064
+ port?: number;
4065
+ serverGroupId?: string;
4066
+ type?: string;
4067
+ weight?: number;
4068
+ static names(): {
4069
+ [key: string]: string;
4070
+ };
4071
+ static types(): {
4072
+ [key: string]: any;
4073
+ };
4074
+ constructor(map?: {
4075
+ [key: string]: any;
4076
+ });
4077
+ }
3919
4078
  export declare class AttachVServerGroupsRequestVServerGroupsVServerGroupAttributes extends $tea.Model {
3920
4079
  port?: number;
3921
4080
  VServerGroupId?: string;
@@ -4683,6 +4842,7 @@ export declare class CreateScalingGroupRequestAlbServerGroups extends $tea.Model
4683
4842
  }
4684
4843
  export declare class CreateScalingGroupRequestLaunchTemplateOverrides extends $tea.Model {
4685
4844
  instanceType?: string;
4845
+ spotPriceLimit?: number;
4686
4846
  weightedCapacity?: number;
4687
4847
  static names(): {
4688
4848
  [key: string]: string;
@@ -4711,6 +4871,21 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
4711
4871
  [key: string]: any;
4712
4872
  });
4713
4873
  }
4874
+ export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
4875
+ port?: number;
4876
+ serverGroupId?: string;
4877
+ type?: string;
4878
+ weight?: number;
4879
+ static names(): {
4880
+ [key: string]: string;
4881
+ };
4882
+ static types(): {
4883
+ [key: string]: any;
4884
+ };
4885
+ constructor(map?: {
4886
+ [key: string]: any;
4887
+ });
4888
+ }
4714
4889
  export declare class CreateScalingGroupRequestTags extends $tea.Model {
4715
4890
  key?: string;
4716
4891
  value?: string;
@@ -5231,15 +5406,26 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
5231
5406
  attachedCapacity?: string;
5232
5407
  autoCreatedCapacity?: string;
5233
5408
  cause?: string;
5409
+ createdCapacity?: number;
5410
+ createdInstances?: string[];
5234
5411
  description?: string;
5412
+ destroyedCapacity?: number;
5413
+ destroyedInstances?: string[];
5414
+ detail?: string;
5235
5415
  endTime?: string;
5416
+ errorCode?: string;
5417
+ errorMessage?: string;
5236
5418
  progress?: number;
5237
5419
  scalingActivityId?: string;
5238
5420
  scalingGroupId?: string;
5239
5421
  scalingInstanceNumber?: number;
5240
5422
  startTime?: string;
5423
+ startedCapacity?: number;
5424
+ startedInstances?: string[];
5241
5425
  statusCode?: string;
5242
5426
  statusMessage?: string;
5427
+ stoppedCapacity?: number;
5428
+ stoppedInstances?: string[];
5243
5429
  totalCapacity?: string;
5244
5430
  static names(): {
5245
5431
  [key: string]: string;
@@ -5359,6 +5545,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
5359
5545
  imageFamily?: string;
5360
5546
  imageId?: string;
5361
5547
  imageName?: string;
5548
+ imageOwnerAlias?: string;
5362
5549
  instanceDescription?: string;
5363
5550
  instanceGeneration?: string;
5364
5551
  instanceName?: string;
@@ -5431,6 +5618,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGrou
5431
5618
  }
5432
5619
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides extends $tea.Model {
5433
5620
  instanceType?: string;
5621
+ spotPriceLimit?: number;
5434
5622
  weightedCapacity?: number;
5435
5623
  static names(): {
5436
5624
  [key: string]: string;
@@ -5442,6 +5630,21 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplat
5442
5630
  [key: string]: any;
5443
5631
  });
5444
5632
  }
5633
+ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $tea.Model {
5634
+ port?: number;
5635
+ serverGroupId?: string;
5636
+ type?: string;
5637
+ weight?: number;
5638
+ static names(): {
5639
+ [key: string]: string;
5640
+ };
5641
+ static types(): {
5642
+ [key: string]: any;
5643
+ };
5644
+ constructor(map?: {
5645
+ [key: string]: any;
5646
+ });
5647
+ }
5445
5648
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
5446
5649
  port?: number;
5447
5650
  VServerGroupId?: string;
@@ -5485,6 +5688,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
5485
5688
  groupDeletionProtection?: boolean;
5486
5689
  groupType?: string;
5487
5690
  healthCheckType?: string;
5691
+ initCapacity?: number;
5488
5692
  isElasticStrengthInAlarm?: boolean;
5489
5693
  launchTemplateId?: string;
5490
5694
  launchTemplateOverrides?: DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides[];
@@ -5506,9 +5710,11 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
5506
5710
  removalPolicies?: string[];
5507
5711
  removingCapacity?: number;
5508
5712
  removingWaitCapacity?: number;
5713
+ resourceGroupId?: string;
5509
5714
  scalingGroupId?: string;
5510
5715
  scalingGroupName?: string;
5511
5716
  scalingPolicy?: string;
5717
+ serverGroups?: DescribeScalingGroupsResponseBodyScalingGroupsServerGroups[];
5512
5718
  spotAllocationStrategy?: string;
5513
5719
  spotInstancePools?: number;
5514
5720
  spotInstanceRemedy?: boolean;
@@ -5680,6 +5886,20 @@ export declare class DetachAlbServerGroupsRequestAlbServerGroups extends $tea.Mo
5680
5886
  [key: string]: any;
5681
5887
  });
5682
5888
  }
5889
+ export declare class DetachServerGroupsRequestServerGroups extends $tea.Model {
5890
+ port?: number;
5891
+ serverGroupId?: string;
5892
+ type?: string;
5893
+ static names(): {
5894
+ [key: string]: string;
5895
+ };
5896
+ static types(): {
5897
+ [key: string]: any;
5898
+ };
5899
+ constructor(map?: {
5900
+ [key: string]: any;
5901
+ });
5902
+ }
5683
5903
  export declare class DetachVServerGroupsRequestVServerGroupsVServerGroupAttributes extends $tea.Model {
5684
5904
  port?: number;
5685
5905
  VServerGroupId?: string;
@@ -6498,6 +6718,7 @@ export declare class ModifyScalingConfigurationShrinkRequestSpotPriceLimits exte
6498
6718
  }
6499
6719
  export declare class ModifyScalingGroupRequestLaunchTemplateOverrides extends $tea.Model {
6500
6720
  instanceType?: string;
6721
+ spotPriceLimit?: number;
6501
6722
  weightedCapacity?: number;
6502
6723
  static names(): {
6503
6724
  [key: string]: string;
@@ -6542,47 +6763,372 @@ export default class Client extends OpenApi {
6542
6763
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
6543
6764
  [key: string]: string;
6544
6765
  }, endpoint: string): string;
6766
+ /**
6767
+ * Associates one or more Application Load Balancer (ALB) server groups with a scaling group.
6768
+ *
6769
+ * @param request AttachAlbServerGroupsRequest
6770
+ * @param runtime runtime options for this request RuntimeOptions
6771
+ * @return AttachAlbServerGroupsResponse
6772
+ */
6545
6773
  attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse>;
6774
+ /**
6775
+ * Associates one or more Application Load Balancer (ALB) server groups with a scaling group.
6776
+ *
6777
+ * @param request AttachAlbServerGroupsRequest
6778
+ * @return AttachAlbServerGroupsResponse
6779
+ */
6546
6780
  attachAlbServerGroups(request: AttachAlbServerGroupsRequest): Promise<AttachAlbServerGroupsResponse>;
6781
+ /**
6782
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
6783
+ *
6784
+ * @param request AttachDBInstancesRequest
6785
+ * @param runtime runtime options for this request RuntimeOptions
6786
+ * @return AttachDBInstancesResponse
6787
+ */
6547
6788
  attachDBInstancesWithOptions(request: AttachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachDBInstancesResponse>;
6789
+ /**
6790
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
6791
+ *
6792
+ * @param request AttachDBInstancesRequest
6793
+ * @return AttachDBInstancesResponse
6794
+ */
6548
6795
  attachDBInstances(request: AttachDBInstancesRequest): Promise<AttachDBInstancesResponse>;
6796
+ /**
6797
+ * Manually adds Elastic Compute Service (ECS) instances or elastic container instances to a scaling group.
6798
+ *
6799
+ * @param request AttachInstancesRequest
6800
+ * @param runtime runtime options for this request RuntimeOptions
6801
+ * @return AttachInstancesResponse
6802
+ */
6549
6803
  attachInstancesWithOptions(request: AttachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse>;
6804
+ /**
6805
+ * Manually adds Elastic Compute Service (ECS) instances or elastic container instances to a scaling group.
6806
+ *
6807
+ * @param request AttachInstancesRequest
6808
+ * @return AttachInstancesResponse
6809
+ */
6550
6810
  attachInstances(request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
6811
+ /**
6812
+ * Attaches one or more Classic Load Balancer (CLB) instances to a scaling group.
6813
+ *
6814
+ * @param request AttachLoadBalancersRequest
6815
+ * @param runtime runtime options for this request RuntimeOptions
6816
+ * @return AttachLoadBalancersResponse
6817
+ */
6551
6818
  attachLoadBalancersWithOptions(request: AttachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<AttachLoadBalancersResponse>;
6819
+ /**
6820
+ * Attaches one or more Classic Load Balancer (CLB) instances to a scaling group.
6821
+ *
6822
+ * @param request AttachLoadBalancersRequest
6823
+ * @return AttachLoadBalancersResponse
6824
+ */
6552
6825
  attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse>;
6826
+ attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse>;
6827
+ attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse>;
6828
+ /**
6829
+ * Attaches one or more vServer groups of a Classic Load Balancer (CLB) instance to a scaling group.
6830
+ *
6831
+ * @param request AttachVServerGroupsRequest
6832
+ * @param runtime runtime options for this request RuntimeOptions
6833
+ * @return AttachVServerGroupsResponse
6834
+ */
6553
6835
  attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse>;
6836
+ /**
6837
+ * Attaches one or more vServer groups of a Classic Load Balancer (CLB) instance to a scaling group.
6838
+ *
6839
+ * @param request AttachVServerGroupsRequest
6840
+ * @return AttachVServerGroupsResponse
6841
+ */
6554
6842
  attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
6843
+ /**
6844
+ * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources, monitor resources, and perform operations in a centralized manner. This way, you do not need to view and check your Alibaba Cloud resources in each Alibaba Cloud service.
6845
+ *
6846
+ * @param request ChangeResourceGroupRequest
6847
+ * @param runtime runtime options for this request RuntimeOptions
6848
+ * @return ChangeResourceGroupResponse
6849
+ */
6850
+ changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
6851
+ /**
6852
+ * A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources, monitor resources, and perform operations in a centralized manner. This way, you do not need to view and check your Alibaba Cloud resources in each Alibaba Cloud service.
6853
+ *
6854
+ * @param request ChangeResourceGroupRequest
6855
+ * @return ChangeResourceGroupResponse
6856
+ */
6857
+ changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
6858
+ /**
6859
+ * When you call this operation to end a lifecycle hook ahead of schedule, you can use the LifecycleActionResult parameter to specify the action that you want Auto Scaling to perform after the lifecycle hook ends. You can set the LifecycleActionResult parameter to CONTINUE or ABANDON.
6860
+ *
6861
+ * @param request CompleteLifecycleActionRequest
6862
+ * @param runtime runtime options for this request RuntimeOptions
6863
+ * @return CompleteLifecycleActionResponse
6864
+ */
6555
6865
  completeLifecycleActionWithOptions(request: CompleteLifecycleActionRequest, runtime: $Util.RuntimeOptions): Promise<CompleteLifecycleActionResponse>;
6866
+ /**
6867
+ * When you call this operation to end a lifecycle hook ahead of schedule, you can use the LifecycleActionResult parameter to specify the action that you want Auto Scaling to perform after the lifecycle hook ends. You can set the LifecycleActionResult parameter to CONTINUE or ABANDON.
6868
+ *
6869
+ * @param request CompleteLifecycleActionRequest
6870
+ * @return CompleteLifecycleActionResponse
6871
+ */
6556
6872
  completeLifecycleAction(request: CompleteLifecycleActionRequest): Promise<CompleteLifecycleActionResponse>;
6873
+ /**
6874
+ * * 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](~~74861~~).
6875
+ * * 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.
6876
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
6877
+ * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](~~74854~~).
6878
+ * > 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.
6879
+ *
6880
+ * @param request CreateAlarmRequest
6881
+ * @param runtime runtime options for this request RuntimeOptions
6882
+ * @return CreateAlarmResponse
6883
+ */
6557
6884
  createAlarmWithOptions(request: CreateAlarmRequest, runtime: $Util.RuntimeOptions): Promise<CreateAlarmResponse>;
6885
+ /**
6886
+ * * 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](~~74861~~).
6887
+ * * 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.
6888
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
6889
+ * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](~~74854~~).
6890
+ * > 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.
6891
+ *
6892
+ * @param request CreateAlarmRequest
6893
+ * @return CreateAlarmResponse
6894
+ */
6558
6895
  createAlarm(request: CreateAlarmRequest): Promise<CreateAlarmResponse>;
6896
+ /**
6897
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
6898
+ * 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.
6899
+ *
6900
+ * @param request CreateEciScalingConfigurationRequest
6901
+ * @param runtime runtime options for this request RuntimeOptions
6902
+ * @return CreateEciScalingConfigurationResponse
6903
+ */
6559
6904
  createEciScalingConfigurationWithOptions(request: CreateEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateEciScalingConfigurationResponse>;
6905
+ /**
6906
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
6907
+ * 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.
6908
+ *
6909
+ * @param request CreateEciScalingConfigurationRequest
6910
+ * @return CreateEciScalingConfigurationResponse
6911
+ */
6560
6912
  createEciScalingConfiguration(request: CreateEciScalingConfigurationRequest): Promise<CreateEciScalingConfigurationResponse>;
6913
+ /**
6914
+ * 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.
6915
+ * 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.
6916
+ * 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](~~120810~~).
6917
+ * > 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.
6918
+ *
6919
+ * @param request CreateLifecycleHookRequest
6920
+ * @param runtime runtime options for this request RuntimeOptions
6921
+ * @return CreateLifecycleHookResponse
6922
+ */
6561
6923
  createLifecycleHookWithOptions(request: CreateLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<CreateLifecycleHookResponse>;
6924
+ /**
6925
+ * 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.
6926
+ * 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.
6927
+ * 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](~~120810~~).
6928
+ * > 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.
6929
+ *
6930
+ * @param request CreateLifecycleHookRequest
6931
+ * @return CreateLifecycleHookResponse
6932
+ */
6562
6933
  createLifecycleHook(request: CreateLifecycleHookRequest): Promise<CreateLifecycleHookResponse>;
6934
+ /**
6935
+ * Creates a notification.
6936
+ *
6937
+ * @param request CreateNotificationConfigurationRequest
6938
+ * @param runtime runtime options for this request RuntimeOptions
6939
+ * @return CreateNotificationConfigurationResponse
6940
+ */
6563
6941
  createNotificationConfigurationWithOptions(request: CreateNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateNotificationConfigurationResponse>;
6942
+ /**
6943
+ * Creates a notification.
6944
+ *
6945
+ * @param request CreateNotificationConfigurationRequest
6946
+ * @return CreateNotificationConfigurationResponse
6947
+ */
6564
6948
  createNotificationConfiguration(request: CreateNotificationConfigurationRequest): Promise<CreateNotificationConfigurationResponse>;
6949
+ /**
6950
+ * Auto Scaling automatically scales out Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be configured in the following modes:
6951
+ * * InstancePatternInfo.N: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types.
6952
+ * * InstanceType: In this mode, you must specify one instance type.
6953
+ * * InstanceTypes.N: In this mode, you must specify multiple instance types.
6954
+ * * InstanceTypeOverride.N: In this mode, you must specify multiple instance types and specify weights for the instance types.
6955
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines a set of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling preferentially creates ECS instances of the instance type that is provided at the lowest price. This mode is available only if the Scaling Policy parameter is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
6956
+ * > You cannot use InstanceType, InstanceTypes, InstanceTypeOverride, and Cpu and Memory at the same time. You can use InstanceType and InstancePatternInfos or use InstanceTypes and InstancePatternInfos at the same time. If you use InstanceType and InstancePatternInfos or use InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-out activities. 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-out activities.
6957
+ *
6958
+ * @param tmpReq CreateScalingConfigurationRequest
6959
+ * @param runtime runtime options for this request RuntimeOptions
6960
+ * @return CreateScalingConfigurationResponse
6961
+ */
6565
6962
  createScalingConfigurationWithOptions(tmpReq: CreateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingConfigurationResponse>;
6963
+ /**
6964
+ * Auto Scaling automatically scales out Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be configured in the following modes:
6965
+ * * InstancePatternInfo.N: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. The system selects an instance type that is provided at the lowest price based on your configurations to create ECS instances. This mode is available only for scaling groups that reside in virtual private clouds (VPCs). This mode helps reduce the failures of scale-out activities caused by insufficient inventory of instance types.
6966
+ * * InstanceType: In this mode, you must specify one instance type.
6967
+ * * InstanceTypes.N: In this mode, you must specify multiple instance types.
6968
+ * * InstanceTypeOverride.N: In this mode, you must specify multiple instance types and specify weights for the instance types.
6969
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines a set of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling preferentially creates ECS instances of the instance type that is provided at the lowest price. This mode is available only if the Scaling Policy parameter is set to Cost Optimization Policy and no instance type is specified in the scaling configuration.
6970
+ * > You cannot use InstanceType, InstanceTypes, InstanceTypeOverride, and Cpu and Memory at the same time. You can use InstanceType and InstancePatternInfos or use InstanceTypes and InstancePatternInfos at the same time. If you use InstanceType and InstancePatternInfos or use InstanceTypes and InstancePatternInfos at the same time, Auto Scaling preferentially uses the instance types that are specified by InstanceType or InstanceTypes for scale-out activities. 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-out activities.
6971
+ *
6972
+ * @param request CreateScalingConfigurationRequest
6973
+ * @return CreateScalingConfigurationResponse
6974
+ */
6566
6975
  createScalingConfiguration(request: CreateScalingConfigurationRequest): Promise<CreateScalingConfigurationResponse>;
6976
+ /**
6977
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
6978
+ * 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.
6979
+ * A scaling group does not immediately take effect after you create it. You must call the EnableScalingGroup operation to enable a scaling group. After you enable a scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
6980
+ * 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" topic in ECS Product Introduction.
6981
+ * If you associate a CLB instance with a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the 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:
6982
+ * * 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.
6983
+ * * 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.
6984
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
6985
+ * 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:
6986
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
6987
+ * * 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.
6988
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances 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.
6989
+ * 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:
6990
+ * * 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.
6991
+ * * 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 in ApsaraDB RDS User Guide.
6992
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
6993
+ * * 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.
6994
+ * * 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.
6995
+ * If you set the `Tags.Propagate` parameter for the scaling group to true, the following rules apply:
6996
+ * * 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.
6997
+ * * 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.
6998
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group that uses the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
6999
+ *
7000
+ * @param request CreateScalingGroupRequest
7001
+ * @param runtime runtime options for this request RuntimeOptions
7002
+ * @return CreateScalingGroupResponse
7003
+ */
6567
7004
  createScalingGroupWithOptions(request: CreateScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingGroupResponse>;
7005
+ /**
7006
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
7007
+ * 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.
7008
+ * A scaling group does not immediately take effect after you create it. You must call the EnableScalingGroup operation to enable a scaling group. After you enable a scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
7009
+ * 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" topic in ECS Product Introduction.
7010
+ * If you associate a CLB instance with a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the 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:
7011
+ * * 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.
7012
+ * * 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.
7013
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
7014
+ * 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:
7015
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
7016
+ * * 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.
7017
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances 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.
7018
+ * 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:
7019
+ * * 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.
7020
+ * * 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 in ApsaraDB RDS User Guide.
7021
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
7022
+ * * 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.
7023
+ * * 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.
7024
+ * If you set the `Tags.Propagate` parameter for the scaling group to true, the following rules apply:
7025
+ * * 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.
7026
+ * * 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.
7027
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group that uses the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
7028
+ *
7029
+ * @param request CreateScalingGroupRequest
7030
+ * @return CreateScalingGroupResponse
7031
+ */
6568
7032
  createScalingGroup(request: CreateScalingGroupRequest): Promise<CreateScalingGroupResponse>;
7033
+ /**
7034
+ * Creates a scaling rule.
7035
+ *
7036
+ * @param request CreateScalingRuleRequest
7037
+ * @param runtime runtime options for this request RuntimeOptions
7038
+ * @return CreateScalingRuleResponse
7039
+ */
6569
7040
  createScalingRuleWithOptions(request: CreateScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingRuleResponse>;
7041
+ /**
7042
+ * Creates a scaling rule.
7043
+ *
7044
+ * @param request CreateScalingRuleRequest
7045
+ * @return CreateScalingRuleResponse
7046
+ */
6570
7047
  createScalingRule(request: CreateScalingRuleRequest): Promise<CreateScalingRuleResponse>;
7048
+ /**
7049
+ * Creates a scheduled task.
7050
+ *
7051
+ * @param request CreateScheduledTaskRequest
7052
+ * @param runtime runtime options for this request RuntimeOptions
7053
+ * @return CreateScheduledTaskResponse
7054
+ */
6571
7055
  createScheduledTaskWithOptions(request: CreateScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateScheduledTaskResponse>;
7056
+ /**
7057
+ * Creates a scheduled task.
7058
+ *
7059
+ * @param request CreateScheduledTaskRequest
7060
+ * @return CreateScheduledTaskResponse
7061
+ */
6572
7062
  createScheduledTask(request: CreateScheduledTaskRequest): Promise<CreateScheduledTaskResponse>;
6573
7063
  deactivateScalingConfigurationWithOptions(request: DeactivateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeactivateScalingConfigurationResponse>;
6574
7064
  deactivateScalingConfiguration(request: DeactivateScalingConfigurationRequest): Promise<DeactivateScalingConfigurationResponse>;
6575
7065
  deleteAlarmWithOptions(request: DeleteAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAlarmResponse>;
6576
7066
  deleteAlarm(request: DeleteAlarmRequest): Promise<DeleteAlarmResponse>;
7067
+ /**
7068
+ * Deletes a scaling configuration that is used to create elastic container instances.
7069
+ *
7070
+ * @param request DeleteEciScalingConfigurationRequest
7071
+ * @param runtime runtime options for this request RuntimeOptions
7072
+ * @return DeleteEciScalingConfigurationResponse
7073
+ */
6577
7074
  deleteEciScalingConfigurationWithOptions(request: DeleteEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteEciScalingConfigurationResponse>;
7075
+ /**
7076
+ * Deletes a scaling configuration that is used to create elastic container instances.
7077
+ *
7078
+ * @param request DeleteEciScalingConfigurationRequest
7079
+ * @return DeleteEciScalingConfigurationResponse
7080
+ */
6578
7081
  deleteEciScalingConfiguration(request: DeleteEciScalingConfigurationRequest): Promise<DeleteEciScalingConfigurationResponse>;
7082
+ /**
7083
+ * 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:
7084
+ * * 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.
7085
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
7086
+ *
7087
+ * @param request DeleteLifecycleHookRequest
7088
+ * @param runtime runtime options for this request RuntimeOptions
7089
+ * @return DeleteLifecycleHookResponse
7090
+ */
6579
7091
  deleteLifecycleHookWithOptions(request: DeleteLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<DeleteLifecycleHookResponse>;
7092
+ /**
7093
+ * 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:
7094
+ * * 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.
7095
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
7096
+ *
7097
+ * @param request DeleteLifecycleHookRequest
7098
+ * @return DeleteLifecycleHookResponse
7099
+ */
6580
7100
  deleteLifecycleHook(request: DeleteLifecycleHookRequest): Promise<DeleteLifecycleHookResponse>;
6581
7101
  deleteNotificationConfigurationWithOptions(request: DeleteNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNotificationConfigurationResponse>;
6582
7102
  deleteNotificationConfiguration(request: DeleteNotificationConfigurationRequest): Promise<DeleteNotificationConfigurationResponse>;
7103
+ /**
7104
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
7105
+ *
7106
+ * @param request DeleteScalingConfigurationRequest
7107
+ * @param runtime runtime options for this request RuntimeOptions
7108
+ * @return DeleteScalingConfigurationResponse
7109
+ */
6583
7110
  deleteScalingConfigurationWithOptions(request: DeleteScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingConfigurationResponse>;
7111
+ /**
7112
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
7113
+ *
7114
+ * @param request DeleteScalingConfigurationRequest
7115
+ * @return DeleteScalingConfigurationResponse
7116
+ */
6584
7117
  deleteScalingConfiguration(request: DeleteScalingConfigurationRequest): Promise<DeleteScalingConfigurationResponse>;
7118
+ /**
7119
+ * Deletes a scaling group.
7120
+ *
7121
+ * @param request DeleteScalingGroupRequest
7122
+ * @param runtime runtime options for this request RuntimeOptions
7123
+ * @return DeleteScalingGroupResponse
7124
+ */
6585
7125
  deleteScalingGroupWithOptions(request: DeleteScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingGroupResponse>;
7126
+ /**
7127
+ * Deletes a scaling group.
7128
+ *
7129
+ * @param request DeleteScalingGroupRequest
7130
+ * @return DeleteScalingGroupResponse
7131
+ */
6586
7132
  deleteScalingGroup(request: DeleteScalingGroupRequest): Promise<DeleteScalingGroupResponse>;
6587
7133
  deleteScalingRuleWithOptions(request: DeleteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingRuleResponse>;
6588
7134
  deleteScalingRule(request: DeleteScalingRuleRequest): Promise<DeleteScalingRuleResponse>;
@@ -6592,9 +7138,41 @@ export default class Client extends OpenApi {
6592
7138
  describeAlarms(request: DescribeAlarmsRequest): Promise<DescribeAlarmsResponse>;
6593
7139
  describeEciScalingConfigurationsWithOptions(request: DescribeEciScalingConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEciScalingConfigurationsResponse>;
6594
7140
  describeEciScalingConfigurations(request: DescribeEciScalingConfigurationsRequest): Promise<DescribeEciScalingConfigurationsResponse>;
7141
+ /**
7142
+ * Queries lifecycle actions.
7143
+ *
7144
+ * @param request DescribeLifecycleActionsRequest
7145
+ * @param runtime runtime options for this request RuntimeOptions
7146
+ * @return DescribeLifecycleActionsResponse
7147
+ */
6595
7148
  describeLifecycleActionsWithOptions(request: DescribeLifecycleActionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleActionsResponse>;
7149
+ /**
7150
+ * Queries lifecycle actions.
7151
+ *
7152
+ * @param request DescribeLifecycleActionsRequest
7153
+ * @return DescribeLifecycleActionsResponse
7154
+ */
6596
7155
  describeLifecycleActions(request: DescribeLifecycleActionsRequest): Promise<DescribeLifecycleActionsResponse>;
7156
+ /**
7157
+ * You can use one of the following methods to query lifecycle hooks:
7158
+ * * 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.
7159
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
7160
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
7161
+ *
7162
+ * @param request DescribeLifecycleHooksRequest
7163
+ * @param runtime runtime options for this request RuntimeOptions
7164
+ * @return DescribeLifecycleHooksResponse
7165
+ */
6597
7166
  describeLifecycleHooksWithOptions(request: DescribeLifecycleHooksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleHooksResponse>;
7167
+ /**
7168
+ * You can use one of the following methods to query lifecycle hooks:
7169
+ * * 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.
7170
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
7171
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
7172
+ *
7173
+ * @param request DescribeLifecycleHooksRequest
7174
+ * @return DescribeLifecycleHooksResponse
7175
+ */
6598
7176
  describeLifecycleHooks(request: DescribeLifecycleHooksRequest): Promise<DescribeLifecycleHooksResponse>;
6599
7177
  describeLimitationWithOptions(request: DescribeLimitationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLimitationResponse>;
6600
7178
  describeLimitation(request: DescribeLimitationRequest): Promise<DescribeLimitationResponse>;
@@ -6604,7 +7182,24 @@ export default class Client extends OpenApi {
6604
7182
  describeNotificationTypes(request: DescribeNotificationTypesRequest): Promise<DescribeNotificationTypesResponse>;
6605
7183
  describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
6606
7184
  describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
7185
+ /**
7186
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
7187
+ * You can filter query results based on the status of scaling activities.
7188
+ * You can query scaling activities that are executed in the previous 30 days.
7189
+ *
7190
+ * @param request DescribeScalingActivitiesRequest
7191
+ * @param runtime runtime options for this request RuntimeOptions
7192
+ * @return DescribeScalingActivitiesResponse
7193
+ */
6607
7194
  describeScalingActivitiesWithOptions(request: DescribeScalingActivitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivitiesResponse>;
7195
+ /**
7196
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
7197
+ * You can filter query results based on the status of scaling activities.
7198
+ * You can query scaling activities that are executed in the previous 30 days.
7199
+ *
7200
+ * @param request DescribeScalingActivitiesRequest
7201
+ * @return DescribeScalingActivitiesResponse
7202
+ */
6608
7203
  describeScalingActivities(request: DescribeScalingActivitiesRequest): Promise<DescribeScalingActivitiesResponse>;
6609
7204
  describeScalingActivityDetailWithOptions(request: DescribeScalingActivityDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivityDetailResponse>;
6610
7205
  describeScalingActivityDetail(request: DescribeScalingActivityDetailRequest): Promise<DescribeScalingActivityDetailResponse>;
@@ -6612,35 +7207,181 @@ export default class Client extends OpenApi {
6612
7207
  describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse>;
6613
7208
  describeScalingGroupsWithOptions(request: DescribeScalingGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupsResponse>;
6614
7209
  describeScalingGroups(request: DescribeScalingGroupsRequest): Promise<DescribeScalingGroupsResponse>;
7210
+ /**
7211
+ * You can query ECS instances by scaling group ID, scaling configuration ID, health status, lifecycle status, and instance creation method.
7212
+ *
7213
+ * @param request DescribeScalingInstancesRequest
7214
+ * @param runtime runtime options for this request RuntimeOptions
7215
+ * @return DescribeScalingInstancesResponse
7216
+ */
6615
7217
  describeScalingInstancesWithOptions(request: DescribeScalingInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingInstancesResponse>;
7218
+ /**
7219
+ * You can query ECS instances by scaling group ID, scaling configuration ID, health status, lifecycle status, and instance creation method.
7220
+ *
7221
+ * @param request DescribeScalingInstancesRequest
7222
+ * @return DescribeScalingInstancesResponse
7223
+ */
6616
7224
  describeScalingInstances(request: DescribeScalingInstancesRequest): Promise<DescribeScalingInstancesResponse>;
7225
+ /**
7226
+ * Queries all scaling rules in a scaling group.
7227
+ *
7228
+ * @param request DescribeScalingRulesRequest
7229
+ * @param runtime runtime options for this request RuntimeOptions
7230
+ * @return DescribeScalingRulesResponse
7231
+ */
6617
7232
  describeScalingRulesWithOptions(request: DescribeScalingRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingRulesResponse>;
7233
+ /**
7234
+ * Queries all scaling rules in a scaling group.
7235
+ *
7236
+ * @param request DescribeScalingRulesRequest
7237
+ * @return DescribeScalingRulesResponse
7238
+ */
6618
7239
  describeScalingRules(request: DescribeScalingRulesRequest): Promise<DescribeScalingRulesResponse>;
7240
+ /**
7241
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
7242
+ *
7243
+ * @param request DescribeScheduledTasksRequest
7244
+ * @param runtime runtime options for this request RuntimeOptions
7245
+ * @return DescribeScheduledTasksResponse
7246
+ */
6619
7247
  describeScheduledTasksWithOptions(request: DescribeScheduledTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScheduledTasksResponse>;
7248
+ /**
7249
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
7250
+ *
7251
+ * @param request DescribeScheduledTasksRequest
7252
+ * @return DescribeScheduledTasksResponse
7253
+ */
6620
7254
  describeScheduledTasks(request: DescribeScheduledTasksRequest): Promise<DescribeScheduledTasksResponse>;
6621
7255
  detachAlbServerGroupsWithOptions(request: DetachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachAlbServerGroupsResponse>;
6622
7256
  detachAlbServerGroups(request: DetachAlbServerGroupsRequest): Promise<DetachAlbServerGroupsResponse>;
6623
7257
  detachDBInstancesWithOptions(request: DetachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachDBInstancesResponse>;
6624
7258
  detachDBInstances(request: DetachDBInstancesRequest): Promise<DetachDBInstancesResponse>;
7259
+ /**
7260
+ * Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
7261
+ *
7262
+ * @param request DetachInstancesRequest
7263
+ * @param runtime runtime options for this request RuntimeOptions
7264
+ * @return DetachInstancesResponse
7265
+ */
6625
7266
  detachInstancesWithOptions(request: DetachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachInstancesResponse>;
7267
+ /**
7268
+ * Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
7269
+ *
7270
+ * @param request DetachInstancesRequest
7271
+ * @return DetachInstancesResponse
7272
+ */
6626
7273
  detachInstances(request: DetachInstancesRequest): Promise<DetachInstancesResponse>;
6627
7274
  detachLoadBalancersWithOptions(request: DetachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<DetachLoadBalancersResponse>;
6628
7275
  detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse>;
7276
+ detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse>;
7277
+ detachServerGroups(request: DetachServerGroupsRequest): Promise<DetachServerGroupsResponse>;
7278
+ /**
7279
+ * Detaches one or more vServer groups of a Classic Load Balancer (CLB) instance from a scaling group.
7280
+ *
7281
+ * @param request DetachVServerGroupsRequest
7282
+ * @param runtime runtime options for this request RuntimeOptions
7283
+ * @return DetachVServerGroupsResponse
7284
+ */
6629
7285
  detachVServerGroupsWithOptions(request: DetachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachVServerGroupsResponse>;
7286
+ /**
7287
+ * Detaches one or more vServer groups of a Classic Load Balancer (CLB) instance from a scaling group.
7288
+ *
7289
+ * @param request DetachVServerGroupsRequest
7290
+ * @return DetachVServerGroupsResponse
7291
+ */
6630
7292
  detachVServerGroups(request: DetachVServerGroupsRequest): Promise<DetachVServerGroupsResponse>;
6631
7293
  disableAlarmWithOptions(request: DisableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DisableAlarmResponse>;
6632
7294
  disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse>;
7295
+ /**
7296
+ * Disables a scaling group.
7297
+ *
7298
+ * @param request DisableScalingGroupRequest
7299
+ * @param runtime runtime options for this request RuntimeOptions
7300
+ * @return DisableScalingGroupResponse
7301
+ */
6633
7302
  disableScalingGroupWithOptions(request: DisableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DisableScalingGroupResponse>;
7303
+ /**
7304
+ * Disables a scaling group.
7305
+ *
7306
+ * @param request DisableScalingGroupRequest
7307
+ * @return DisableScalingGroupResponse
7308
+ */
6634
7309
  disableScalingGroup(request: DisableScalingGroupRequest): Promise<DisableScalingGroupResponse>;
6635
7310
  enableAlarmWithOptions(request: EnableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<EnableAlarmResponse>;
6636
7311
  enableAlarm(request: EnableAlarmRequest): Promise<EnableAlarmResponse>;
7312
+ /**
7313
+ * 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.
7314
+ * > 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.
7315
+ * 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.
7316
+ * * 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.
7317
+ * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
7318
+ *
7319
+ * @param request EnableScalingGroupRequest
7320
+ * @param runtime runtime options for this request RuntimeOptions
7321
+ * @return EnableScalingGroupResponse
7322
+ */
6637
7323
  enableScalingGroupWithOptions(request: EnableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<EnableScalingGroupResponse>;
7324
+ /**
7325
+ * 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.
7326
+ * > 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.
7327
+ * 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.
7328
+ * * 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.
7329
+ * * If the value of the TotalCapactiy parameter is greater than the value of the MaxSize parameter, the call fails.
7330
+ *
7331
+ * @param request EnableScalingGroupRequest
7332
+ * @return EnableScalingGroupResponse
7333
+ */
6638
7334
  enableScalingGroup(request: EnableScalingGroupRequest): Promise<EnableScalingGroupResponse>;
7335
+ /**
7336
+ * * If you call the operation to set an Elastic Compute Service (ECS) instance in a scaling group that is associated with a Server Load Balancer (SLB) instance to the Standby state, the weight of the ECS instance as a backend server of the SLB instance is set to 0.
7337
+ * * You can remove an ECS instance that is in the Standby state from a scaling group and release the instance.
7338
+ * * When scale-in activities are triggered by changes in the number of scaling groups or by event-triggered tasks, the ECS instances that are in the Standby state are not removed from the scaling groups.
7339
+ * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, such as in the Stopping or Restarting state, Auto Scaling does not update the health check status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health check status of the ECS instance only when the ECS instance is no longer in the Standby state.
7340
+ *
7341
+ * @param request EnterStandbyRequest
7342
+ * @param runtime runtime options for this request RuntimeOptions
7343
+ * @return EnterStandbyResponse
7344
+ */
6639
7345
  enterStandbyWithOptions(request: EnterStandbyRequest, runtime: $Util.RuntimeOptions): Promise<EnterStandbyResponse>;
7346
+ /**
7347
+ * * If you call the operation to set an Elastic Compute Service (ECS) instance in a scaling group that is associated with a Server Load Balancer (SLB) instance to the Standby state, the weight of the ECS instance as a backend server of the SLB instance is set to 0.
7348
+ * * You can remove an ECS instance that is in the Standby state from a scaling group and release the instance.
7349
+ * * When scale-in activities are triggered by changes in the number of scaling groups or by event-triggered tasks, the ECS instances that are in the Standby state are not removed from the scaling groups.
7350
+ * * If Auto Scaling considers an ECS instance that is in the Standby state unhealthy, such as in the Stopping or Restarting state, Auto Scaling does not update the health check status of the ECS instance or trigger scale-in activities to remove the ECS instance from the scaling group. Auto Scaling updates the health check status of the ECS instance only when the ECS instance is no longer in the Standby state.
7351
+ *
7352
+ * @param request EnterStandbyRequest
7353
+ * @return EnterStandbyResponse
7354
+ */
6640
7355
  enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse>;
7356
+ /**
7357
+ * Executes a scaling rule.
7358
+ *
7359
+ * @param request ExecuteScalingRuleRequest
7360
+ * @param runtime runtime options for this request RuntimeOptions
7361
+ * @return ExecuteScalingRuleResponse
7362
+ */
6641
7363
  executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse>;
7364
+ /**
7365
+ * Executes a scaling rule.
7366
+ *
7367
+ * @param request ExecuteScalingRuleRequest
7368
+ * @return ExecuteScalingRuleResponse
7369
+ */
6642
7370
  executeScalingRule(request: ExecuteScalingRuleRequest): Promise<ExecuteScalingRuleResponse>;
7371
+ /**
7372
+ * If the scaling group is associated with a load balancing instance, the ECS instance weight will be set to the weight value defined in the scaling configuration.
7373
+ *
7374
+ * @param request ExitStandbyRequest
7375
+ * @param runtime runtime options for this request RuntimeOptions
7376
+ * @return ExitStandbyResponse
7377
+ */
6643
7378
  exitStandbyWithOptions(request: ExitStandbyRequest, runtime: $Util.RuntimeOptions): Promise<ExitStandbyResponse>;
7379
+ /**
7380
+ * If the scaling group is associated with a load balancing instance, the ECS instance weight will be set to the weight value defined in the scaling configuration.
7381
+ *
7382
+ * @param request ExitStandbyRequest
7383
+ * @return ExitStandbyResponse
7384
+ */
6644
7385
  exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse>;
6645
7386
  listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse>;
6646
7387
  listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
@@ -6648,37 +7389,221 @@ export default class Client extends OpenApi {
6648
7389
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
6649
7390
  listTagValuesWithOptions(request: ListTagValuesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagValuesResponse>;
6650
7391
  listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
7392
+ /**
7393
+ * Modifies an event-triggered task.
7394
+ *
7395
+ * @param request ModifyAlarmRequest
7396
+ * @param runtime runtime options for this request RuntimeOptions
7397
+ * @return ModifyAlarmResponse
7398
+ */
6651
7399
  modifyAlarmWithOptions(request: ModifyAlarmRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAlarmResponse>;
7400
+ /**
7401
+ * Modifies an event-triggered task.
7402
+ *
7403
+ * @param request ModifyAlarmRequest
7404
+ * @return ModifyAlarmResponse
7405
+ */
6652
7406
  modifyAlarm(request: ModifyAlarmRequest): Promise<ModifyAlarmResponse>;
7407
+ /**
7408
+ * 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.
7409
+ *
7410
+ * @param request ModifyEciScalingConfigurationRequest
7411
+ * @param runtime runtime options for this request RuntimeOptions
7412
+ * @return ModifyEciScalingConfigurationResponse
7413
+ */
6653
7414
  modifyEciScalingConfigurationWithOptions(request: ModifyEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEciScalingConfigurationResponse>;
7415
+ /**
7416
+ * 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.
7417
+ *
7418
+ * @param request ModifyEciScalingConfigurationRequest
7419
+ * @return ModifyEciScalingConfigurationResponse
7420
+ */
6654
7421
  modifyEciScalingConfiguration(request: ModifyEciScalingConfigurationRequest): Promise<ModifyEciScalingConfigurationResponse>;
7422
+ /**
7423
+ * Modifies a lifecycle hook.
7424
+ *
7425
+ * @param request ModifyLifecycleHookRequest
7426
+ * @param runtime runtime options for this request RuntimeOptions
7427
+ * @return ModifyLifecycleHookResponse
7428
+ */
6655
7429
  modifyLifecycleHookWithOptions(request: ModifyLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLifecycleHookResponse>;
7430
+ /**
7431
+ * Modifies a lifecycle hook.
7432
+ *
7433
+ * @param request ModifyLifecycleHookRequest
7434
+ * @return ModifyLifecycleHookResponse
7435
+ */
6656
7436
  modifyLifecycleHook(request: ModifyLifecycleHookRequest): Promise<ModifyLifecycleHookResponse>;
6657
7437
  modifyNotificationConfigurationWithOptions(request: ModifyNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNotificationConfigurationResponse>;
6658
7438
  modifyNotificationConfiguration(request: ModifyNotificationConfigurationRequest): Promise<ModifyNotificationConfigurationResponse>;
7439
+ /**
7440
+ * 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.
7441
+ *
7442
+ * @param tmpReq ModifyScalingConfigurationRequest
7443
+ * @param runtime runtime options for this request RuntimeOptions
7444
+ * @return ModifyScalingConfigurationResponse
7445
+ */
6659
7446
  modifyScalingConfigurationWithOptions(tmpReq: ModifyScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingConfigurationResponse>;
7447
+ /**
7448
+ * 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.
7449
+ *
7450
+ * @param request ModifyScalingConfigurationRequest
7451
+ * @return ModifyScalingConfigurationResponse
7452
+ */
6660
7453
  modifyScalingConfiguration(request: ModifyScalingConfigurationRequest): Promise<ModifyScalingConfigurationResponse>;
7454
+ /**
7455
+ * Modifies a scaling group.
7456
+ *
7457
+ * @param request ModifyScalingGroupRequest
7458
+ * @param runtime runtime options for this request RuntimeOptions
7459
+ * @return ModifyScalingGroupResponse
7460
+ */
6661
7461
  modifyScalingGroupWithOptions(request: ModifyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingGroupResponse>;
7462
+ /**
7463
+ * Modifies a scaling group.
7464
+ *
7465
+ * @param request ModifyScalingGroupRequest
7466
+ * @return ModifyScalingGroupResponse
7467
+ */
6662
7468
  modifyScalingGroup(request: ModifyScalingGroupRequest): Promise<ModifyScalingGroupResponse>;
6663
7469
  modifyScalingRuleWithOptions(request: ModifyScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingRuleResponse>;
6664
7470
  modifyScalingRule(request: ModifyScalingRuleRequest): Promise<ModifyScalingRuleResponse>;
7471
+ /**
7472
+ * Modifies a scheduled task.
7473
+ *
7474
+ * @param request ModifyScheduledTaskRequest
7475
+ * @param runtime runtime options for this request RuntimeOptions
7476
+ * @return ModifyScheduledTaskResponse
7477
+ */
6665
7478
  modifyScheduledTaskWithOptions(request: ModifyScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScheduledTaskResponse>;
7479
+ /**
7480
+ * Modifies a scheduled task.
7481
+ *
7482
+ * @param request ModifyScheduledTaskRequest
7483
+ * @return ModifyScheduledTaskResponse
7484
+ */
6666
7485
  modifyScheduledTask(request: ModifyScheduledTaskRequest): Promise<ModifyScheduledTaskResponse>;
7486
+ /**
7487
+ * Rebalances Elastic Compute Service (ECS) instances in a multi-zone scaling group across zones.
7488
+ *
7489
+ * @param request RebalanceInstancesRequest
7490
+ * @param runtime runtime options for this request RuntimeOptions
7491
+ * @return RebalanceInstancesResponse
7492
+ */
6667
7493
  rebalanceInstancesWithOptions(request: RebalanceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebalanceInstancesResponse>;
7494
+ /**
7495
+ * Rebalances Elastic Compute Service (ECS) instances in a multi-zone scaling group across zones.
7496
+ *
7497
+ * @param request RebalanceInstancesRequest
7498
+ * @return RebalanceInstancesResponse
7499
+ */
6668
7500
  rebalanceInstances(request: RebalanceInstancesRequest): Promise<RebalanceInstancesResponse>;
7501
+ /**
7502
+ * Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
7503
+ *
7504
+ * @param request RecordLifecycleActionHeartbeatRequest
7505
+ * @param runtime runtime options for this request RuntimeOptions
7506
+ * @return RecordLifecycleActionHeartbeatResponse
7507
+ */
6669
7508
  recordLifecycleActionHeartbeatWithOptions(request: RecordLifecycleActionHeartbeatRequest, runtime: $Util.RuntimeOptions): Promise<RecordLifecycleActionHeartbeatResponse>;
7509
+ /**
7510
+ * Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
7511
+ *
7512
+ * @param request RecordLifecycleActionHeartbeatRequest
7513
+ * @return RecordLifecycleActionHeartbeatResponse
7514
+ */
6670
7515
  recordLifecycleActionHeartbeat(request: RecordLifecycleActionHeartbeatRequest): Promise<RecordLifecycleActionHeartbeatResponse>;
7516
+ /**
7517
+ * * Before you call this operation, make sure that the following requirements are met:
7518
+ * * The scaling group is in the Active state.
7519
+ * * No scaling activity is in progress within the scaling group.
7520
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
7521
+ * * 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.
7522
+ * * 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.
7523
+ * * 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.
7524
+ * 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.
7525
+ *
7526
+ * @param request RemoveInstancesRequest
7527
+ * @param runtime runtime options for this request RuntimeOptions
7528
+ * @return RemoveInstancesResponse
7529
+ */
6671
7530
  removeInstancesWithOptions(request: RemoveInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveInstancesResponse>;
7531
+ /**
7532
+ * * Before you call this operation, make sure that the following requirements are met:
7533
+ * * The scaling group is in the Active state.
7534
+ * * No scaling activity is in progress within the scaling group.
7535
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
7536
+ * * 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.
7537
+ * * 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.
7538
+ * * 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.
7539
+ * 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.
7540
+ *
7541
+ * @param request RemoveInstancesRequest
7542
+ * @return RemoveInstancesResponse
7543
+ */
6672
7544
  removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse>;
6673
7545
  resumeProcessesWithOptions(request: ResumeProcessesRequest, runtime: $Util.RuntimeOptions): Promise<ResumeProcessesResponse>;
6674
7546
  resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
7547
+ /**
7548
+ * 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:
7549
+ * * The following conditions must be met:
7550
+ * * The scaling group is in the Active state.
7551
+ * * No scaling activities in the scaling group are in progress.
7552
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7553
+ * * 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.
7554
+ * * 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.
7555
+ * 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.
7556
+ *
7557
+ * @param request ScaleWithAdjustmentRequest
7558
+ * @param runtime runtime options for this request RuntimeOptions
7559
+ * @return ScaleWithAdjustmentResponse
7560
+ */
6675
7561
  scaleWithAdjustmentWithOptions(request: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse>;
7562
+ /**
7563
+ * 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:
7564
+ * * The following conditions must be met:
7565
+ * * The scaling group is in the Active state.
7566
+ * * No scaling activities in the scaling group are in progress.
7567
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7568
+ * * 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.
7569
+ * * 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.
7570
+ * 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.
7571
+ *
7572
+ * @param request ScaleWithAdjustmentRequest
7573
+ * @return ScaleWithAdjustmentResponse
7574
+ */
6676
7575
  scaleWithAdjustment(request: ScaleWithAdjustmentRequest): Promise<ScaleWithAdjustmentResponse>;
6677
7576
  setGroupDeletionProtectionWithOptions(request: SetGroupDeletionProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetGroupDeletionProtectionResponse>;
6678
7577
  setGroupDeletionProtection(request: SetGroupDeletionProtectionRequest): Promise<SetGroupDeletionProtectionResponse>;
7578
+ /**
7579
+ * Configures the health check feature for Elastic Compute Service (ECS) instances.
7580
+ *
7581
+ * @param request SetInstanceHealthRequest
7582
+ * @param runtime runtime options for this request RuntimeOptions
7583
+ * @return SetInstanceHealthResponse
7584
+ */
6679
7585
  setInstanceHealthWithOptions(request: SetInstanceHealthRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceHealthResponse>;
7586
+ /**
7587
+ * Configures the health check feature for Elastic Compute Service (ECS) instances.
7588
+ *
7589
+ * @param request SetInstanceHealthRequest
7590
+ * @return SetInstanceHealthResponse
7591
+ */
6680
7592
  setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse>;
7593
+ /**
7594
+ * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
7595
+ *
7596
+ * @param request SetInstancesProtectionRequest
7597
+ * @param runtime runtime options for this request RuntimeOptions
7598
+ * @return SetInstancesProtectionResponse
7599
+ */
6681
7600
  setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse>;
7601
+ /**
7602
+ * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
7603
+ *
7604
+ * @param request SetInstancesProtectionRequest
7605
+ * @return SetInstancesProtectionResponse
7606
+ */
6682
7607
  setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse>;
6683
7608
  suspendProcessesWithOptions(request: SuspendProcessesRequest, runtime: $Util.RuntimeOptions): Promise<SuspendProcessesResponse>;
6684
7609
  suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse>;