@alicloud/ess20220222 1.0.2 → 1.0.4

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
@@ -151,6 +151,7 @@ export declare class AttachLoadBalancersRequest extends $tea.Model {
151
151
  async?: boolean;
152
152
  clientToken?: string;
153
153
  forceAttach?: boolean;
154
+ loadBalancerConfigs?: AttachLoadBalancersRequestLoadBalancerConfigs[];
154
155
  loadBalancers?: string[];
155
156
  ownerId?: number;
156
157
  resourceOwnerAccount?: string;
@@ -194,6 +195,53 @@ export declare class AttachLoadBalancersResponse extends $tea.Model {
194
195
  [key: string]: any;
195
196
  });
196
197
  }
198
+ export declare class AttachServerGroupsRequest extends $tea.Model {
199
+ clientToken?: string;
200
+ forceAttach?: boolean;
201
+ ownerId?: number;
202
+ regionId?: string;
203
+ resourceOwnerAccount?: string;
204
+ scalingGroupId?: string;
205
+ serverGroups?: AttachServerGroupsRequestServerGroups[];
206
+ static names(): {
207
+ [key: string]: string;
208
+ };
209
+ static types(): {
210
+ [key: string]: any;
211
+ };
212
+ constructor(map?: {
213
+ [key: string]: any;
214
+ });
215
+ }
216
+ export declare class AttachServerGroupsResponseBody extends $tea.Model {
217
+ requestId?: string;
218
+ scalingActivityId?: string;
219
+ static names(): {
220
+ [key: string]: string;
221
+ };
222
+ static types(): {
223
+ [key: string]: any;
224
+ };
225
+ constructor(map?: {
226
+ [key: string]: any;
227
+ });
228
+ }
229
+ export declare class AttachServerGroupsResponse extends $tea.Model {
230
+ headers: {
231
+ [key: string]: string;
232
+ };
233
+ statusCode: number;
234
+ body: AttachServerGroupsResponseBody;
235
+ static names(): {
236
+ [key: string]: string;
237
+ };
238
+ static types(): {
239
+ [key: string]: any;
240
+ };
241
+ constructor(map?: {
242
+ [key: string]: any;
243
+ });
244
+ }
197
245
  export declare class AttachVServerGroupsRequest extends $tea.Model {
198
246
  clientToken?: string;
199
247
  forceAttach?: boolean;
@@ -240,6 +288,51 @@ export declare class AttachVServerGroupsResponse extends $tea.Model {
240
288
  [key: string]: any;
241
289
  });
242
290
  }
291
+ export declare class ChangeResourceGroupRequest extends $tea.Model {
292
+ newResourceGroupId?: string;
293
+ ownerId?: number;
294
+ regionId?: string;
295
+ resourceId?: string;
296
+ resourceOwnerAccount?: string;
297
+ resourceType?: string;
298
+ static names(): {
299
+ [key: string]: string;
300
+ };
301
+ static types(): {
302
+ [key: string]: any;
303
+ };
304
+ constructor(map?: {
305
+ [key: string]: any;
306
+ });
307
+ }
308
+ export declare class ChangeResourceGroupResponseBody extends $tea.Model {
309
+ requestId?: string;
310
+ static names(): {
311
+ [key: string]: string;
312
+ };
313
+ static types(): {
314
+ [key: string]: any;
315
+ };
316
+ constructor(map?: {
317
+ [key: string]: any;
318
+ });
319
+ }
320
+ export declare class ChangeResourceGroupResponse extends $tea.Model {
321
+ headers: {
322
+ [key: string]: string;
323
+ };
324
+ statusCode: number;
325
+ body: ChangeResourceGroupResponseBody;
326
+ static names(): {
327
+ [key: string]: string;
328
+ };
329
+ static types(): {
330
+ [key: string]: any;
331
+ };
332
+ constructor(map?: {
333
+ [key: string]: any;
334
+ });
335
+ }
243
336
  export declare class CompleteLifecycleActionRequest extends $tea.Model {
244
337
  clientToken?: string;
245
338
  lifecycleActionResult?: string;
@@ -526,6 +619,7 @@ export declare class CreateNotificationConfigurationResponse extends $tea.Model
526
619
  });
527
620
  }
528
621
  export declare class CreateScalingConfigurationRequest extends $tea.Model {
622
+ imageOptions?: CreateScalingConfigurationRequestImageOptions;
529
623
  privatePoolOptions?: CreateScalingConfigurationRequestPrivatePoolOptions;
530
624
  systemDisk?: CreateScalingConfigurationRequestSystemDisk;
531
625
  affinity?: string;
@@ -589,6 +683,7 @@ export declare class CreateScalingConfigurationRequest extends $tea.Model {
589
683
  });
590
684
  }
591
685
  export declare class CreateScalingConfigurationShrinkRequest extends $tea.Model {
686
+ imageOptions?: CreateScalingConfigurationShrinkRequestImageOptions;
592
687
  privatePoolOptions?: CreateScalingConfigurationShrinkRequestPrivatePoolOptions;
593
688
  systemDisk?: CreateScalingConfigurationShrinkRequestSystemDisk;
594
689
  affinity?: string;
@@ -697,6 +792,7 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
697
792
  launchTemplateOverrides?: CreateScalingGroupRequestLaunchTemplateOverrides[];
698
793
  launchTemplateVersion?: string;
699
794
  lifecycleHooks?: CreateScalingGroupRequestLifecycleHooks[];
795
+ loadBalancerConfigs?: CreateScalingGroupRequestLoadBalancerConfigs[];
700
796
  loadBalancerIds?: string;
701
797
  maxInstanceLifetime?: number;
702
798
  maxSize?: number;
@@ -708,9 +804,11 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
708
804
  ownerId?: number;
709
805
  regionId?: string;
710
806
  removalPolicies?: string[];
807
+ resourceGroupId?: string;
711
808
  resourceOwnerAccount?: string;
712
809
  scalingGroupName?: string;
713
810
  scalingPolicy?: string;
811
+ serverGroups?: CreateScalingGroupRequestServerGroups[];
714
812
  spotAllocationStrategy?: string;
715
813
  spotInstancePools?: number;
716
814
  spotInstanceRemedy?: boolean;
@@ -761,6 +859,7 @@ export declare class CreateScalingGroupResponse extends $tea.Model {
761
859
  export declare class CreateScalingRuleRequest extends $tea.Model {
762
860
  adjustmentType?: string;
763
861
  adjustmentValue?: number;
862
+ alarmDimensions?: CreateScalingRuleRequestAlarmDimensions[];
764
863
  cooldown?: number;
765
864
  disableScaleIn?: boolean;
766
865
  estimatedInstanceWarmup?: number;
@@ -1505,6 +1604,7 @@ export declare class DescribeLimitationResponseBody extends $tea.Model {
1505
1604
  maxNumberOfLoadBalancers?: number;
1506
1605
  maxNumberOfMaxSize?: number;
1507
1606
  maxNumberOfMinSize?: number;
1607
+ maxNumberOfNlbServerGroup?: number;
1508
1608
  maxNumberOfNotificationConfigurations?: number;
1509
1609
  maxNumberOfScalingConfigurations?: number;
1510
1610
  maxNumberOfScalingGroups?: number;
@@ -1827,6 +1927,7 @@ export declare class DescribeScalingGroupsRequest extends $tea.Model {
1827
1927
  pageNumber?: number;
1828
1928
  pageSize?: number;
1829
1929
  regionId?: string;
1930
+ resourceGroupId?: string;
1830
1931
  resourceOwnerAccount?: string;
1831
1932
  resourceOwnerId?: number;
1832
1933
  scalingGroupIds?: string[];
@@ -2232,6 +2333,53 @@ export declare class DetachLoadBalancersResponse extends $tea.Model {
2232
2333
  [key: string]: any;
2233
2334
  });
2234
2335
  }
2336
+ export declare class DetachServerGroupsRequest extends $tea.Model {
2337
+ clientToken?: string;
2338
+ forceDetach?: boolean;
2339
+ ownerId?: number;
2340
+ regionId?: string;
2341
+ resourceOwnerAccount?: string;
2342
+ scalingGroupId?: string;
2343
+ serverGroups?: DetachServerGroupsRequestServerGroups[];
2344
+ static names(): {
2345
+ [key: string]: string;
2346
+ };
2347
+ static types(): {
2348
+ [key: string]: any;
2349
+ };
2350
+ constructor(map?: {
2351
+ [key: string]: any;
2352
+ });
2353
+ }
2354
+ export declare class DetachServerGroupsResponseBody extends $tea.Model {
2355
+ requestId?: string;
2356
+ scalingActivityId?: string;
2357
+ static names(): {
2358
+ [key: string]: string;
2359
+ };
2360
+ static types(): {
2361
+ [key: string]: any;
2362
+ };
2363
+ constructor(map?: {
2364
+ [key: string]: any;
2365
+ });
2366
+ }
2367
+ export declare class DetachServerGroupsResponse extends $tea.Model {
2368
+ headers: {
2369
+ [key: string]: string;
2370
+ };
2371
+ statusCode: number;
2372
+ body: DetachServerGroupsResponseBody;
2373
+ static names(): {
2374
+ [key: string]: string;
2375
+ };
2376
+ static types(): {
2377
+ [key: string]: any;
2378
+ };
2379
+ constructor(map?: {
2380
+ [key: string]: any;
2381
+ });
2382
+ }
2235
2383
  export declare class DetachVServerGroupsRequest extends $tea.Model {
2236
2384
  clientToken?: string;
2237
2385
  forceDetach?: boolean;
@@ -2812,6 +2960,7 @@ export declare class ModifyEciScalingConfigurationRequest extends $tea.Model {
2812
2960
  autoMatchImageCache?: boolean;
2813
2961
  containerGroupName?: string;
2814
2962
  containers?: ModifyEciScalingConfigurationRequestContainers[];
2963
+ containersUpdateType?: string;
2815
2964
  costOptimization?: boolean;
2816
2965
  cpu?: number;
2817
2966
  cpuOptionsCore?: number;
@@ -2986,6 +3135,7 @@ export declare class ModifyNotificationConfigurationResponse extends $tea.Model
2986
3135
  });
2987
3136
  }
2988
3137
  export declare class ModifyScalingConfigurationRequest extends $tea.Model {
3138
+ imageOptions?: ModifyScalingConfigurationRequestImageOptions;
2989
3139
  privatePoolOptions?: ModifyScalingConfigurationRequestPrivatePoolOptions;
2990
3140
  systemDisk?: ModifyScalingConfigurationRequestSystemDisk;
2991
3141
  affinity?: string;
@@ -3045,6 +3195,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
3045
3195
  });
3046
3196
  }
3047
3197
  export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
3198
+ imageOptions?: ModifyScalingConfigurationShrinkRequestImageOptions;
3048
3199
  privatePoolOptions?: ModifyScalingConfigurationShrinkRequestPrivatePoolOptions;
3049
3200
  systemDisk?: ModifyScalingConfigurationShrinkRequestSystemDisk;
3050
3201
  affinity?: string;
@@ -3200,6 +3351,7 @@ export declare class ModifyScalingGroupResponse extends $tea.Model {
3200
3351
  export declare class ModifyScalingRuleRequest extends $tea.Model {
3201
3352
  adjustmentType?: string;
3202
3353
  adjustmentValue?: number;
3354
+ alarmDimensions?: ModifyScalingRuleRequestAlarmDimensions[];
3203
3355
  cooldown?: number;
3204
3356
  disableScaleIn?: boolean;
3205
3357
  estimatedInstanceWarmup?: number;
@@ -3521,6 +3673,7 @@ export declare class ScaleWithAdjustmentRequest extends $tea.Model {
3521
3673
  });
3522
3674
  }
3523
3675
  export declare class ScaleWithAdjustmentResponseBody extends $tea.Model {
3676
+ activityType?: string;
3524
3677
  requestId?: string;
3525
3678
  scalingActivityId?: string;
3526
3679
  static names(): {
@@ -3916,6 +4069,34 @@ export declare class AttachAlbServerGroupsRequestAlbServerGroups extends $tea.Mo
3916
4069
  [key: string]: any;
3917
4070
  });
3918
4071
  }
4072
+ export declare class AttachLoadBalancersRequestLoadBalancerConfigs extends $tea.Model {
4073
+ loadBalancerId?: string;
4074
+ weight?: number;
4075
+ static names(): {
4076
+ [key: string]: string;
4077
+ };
4078
+ static types(): {
4079
+ [key: string]: any;
4080
+ };
4081
+ constructor(map?: {
4082
+ [key: string]: any;
4083
+ });
4084
+ }
4085
+ export declare class AttachServerGroupsRequestServerGroups extends $tea.Model {
4086
+ port?: number;
4087
+ serverGroupId?: string;
4088
+ type?: string;
4089
+ weight?: number;
4090
+ static names(): {
4091
+ [key: string]: string;
4092
+ };
4093
+ static types(): {
4094
+ [key: string]: any;
4095
+ };
4096
+ constructor(map?: {
4097
+ [key: string]: any;
4098
+ });
4099
+ }
3919
4100
  export declare class AttachVServerGroupsRequestVServerGroupsVServerGroupAttributes extends $tea.Model {
3920
4101
  port?: number;
3921
4102
  VServerGroupId?: string;
@@ -4026,13 +4207,13 @@ export declare class CreateEciScalingConfigurationRequestContainersLivenessProbe
4026
4207
  });
4027
4208
  }
4028
4209
  export declare class CreateEciScalingConfigurationRequestContainersLivenessProbe extends $tea.Model {
4029
- exec: CreateEciScalingConfigurationRequestContainersLivenessProbeExec;
4210
+ exec?: CreateEciScalingConfigurationRequestContainersLivenessProbeExec;
4030
4211
  failureThreshold?: number;
4031
- httpGet: CreateEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
4212
+ httpGet?: CreateEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
4032
4213
  initialDelaySeconds?: number;
4033
4214
  periodSeconds?: number;
4034
4215
  successThreshold?: number;
4035
- tcpSocket: CreateEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
4216
+ tcpSocket?: CreateEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
4036
4217
  timeoutSeconds?: number;
4037
4218
  static names(): {
4038
4219
  [key: string]: string;
@@ -4083,13 +4264,13 @@ export declare class CreateEciScalingConfigurationRequestContainersReadinessProb
4083
4264
  });
4084
4265
  }
4085
4266
  export declare class CreateEciScalingConfigurationRequestContainersReadinessProbe extends $tea.Model {
4086
- exec: CreateEciScalingConfigurationRequestContainersReadinessProbeExec;
4267
+ exec?: CreateEciScalingConfigurationRequestContainersReadinessProbeExec;
4087
4268
  failureThreshold?: number;
4088
- httpGet: CreateEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
4269
+ httpGet?: CreateEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
4089
4270
  initialDelaySeconds?: number;
4090
4271
  periodSeconds?: number;
4091
4272
  successThreshold?: number;
4092
- tcpSocket: CreateEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
4273
+ tcpSocket?: CreateEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
4093
4274
  timeoutSeconds?: number;
4094
4275
  static names(): {
4095
4276
  [key: string]: string;
@@ -4114,7 +4295,7 @@ export declare class CreateEciScalingConfigurationRequestContainersSecurityConte
4114
4295
  });
4115
4296
  }
4116
4297
  export declare class CreateEciScalingConfigurationRequestContainersSecurityContext extends $tea.Model {
4117
- capability: CreateEciScalingConfigurationRequestContainersSecurityContextCapability;
4298
+ capability?: CreateEciScalingConfigurationRequestContainersSecurityContextCapability;
4118
4299
  readOnlyRootFilesystem?: boolean;
4119
4300
  runAsUser?: number;
4120
4301
  static names(): {
@@ -4171,9 +4352,9 @@ export declare class CreateEciScalingConfigurationRequestContainersVolumeMounts
4171
4352
  });
4172
4353
  }
4173
4354
  export declare class CreateEciScalingConfigurationRequestContainers extends $tea.Model {
4174
- livenessProbe: CreateEciScalingConfigurationRequestContainersLivenessProbe;
4175
- readinessProbe: CreateEciScalingConfigurationRequestContainersReadinessProbe;
4176
- securityContext: CreateEciScalingConfigurationRequestContainersSecurityContext;
4355
+ livenessProbe?: CreateEciScalingConfigurationRequestContainersLivenessProbe;
4356
+ readinessProbe?: CreateEciScalingConfigurationRequestContainersReadinessProbe;
4357
+ securityContext?: CreateEciScalingConfigurationRequestContainersSecurityContext;
4177
4358
  args?: string[];
4178
4359
  commands?: string[];
4179
4360
  cpu?: number;
@@ -4252,7 +4433,7 @@ export declare class CreateEciScalingConfigurationRequestInitContainersSecurityC
4252
4433
  });
4253
4434
  }
4254
4435
  export declare class CreateEciScalingConfigurationRequestInitContainersSecurityContext extends $tea.Model {
4255
- capability: CreateEciScalingConfigurationRequestInitContainersSecurityContextCapability;
4436
+ capability?: CreateEciScalingConfigurationRequestInitContainersSecurityContextCapability;
4256
4437
  readOnlyRootFilesystem?: boolean;
4257
4438
  runAsUser?: number;
4258
4439
  static names(): {
@@ -4309,7 +4490,7 @@ export declare class CreateEciScalingConfigurationRequestInitContainersInitConta
4309
4490
  });
4310
4491
  }
4311
4492
  export declare class CreateEciScalingConfigurationRequestInitContainers extends $tea.Model {
4312
- securityContext: CreateEciScalingConfigurationRequestInitContainersSecurityContext;
4493
+ securityContext?: CreateEciScalingConfigurationRequestInitContainersSecurityContext;
4313
4494
  args?: string[];
4314
4495
  commands?: string[];
4315
4496
  cpu?: number;
@@ -4440,11 +4621,11 @@ export declare class CreateEciScalingConfigurationRequestVolumesConfigFileVolume
4440
4621
  });
4441
4622
  }
4442
4623
  export declare class CreateEciScalingConfigurationRequestVolumes extends $tea.Model {
4443
- diskVolume: CreateEciScalingConfigurationRequestVolumesDiskVolume;
4444
- emptyDirVolume: CreateEciScalingConfigurationRequestVolumesEmptyDirVolume;
4445
- flexVolume: CreateEciScalingConfigurationRequestVolumesFlexVolume;
4446
- hostPathVolume: CreateEciScalingConfigurationRequestVolumesHostPathVolume;
4447
- NFSVolume: CreateEciScalingConfigurationRequestVolumesNFSVolume;
4624
+ diskVolume?: CreateEciScalingConfigurationRequestVolumesDiskVolume;
4625
+ emptyDirVolume?: CreateEciScalingConfigurationRequestVolumesEmptyDirVolume;
4626
+ flexVolume?: CreateEciScalingConfigurationRequestVolumesFlexVolume;
4627
+ hostPathVolume?: CreateEciScalingConfigurationRequestVolumesHostPathVolume;
4628
+ NFSVolume?: CreateEciScalingConfigurationRequestVolumesNFSVolume;
4448
4629
  configFileVolumeConfigFileToPaths?: CreateEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPaths[];
4449
4630
  configFileVolumeDefaultMode?: number;
4450
4631
  name?: string;
@@ -4459,6 +4640,18 @@ export declare class CreateEciScalingConfigurationRequestVolumes extends $tea.Mo
4459
4640
  [key: string]: any;
4460
4641
  });
4461
4642
  }
4643
+ export declare class CreateScalingConfigurationRequestImageOptions extends $tea.Model {
4644
+ loginAsNonRoot?: boolean;
4645
+ static names(): {
4646
+ [key: string]: string;
4647
+ };
4648
+ static types(): {
4649
+ [key: string]: any;
4650
+ };
4651
+ constructor(map?: {
4652
+ [key: string]: any;
4653
+ });
4654
+ }
4462
4655
  export declare class CreateScalingConfigurationRequestPrivatePoolOptions extends $tea.Model {
4463
4656
  id?: string;
4464
4657
  matchCriteria?: string;
@@ -4563,6 +4756,18 @@ export declare class CreateScalingConfigurationRequestSpotPriceLimits extends $t
4563
4756
  [key: string]: any;
4564
4757
  });
4565
4758
  }
4759
+ export declare class CreateScalingConfigurationShrinkRequestImageOptions extends $tea.Model {
4760
+ loginAsNonRoot?: boolean;
4761
+ static names(): {
4762
+ [key: string]: string;
4763
+ };
4764
+ static types(): {
4765
+ [key: string]: any;
4766
+ };
4767
+ constructor(map?: {
4768
+ [key: string]: any;
4769
+ });
4770
+ }
4566
4771
  export declare class CreateScalingConfigurationShrinkRequestPrivatePoolOptions extends $tea.Model {
4567
4772
  id?: string;
4568
4773
  matchCriteria?: string;
@@ -4683,6 +4888,7 @@ export declare class CreateScalingGroupRequestAlbServerGroups extends $tea.Model
4683
4888
  }
4684
4889
  export declare class CreateScalingGroupRequestLaunchTemplateOverrides extends $tea.Model {
4685
4890
  instanceType?: string;
4891
+ spotPriceLimit?: number;
4686
4892
  weightedCapacity?: number;
4687
4893
  static names(): {
4688
4894
  [key: string]: string;
@@ -4711,6 +4917,34 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
4711
4917
  [key: string]: any;
4712
4918
  });
4713
4919
  }
4920
+ export declare class CreateScalingGroupRequestLoadBalancerConfigs extends $tea.Model {
4921
+ loadBalancerId?: string;
4922
+ weight?: number;
4923
+ static names(): {
4924
+ [key: string]: string;
4925
+ };
4926
+ static types(): {
4927
+ [key: string]: any;
4928
+ };
4929
+ constructor(map?: {
4930
+ [key: string]: any;
4931
+ });
4932
+ }
4933
+ export declare class CreateScalingGroupRequestServerGroups extends $tea.Model {
4934
+ port?: number;
4935
+ serverGroupId?: string;
4936
+ type?: string;
4937
+ weight?: number;
4938
+ static names(): {
4939
+ [key: string]: string;
4940
+ };
4941
+ static types(): {
4942
+ [key: string]: any;
4943
+ };
4944
+ constructor(map?: {
4945
+ [key: string]: any;
4946
+ });
4947
+ }
4714
4948
  export declare class CreateScalingGroupRequestTags extends $tea.Model {
4715
4949
  key?: string;
4716
4950
  value?: string;
@@ -4751,6 +4985,19 @@ export declare class CreateScalingGroupRequestVServerGroups extends $tea.Model {
4751
4985
  [key: string]: any;
4752
4986
  });
4753
4987
  }
4988
+ export declare class CreateScalingRuleRequestAlarmDimensions extends $tea.Model {
4989
+ dimensionKey?: string;
4990
+ dimensionValue?: string;
4991
+ static names(): {
4992
+ [key: string]: string;
4993
+ };
4994
+ static types(): {
4995
+ [key: string]: any;
4996
+ };
4997
+ constructor(map?: {
4998
+ [key: string]: any;
4999
+ });
5000
+ }
4754
5001
  export declare class CreateScalingRuleRequestStepAdjustments extends $tea.Model {
4755
5002
  metricIntervalLowerBound?: number;
4756
5003
  metricIntervalUpperBound?: number;
@@ -5231,15 +5478,26 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
5231
5478
  attachedCapacity?: string;
5232
5479
  autoCreatedCapacity?: string;
5233
5480
  cause?: string;
5481
+ createdCapacity?: number;
5482
+ createdInstances?: string[];
5234
5483
  description?: string;
5484
+ destroyedCapacity?: number;
5485
+ destroyedInstances?: string[];
5486
+ detail?: string;
5235
5487
  endTime?: string;
5488
+ errorCode?: string;
5489
+ errorMessage?: string;
5236
5490
  progress?: number;
5237
5491
  scalingActivityId?: string;
5238
5492
  scalingGroupId?: string;
5239
5493
  scalingInstanceNumber?: number;
5240
5494
  startTime?: string;
5495
+ startedCapacity?: number;
5496
+ startedInstances?: string[];
5241
5497
  statusCode?: string;
5242
5498
  statusMessage?: string;
5499
+ stoppedCapacity?: number;
5500
+ stoppedInstances?: string[];
5243
5501
  totalCapacity?: string;
5244
5502
  static names(): {
5245
5503
  [key: string]: string;
@@ -5346,7 +5604,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
5346
5604
  });
5347
5605
  }
5348
5606
  export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurations extends $tea.Model {
5349
- privatePoolOptions: DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions;
5607
+ privatePoolOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsPrivatePoolOptions;
5350
5608
  affinity?: string;
5351
5609
  cpu?: number;
5352
5610
  creationTime?: string;
@@ -5359,6 +5617,8 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
5359
5617
  imageFamily?: string;
5360
5618
  imageId?: string;
5361
5619
  imageName?: string;
5620
+ imageOptionsLoginAsNonRoot?: boolean;
5621
+ imageOwnerAlias?: string;
5362
5622
  instanceDescription?: string;
5363
5623
  instanceGeneration?: string;
5364
5624
  instanceName?: string;
@@ -5431,6 +5691,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsAlbServerGrou
5431
5691
  }
5432
5692
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides extends $tea.Model {
5433
5693
  instanceType?: string;
5694
+ spotPriceLimit?: number;
5434
5695
  weightedCapacity?: number;
5435
5696
  static names(): {
5436
5697
  [key: string]: string;
@@ -5442,6 +5703,34 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplat
5442
5703
  [key: string]: any;
5443
5704
  });
5444
5705
  }
5706
+ export declare class DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs extends $tea.Model {
5707
+ loadBalancerId?: string;
5708
+ weight?: number;
5709
+ static names(): {
5710
+ [key: string]: string;
5711
+ };
5712
+ static types(): {
5713
+ [key: string]: any;
5714
+ };
5715
+ constructor(map?: {
5716
+ [key: string]: any;
5717
+ });
5718
+ }
5719
+ export declare class DescribeScalingGroupsResponseBodyScalingGroupsServerGroups extends $tea.Model {
5720
+ port?: number;
5721
+ serverGroupId?: string;
5722
+ type?: string;
5723
+ weight?: number;
5724
+ static names(): {
5725
+ [key: string]: string;
5726
+ };
5727
+ static types(): {
5728
+ [key: string]: any;
5729
+ };
5730
+ constructor(map?: {
5731
+ [key: string]: any;
5732
+ });
5733
+ }
5445
5734
  export declare class DescribeScalingGroupsResponseBodyScalingGroupsVServerGroupsVServerGroupAttributes extends $tea.Model {
5446
5735
  port?: number;
5447
5736
  VServerGroupId?: string;
@@ -5485,11 +5774,13 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
5485
5774
  groupDeletionProtection?: boolean;
5486
5775
  groupType?: string;
5487
5776
  healthCheckType?: string;
5777
+ initCapacity?: number;
5488
5778
  isElasticStrengthInAlarm?: boolean;
5489
5779
  launchTemplateId?: string;
5490
5780
  launchTemplateOverrides?: DescribeScalingGroupsResponseBodyScalingGroupsLaunchTemplateOverrides[];
5491
5781
  launchTemplateVersion?: string;
5492
5782
  lifecycleState?: string;
5783
+ loadBalancerConfigs?: DescribeScalingGroupsResponseBodyScalingGroupsLoadBalancerConfigs[];
5493
5784
  loadBalancerIds?: string[];
5494
5785
  maxInstanceLifetime?: number;
5495
5786
  maxSize?: number;
@@ -5506,9 +5797,11 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
5506
5797
  removalPolicies?: string[];
5507
5798
  removingCapacity?: number;
5508
5799
  removingWaitCapacity?: number;
5800
+ resourceGroupId?: string;
5509
5801
  scalingGroupId?: string;
5510
5802
  scalingGroupName?: string;
5511
5803
  scalingPolicy?: string;
5804
+ serverGroups?: DescribeScalingGroupsResponseBodyScalingGroupsServerGroups[];
5512
5805
  spotAllocationStrategy?: string;
5513
5806
  spotInstancePools?: number;
5514
5807
  spotInstanceRemedy?: boolean;
@@ -5560,6 +5853,19 @@ export declare class DescribeScalingInstancesResponseBodyScalingInstances extend
5560
5853
  [key: string]: any;
5561
5854
  });
5562
5855
  }
5856
+ export declare class DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions extends $tea.Model {
5857
+ dimensionKey?: string;
5858
+ dimensionValue?: string;
5859
+ static names(): {
5860
+ [key: string]: string;
5861
+ };
5862
+ static types(): {
5863
+ [key: string]: any;
5864
+ };
5865
+ constructor(map?: {
5866
+ [key: string]: any;
5867
+ });
5868
+ }
5563
5869
  export declare class DescribeScalingRulesResponseBodyScalingRulesAlarmsDimensions extends $tea.Model {
5564
5870
  dimensionKey?: string;
5565
5871
  dimensionValue?: string;
@@ -5610,6 +5916,7 @@ export declare class DescribeScalingRulesResponseBodyScalingRulesStepAdjustments
5610
5916
  export declare class DescribeScalingRulesResponseBodyScalingRules extends $tea.Model {
5611
5917
  adjustmentType?: string;
5612
5918
  adjustmentValue?: number;
5919
+ alarmDimensions?: DescribeScalingRulesResponseBodyScalingRulesAlarmDimensions[];
5613
5920
  alarms?: DescribeScalingRulesResponseBodyScalingRulesAlarms[];
5614
5921
  cooldown?: number;
5615
5922
  disableScaleIn?: boolean;
@@ -5680,6 +5987,20 @@ export declare class DetachAlbServerGroupsRequestAlbServerGroups extends $tea.Mo
5680
5987
  [key: string]: any;
5681
5988
  });
5682
5989
  }
5990
+ export declare class DetachServerGroupsRequestServerGroups extends $tea.Model {
5991
+ port?: number;
5992
+ serverGroupId?: string;
5993
+ type?: string;
5994
+ static names(): {
5995
+ [key: string]: string;
5996
+ };
5997
+ static types(): {
5998
+ [key: string]: any;
5999
+ };
6000
+ constructor(map?: {
6001
+ [key: string]: any;
6002
+ });
6003
+ }
5683
6004
  export declare class DetachVServerGroupsRequestVServerGroupsVServerGroupAttributes extends $tea.Model {
5684
6005
  port?: number;
5685
6006
  VServerGroupId?: string;
@@ -5831,13 +6152,13 @@ export declare class ModifyEciScalingConfigurationRequestContainersLivenessProbe
5831
6152
  });
5832
6153
  }
5833
6154
  export declare class ModifyEciScalingConfigurationRequestContainersLivenessProbe extends $tea.Model {
5834
- exec: ModifyEciScalingConfigurationRequestContainersLivenessProbeExec;
6155
+ exec?: ModifyEciScalingConfigurationRequestContainersLivenessProbeExec;
5835
6156
  failureThreshold?: number;
5836
- httpGet: ModifyEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
6157
+ httpGet?: ModifyEciScalingConfigurationRequestContainersLivenessProbeHttpGet;
5837
6158
  initialDelaySeconds?: number;
5838
6159
  periodSeconds?: number;
5839
6160
  successThreshold?: number;
5840
- tcpSocket: ModifyEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
6161
+ tcpSocket?: ModifyEciScalingConfigurationRequestContainersLivenessProbeTcpSocket;
5841
6162
  timeoutSeconds?: number;
5842
6163
  static names(): {
5843
6164
  [key: string]: string;
@@ -5888,13 +6209,13 @@ export declare class ModifyEciScalingConfigurationRequestContainersReadinessProb
5888
6209
  });
5889
6210
  }
5890
6211
  export declare class ModifyEciScalingConfigurationRequestContainersReadinessProbe extends $tea.Model {
5891
- exec: ModifyEciScalingConfigurationRequestContainersReadinessProbeExec;
6212
+ exec?: ModifyEciScalingConfigurationRequestContainersReadinessProbeExec;
5892
6213
  failureThreshold?: number;
5893
- httpGet: ModifyEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
6214
+ httpGet?: ModifyEciScalingConfigurationRequestContainersReadinessProbeHttpGet;
5894
6215
  initialDelaySeconds?: number;
5895
6216
  periodSeconds?: number;
5896
6217
  successThreshold?: number;
5897
- tcpSocket: ModifyEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
6218
+ tcpSocket?: ModifyEciScalingConfigurationRequestContainersReadinessProbeTcpSocket;
5898
6219
  timeoutSeconds?: number;
5899
6220
  static names(): {
5900
6221
  [key: string]: string;
@@ -5919,7 +6240,7 @@ export declare class ModifyEciScalingConfigurationRequestContainersSecurityConte
5919
6240
  });
5920
6241
  }
5921
6242
  export declare class ModifyEciScalingConfigurationRequestContainersSecurityContext extends $tea.Model {
5922
- capability: ModifyEciScalingConfigurationRequestContainersSecurityContextCapability;
6243
+ capability?: ModifyEciScalingConfigurationRequestContainersSecurityContextCapability;
5923
6244
  readOnlyRootFilesystem?: boolean;
5924
6245
  runAsUser?: number;
5925
6246
  static names(): {
@@ -5945,7 +6266,7 @@ export declare class ModifyEciScalingConfigurationRequestContainersEnvironmentVa
5945
6266
  });
5946
6267
  }
5947
6268
  export declare class ModifyEciScalingConfigurationRequestContainersEnvironmentVars extends $tea.Model {
5948
- fieldRef: ModifyEciScalingConfigurationRequestContainersEnvironmentVarsFieldRef;
6269
+ fieldRef?: ModifyEciScalingConfigurationRequestContainersEnvironmentVarsFieldRef;
5949
6270
  key?: string;
5950
6271
  value?: string;
5951
6272
  static names(): {
@@ -5988,9 +6309,9 @@ export declare class ModifyEciScalingConfigurationRequestContainersVolumeMounts
5988
6309
  });
5989
6310
  }
5990
6311
  export declare class ModifyEciScalingConfigurationRequestContainers extends $tea.Model {
5991
- livenessProbe: ModifyEciScalingConfigurationRequestContainersLivenessProbe;
5992
- readinessProbe: ModifyEciScalingConfigurationRequestContainersReadinessProbe;
5993
- securityContext: ModifyEciScalingConfigurationRequestContainersSecurityContext;
6312
+ livenessProbe?: ModifyEciScalingConfigurationRequestContainersLivenessProbe;
6313
+ readinessProbe?: ModifyEciScalingConfigurationRequestContainersReadinessProbe;
6314
+ securityContext?: ModifyEciScalingConfigurationRequestContainersSecurityContext;
5994
6315
  args?: string[];
5995
6316
  commands?: string[];
5996
6317
  cpu?: number;
@@ -6069,7 +6390,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersSecurityC
6069
6390
  });
6070
6391
  }
6071
6392
  export declare class ModifyEciScalingConfigurationRequestInitContainersSecurityContext extends $tea.Model {
6072
- capability: ModifyEciScalingConfigurationRequestInitContainersSecurityContextCapability;
6393
+ capability?: ModifyEciScalingConfigurationRequestInitContainersSecurityContextCapability;
6073
6394
  readOnlyRootFilesystem?: boolean;
6074
6395
  runAsUser?: number;
6075
6396
  static names(): {
@@ -6095,7 +6416,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersInitConta
6095
6416
  });
6096
6417
  }
6097
6418
  export declare class ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVars extends $tea.Model {
6098
- fieldRef: ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef;
6419
+ fieldRef?: ModifyEciScalingConfigurationRequestInitContainersInitContainerEnvironmentVarsFieldRef;
6099
6420
  key?: string;
6100
6421
  value?: string;
6101
6422
  static names(): {
@@ -6138,7 +6459,7 @@ export declare class ModifyEciScalingConfigurationRequestInitContainersInitConta
6138
6459
  });
6139
6460
  }
6140
6461
  export declare class ModifyEciScalingConfigurationRequestInitContainers extends $tea.Model {
6141
- securityContext: ModifyEciScalingConfigurationRequestInitContainersSecurityContext;
6462
+ securityContext?: ModifyEciScalingConfigurationRequestInitContainersSecurityContext;
6142
6463
  args?: string[];
6143
6464
  commands?: string[];
6144
6465
  cpu?: number;
@@ -6269,11 +6590,11 @@ export declare class ModifyEciScalingConfigurationRequestVolumesConfigFileVolume
6269
6590
  });
6270
6591
  }
6271
6592
  export declare class ModifyEciScalingConfigurationRequestVolumes extends $tea.Model {
6272
- diskVolume: ModifyEciScalingConfigurationRequestVolumesDiskVolume;
6273
- emptyDirVolume: ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume;
6274
- flexVolume: ModifyEciScalingConfigurationRequestVolumesFlexVolume;
6275
- hostPathVolume: ModifyEciScalingConfigurationRequestVolumesHostPathVolume;
6276
- NFSVolume: ModifyEciScalingConfigurationRequestVolumesNFSVolume;
6593
+ diskVolume?: ModifyEciScalingConfigurationRequestVolumesDiskVolume;
6594
+ emptyDirVolume?: ModifyEciScalingConfigurationRequestVolumesEmptyDirVolume;
6595
+ flexVolume?: ModifyEciScalingConfigurationRequestVolumesFlexVolume;
6596
+ hostPathVolume?: ModifyEciScalingConfigurationRequestVolumesHostPathVolume;
6597
+ NFSVolume?: ModifyEciScalingConfigurationRequestVolumesNFSVolume;
6277
6598
  configFileVolumeConfigFileToPath?: ModifyEciScalingConfigurationRequestVolumesConfigFileVolumeConfigFileToPath[];
6278
6599
  configFileVolumeDefaultMode?: number;
6279
6600
  name?: string;
@@ -6288,6 +6609,18 @@ export declare class ModifyEciScalingConfigurationRequestVolumes extends $tea.Mo
6288
6609
  [key: string]: any;
6289
6610
  });
6290
6611
  }
6612
+ export declare class ModifyScalingConfigurationRequestImageOptions extends $tea.Model {
6613
+ loginAsNonRoot?: boolean;
6614
+ static names(): {
6615
+ [key: string]: string;
6616
+ };
6617
+ static types(): {
6618
+ [key: string]: any;
6619
+ };
6620
+ constructor(map?: {
6621
+ [key: string]: any;
6622
+ });
6623
+ }
6291
6624
  export declare class ModifyScalingConfigurationRequestPrivatePoolOptions extends $tea.Model {
6292
6625
  id?: string;
6293
6626
  matchCriteria?: string;
@@ -6392,6 +6725,18 @@ export declare class ModifyScalingConfigurationRequestSpotPriceLimits extends $t
6392
6725
  [key: string]: any;
6393
6726
  });
6394
6727
  }
6728
+ export declare class ModifyScalingConfigurationShrinkRequestImageOptions extends $tea.Model {
6729
+ loginAsNonRoot?: boolean;
6730
+ static names(): {
6731
+ [key: string]: string;
6732
+ };
6733
+ static types(): {
6734
+ [key: string]: any;
6735
+ };
6736
+ constructor(map?: {
6737
+ [key: string]: any;
6738
+ });
6739
+ }
6395
6740
  export declare class ModifyScalingConfigurationShrinkRequestPrivatePoolOptions extends $tea.Model {
6396
6741
  id?: string;
6397
6742
  matchCriteria?: string;
@@ -6498,6 +6843,7 @@ export declare class ModifyScalingConfigurationShrinkRequestSpotPriceLimits exte
6498
6843
  }
6499
6844
  export declare class ModifyScalingGroupRequestLaunchTemplateOverrides extends $tea.Model {
6500
6845
  instanceType?: string;
6846
+ spotPriceLimit?: number;
6501
6847
  weightedCapacity?: number;
6502
6848
  static names(): {
6503
6849
  [key: string]: string;
@@ -6509,6 +6855,19 @@ export declare class ModifyScalingGroupRequestLaunchTemplateOverrides extends $t
6509
6855
  [key: string]: any;
6510
6856
  });
6511
6857
  }
6858
+ export declare class ModifyScalingRuleRequestAlarmDimensions extends $tea.Model {
6859
+ dimensionKey?: string;
6860
+ dimensionValue?: string;
6861
+ static names(): {
6862
+ [key: string]: string;
6863
+ };
6864
+ static types(): {
6865
+ [key: string]: any;
6866
+ };
6867
+ constructor(map?: {
6868
+ [key: string]: any;
6869
+ });
6870
+ }
6512
6871
  export declare class ModifyScalingRuleRequestStepAdjustments extends $tea.Model {
6513
6872
  metricIntervalLowerBound?: number;
6514
6873
  metricIntervalUpperBound?: number;
@@ -6542,47 +6901,372 @@ export default class Client extends OpenApi {
6542
6901
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
6543
6902
  [key: string]: string;
6544
6903
  }, endpoint: string): string;
6904
+ /**
6905
+ * Associates one or more Application Load Balancer (ALB) server groups with a scaling group.
6906
+ *
6907
+ * @param request AttachAlbServerGroupsRequest
6908
+ * @param runtime runtime options for this request RuntimeOptions
6909
+ * @return AttachAlbServerGroupsResponse
6910
+ */
6545
6911
  attachAlbServerGroupsWithOptions(request: AttachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachAlbServerGroupsResponse>;
6912
+ /**
6913
+ * Associates one or more Application Load Balancer (ALB) server groups with a scaling group.
6914
+ *
6915
+ * @param request AttachAlbServerGroupsRequest
6916
+ * @return AttachAlbServerGroupsResponse
6917
+ */
6546
6918
  attachAlbServerGroups(request: AttachAlbServerGroupsRequest): Promise<AttachAlbServerGroupsResponse>;
6919
+ /**
6920
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
6921
+ *
6922
+ * @param request AttachDBInstancesRequest
6923
+ * @param runtime runtime options for this request RuntimeOptions
6924
+ * @return AttachDBInstancesResponse
6925
+ */
6547
6926
  attachDBInstancesWithOptions(request: AttachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachDBInstancesResponse>;
6927
+ /**
6928
+ * Associates one or more ApsaraDB RDS instances with a scaling group.
6929
+ *
6930
+ * @param request AttachDBInstancesRequest
6931
+ * @return AttachDBInstancesResponse
6932
+ */
6548
6933
  attachDBInstances(request: AttachDBInstancesRequest): Promise<AttachDBInstancesResponse>;
6934
+ /**
6935
+ * Manually adds Elastic Compute Service (ECS) instances or elastic container instances to a scaling group.
6936
+ *
6937
+ * @param request AttachInstancesRequest
6938
+ * @param runtime runtime options for this request RuntimeOptions
6939
+ * @return AttachInstancesResponse
6940
+ */
6549
6941
  attachInstancesWithOptions(request: AttachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<AttachInstancesResponse>;
6942
+ /**
6943
+ * Manually adds Elastic Compute Service (ECS) instances or elastic container instances to a scaling group.
6944
+ *
6945
+ * @param request AttachInstancesRequest
6946
+ * @return AttachInstancesResponse
6947
+ */
6550
6948
  attachInstances(request: AttachInstancesRequest): Promise<AttachInstancesResponse>;
6949
+ /**
6950
+ * Attaches one or more Classic Load Balancer (CLB) instances to a scaling group.
6951
+ *
6952
+ * @param request AttachLoadBalancersRequest
6953
+ * @param runtime runtime options for this request RuntimeOptions
6954
+ * @return AttachLoadBalancersResponse
6955
+ */
6551
6956
  attachLoadBalancersWithOptions(request: AttachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<AttachLoadBalancersResponse>;
6957
+ /**
6958
+ * Attaches one or more Classic Load Balancer (CLB) instances to a scaling group.
6959
+ *
6960
+ * @param request AttachLoadBalancersRequest
6961
+ * @return AttachLoadBalancersResponse
6962
+ */
6552
6963
  attachLoadBalancers(request: AttachLoadBalancersRequest): Promise<AttachLoadBalancersResponse>;
6964
+ attachServerGroupsWithOptions(request: AttachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachServerGroupsResponse>;
6965
+ attachServerGroups(request: AttachServerGroupsRequest): Promise<AttachServerGroupsResponse>;
6966
+ /**
6967
+ * Attaches one or more vServer groups of a Classic Load Balancer (CLB) instance to a scaling group.
6968
+ *
6969
+ * @param request AttachVServerGroupsRequest
6970
+ * @param runtime runtime options for this request RuntimeOptions
6971
+ * @return AttachVServerGroupsResponse
6972
+ */
6553
6973
  attachVServerGroupsWithOptions(request: AttachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<AttachVServerGroupsResponse>;
6974
+ /**
6975
+ * Attaches one or more vServer groups of a Classic Load Balancer (CLB) instance to a scaling group.
6976
+ *
6977
+ * @param request AttachVServerGroupsRequest
6978
+ * @return AttachVServerGroupsResponse
6979
+ */
6554
6980
  attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
6981
+ /**
6982
+ * 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.
6983
+ *
6984
+ * @param request ChangeResourceGroupRequest
6985
+ * @param runtime runtime options for this request RuntimeOptions
6986
+ * @return ChangeResourceGroupResponse
6987
+ */
6988
+ changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
6989
+ /**
6990
+ * 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.
6991
+ *
6992
+ * @param request ChangeResourceGroupRequest
6993
+ * @return ChangeResourceGroupResponse
6994
+ */
6995
+ changeResourceGroup(request: ChangeResourceGroupRequest): Promise<ChangeResourceGroupResponse>;
6996
+ /**
6997
+ * If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
6998
+ *
6999
+ * @param request CompleteLifecycleActionRequest
7000
+ * @param runtime runtime options for this request RuntimeOptions
7001
+ * @return CompleteLifecycleActionResponse
7002
+ */
6555
7003
  completeLifecycleActionWithOptions(request: CompleteLifecycleActionRequest, runtime: $Util.RuntimeOptions): Promise<CompleteLifecycleActionResponse>;
7004
+ /**
7005
+ * If you set the LifecycleActionResult parameter for a lifecycle hook of a scaling group to CONTINUE in the operation, Auto Scaling continues to complete the scaling activity in the scaling group after the lifecycle hook times out. If you set the LifecycleActionResult parameter to ABANDON, Auto Scaling stops the scaling activity in the scaling group after the lifecycle hook times out.
7006
+ *
7007
+ * @param request CompleteLifecycleActionRequest
7008
+ * @return CompleteLifecycleActionResponse
7009
+ */
6556
7010
  completeLifecycleAction(request: CompleteLifecycleActionRequest): Promise<CompleteLifecycleActionResponse>;
7011
+ /**
7012
+ * * 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~~).
7013
+ * * 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.
7014
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
7015
+ * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](~~74854~~).
7016
+ * > 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.
7017
+ *
7018
+ * @param request CreateAlarmRequest
7019
+ * @param runtime runtime options for this request RuntimeOptions
7020
+ * @return CreateAlarmResponse
7021
+ */
6557
7022
  createAlarmWithOptions(request: CreateAlarmRequest, runtime: $Util.RuntimeOptions): Promise<CreateAlarmResponse>;
7023
+ /**
7024
+ * * 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~~).
7025
+ * * 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.
7026
+ * * If you set the MetricType parameter to custom, the valid values are your custom metrics.
7027
+ * * For information about the supported metrics when you set the MetricType parameter to system, see [Event-triggered task for system monitoring](~~74854~~).
7028
+ * > 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.
7029
+ *
7030
+ * @param request CreateAlarmRequest
7031
+ * @return CreateAlarmResponse
7032
+ */
6558
7033
  createAlarm(request: CreateAlarmRequest): Promise<CreateAlarmResponse>;
7034
+ /**
7035
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
7036
+ * 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.
7037
+ *
7038
+ * @param request CreateEciScalingConfigurationRequest
7039
+ * @param runtime runtime options for this request RuntimeOptions
7040
+ * @return CreateEciScalingConfigurationResponse
7041
+ */
6559
7042
  createEciScalingConfigurationWithOptions(request: CreateEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateEciScalingConfigurationResponse>;
7043
+ /**
7044
+ * A scaling configuration is a template that is used to create elastic container instances during scale-out activities.
7045
+ * 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.
7046
+ *
7047
+ * @param request CreateEciScalingConfigurationRequest
7048
+ * @return CreateEciScalingConfigurationResponse
7049
+ */
6560
7050
  createEciScalingConfiguration(request: CreateEciScalingConfigurationRequest): Promise<CreateEciScalingConfigurationResponse>;
7051
+ /**
7052
+ * You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
7053
+ * If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
7054
+ * You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
7055
+ * > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
7056
+ *
7057
+ * @param request CreateLifecycleHookRequest
7058
+ * @param runtime runtime options for this request RuntimeOptions
7059
+ * @return CreateLifecycleHookResponse
7060
+ */
6561
7061
  createLifecycleHookWithOptions(request: CreateLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<CreateLifecycleHookResponse>;
7062
+ /**
7063
+ * You can create up to six lifecycle hooks for each scaling group. Elastic Compute Service (ECS) instances are not immediately added to or removed from scaling groups that have effective lifecycle hooks during scaling activities. The ECS instances are added to or removed from the scaling groups only after the lifecycle hooks time out. The period of time before the lifecycle hooks time out is specified by the HeartbeatTimeout parameter. Before lifecycle hooks time out, you can initialize the configurations of ECS instances and query data on the ECS instances.
7064
+ * If lifecycle hooks take effect for scale-out activities, the private IP addresses of ECS instances are added to the IP address whitelists of the associated ApsaraDB RDS instances and the ECS instances are added to the backend server groups of the associated Server Load Balancer (SLB) instances only after the lifecycle hooks time out. If lifecycle hooks take effect for scale-in activities, the private IP addresses of ECS instances are removed from the IP address whitelists of the disassociated ApsaraDB RDS instances and the ECS instances are removed from the backend server groups of the disassociated SLB instances only after the lifecycle hooks time out.
7065
+ * You can configure a notification method for a lifecycle hook. When the lifecycle hook takes effect, a notification can be sent by using a Message Service (MNS) topic, an MNS queue, or an Operation Orchestration Service (OOS) template. If you want to configure an OOS template, you must create a RAM role for OOS. For more information, see [Grant RAM permissions to OOS](~~120810~~).
7066
+ * > If your scaling group contains ECS instances and you configure an OOS template to add the private IP addresses of the ECS instances to or remove the private IP addresses of the ECS instances from the IP address whitelists of cloud databases other than ApsaraDB RDS databases, you must manually add the private IP addresses of the ECS instances to the IP address whitelists of the cloud databases.
7067
+ *
7068
+ * @param request CreateLifecycleHookRequest
7069
+ * @return CreateLifecycleHookResponse
7070
+ */
6562
7071
  createLifecycleHook(request: CreateLifecycleHookRequest): Promise<CreateLifecycleHookResponse>;
7072
+ /**
7073
+ * Creates a notification.
7074
+ *
7075
+ * @param request CreateNotificationConfigurationRequest
7076
+ * @param runtime runtime options for this request RuntimeOptions
7077
+ * @return CreateNotificationConfigurationResponse
7078
+ */
6563
7079
  createNotificationConfigurationWithOptions(request: CreateNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateNotificationConfigurationResponse>;
7080
+ /**
7081
+ * Creates a notification.
7082
+ *
7083
+ * @param request CreateNotificationConfigurationRequest
7084
+ * @return CreateNotificationConfigurationResponse
7085
+ */
6564
7086
  createNotificationConfiguration(request: CreateNotificationConfigurationRequest): Promise<CreateNotificationConfigurationResponse>;
7087
+ /**
7088
+ * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
7089
+ * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the lowest-priced instance type 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 reduces the failures of scale-outs caused by insufficient inventory of instance types.
7090
+ * * InstanceType: In this mode, you must specify one instance type.
7091
+ * * InstanceTypes: In this mode, you can specify more than one instance type.
7092
+ * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
7093
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances of the lowest-priced instance type. 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.
7094
+ * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory parameters at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify the InstanceType and InstancePatternInfos parameters or specify the InstanceTypes and InstancePatternInfos parameters at the same time, Auto Scaling preferentially uses the instance types that are specified by the InstanceType or InstanceTypes parameter for scale-outs. If the instance types that are specified by the InstanceType or InstanceTypes parameter do not have sufficient inventory, Auto Scaling uses the instance types that are specified by the InstancePatternInfos parameter for scale-outs.
7095
+ *
7096
+ * @param tmpReq CreateScalingConfigurationRequest
7097
+ * @param runtime runtime options for this request RuntimeOptions
7098
+ * @return CreateScalingConfigurationResponse
7099
+ */
6565
7100
  createScalingConfigurationWithOptions(tmpReq: CreateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingConfigurationResponse>;
7101
+ /**
7102
+ * Auto Scaling automatically creates Elastic Compute Service (ECS) instances based on the specified scaling configuration. ECS instances can be created in the following modes:
7103
+ * * InstancePatternInfos: intelligent configuration mode. In this mode, you need to only specify the number of vCPUs, memory size, instance family, and maximum price. Auto Scaling selects the lowest-priced instance type 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 reduces the failures of scale-outs caused by insufficient inventory of instance types.
7104
+ * * InstanceType: In this mode, you must specify one instance type.
7105
+ * * InstanceTypes: In this mode, you can specify more than one instance type.
7106
+ * * InstanceTypeOverrides: In this mode, you can specify multiple instance types and weights for the instance types.
7107
+ * * Cpu and Memory: In this mode, you must specify the number of vCPUs and the memory size. Auto Scaling determines the range of available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling creates ECS instances of the lowest-priced instance type. 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.
7108
+ * > You cannot specify InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory parameters at the same time. You can specify InstanceType and InstancePatternInfos or specify InstanceTypes and InstancePatternInfo at the same time. If you specify the InstanceType and InstancePatternInfos parameters or specify the InstanceTypes and InstancePatternInfos parameters at the same time, Auto Scaling preferentially uses the instance types that are specified by the InstanceType or InstanceTypes parameter for scale-outs. If the instance types that are specified by the InstanceType or InstanceTypes parameter do not have sufficient inventory, Auto Scaling uses the instance types that are specified by the InstancePatternInfos parameter for scale-outs.
7109
+ *
7110
+ * @param request CreateScalingConfigurationRequest
7111
+ * @return CreateScalingConfigurationResponse
7112
+ */
6566
7113
  createScalingConfiguration(request: CreateScalingConfigurationRequest): Promise<CreateScalingConfigurationResponse>;
7114
+ /**
7115
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
7116
+ * 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.
7117
+ * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
7118
+ * 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.
7119
+ * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
7120
+ * * 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.
7121
+ * * 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.
7122
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
7123
+ * 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:
7124
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
7125
+ * * 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.
7126
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
7127
+ * 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:
7128
+ * * 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.
7129
+ * * 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.
7130
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
7131
+ * * 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.
7132
+ * * 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.
7133
+ * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
7134
+ * * 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.
7135
+ * * 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.
7136
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
7137
+ *
7138
+ * @param request CreateScalingGroupRequest
7139
+ * @param runtime runtime options for this request RuntimeOptions
7140
+ * @return CreateScalingGroupResponse
7141
+ */
6567
7142
  createScalingGroupWithOptions(request: CreateScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingGroupResponse>;
7143
+ /**
7144
+ * A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
7145
+ * 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.
7146
+ * A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
7147
+ * 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.
7148
+ * If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
7149
+ * * 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.
7150
+ * * 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.
7151
+ * > If you specify the default server group and multiple vServer groups at the same time, ECS instances are added to all specified server groups.
7152
+ * 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:
7153
+ * * The CLB instance must be in the Active state. You can call the DescribeLoadBalancers operation to query the state of the CLB instance.
7154
+ * * 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.
7155
+ * If you associate an Application Load Balancer (ALB) server group with a scaling group, Auto Scaling automatically adds ECS instances that are in the scaling group to the ALB server group to process requests distributed by the ALB instance to which the ALB server group belongs. You can specify multiple ALB server groups. The server groups must reside in the same virtual private cloud (VPC) as the scaling group. For more information, see the "AttachAlbServerGroups" topic.
7156
+ * 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:
7157
+ * * 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.
7158
+ * * 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.
7159
+ * If you set the MultiAZPolicy parameter of the scaling group to COST_OPTIMIZED, take note of the following items:
7160
+ * * 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.
7161
+ * * 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.
7162
+ * If you set the `Tags.Propagate` parameter of the scaling group to true, the following rules apply:
7163
+ * * 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.
7164
+ * * 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.
7165
+ * * If the tag key that you specify in a scaling configuration and the tag key that you add to the scaling group of the scaling configuration are the same, the tag value that you specify in the scaling configuration is preferentially used.
7166
+ *
7167
+ * @param request CreateScalingGroupRequest
7168
+ * @return CreateScalingGroupResponse
7169
+ */
6568
7170
  createScalingGroup(request: CreateScalingGroupRequest): Promise<CreateScalingGroupResponse>;
7171
+ /**
7172
+ * Creates a scaling rule.
7173
+ *
7174
+ * @param request CreateScalingRuleRequest
7175
+ * @param runtime runtime options for this request RuntimeOptions
7176
+ * @return CreateScalingRuleResponse
7177
+ */
6569
7178
  createScalingRuleWithOptions(request: CreateScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<CreateScalingRuleResponse>;
7179
+ /**
7180
+ * Creates a scaling rule.
7181
+ *
7182
+ * @param request CreateScalingRuleRequest
7183
+ * @return CreateScalingRuleResponse
7184
+ */
6570
7185
  createScalingRule(request: CreateScalingRuleRequest): Promise<CreateScalingRuleResponse>;
7186
+ /**
7187
+ * Creates a scheduled task.
7188
+ *
7189
+ * @param request CreateScheduledTaskRequest
7190
+ * @param runtime runtime options for this request RuntimeOptions
7191
+ * @return CreateScheduledTaskResponse
7192
+ */
6571
7193
  createScheduledTaskWithOptions(request: CreateScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateScheduledTaskResponse>;
7194
+ /**
7195
+ * Creates a scheduled task.
7196
+ *
7197
+ * @param request CreateScheduledTaskRequest
7198
+ * @return CreateScheduledTaskResponse
7199
+ */
6572
7200
  createScheduledTask(request: CreateScheduledTaskRequest): Promise<CreateScheduledTaskResponse>;
6573
7201
  deactivateScalingConfigurationWithOptions(request: DeactivateScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeactivateScalingConfigurationResponse>;
6574
7202
  deactivateScalingConfiguration(request: DeactivateScalingConfigurationRequest): Promise<DeactivateScalingConfigurationResponse>;
6575
7203
  deleteAlarmWithOptions(request: DeleteAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAlarmResponse>;
6576
7204
  deleteAlarm(request: DeleteAlarmRequest): Promise<DeleteAlarmResponse>;
7205
+ /**
7206
+ * Deletes a scaling configuration that is used to create elastic container instances.
7207
+ *
7208
+ * @param request DeleteEciScalingConfigurationRequest
7209
+ * @param runtime runtime options for this request RuntimeOptions
7210
+ * @return DeleteEciScalingConfigurationResponse
7211
+ */
6577
7212
  deleteEciScalingConfigurationWithOptions(request: DeleteEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteEciScalingConfigurationResponse>;
7213
+ /**
7214
+ * Deletes a scaling configuration that is used to create elastic container instances.
7215
+ *
7216
+ * @param request DeleteEciScalingConfigurationRequest
7217
+ * @return DeleteEciScalingConfigurationResponse
7218
+ */
6578
7219
  deleteEciScalingConfiguration(request: DeleteEciScalingConfigurationRequest): Promise<DeleteEciScalingConfigurationResponse>;
7220
+ /**
7221
+ * 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:
7222
+ * * 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.
7223
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
7224
+ *
7225
+ * @param request DeleteLifecycleHookRequest
7226
+ * @param runtime runtime options for this request RuntimeOptions
7227
+ * @return DeleteLifecycleHookResponse
7228
+ */
6579
7229
  deleteLifecycleHookWithOptions(request: DeleteLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<DeleteLifecycleHookResponse>;
7230
+ /**
7231
+ * 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:
7232
+ * * 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.
7233
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. In this case, the ScalingGroupId parameter and the LifecycleHookName parameter are ignored.
7234
+ *
7235
+ * @param request DeleteLifecycleHookRequest
7236
+ * @return DeleteLifecycleHookResponse
7237
+ */
6580
7238
  deleteLifecycleHook(request: DeleteLifecycleHookRequest): Promise<DeleteLifecycleHookResponse>;
6581
7239
  deleteNotificationConfigurationWithOptions(request: DeleteNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNotificationConfigurationResponse>;
6582
7240
  deleteNotificationConfiguration(request: DeleteNotificationConfigurationRequest): Promise<DeleteNotificationConfigurationResponse>;
7241
+ /**
7242
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
7243
+ *
7244
+ * @param request DeleteScalingConfigurationRequest
7245
+ * @param runtime runtime options for this request RuntimeOptions
7246
+ * @return DeleteScalingConfigurationResponse
7247
+ */
6583
7248
  deleteScalingConfigurationWithOptions(request: DeleteScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingConfigurationResponse>;
7249
+ /**
7250
+ * Deletes a scaling configuration that is used to create Elastic Compute Service (ECS) instances.
7251
+ *
7252
+ * @param request DeleteScalingConfigurationRequest
7253
+ * @return DeleteScalingConfigurationResponse
7254
+ */
6584
7255
  deleteScalingConfiguration(request: DeleteScalingConfigurationRequest): Promise<DeleteScalingConfigurationResponse>;
7256
+ /**
7257
+ * Deletes a scaling group.
7258
+ *
7259
+ * @param request DeleteScalingGroupRequest
7260
+ * @param runtime runtime options for this request RuntimeOptions
7261
+ * @return DeleteScalingGroupResponse
7262
+ */
6585
7263
  deleteScalingGroupWithOptions(request: DeleteScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingGroupResponse>;
7264
+ /**
7265
+ * Deletes a scaling group.
7266
+ *
7267
+ * @param request DeleteScalingGroupRequest
7268
+ * @return DeleteScalingGroupResponse
7269
+ */
6586
7270
  deleteScalingGroup(request: DeleteScalingGroupRequest): Promise<DeleteScalingGroupResponse>;
6587
7271
  deleteScalingRuleWithOptions(request: DeleteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteScalingRuleResponse>;
6588
7272
  deleteScalingRule(request: DeleteScalingRuleRequest): Promise<DeleteScalingRuleResponse>;
@@ -6592,9 +7276,41 @@ export default class Client extends OpenApi {
6592
7276
  describeAlarms(request: DescribeAlarmsRequest): Promise<DescribeAlarmsResponse>;
6593
7277
  describeEciScalingConfigurationsWithOptions(request: DescribeEciScalingConfigurationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEciScalingConfigurationsResponse>;
6594
7278
  describeEciScalingConfigurations(request: DescribeEciScalingConfigurationsRequest): Promise<DescribeEciScalingConfigurationsResponse>;
7279
+ /**
7280
+ * Queries lifecycle actions.
7281
+ *
7282
+ * @param request DescribeLifecycleActionsRequest
7283
+ * @param runtime runtime options for this request RuntimeOptions
7284
+ * @return DescribeLifecycleActionsResponse
7285
+ */
6595
7286
  describeLifecycleActionsWithOptions(request: DescribeLifecycleActionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleActionsResponse>;
7287
+ /**
7288
+ * Queries lifecycle actions.
7289
+ *
7290
+ * @param request DescribeLifecycleActionsRequest
7291
+ * @return DescribeLifecycleActionsResponse
7292
+ */
6596
7293
  describeLifecycleActions(request: DescribeLifecycleActionsRequest): Promise<DescribeLifecycleActionsResponse>;
7294
+ /**
7295
+ * You can use one of the following methods to query lifecycle hooks:
7296
+ * * 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.
7297
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
7298
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
7299
+ *
7300
+ * @param request DescribeLifecycleHooksRequest
7301
+ * @param runtime runtime options for this request RuntimeOptions
7302
+ * @return DescribeLifecycleHooksResponse
7303
+ */
6597
7304
  describeLifecycleHooksWithOptions(request: DescribeLifecycleHooksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLifecycleHooksResponse>;
7305
+ /**
7306
+ * You can use one of the following methods to query lifecycle hooks:
7307
+ * * 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.
7308
+ * * Specify the scaling group ID by using the ScalingGroupId parameter.
7309
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and the lifecycle hook name by using the LifecycleHookName parameter at the same time.
7310
+ *
7311
+ * @param request DescribeLifecycleHooksRequest
7312
+ * @return DescribeLifecycleHooksResponse
7313
+ */
6598
7314
  describeLifecycleHooks(request: DescribeLifecycleHooksRequest): Promise<DescribeLifecycleHooksResponse>;
6599
7315
  describeLimitationWithOptions(request: DescribeLimitationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLimitationResponse>;
6600
7316
  describeLimitation(request: DescribeLimitationRequest): Promise<DescribeLimitationResponse>;
@@ -6604,7 +7320,24 @@ export default class Client extends OpenApi {
6604
7320
  describeNotificationTypes(request: DescribeNotificationTypesRequest): Promise<DescribeNotificationTypesResponse>;
6605
7321
  describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
6606
7322
  describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
7323
+ /**
7324
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
7325
+ * You can filter query results based on the status of scaling activities.
7326
+ * You can query scaling activities that are executed in the previous 30 days.
7327
+ *
7328
+ * @param request DescribeScalingActivitiesRequest
7329
+ * @param runtime runtime options for this request RuntimeOptions
7330
+ * @return DescribeScalingActivitiesResponse
7331
+ */
6607
7332
  describeScalingActivitiesWithOptions(request: DescribeScalingActivitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivitiesResponse>;
7333
+ /**
7334
+ * You can specify a scaling group ID to query all scaling activities in the scaling group.
7335
+ * You can filter query results based on the status of scaling activities.
7336
+ * You can query scaling activities that are executed in the previous 30 days.
7337
+ *
7338
+ * @param request DescribeScalingActivitiesRequest
7339
+ * @return DescribeScalingActivitiesResponse
7340
+ */
6608
7341
  describeScalingActivities(request: DescribeScalingActivitiesRequest): Promise<DescribeScalingActivitiesResponse>;
6609
7342
  describeScalingActivityDetailWithOptions(request: DescribeScalingActivityDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivityDetailResponse>;
6610
7343
  describeScalingActivityDetail(request: DescribeScalingActivityDetailRequest): Promise<DescribeScalingActivityDetailResponse>;
@@ -6612,35 +7345,181 @@ export default class Client extends OpenApi {
6612
7345
  describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse>;
6613
7346
  describeScalingGroupsWithOptions(request: DescribeScalingGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupsResponse>;
6614
7347
  describeScalingGroups(request: DescribeScalingGroupsRequest): Promise<DescribeScalingGroupsResponse>;
7348
+ /**
7349
+ * You can query ECS instances by scaling group ID, scaling configuration ID, health status, lifecycle status, and instance creation method.
7350
+ *
7351
+ * @param request DescribeScalingInstancesRequest
7352
+ * @param runtime runtime options for this request RuntimeOptions
7353
+ * @return DescribeScalingInstancesResponse
7354
+ */
6615
7355
  describeScalingInstancesWithOptions(request: DescribeScalingInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingInstancesResponse>;
7356
+ /**
7357
+ * You can query ECS instances by scaling group ID, scaling configuration ID, health status, lifecycle status, and instance creation method.
7358
+ *
7359
+ * @param request DescribeScalingInstancesRequest
7360
+ * @return DescribeScalingInstancesResponse
7361
+ */
6616
7362
  describeScalingInstances(request: DescribeScalingInstancesRequest): Promise<DescribeScalingInstancesResponse>;
7363
+ /**
7364
+ * Queries all scaling rules in a scaling group.
7365
+ *
7366
+ * @param request DescribeScalingRulesRequest
7367
+ * @param runtime runtime options for this request RuntimeOptions
7368
+ * @return DescribeScalingRulesResponse
7369
+ */
6617
7370
  describeScalingRulesWithOptions(request: DescribeScalingRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingRulesResponse>;
7371
+ /**
7372
+ * Queries all scaling rules in a scaling group.
7373
+ *
7374
+ * @param request DescribeScalingRulesRequest
7375
+ * @return DescribeScalingRulesResponse
7376
+ */
6618
7377
  describeScalingRules(request: DescribeScalingRulesRequest): Promise<DescribeScalingRulesResponse>;
7378
+ /**
7379
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
7380
+ *
7381
+ * @param request DescribeScheduledTasksRequest
7382
+ * @param runtime runtime options for this request RuntimeOptions
7383
+ * @return DescribeScheduledTasksResponse
7384
+ */
6619
7385
  describeScheduledTasksWithOptions(request: DescribeScheduledTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScheduledTasksResponse>;
7386
+ /**
7387
+ * You can query scheduled tasks by scaling rule, task ID, or task name.
7388
+ *
7389
+ * @param request DescribeScheduledTasksRequest
7390
+ * @return DescribeScheduledTasksResponse
7391
+ */
6620
7392
  describeScheduledTasks(request: DescribeScheduledTasksRequest): Promise<DescribeScheduledTasksResponse>;
6621
7393
  detachAlbServerGroupsWithOptions(request: DetachAlbServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachAlbServerGroupsResponse>;
6622
7394
  detachAlbServerGroups(request: DetachAlbServerGroupsRequest): Promise<DetachAlbServerGroupsResponse>;
6623
7395
  detachDBInstancesWithOptions(request: DetachDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachDBInstancesResponse>;
6624
7396
  detachDBInstances(request: DetachDBInstancesRequest): Promise<DetachDBInstancesResponse>;
7397
+ /**
7398
+ * Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
7399
+ *
7400
+ * @param request DetachInstancesRequest
7401
+ * @param runtime runtime options for this request RuntimeOptions
7402
+ * @return DetachInstancesResponse
7403
+ */
6625
7404
  detachInstancesWithOptions(request: DetachInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DetachInstancesResponse>;
7405
+ /**
7406
+ * Removes one or more Elastic Compute Service (ECS) instances or elastic container instances from a scaling group.
7407
+ *
7408
+ * @param request DetachInstancesRequest
7409
+ * @return DetachInstancesResponse
7410
+ */
6626
7411
  detachInstances(request: DetachInstancesRequest): Promise<DetachInstancesResponse>;
6627
7412
  detachLoadBalancersWithOptions(request: DetachLoadBalancersRequest, runtime: $Util.RuntimeOptions): Promise<DetachLoadBalancersResponse>;
6628
7413
  detachLoadBalancers(request: DetachLoadBalancersRequest): Promise<DetachLoadBalancersResponse>;
7414
+ detachServerGroupsWithOptions(request: DetachServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachServerGroupsResponse>;
7415
+ detachServerGroups(request: DetachServerGroupsRequest): Promise<DetachServerGroupsResponse>;
7416
+ /**
7417
+ * Detaches one or more vServer groups of a Classic Load Balancer (CLB) instance from a scaling group.
7418
+ *
7419
+ * @param request DetachVServerGroupsRequest
7420
+ * @param runtime runtime options for this request RuntimeOptions
7421
+ * @return DetachVServerGroupsResponse
7422
+ */
6629
7423
  detachVServerGroupsWithOptions(request: DetachVServerGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DetachVServerGroupsResponse>;
7424
+ /**
7425
+ * Detaches one or more vServer groups of a Classic Load Balancer (CLB) instance from a scaling group.
7426
+ *
7427
+ * @param request DetachVServerGroupsRequest
7428
+ * @return DetachVServerGroupsResponse
7429
+ */
6630
7430
  detachVServerGroups(request: DetachVServerGroupsRequest): Promise<DetachVServerGroupsResponse>;
6631
7431
  disableAlarmWithOptions(request: DisableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<DisableAlarmResponse>;
6632
7432
  disableAlarm(request: DisableAlarmRequest): Promise<DisableAlarmResponse>;
7433
+ /**
7434
+ * Disables a scaling group.
7435
+ *
7436
+ * @param request DisableScalingGroupRequest
7437
+ * @param runtime runtime options for this request RuntimeOptions
7438
+ * @return DisableScalingGroupResponse
7439
+ */
6633
7440
  disableScalingGroupWithOptions(request: DisableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<DisableScalingGroupResponse>;
7441
+ /**
7442
+ * Disables a scaling group.
7443
+ *
7444
+ * @param request DisableScalingGroupRequest
7445
+ * @return DisableScalingGroupResponse
7446
+ */
6634
7447
  disableScalingGroup(request: DisableScalingGroupRequest): Promise<DisableScalingGroupResponse>;
6635
7448
  enableAlarmWithOptions(request: EnableAlarmRequest, runtime: $Util.RuntimeOptions): Promise<EnableAlarmResponse>;
6636
7449
  enableAlarm(request: EnableAlarmRequest): Promise<EnableAlarmResponse>;
7450
+ /**
7451
+ * 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.
7452
+ * > 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.
7453
+ * If you specify a value for the InstanceIds parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
7454
+ * * If the total number of ECS instances is less than the minimum number of instances required in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
7455
+ * * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
7456
+ *
7457
+ * @param request EnableScalingGroupRequest
7458
+ * @param runtime runtime options for this request RuntimeOptions
7459
+ * @return EnableScalingGroupResponse
7460
+ */
6637
7461
  enableScalingGroupWithOptions(request: EnableScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<EnableScalingGroupResponse>;
7462
+ /**
7463
+ * 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.
7464
+ * > 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.
7465
+ * If you specify a value for the InstanceIds parameter when you call the operation, Auto Scaling checks whether the total number of ECS instances is within the range allowed in the scaling group after you call the operation.
7466
+ * * If the total number of ECS instances is less than the minimum number of instances required in the scaling group after you call the operation, Auto Scaling automatically creates the required number of pay-as-you-go ECS instances and adds the instances to the scaling group to reach the minimum number. For example, if the minimum number of instances required in your scaling group is five, and you specify the InstanceIds parameter to add two ECS instances to the scaling group, Auto Scaling automatically creates three instances in the scaling group after the two instances are added.
7467
+ * * If the value of the TotalCapacity parameter is greater than the value of the MaxSize parameter, the call fails.
7468
+ *
7469
+ * @param request EnableScalingGroupRequest
7470
+ * @return EnableScalingGroupResponse
7471
+ */
6638
7472
  enableScalingGroup(request: EnableScalingGroupRequest): Promise<EnableScalingGroupResponse>;
7473
+ /**
7474
+ * * 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.
7475
+ * * You can remove an ECS instance that is in the Standby state from a scaling group and release the instance.
7476
+ * * 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.
7477
+ * * 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.
7478
+ *
7479
+ * @param request EnterStandbyRequest
7480
+ * @param runtime runtime options for this request RuntimeOptions
7481
+ * @return EnterStandbyResponse
7482
+ */
6639
7483
  enterStandbyWithOptions(request: EnterStandbyRequest, runtime: $Util.RuntimeOptions): Promise<EnterStandbyResponse>;
7484
+ /**
7485
+ * * 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.
7486
+ * * You can remove an ECS instance that is in the Standby state from a scaling group and release the instance.
7487
+ * * 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.
7488
+ * * 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.
7489
+ *
7490
+ * @param request EnterStandbyRequest
7491
+ * @return EnterStandbyResponse
7492
+ */
6640
7493
  enterStandby(request: EnterStandbyRequest): Promise<EnterStandbyResponse>;
7494
+ /**
7495
+ * Executes a scaling rule.
7496
+ *
7497
+ * @param request ExecuteScalingRuleRequest
7498
+ * @param runtime runtime options for this request RuntimeOptions
7499
+ * @return ExecuteScalingRuleResponse
7500
+ */
6641
7501
  executeScalingRuleWithOptions(request: ExecuteScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteScalingRuleResponse>;
7502
+ /**
7503
+ * Executes a scaling rule.
7504
+ *
7505
+ * @param request ExecuteScalingRuleRequest
7506
+ * @return ExecuteScalingRuleResponse
7507
+ */
6642
7508
  executeScalingRule(request: ExecuteScalingRuleRequest): Promise<ExecuteScalingRuleResponse>;
7509
+ /**
7510
+ * 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.
7511
+ *
7512
+ * @param request ExitStandbyRequest
7513
+ * @param runtime runtime options for this request RuntimeOptions
7514
+ * @return ExitStandbyResponse
7515
+ */
6643
7516
  exitStandbyWithOptions(request: ExitStandbyRequest, runtime: $Util.RuntimeOptions): Promise<ExitStandbyResponse>;
7517
+ /**
7518
+ * 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.
7519
+ *
7520
+ * @param request ExitStandbyRequest
7521
+ * @return ExitStandbyResponse
7522
+ */
6644
7523
  exitStandby(request: ExitStandbyRequest): Promise<ExitStandbyResponse>;
6645
7524
  listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse>;
6646
7525
  listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse>;
@@ -6648,37 +7527,225 @@ export default class Client extends OpenApi {
6648
7527
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
6649
7528
  listTagValuesWithOptions(request: ListTagValuesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagValuesResponse>;
6650
7529
  listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
7530
+ /**
7531
+ * Modifies an event-triggered task.
7532
+ *
7533
+ * @param request ModifyAlarmRequest
7534
+ * @param runtime runtime options for this request RuntimeOptions
7535
+ * @return ModifyAlarmResponse
7536
+ */
6651
7537
  modifyAlarmWithOptions(request: ModifyAlarmRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAlarmResponse>;
7538
+ /**
7539
+ * Modifies an event-triggered task.
7540
+ *
7541
+ * @param request ModifyAlarmRequest
7542
+ * @return ModifyAlarmResponse
7543
+ */
6652
7544
  modifyAlarm(request: ModifyAlarmRequest): Promise<ModifyAlarmResponse>;
7545
+ /**
7546
+ * 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.
7547
+ *
7548
+ * @param request ModifyEciScalingConfigurationRequest
7549
+ * @param runtime runtime options for this request RuntimeOptions
7550
+ * @return ModifyEciScalingConfigurationResponse
7551
+ */
6653
7552
  modifyEciScalingConfigurationWithOptions(request: ModifyEciScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEciScalingConfigurationResponse>;
7553
+ /**
7554
+ * 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.
7555
+ *
7556
+ * @param request ModifyEciScalingConfigurationRequest
7557
+ * @return ModifyEciScalingConfigurationResponse
7558
+ */
6654
7559
  modifyEciScalingConfiguration(request: ModifyEciScalingConfigurationRequest): Promise<ModifyEciScalingConfigurationResponse>;
7560
+ /**
7561
+ * You can use one of the following methods to specify the lifecycle hook that you want to modify:
7562
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
7563
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
7564
+ *
7565
+ * @param request ModifyLifecycleHookRequest
7566
+ * @param runtime runtime options for this request RuntimeOptions
7567
+ * @return ModifyLifecycleHookResponse
7568
+ */
6655
7569
  modifyLifecycleHookWithOptions(request: ModifyLifecycleHookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLifecycleHookResponse>;
7570
+ /**
7571
+ * You can use one of the following methods to specify the lifecycle hook that you want to modify:
7572
+ * * Specify the lifecycle hook ID by using the LifecycleHookId parameter. When you use this method, the ScalingGroupId and LifecycleHookName parameters are ignored.
7573
+ * * Specify the scaling group ID by using the ScalingGroupId parameter and specify the lifecycle hook name by using the LifecycleHookName parameter.
7574
+ *
7575
+ * @param request ModifyLifecycleHookRequest
7576
+ * @return ModifyLifecycleHookResponse
7577
+ */
6656
7578
  modifyLifecycleHook(request: ModifyLifecycleHookRequest): Promise<ModifyLifecycleHookResponse>;
6657
7579
  modifyNotificationConfigurationWithOptions(request: ModifyNotificationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNotificationConfigurationResponse>;
6658
7580
  modifyNotificationConfiguration(request: ModifyNotificationConfigurationRequest): Promise<ModifyNotificationConfigurationResponse>;
7581
+ /**
7582
+ * 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.
7583
+ *
7584
+ * @param tmpReq ModifyScalingConfigurationRequest
7585
+ * @param runtime runtime options for this request RuntimeOptions
7586
+ * @return ModifyScalingConfigurationResponse
7587
+ */
6659
7588
  modifyScalingConfigurationWithOptions(tmpReq: ModifyScalingConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingConfigurationResponse>;
7589
+ /**
7590
+ * 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.
7591
+ *
7592
+ * @param request ModifyScalingConfigurationRequest
7593
+ * @return ModifyScalingConfigurationResponse
7594
+ */
6660
7595
  modifyScalingConfiguration(request: ModifyScalingConfigurationRequest): Promise<ModifyScalingConfigurationResponse>;
7596
+ /**
7597
+ * Modifies a scaling group.
7598
+ *
7599
+ * @param request ModifyScalingGroupRequest
7600
+ * @param runtime runtime options for this request RuntimeOptions
7601
+ * @return ModifyScalingGroupResponse
7602
+ */
6661
7603
  modifyScalingGroupWithOptions(request: ModifyScalingGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingGroupResponse>;
7604
+ /**
7605
+ * Modifies a scaling group.
7606
+ *
7607
+ * @param request ModifyScalingGroupRequest
7608
+ * @return ModifyScalingGroupResponse
7609
+ */
6662
7610
  modifyScalingGroup(request: ModifyScalingGroupRequest): Promise<ModifyScalingGroupResponse>;
6663
7611
  modifyScalingRuleWithOptions(request: ModifyScalingRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScalingRuleResponse>;
6664
7612
  modifyScalingRule(request: ModifyScalingRuleRequest): Promise<ModifyScalingRuleResponse>;
7613
+ /**
7614
+ * Modifies a scheduled task.
7615
+ *
7616
+ * @param request ModifyScheduledTaskRequest
7617
+ * @param runtime runtime options for this request RuntimeOptions
7618
+ * @return ModifyScheduledTaskResponse
7619
+ */
6665
7620
  modifyScheduledTaskWithOptions(request: ModifyScheduledTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyScheduledTaskResponse>;
7621
+ /**
7622
+ * Modifies a scheduled task.
7623
+ *
7624
+ * @param request ModifyScheduledTaskRequest
7625
+ * @return ModifyScheduledTaskResponse
7626
+ */
6666
7627
  modifyScheduledTask(request: ModifyScheduledTaskRequest): Promise<ModifyScheduledTaskResponse>;
7628
+ /**
7629
+ * Rebalances Elastic Compute Service (ECS) instances in a multi-zone scaling group across zones.
7630
+ *
7631
+ * @param request RebalanceInstancesRequest
7632
+ * @param runtime runtime options for this request RuntimeOptions
7633
+ * @return RebalanceInstancesResponse
7634
+ */
6667
7635
  rebalanceInstancesWithOptions(request: RebalanceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebalanceInstancesResponse>;
7636
+ /**
7637
+ * Rebalances Elastic Compute Service (ECS) instances in a multi-zone scaling group across zones.
7638
+ *
7639
+ * @param request RebalanceInstancesRequest
7640
+ * @return RebalanceInstancesResponse
7641
+ */
6668
7642
  rebalanceInstances(request: RebalanceInstancesRequest): Promise<RebalanceInstancesResponse>;
7643
+ /**
7644
+ * Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
7645
+ *
7646
+ * @param request RecordLifecycleActionHeartbeatRequest
7647
+ * @param runtime runtime options for this request RuntimeOptions
7648
+ * @return RecordLifecycleActionHeartbeatResponse
7649
+ */
6669
7650
  recordLifecycleActionHeartbeatWithOptions(request: RecordLifecycleActionHeartbeatRequest, runtime: $Util.RuntimeOptions): Promise<RecordLifecycleActionHeartbeatResponse>;
7651
+ /**
7652
+ * Prolongs a lifecycle hook for Elastic Compute Service (ECS) instances.
7653
+ *
7654
+ * @param request RecordLifecycleActionHeartbeatRequest
7655
+ * @return RecordLifecycleActionHeartbeatResponse
7656
+ */
6670
7657
  recordLifecycleActionHeartbeat(request: RecordLifecycleActionHeartbeatRequest): Promise<RecordLifecycleActionHeartbeatResponse>;
7658
+ /**
7659
+ * * Before you call this operation, make sure that the following requirements are met:
7660
+ * * The scaling group is in the Active state.
7661
+ * * No scaling activity is in progress within the scaling group.
7662
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
7663
+ * * 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.
7664
+ * * 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.
7665
+ * * 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.
7666
+ * 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.
7667
+ *
7668
+ * @param request RemoveInstancesRequest
7669
+ * @param runtime runtime options for this request RuntimeOptions
7670
+ * @return RemoveInstancesResponse
7671
+ */
6671
7672
  removeInstancesWithOptions(request: RemoveInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveInstancesResponse>;
7673
+ /**
7674
+ * * Before you call this operation, make sure that the following requirements are met:
7675
+ * * The scaling group is in the Active state.
7676
+ * * No scaling activity is in progress within the scaling group.
7677
+ * > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
7678
+ * * 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.
7679
+ * * 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.
7680
+ * * 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.
7681
+ * 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.
7682
+ *
7683
+ * @param request RemoveInstancesRequest
7684
+ * @return RemoveInstancesResponse
7685
+ */
6672
7686
  removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse>;
6673
7687
  resumeProcessesWithOptions(request: ResumeProcessesRequest, runtime: $Util.RuntimeOptions): Promise<ResumeProcessesResponse>;
6674
7688
  resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
7689
+ /**
7690
+ * 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:
7691
+ * * The following conditions must be met:
7692
+ * * The scaling group is in the Active state.
7693
+ * * No scaling activities in the scaling group are in progress.
7694
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7695
+ * * 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.
7696
+ * * 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.
7697
+ * 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.
7698
+ *
7699
+ * @param request ScaleWithAdjustmentRequest
7700
+ * @param runtime runtime options for this request RuntimeOptions
7701
+ * @return ScaleWithAdjustmentResponse
7702
+ */
6675
7703
  scaleWithAdjustmentWithOptions(request: ScaleWithAdjustmentRequest, runtime: $Util.RuntimeOptions): Promise<ScaleWithAdjustmentResponse>;
7704
+ /**
7705
+ * 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:
7706
+ * * The following conditions must be met:
7707
+ * * The scaling group is in the Active state.
7708
+ * * No scaling activities in the scaling group are in progress.
7709
+ * * If no scaling activities in the scaling group are in progress, the operation can trigger scaling activities even before the cooldown time expires.
7710
+ * * 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.
7711
+ * * 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.
7712
+ * 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.
7713
+ *
7714
+ * @param request ScaleWithAdjustmentRequest
7715
+ * @return ScaleWithAdjustmentResponse
7716
+ */
6676
7717
  scaleWithAdjustment(request: ScaleWithAdjustmentRequest): Promise<ScaleWithAdjustmentResponse>;
6677
7718
  setGroupDeletionProtectionWithOptions(request: SetGroupDeletionProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetGroupDeletionProtectionResponse>;
6678
7719
  setGroupDeletionProtection(request: SetGroupDeletionProtectionRequest): Promise<SetGroupDeletionProtectionResponse>;
7720
+ /**
7721
+ * Configures the health check feature for Elastic Compute Service (ECS) instances.
7722
+ *
7723
+ * @param request SetInstanceHealthRequest
7724
+ * @param runtime runtime options for this request RuntimeOptions
7725
+ * @return SetInstanceHealthResponse
7726
+ */
6679
7727
  setInstanceHealthWithOptions(request: SetInstanceHealthRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceHealthResponse>;
7728
+ /**
7729
+ * Configures the health check feature for Elastic Compute Service (ECS) instances.
7730
+ *
7731
+ * @param request SetInstanceHealthRequest
7732
+ * @return SetInstanceHealthResponse
7733
+ */
6680
7734
  setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse>;
7735
+ /**
7736
+ * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
7737
+ *
7738
+ * @param request SetInstancesProtectionRequest
7739
+ * @param runtime runtime options for this request RuntimeOptions
7740
+ * @return SetInstancesProtectionResponse
7741
+ */
6681
7742
  setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse>;
7743
+ /**
7744
+ * Puts one or more Elastic Compute Service (ECS) instances into the Protected state.
7745
+ *
7746
+ * @param request SetInstancesProtectionRequest
7747
+ * @return SetInstancesProtectionResponse
7748
+ */
6682
7749
  setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse>;
6683
7750
  suspendProcessesWithOptions(request: SuspendProcessesRequest, runtime: $Util.RuntimeOptions): Promise<SuspendProcessesResponse>;
6684
7751
  suspendProcesses(request: SuspendProcessesRequest): Promise<SuspendProcessesResponse>;