@alicloud/ess20220222 1.6.3 → 1.7.1
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 +735 -116
- package/dist/client.js +303 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +886 -116
package/dist/client.d.ts
CHANGED
|
@@ -342,10 +342,12 @@ export declare class AttachAlbServerGroupsResponse extends $tea.Model {
|
|
|
342
342
|
export declare class AttachDBInstancesRequest extends $tea.Model {
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The mode in which you want to attach the
|
|
345
|
+
* The mode in which you want to attach the database to the scaling group. Valid values:
|
|
346
|
+
*
|
|
347
|
+
* * SecurityIp: adds the private IP addresses of scaled out ECS instances to the IP address whitelist of the database. Take note that you can choose this mode only when the database that you want to attach is an ApsaraDB RDS instance.
|
|
348
|
+
* * SecurityGroup: adds the security group of the scaling configuration based on which ECS instances are created in the scaling group to the security group whitelist of the database for registration.
|
|
346
349
|
*
|
|
347
|
-
*
|
|
348
|
-
* * SecurityGroup: the security group mode. Auto Scaling adds the security group of the scaling configuration to the security group whitelist for registration and association.
|
|
350
|
+
* Default value: SecurityIp.
|
|
349
351
|
*
|
|
350
352
|
* @example
|
|
351
353
|
* SecurityIp
|
|
@@ -363,14 +365,14 @@ export declare class AttachDBInstancesRequest extends $tea.Model {
|
|
|
363
365
|
clientToken?: string;
|
|
364
366
|
/**
|
|
365
367
|
* @remarks
|
|
366
|
-
* The
|
|
368
|
+
* The IDs of the ApsaraDB RDS instances that you want to attach to the scaling group.
|
|
367
369
|
*
|
|
368
370
|
* This parameter is required.
|
|
369
371
|
*/
|
|
370
372
|
DBInstances?: string[];
|
|
371
373
|
/**
|
|
372
374
|
* @remarks
|
|
373
|
-
* Specifies whether to add the private IP addresses of all instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance. Valid values:
|
|
375
|
+
* Specifies whether to add the private IP addresses of all ECS instances in the scaling group to the IP address whitelist of an ApsaraDB RDS instance when you attach the ApsaraDB RDS instance to the scaling group. Valid values:
|
|
374
376
|
*
|
|
375
377
|
* * true
|
|
376
378
|
* * false
|
|
@@ -405,9 +407,9 @@ export declare class AttachDBInstancesRequest extends $tea.Model {
|
|
|
405
407
|
* @remarks
|
|
406
408
|
* The type of the database that you want to attach to the scaling group. Valid values:
|
|
407
409
|
*
|
|
408
|
-
* *
|
|
409
|
-
* *
|
|
410
|
-
* *
|
|
410
|
+
* * RDS
|
|
411
|
+
* * Redis
|
|
412
|
+
* * MongoDB
|
|
411
413
|
*
|
|
412
414
|
* Default value: RDS.
|
|
413
415
|
*
|
|
@@ -914,6 +916,8 @@ export declare class AttachVServerGroupsResponse extends $tea.Model {
|
|
|
914
916
|
export declare class CancelInstanceRefreshRequest extends $tea.Model {
|
|
915
917
|
/**
|
|
916
918
|
* @remarks
|
|
919
|
+
* The ID of the instance refresh task.
|
|
920
|
+
*
|
|
917
921
|
* This parameter is required.
|
|
918
922
|
*
|
|
919
923
|
* @example
|
|
@@ -923,6 +927,8 @@ export declare class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
923
927
|
ownerId?: number;
|
|
924
928
|
/**
|
|
925
929
|
* @remarks
|
|
930
|
+
* The region ID of the scaling group.
|
|
931
|
+
*
|
|
926
932
|
* This parameter is required.
|
|
927
933
|
*
|
|
928
934
|
* @example
|
|
@@ -932,6 +938,8 @@ export declare class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
932
938
|
resourceOwnerAccount?: string;
|
|
933
939
|
/**
|
|
934
940
|
* @remarks
|
|
941
|
+
* The ID of the scaling group.
|
|
942
|
+
*
|
|
935
943
|
* This parameter is required.
|
|
936
944
|
*
|
|
937
945
|
* @example
|
|
@@ -950,6 +958,9 @@ export declare class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
950
958
|
}
|
|
951
959
|
export declare class CancelInstanceRefreshResponseBody extends $tea.Model {
|
|
952
960
|
/**
|
|
961
|
+
* @remarks
|
|
962
|
+
* The request ID.
|
|
963
|
+
*
|
|
953
964
|
* @example
|
|
954
965
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
955
966
|
*/
|
|
@@ -2267,6 +2278,8 @@ export declare class CreateScalingConfigurationRequest extends $tea.Model {
|
|
|
2267
2278
|
* hpc-clusterid
|
|
2268
2279
|
*/
|
|
2269
2280
|
hpcClusterId?: string;
|
|
2281
|
+
httpEndpoint?: string;
|
|
2282
|
+
httpTokens?: string;
|
|
2270
2283
|
/**
|
|
2271
2284
|
* @remarks
|
|
2272
2285
|
* The name of the image family. If you specify this parameter, the most recent custom images that are available in the specified image family are returned. You can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -2753,6 +2766,8 @@ export declare class CreateScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
2753
2766
|
* hpc-clusterid
|
|
2754
2767
|
*/
|
|
2755
2768
|
hpcClusterId?: string;
|
|
2769
|
+
httpEndpoint?: string;
|
|
2770
|
+
httpTokens?: string;
|
|
2756
2771
|
/**
|
|
2757
2772
|
* @remarks
|
|
2758
2773
|
* The name of the image family. If you specify this parameter, the most recent custom images that are available in the specified image family are returned. You can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -3301,28 +3316,22 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
|
|
|
3301
3316
|
* The health check mode of the scaling group. Valid values:
|
|
3302
3317
|
*
|
|
3303
3318
|
* * NONE: Auto Scaling does not check the health status of instances.
|
|
3304
|
-
* * ECS: Auto Scaling checks the health status of
|
|
3305
|
-
* *
|
|
3306
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of CLB instances are not supported as the health check basis for instances in the scaling group.
|
|
3319
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
3320
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB) instances are not supported as the health check basis for instances in the scaling group.
|
|
3307
3321
|
*
|
|
3308
3322
|
* Default value: ECS.
|
|
3309
3323
|
*
|
|
3324
|
+
* > If you want to enable instance health check and load balancer health check at the same time, we recommend that you specify `HealthCheckTypes`.
|
|
3325
|
+
*
|
|
3310
3326
|
* @example
|
|
3311
3327
|
* ECS
|
|
3312
3328
|
*/
|
|
3313
3329
|
healthCheckType?: string;
|
|
3314
3330
|
/**
|
|
3315
3331
|
* @remarks
|
|
3316
|
-
* The health check
|
|
3332
|
+
* The health check mode of the scaling group.
|
|
3317
3333
|
*
|
|
3318
|
-
*
|
|
3319
|
-
* * ECS: Auto Scaling checks the health status of ECS instances in the scaling group.
|
|
3320
|
-
* * ECI: Auto Scaling checks the health status of elastic container instances in the scaling group.
|
|
3321
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances based on the health check results of load balancers. The health check results of CLB instances are not supported as the health check basis for instances in the scaling group.
|
|
3322
|
-
*
|
|
3323
|
-
* > HealthCheckTypes has the same effect as `HealthCheckType`. You can select one of them to specify based on your business requirements. If you specify `HealthCheckType`, `HealthCheckTypes` is ignored. HealthCheckTypes is optional.
|
|
3324
|
-
*
|
|
3325
|
-
* Default value: ECS.
|
|
3334
|
+
* > You can specify multiple values for this parameter to enable multiple health check options at the same time. If you specify `HealthCheckType`, this parameter is ignored.
|
|
3326
3335
|
*/
|
|
3327
3336
|
healthCheckTypes?: string[];
|
|
3328
3337
|
/**
|
|
@@ -3569,6 +3578,21 @@ export declare class CreateScalingGroupRequest extends $tea.Model {
|
|
|
3569
3578
|
* true
|
|
3570
3579
|
*/
|
|
3571
3580
|
spotInstanceRemedy?: boolean;
|
|
3581
|
+
/**
|
|
3582
|
+
* @remarks
|
|
3583
|
+
* The period of time required by the ECS instance to enter the Stopped state. Unit: seconds. Valid values: 30 to 240.
|
|
3584
|
+
*
|
|
3585
|
+
* >
|
|
3586
|
+
*
|
|
3587
|
+
* * This parameter takes effect only if you set ScalingPolicy to release.
|
|
3588
|
+
*
|
|
3589
|
+
* * If you specify this parameter, the system will wait for the ECS instance to enter the Stopped state for the specified period of time before continuing with the scale-in operation, regardless of the status of the ECS instance.
|
|
3590
|
+
*
|
|
3591
|
+
* * If you do not specify this parameter, the system will wait for the ECS instance to stop before continuing with the scale-in operation. If the ECS instance is not successfully stopped, the scale-in process will be rolled back and considered failed.
|
|
3592
|
+
*
|
|
3593
|
+
* @example
|
|
3594
|
+
* 60
|
|
3595
|
+
*/
|
|
3572
3596
|
stopInstanceTimeout?: number;
|
|
3573
3597
|
/**
|
|
3574
3598
|
* @remarks
|
|
@@ -3706,7 +3730,7 @@ export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
|
3706
3730
|
cooldown?: number;
|
|
3707
3731
|
/**
|
|
3708
3732
|
* @remarks
|
|
3709
|
-
* Specifies whether to disable scale-in. This parameter is available only if you set
|
|
3733
|
+
* Specifies whether to disable scale-in. This parameter is available only if you set ScalingRuleType to TargetTrackingScalingRule.
|
|
3710
3734
|
*
|
|
3711
3735
|
* Default value: false.
|
|
3712
3736
|
*
|
|
@@ -3742,7 +3766,7 @@ export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
|
3742
3766
|
initialMaxSize?: number;
|
|
3743
3767
|
/**
|
|
3744
3768
|
* @remarks
|
|
3745
|
-
* The predefined metric
|
|
3769
|
+
* The predefined metric that you want to monitor. If you set ScalingRuleType to TargetTrackingScalingRule or PredictiveScalingRule, you must specify this parameter.
|
|
3746
3770
|
*
|
|
3747
3771
|
* Valid values if you set ScalingRuleType to TargetTrackingScalingRule:
|
|
3748
3772
|
*
|
|
@@ -3750,7 +3774,7 @@ export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
|
3750
3774
|
* * MemoryUtilization (recommended): the memory usage.
|
|
3751
3775
|
* * CpuUtilization: the average CPU utilization.
|
|
3752
3776
|
* * IntranetTx: the outbound traffic over an internal network.
|
|
3753
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
3777
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
3754
3778
|
* * VpcInternetTx: the outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
3755
3779
|
* * VpcInternetRx: the inbound traffic from the Internet to a VPC.
|
|
3756
3780
|
* * LoadBalancerRealServerAverageQps:the queries per second (QPS) per Application Load Balancer (ALB) server group.
|
|
@@ -3758,10 +3782,10 @@ export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
|
3758
3782
|
* Valid values if you set ScalingRuleType to PredictiveScalingRule:
|
|
3759
3783
|
*
|
|
3760
3784
|
* * CpuUtilization: the average CPU utilization.
|
|
3761
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
3762
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
3785
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
3786
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
3763
3787
|
*
|
|
3764
|
-
* For more information, see [Event-triggered tasks of the system monitoring type](https://
|
|
3788
|
+
* For more information, see [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html).
|
|
3765
3789
|
*
|
|
3766
3790
|
* @example
|
|
3767
3791
|
* CpuUtilization
|
|
@@ -3880,12 +3904,12 @@ export declare class CreateScalingRuleRequest extends $tea.Model {
|
|
|
3880
3904
|
* @remarks
|
|
3881
3905
|
* The type of the scaling rule. Valid values:
|
|
3882
3906
|
*
|
|
3883
|
-
* * SimpleScalingRule: a simple scaling rule.
|
|
3884
|
-
* * TargetTrackingScalingRule: a target tracking scaling rule.
|
|
3885
|
-
* * StepScalingRule: a step scaling rule.
|
|
3886
|
-
* * PredictiveScalingRule:
|
|
3907
|
+
* * SimpleScalingRule: a simple scaling rule. After you execute a simple scaling rule, Auto Scaling adjusts the number of ECS instances or elastic container instances in the scaling group based on the values of AdjustmentType and AdjustmentValue.
|
|
3908
|
+
* * TargetTrackingScalingRule: a target tracking scaling rule. After you execute a target tracking scaling rule, Auto Scaling dynamically calculates the number of ECS instances or elastic container instances to scale based on the predefined metric (MetricName) and attempts to maintain the metric value close to the expected value (TargetValue).
|
|
3909
|
+
* * StepScalingRule: a step scaling rule. After you execute a step scaling rule, Auto Scaling scales instances step by step based on the predefined thresholds and metric values.
|
|
3910
|
+
* * PredictiveScalingRule: uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to specify the value range for the scaling group.
|
|
3887
3911
|
*
|
|
3888
|
-
* Default value: SimpleScalingRule
|
|
3912
|
+
* Default value: SimpleScalingRule
|
|
3889
3913
|
*
|
|
3890
3914
|
* @example
|
|
3891
3915
|
* SimpleScalingRule
|
|
@@ -4861,7 +4885,7 @@ export declare class DescribeAlarmsRequest extends $tea.Model {
|
|
|
4861
4885
|
ownerId?: number;
|
|
4862
4886
|
/**
|
|
4863
4887
|
* @remarks
|
|
4864
|
-
* The
|
|
4888
|
+
* The page number. Pages start from page 1.
|
|
4865
4889
|
*
|
|
4866
4890
|
* Default value: 1.
|
|
4867
4891
|
*
|
|
@@ -4871,7 +4895,7 @@ export declare class DescribeAlarmsRequest extends $tea.Model {
|
|
|
4871
4895
|
pageNumber?: number;
|
|
4872
4896
|
/**
|
|
4873
4897
|
* @remarks
|
|
4874
|
-
* The number of entries
|
|
4898
|
+
* The number of entries per page. Maximum value: 50.
|
|
4875
4899
|
*
|
|
4876
4900
|
* Default value: 10.
|
|
4877
4901
|
*
|
|
@@ -5306,14 +5330,140 @@ export declare class DescribeEciScalingConfigurationsResponse extends $tea.Model
|
|
|
5306
5330
|
[key: string]: any;
|
|
5307
5331
|
});
|
|
5308
5332
|
}
|
|
5333
|
+
export declare class DescribeElasticStrengthRequest extends $tea.Model {
|
|
5334
|
+
/**
|
|
5335
|
+
* @remarks
|
|
5336
|
+
* The instance types. The instance types specified by this parameter overwrite the instance types specified in the scaling configuration.
|
|
5337
|
+
*/
|
|
5338
|
+
instanceTypes?: string[];
|
|
5339
|
+
/**
|
|
5340
|
+
* @remarks
|
|
5341
|
+
* The preemption policy that you want to apply to pay-as-you-go instances. The preemption policy specified by this parameter overwrites the preemption policy specified in the scaling configuration. Valid values:
|
|
5342
|
+
*
|
|
5343
|
+
* * NoSpot: The instances are created as regular pay-as-you-go instances.
|
|
5344
|
+
* * SpotWithPriceLimit: The instances are created as preemptible instances that have a user-defined maximum hourly price.
|
|
5345
|
+
* * SpotAsPriceGo: The instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bidding price.
|
|
5346
|
+
*
|
|
5347
|
+
* Default value: NoSpot.
|
|
5348
|
+
*
|
|
5349
|
+
* @example
|
|
5350
|
+
* NoSpot
|
|
5351
|
+
*/
|
|
5352
|
+
priorityStrategy?: string;
|
|
5353
|
+
/**
|
|
5354
|
+
* @remarks
|
|
5355
|
+
* The region ID of the scaling group.
|
|
5356
|
+
*
|
|
5357
|
+
* This parameter is required.
|
|
5358
|
+
*
|
|
5359
|
+
* @example
|
|
5360
|
+
* cn-qingdao
|
|
5361
|
+
*/
|
|
5362
|
+
regionId?: string;
|
|
5363
|
+
/**
|
|
5364
|
+
* @remarks
|
|
5365
|
+
* The ID of the scaling group.
|
|
5366
|
+
*
|
|
5367
|
+
* @example
|
|
5368
|
+
* asg-bp18p2yfxow2dloq****
|
|
5369
|
+
*/
|
|
5370
|
+
scalingGroupId?: string;
|
|
5371
|
+
/**
|
|
5372
|
+
* @remarks
|
|
5373
|
+
* The IDs of the scaling groups that you want to query.
|
|
5374
|
+
*/
|
|
5375
|
+
scalingGroupIds?: string[];
|
|
5376
|
+
/**
|
|
5377
|
+
* @remarks
|
|
5378
|
+
* The categories of the system disks. The categories of the system disks specified by this parameter overwrite the categories of the system disks specified in the scaling configuration. Valid values:
|
|
5379
|
+
*
|
|
5380
|
+
* * cloud: basic disk.
|
|
5381
|
+
* * cloud_efficiency: ultra disk.
|
|
5382
|
+
* * cloud_ssd: standard SSD.
|
|
5383
|
+
* * cloud_essd: Enterprise SSD (ESSD).
|
|
5384
|
+
*/
|
|
5385
|
+
systemDiskCategories?: string[];
|
|
5386
|
+
static names(): {
|
|
5387
|
+
[key: string]: string;
|
|
5388
|
+
};
|
|
5389
|
+
static types(): {
|
|
5390
|
+
[key: string]: any;
|
|
5391
|
+
};
|
|
5392
|
+
constructor(map?: {
|
|
5393
|
+
[key: string]: any;
|
|
5394
|
+
});
|
|
5395
|
+
}
|
|
5396
|
+
export declare class DescribeElasticStrengthResponseBody extends $tea.Model {
|
|
5397
|
+
/**
|
|
5398
|
+
* @remarks
|
|
5399
|
+
* The scaling strength models.
|
|
5400
|
+
*/
|
|
5401
|
+
elasticStrengthModels?: DescribeElasticStrengthResponseBodyElasticStrengthModels[];
|
|
5402
|
+
/**
|
|
5403
|
+
* @remarks
|
|
5404
|
+
* The request ID.
|
|
5405
|
+
*
|
|
5406
|
+
* @example
|
|
5407
|
+
* 73469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
5408
|
+
*/
|
|
5409
|
+
requestId?: string;
|
|
5410
|
+
/**
|
|
5411
|
+
* @remarks
|
|
5412
|
+
* The resource pools.
|
|
5413
|
+
*/
|
|
5414
|
+
resourcePools?: DescribeElasticStrengthResponseBodyResourcePools[];
|
|
5415
|
+
/**
|
|
5416
|
+
* @remarks
|
|
5417
|
+
* The scaling strength of the scaling group. Each combination of instance type + zone is scored from 0 to 1 based on its availability, with 0 being the weakest scaling strength and 1 being the strongest. The scaling strength of the scaling group is measured by the combined scores of all the combinations of instance type + zone.
|
|
5418
|
+
*
|
|
5419
|
+
* @example
|
|
5420
|
+
* 1.5
|
|
5421
|
+
*/
|
|
5422
|
+
totalStrength?: number;
|
|
5423
|
+
static names(): {
|
|
5424
|
+
[key: string]: string;
|
|
5425
|
+
};
|
|
5426
|
+
static types(): {
|
|
5427
|
+
[key: string]: any;
|
|
5428
|
+
};
|
|
5429
|
+
constructor(map?: {
|
|
5430
|
+
[key: string]: any;
|
|
5431
|
+
});
|
|
5432
|
+
}
|
|
5433
|
+
export declare class DescribeElasticStrengthResponse extends $tea.Model {
|
|
5434
|
+
headers?: {
|
|
5435
|
+
[key: string]: string;
|
|
5436
|
+
};
|
|
5437
|
+
statusCode?: number;
|
|
5438
|
+
body?: DescribeElasticStrengthResponseBody;
|
|
5439
|
+
static names(): {
|
|
5440
|
+
[key: string]: string;
|
|
5441
|
+
};
|
|
5442
|
+
static types(): {
|
|
5443
|
+
[key: string]: any;
|
|
5444
|
+
};
|
|
5445
|
+
constructor(map?: {
|
|
5446
|
+
[key: string]: any;
|
|
5447
|
+
});
|
|
5448
|
+
}
|
|
5309
5449
|
export declare class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
5450
|
+
/**
|
|
5451
|
+
* @remarks
|
|
5452
|
+
* The IDs of the instance refresh tasks that you want to query.
|
|
5453
|
+
*/
|
|
5310
5454
|
instanceRefreshTaskIds?: string[];
|
|
5311
5455
|
/**
|
|
5456
|
+
* @remarks
|
|
5457
|
+
* The maximum number of entries per page. Valid values: 1 to 50. Default value: 10.
|
|
5458
|
+
*
|
|
5312
5459
|
* @example
|
|
5313
5460
|
* 10
|
|
5314
5461
|
*/
|
|
5315
5462
|
maxResults?: number;
|
|
5316
5463
|
/**
|
|
5464
|
+
* @remarks
|
|
5465
|
+
* The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
|
|
5466
|
+
*
|
|
5317
5467
|
* @example
|
|
5318
5468
|
* caeba0bbb2be03f84eb48b699f0a****
|
|
5319
5469
|
*/
|
|
@@ -5322,6 +5472,8 @@ export declare class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
5322
5472
|
ownerId?: number;
|
|
5323
5473
|
/**
|
|
5324
5474
|
* @remarks
|
|
5475
|
+
* The region ID of the scaling group to which the instance refresh task belongs.
|
|
5476
|
+
*
|
|
5325
5477
|
* This parameter is required.
|
|
5326
5478
|
*
|
|
5327
5479
|
* @example
|
|
@@ -5331,6 +5483,11 @@ export declare class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
5331
5483
|
resourceOwnerAccount?: string;
|
|
5332
5484
|
resourceOwnerId?: number;
|
|
5333
5485
|
/**
|
|
5486
|
+
* @remarks
|
|
5487
|
+
* The ID of the scaling group.
|
|
5488
|
+
*
|
|
5489
|
+
* > When you call this operation, you must specify one of the following parameters: ScalingGroupId and InstanceRefreshTaskIds. You cannot specify both of them. If you specify neither of them, an error is reported.
|
|
5490
|
+
*
|
|
5334
5491
|
* @example
|
|
5335
5492
|
* asg-bp1ffogfdauy0jw0****
|
|
5336
5493
|
*/
|
|
@@ -5346,23 +5503,39 @@ export declare class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
5346
5503
|
});
|
|
5347
5504
|
}
|
|
5348
5505
|
export declare class DescribeInstanceRefreshesResponseBody extends $tea.Model {
|
|
5506
|
+
/**
|
|
5507
|
+
* @remarks
|
|
5508
|
+
* The instance refresh tasks.
|
|
5509
|
+
*/
|
|
5349
5510
|
instanceRefreshTasks?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks[];
|
|
5350
5511
|
/**
|
|
5512
|
+
* @remarks
|
|
5513
|
+
* The maximum number of entries per page.
|
|
5514
|
+
*
|
|
5351
5515
|
* @example
|
|
5352
5516
|
* 50
|
|
5353
5517
|
*/
|
|
5354
5518
|
maxResults?: number;
|
|
5355
5519
|
/**
|
|
5520
|
+
* @remarks
|
|
5521
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
|
|
5522
|
+
*
|
|
5356
5523
|
* @example
|
|
5357
5524
|
* caeba0bbb2be03f84eb48b699f****
|
|
5358
5525
|
*/
|
|
5359
5526
|
nextToken?: string;
|
|
5360
5527
|
/**
|
|
5528
|
+
* @remarks
|
|
5529
|
+
* The ID of the request.
|
|
5530
|
+
*
|
|
5361
5531
|
* @example
|
|
5362
5532
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
5363
5533
|
*/
|
|
5364
5534
|
requestId?: string;
|
|
5365
5535
|
/**
|
|
5536
|
+
* @remarks
|
|
5537
|
+
* The total number of instance refresh tasks.
|
|
5538
|
+
*
|
|
5366
5539
|
* @example
|
|
5367
5540
|
* 100
|
|
5368
5541
|
*/
|
|
@@ -6326,12 +6499,16 @@ export declare class DescribeRegionsResponse extends $tea.Model {
|
|
|
6326
6499
|
});
|
|
6327
6500
|
}
|
|
6328
6501
|
export declare class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
6502
|
+
/**
|
|
6503
|
+
* @example
|
|
6504
|
+
* ir-a12ds234fasd*****
|
|
6505
|
+
*/
|
|
6329
6506
|
instanceRefreshTaskId?: string;
|
|
6330
6507
|
ownerAccount?: string;
|
|
6331
6508
|
ownerId?: number;
|
|
6332
6509
|
/**
|
|
6333
6510
|
* @remarks
|
|
6334
|
-
* The
|
|
6511
|
+
* The page number. Pages start from page 1.
|
|
6335
6512
|
*
|
|
6336
6513
|
* Default value: 1.
|
|
6337
6514
|
*
|
|
@@ -6341,7 +6518,7 @@ export declare class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
|
6341
6518
|
pageNumber?: number;
|
|
6342
6519
|
/**
|
|
6343
6520
|
* @remarks
|
|
6344
|
-
* The number of entries
|
|
6521
|
+
* The number of entries per page. Maximum value: 50.
|
|
6345
6522
|
*
|
|
6346
6523
|
* Default value: 10.
|
|
6347
6524
|
*
|
|
@@ -6365,14 +6542,14 @@ export declare class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
|
6365
6542
|
* @remarks
|
|
6366
6543
|
* The IDs of the scaling activities that you want to query.
|
|
6367
6544
|
*
|
|
6368
|
-
* >
|
|
6545
|
+
* > When you call this operation, you must specify one of the following parameters: `ScalingGroupId` and `ScalingActivityIds`. You cannot specify both of them at the same time. If you specify neither of them, an error is reported.
|
|
6369
6546
|
*/
|
|
6370
6547
|
scalingActivityIds?: string[];
|
|
6371
6548
|
/**
|
|
6372
6549
|
* @remarks
|
|
6373
6550
|
* The ID of the scaling group.
|
|
6374
6551
|
*
|
|
6375
|
-
* >
|
|
6552
|
+
* > When you call this operation, you must specify one of the following parameters: `ScalingGroupId` and `ScalingActivityIds`. You cannot specify both of them at the same time. If you specify neither of them, an error is reported.
|
|
6376
6553
|
*
|
|
6377
6554
|
* @example
|
|
6378
6555
|
* asg-bp18p2yfxow2dloq****
|
|
@@ -6429,7 +6606,7 @@ export declare class DescribeScalingActivitiesResponseBody extends $tea.Model {
|
|
|
6429
6606
|
requestId?: string;
|
|
6430
6607
|
/**
|
|
6431
6608
|
* @remarks
|
|
6432
|
-
* The
|
|
6609
|
+
* The scaling activities.
|
|
6433
6610
|
*/
|
|
6434
6611
|
scalingActivities?: DescribeScalingActivitiesResponseBodyScalingActivities[];
|
|
6435
6612
|
/**
|
|
@@ -6754,7 +6931,7 @@ export declare class DescribeScalingGroupDetailResponseBody extends $tea.Model {
|
|
|
6754
6931
|
requestId?: string;
|
|
6755
6932
|
/**
|
|
6756
6933
|
* @remarks
|
|
6757
|
-
* The
|
|
6934
|
+
* The scaling group.
|
|
6758
6935
|
*/
|
|
6759
6936
|
scalingGroup?: DescribeScalingGroupDetailResponseBodyScalingGroup;
|
|
6760
6937
|
static names(): {
|
|
@@ -7149,7 +7326,7 @@ export declare class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
7149
7326
|
ownerId?: number;
|
|
7150
7327
|
/**
|
|
7151
7328
|
* @remarks
|
|
7152
|
-
* The
|
|
7329
|
+
* The page number. Pages start from page 1.
|
|
7153
7330
|
*
|
|
7154
7331
|
* Default value: 1.
|
|
7155
7332
|
*
|
|
@@ -7159,7 +7336,7 @@ export declare class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
7159
7336
|
pageNumber?: number;
|
|
7160
7337
|
/**
|
|
7161
7338
|
* @remarks
|
|
7162
|
-
* The number of entries
|
|
7339
|
+
* The number of entries per page. Maximum value: 50.
|
|
7163
7340
|
*
|
|
7164
7341
|
* Default value: 10.
|
|
7165
7342
|
*
|
|
@@ -7217,7 +7394,7 @@ export declare class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
7217
7394
|
scalingRuleType?: string;
|
|
7218
7395
|
/**
|
|
7219
7396
|
* @remarks
|
|
7220
|
-
* Specifies whether to return
|
|
7397
|
+
* Specifies whether to return the event-triggered tasks that are associated with the scaling rule. Valid values:
|
|
7221
7398
|
*
|
|
7222
7399
|
* * true
|
|
7223
7400
|
* * false
|
|
@@ -10317,6 +10494,8 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
10317
10494
|
* hpc-clusterid
|
|
10318
10495
|
*/
|
|
10319
10496
|
hpcClusterId?: string;
|
|
10497
|
+
httpEndpoint?: string;
|
|
10498
|
+
httpTokens?: string;
|
|
10320
10499
|
/**
|
|
10321
10500
|
* @remarks
|
|
10322
10501
|
* The name of the image family. If you specify this parameter, the latest custom images that are available in the specified image family are returned. Then, you can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -10389,6 +10568,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
10389
10568
|
* PayByBandwidth
|
|
10390
10569
|
*/
|
|
10391
10570
|
internetChargeType?: string;
|
|
10571
|
+
internetMaxBandwidthIn?: number;
|
|
10392
10572
|
/**
|
|
10393
10573
|
* @remarks
|
|
10394
10574
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
@@ -10457,7 +10637,7 @@ export declare class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
10457
10637
|
networkInterfaces?: ModifyScalingConfigurationRequestNetworkInterfaces[];
|
|
10458
10638
|
/**
|
|
10459
10639
|
* @remarks
|
|
10460
|
-
* Specifies whether to
|
|
10640
|
+
* Specifies whether to override existing data. Valid values:
|
|
10461
10641
|
*
|
|
10462
10642
|
* * true
|
|
10463
10643
|
* * false
|
|
@@ -10775,6 +10955,8 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
10775
10955
|
* hpc-clusterid
|
|
10776
10956
|
*/
|
|
10777
10957
|
hpcClusterId?: string;
|
|
10958
|
+
httpEndpoint?: string;
|
|
10959
|
+
httpTokens?: string;
|
|
10778
10960
|
/**
|
|
10779
10961
|
* @remarks
|
|
10780
10962
|
* The name of the image family. If you specify this parameter, the latest custom images that are available in the specified image family are returned. Then, you can use the images to create instances. If you specify ImageId, you cannot specify ImageFamily.
|
|
@@ -10847,6 +11029,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
10847
11029
|
* PayByBandwidth
|
|
10848
11030
|
*/
|
|
10849
11031
|
internetChargeType?: string;
|
|
11032
|
+
internetMaxBandwidthIn?: number;
|
|
10850
11033
|
/**
|
|
10851
11034
|
* @remarks
|
|
10852
11035
|
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
@@ -10915,7 +11098,7 @@ export declare class ModifyScalingConfigurationShrinkRequest extends $tea.Model
|
|
|
10915
11098
|
networkInterfaces?: ModifyScalingConfigurationShrinkRequestNetworkInterfaces[];
|
|
10916
11099
|
/**
|
|
10917
11100
|
* @remarks
|
|
10918
|
-
* Specifies whether to
|
|
11101
|
+
* Specifies whether to override existing data. Valid values:
|
|
10919
11102
|
*
|
|
10920
11103
|
* * true
|
|
10921
11104
|
* * false
|
|
@@ -11246,12 +11429,11 @@ export declare class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
11246
11429
|
* @remarks
|
|
11247
11430
|
* The health check mode of the scaling group. Valid values:
|
|
11248
11431
|
*
|
|
11249
|
-
* * NONE: Auto Scaling does not
|
|
11250
|
-
* * ECS: Auto Scaling checks the health status of
|
|
11251
|
-
* *
|
|
11252
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB) instances are not supported as the health check basis for instances in the scaling group.
|
|
11432
|
+
* * NONE: Auto Scaling does not check the health status of instances.
|
|
11433
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
11434
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB) instances are not supported as the health check basis for instances in the scaling group. Default value: ECS.
|
|
11253
11435
|
*
|
|
11254
|
-
* >
|
|
11436
|
+
* > If you want to enable instance health check and load balancer health check at the same time, we recommend that you specify `HealthCheckTypes`.
|
|
11255
11437
|
*
|
|
11256
11438
|
* @example
|
|
11257
11439
|
* ECS
|
|
@@ -11259,12 +11441,9 @@ export declare class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
11259
11441
|
healthCheckType?: string;
|
|
11260
11442
|
/**
|
|
11261
11443
|
* @remarks
|
|
11262
|
-
* The health check
|
|
11444
|
+
* The health check mode of the scaling group.
|
|
11263
11445
|
*
|
|
11264
|
-
*
|
|
11265
|
-
* * ECS: Auto Scaling checks the health status of ECS instances in the scaling group.
|
|
11266
|
-
* * ECI: Auto Scaling checks the health status of elastic container instances in the scaling group.
|
|
11267
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of CLB instances are not supported as the health check basis for instances in the scaling group.
|
|
11446
|
+
* > You can specify multiple values for this parameter to enable multiple health check options at the same time. If you specify HealthCheckType, this parameter is ignored.
|
|
11268
11447
|
*/
|
|
11269
11448
|
healthCheckTypes?: string[];
|
|
11270
11449
|
/**
|
|
@@ -11452,6 +11631,21 @@ export declare class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
11452
11631
|
* true
|
|
11453
11632
|
*/
|
|
11454
11633
|
spotInstanceRemedy?: boolean;
|
|
11634
|
+
/**
|
|
11635
|
+
* @remarks
|
|
11636
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds. Valid values: 30 to 240.
|
|
11637
|
+
*
|
|
11638
|
+
* >
|
|
11639
|
+
*
|
|
11640
|
+
* * This parameter takes effect only if you set ScalingPolicy to release.\\
|
|
11641
|
+
* If you specify this parameter, the system proceeds with the scale-in process only after the period of time specified by StopInstanceTimeout ends. In this case, the scale-in operation continues regardless of whether the ECS instance enters the Stopped state or not.\\
|
|
11642
|
+
* If you do not specify this parameter, the system proceeds with the scale-in process only after the ECS instance enters the Stopped state. If the ECS instance fails to enter the Stopped state, the scale-in process rolls back, and the scale-in operation is considered as failed.
|
|
11643
|
+
*
|
|
11644
|
+
* * When you call the ModifyScalingGroup operation, you can set the value to 0. In this case, the system ignores this parameter.
|
|
11645
|
+
*
|
|
11646
|
+
* @example
|
|
11647
|
+
* 60
|
|
11648
|
+
*/
|
|
11455
11649
|
stopInstanceTimeout?: number;
|
|
11456
11650
|
/**
|
|
11457
11651
|
* @remarks
|
|
@@ -11583,19 +11777,22 @@ export declare class ModifyScalingRuleRequest extends $tea.Model {
|
|
|
11583
11777
|
*
|
|
11584
11778
|
* Valid values if you create a target tracking scaling rule:
|
|
11585
11779
|
*
|
|
11780
|
+
* * CpuUtilizationAgent (recommended): the CPU utilization.
|
|
11781
|
+
* * MemoryUtilization (recommended): the memory usage.
|
|
11586
11782
|
* * CpuUtilization: the average CPU utilization.
|
|
11587
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
11588
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
11589
|
-
* * VpcInternetTx: the outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
11590
|
-
* * VpcInternetRx: the inbound traffic from the Internet to a VPC.
|
|
11591
|
-
* * MemoryUtilization: the memory usage.
|
|
11783
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
11784
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
11785
|
+
* * VpcInternetTx: the average outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
11786
|
+
* * VpcInternetRx: the average inbound traffic from the Internet to a VPC.
|
|
11592
11787
|
* * LoadBalancerRealServerAverageQps: the queries per second (QPS) per Application Load Balancer (ALB) server group.
|
|
11593
11788
|
*
|
|
11594
11789
|
* Valid values if you create a predictive scaling rule:
|
|
11595
11790
|
*
|
|
11596
11791
|
* * CpuUtilization: the average CPU utilization.
|
|
11597
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
11598
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
11792
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
11793
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
11794
|
+
*
|
|
11795
|
+
* For more information, see [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html).
|
|
11599
11796
|
*
|
|
11600
11797
|
* @example
|
|
11601
11798
|
* CpuUtilization
|
|
@@ -12197,6 +12394,21 @@ export declare class RemoveInstancesRequest extends $tea.Model {
|
|
|
12197
12394
|
* asg-bp18p2yfxow2dloq****
|
|
12198
12395
|
*/
|
|
12199
12396
|
scalingGroupId?: string;
|
|
12397
|
+
/**
|
|
12398
|
+
* @remarks
|
|
12399
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds. Valid values: 30 to 240.
|
|
12400
|
+
*
|
|
12401
|
+
* >
|
|
12402
|
+
*
|
|
12403
|
+
* * By default, this parameter inherits the value of StopInstanceTimeout specified in the CreateScalingGroup or ModifyScalingGroup operation. You can also specify a different value for this parameter in the RemoveInstances operation.
|
|
12404
|
+
*
|
|
12405
|
+
* * This parameter takes effect only if you set RemovePolicy to release.\\
|
|
12406
|
+
* If you specify this parameter, the system proceeds with the scale-in process only after the period of time specified by StopInstanceTimeout ends. In this case, the scale-in operation continues regardless of whether the ECS instance enters the Stopped state or not.\\
|
|
12407
|
+
* If you do not specify this parameter, the system proceeds with the scale-in process only after the ECS instance enters the Stopped state. If the ECS instance fails to enter the Stopped state, the scale-in process rolls back, and the scale-in operation is considered as failed.
|
|
12408
|
+
*
|
|
12409
|
+
* @example
|
|
12410
|
+
* 60
|
|
12411
|
+
*/
|
|
12200
12412
|
stopInstanceTimeout?: number;
|
|
12201
12413
|
static names(): {
|
|
12202
12414
|
[key: string]: string;
|
|
@@ -12254,6 +12466,8 @@ export declare class RemoveInstancesResponse extends $tea.Model {
|
|
|
12254
12466
|
export declare class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
12255
12467
|
/**
|
|
12256
12468
|
* @remarks
|
|
12469
|
+
* The ID of the instance refresh task.
|
|
12470
|
+
*
|
|
12257
12471
|
* This parameter is required.
|
|
12258
12472
|
*
|
|
12259
12473
|
* @example
|
|
@@ -12263,6 +12477,8 @@ export declare class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
12263
12477
|
ownerId?: number;
|
|
12264
12478
|
/**
|
|
12265
12479
|
* @remarks
|
|
12480
|
+
* The region ID of the scaling group.
|
|
12481
|
+
*
|
|
12266
12482
|
* This parameter is required.
|
|
12267
12483
|
*
|
|
12268
12484
|
* @example
|
|
@@ -12272,6 +12488,8 @@ export declare class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
12272
12488
|
resourceOwnerAccount?: string;
|
|
12273
12489
|
/**
|
|
12274
12490
|
* @remarks
|
|
12491
|
+
* The ID of the scaling group.
|
|
12492
|
+
*
|
|
12275
12493
|
* This parameter is required.
|
|
12276
12494
|
*
|
|
12277
12495
|
* @example
|
|
@@ -12290,6 +12508,9 @@ export declare class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
12290
12508
|
}
|
|
12291
12509
|
export declare class ResumeInstanceRefreshResponseBody extends $tea.Model {
|
|
12292
12510
|
/**
|
|
12511
|
+
* @remarks
|
|
12512
|
+
* The request ID.
|
|
12513
|
+
*
|
|
12293
12514
|
* @example
|
|
12294
12515
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
12295
12516
|
*/
|
|
@@ -12406,6 +12627,8 @@ export declare class ResumeProcessesResponse extends $tea.Model {
|
|
|
12406
12627
|
export declare class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
12407
12628
|
/**
|
|
12408
12629
|
* @remarks
|
|
12630
|
+
* The ID of the instance refresh task.
|
|
12631
|
+
*
|
|
12409
12632
|
* This parameter is required.
|
|
12410
12633
|
*
|
|
12411
12634
|
* @example
|
|
@@ -12415,6 +12638,8 @@ export declare class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
12415
12638
|
ownerId?: number;
|
|
12416
12639
|
/**
|
|
12417
12640
|
* @remarks
|
|
12641
|
+
* The region ID of the scaling group.
|
|
12642
|
+
*
|
|
12418
12643
|
* This parameter is required.
|
|
12419
12644
|
*
|
|
12420
12645
|
* @example
|
|
@@ -12424,6 +12649,8 @@ export declare class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
12424
12649
|
resourceOwnerAccount?: string;
|
|
12425
12650
|
/**
|
|
12426
12651
|
* @remarks
|
|
12652
|
+
* The ID of the scaling group.
|
|
12653
|
+
*
|
|
12427
12654
|
* This parameter is required.
|
|
12428
12655
|
*
|
|
12429
12656
|
* @example
|
|
@@ -12442,6 +12669,9 @@ export declare class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
12442
12669
|
}
|
|
12443
12670
|
export declare class RollbackInstanceRefreshResponseBody extends $tea.Model {
|
|
12444
12671
|
/**
|
|
12672
|
+
* @remarks
|
|
12673
|
+
* The request ID.
|
|
12674
|
+
*
|
|
12445
12675
|
* @example
|
|
12446
12676
|
* B13527BF-1FBD-4334-A512-20F5E9D3****
|
|
12447
12677
|
*/
|
|
@@ -12959,17 +13189,38 @@ export declare class SetInstancesProtectionResponse extends $tea.Model {
|
|
|
12959
13189
|
}
|
|
12960
13190
|
export declare class StartInstanceRefreshRequest extends $tea.Model {
|
|
12961
13191
|
/**
|
|
13192
|
+
* @remarks
|
|
13193
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see "How to ensure idempotence".
|
|
13194
|
+
*
|
|
12962
13195
|
* @example
|
|
12963
13196
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
12964
13197
|
*/
|
|
12965
13198
|
clientToken?: string;
|
|
13199
|
+
/**
|
|
13200
|
+
* @remarks
|
|
13201
|
+
* The desired configurations of the instance refresh task.
|
|
13202
|
+
*
|
|
13203
|
+
* >
|
|
13204
|
+
*
|
|
13205
|
+
* * When you call this operation, you must specify one of the following parameters: ScalingConfigurationId and ImageId.
|
|
13206
|
+
*
|
|
13207
|
+
* * Instances whose configurations match the desired configurations of the task are ignored during instance refresh.
|
|
13208
|
+
*/
|
|
12966
13209
|
desiredConfiguration?: StartInstanceRefreshRequestDesiredConfiguration;
|
|
12967
13210
|
/**
|
|
13211
|
+
* @remarks
|
|
13212
|
+
* The ratio of instances that can exceed the upper limit of the scaling group capacity to all instances in the scaling group during instance refresh. Valid values: 100 to 200. Default value: 120.
|
|
13213
|
+
*
|
|
13214
|
+
* > If you set MinHealthyPercentage and MaxHealthyPercentage to 100, Auto Scaling refreshes the configurations of one instance each time the instance refresh task starts.
|
|
13215
|
+
*
|
|
12968
13216
|
* @example
|
|
12969
13217
|
* 100
|
|
12970
13218
|
*/
|
|
12971
13219
|
maxHealthyPercentage?: number;
|
|
12972
13220
|
/**
|
|
13221
|
+
* @remarks
|
|
13222
|
+
* The ratio of instances that are in the In Service state to all instances in the scaling group during instance refresh. Valid values: 0 to 100. Default value: 80.
|
|
13223
|
+
*
|
|
12973
13224
|
* @example
|
|
12974
13225
|
* 80
|
|
12975
13226
|
*/
|
|
@@ -12977,6 +13228,8 @@ export declare class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
12977
13228
|
ownerId?: number;
|
|
12978
13229
|
/**
|
|
12979
13230
|
* @remarks
|
|
13231
|
+
* The region ID of the scaling group.
|
|
13232
|
+
*
|
|
12980
13233
|
* This parameter is required.
|
|
12981
13234
|
*
|
|
12982
13235
|
* @example
|
|
@@ -12986,6 +13239,8 @@ export declare class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
12986
13239
|
resourceOwnerAccount?: string;
|
|
12987
13240
|
/**
|
|
12988
13241
|
* @remarks
|
|
13242
|
+
* The ID of the scaling group.
|
|
13243
|
+
*
|
|
12989
13244
|
* This parameter is required.
|
|
12990
13245
|
*
|
|
12991
13246
|
* @example
|
|
@@ -13004,11 +13259,17 @@ export declare class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
13004
13259
|
}
|
|
13005
13260
|
export declare class StartInstanceRefreshResponseBody extends $tea.Model {
|
|
13006
13261
|
/**
|
|
13262
|
+
* @remarks
|
|
13263
|
+
* The ID of the instance refresh task.
|
|
13264
|
+
*
|
|
13007
13265
|
* @example
|
|
13008
13266
|
* ir-a12ds234fasd*****
|
|
13009
13267
|
*/
|
|
13010
13268
|
instanceRefreshTaskId?: string;
|
|
13011
13269
|
/**
|
|
13270
|
+
* @remarks
|
|
13271
|
+
* The request ID.
|
|
13272
|
+
*
|
|
13012
13273
|
* @example
|
|
13013
13274
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
13014
13275
|
*/
|
|
@@ -13042,6 +13303,8 @@ export declare class StartInstanceRefreshResponse extends $tea.Model {
|
|
|
13042
13303
|
export declare class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
13043
13304
|
/**
|
|
13044
13305
|
* @remarks
|
|
13306
|
+
* The ID of the instance refresh task.
|
|
13307
|
+
*
|
|
13045
13308
|
* This parameter is required.
|
|
13046
13309
|
*
|
|
13047
13310
|
* @example
|
|
@@ -13051,6 +13314,8 @@ export declare class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
13051
13314
|
ownerId?: number;
|
|
13052
13315
|
/**
|
|
13053
13316
|
* @remarks
|
|
13317
|
+
* The region ID of the scaling group.
|
|
13318
|
+
*
|
|
13054
13319
|
* This parameter is required.
|
|
13055
13320
|
*
|
|
13056
13321
|
* @example
|
|
@@ -13060,6 +13325,8 @@ export declare class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
13060
13325
|
resourceOwnerAccount?: string;
|
|
13061
13326
|
/**
|
|
13062
13327
|
* @remarks
|
|
13328
|
+
* The ID of the scaling group.
|
|
13329
|
+
*
|
|
13063
13330
|
* This parameter is required.
|
|
13064
13331
|
*
|
|
13065
13332
|
* @example
|
|
@@ -13078,6 +13345,9 @@ export declare class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
13078
13345
|
}
|
|
13079
13346
|
export declare class SuspendInstanceRefreshResponseBody extends $tea.Model {
|
|
13080
13347
|
/**
|
|
13348
|
+
* @remarks
|
|
13349
|
+
* The request ID.
|
|
13350
|
+
*
|
|
13081
13351
|
* @example
|
|
13082
13352
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
13083
13353
|
*/
|
|
@@ -15653,6 +15923,16 @@ export declare class CreateScalingConfigurationRequestNetworkInterfaces extends
|
|
|
15653
15923
|
});
|
|
15654
15924
|
}
|
|
15655
15925
|
export declare class CreateScalingConfigurationRequestSecurityOptions extends $tea.Model {
|
|
15926
|
+
/**
|
|
15927
|
+
* @remarks
|
|
15928
|
+
* The confidential computing mode. Valid values:
|
|
15929
|
+
*
|
|
15930
|
+
* * Enclave: An enclave-based confidential computing environment is built on the instance. For more information, see [Build a confidential computing environment by using Enclave](https://help.aliyun.com/document_detail/203433.html).
|
|
15931
|
+
* * TDX: A Trust Domain Extensions (TDX) confidential computing environment is built on the instance. For more information, see [Build a TDX confidential computing environment](https://help.aliyun.com/document_detail/479090.html).
|
|
15932
|
+
*
|
|
15933
|
+
* @example
|
|
15934
|
+
* TDX
|
|
15935
|
+
*/
|
|
15656
15936
|
confidentialComputingMode?: string;
|
|
15657
15937
|
static names(): {
|
|
15658
15938
|
[key: string]: string;
|
|
@@ -16402,6 +16682,16 @@ export declare class CreateScalingConfigurationShrinkRequestNetworkInterfaces ex
|
|
|
16402
16682
|
});
|
|
16403
16683
|
}
|
|
16404
16684
|
export declare class CreateScalingConfigurationShrinkRequestSecurityOptions extends $tea.Model {
|
|
16685
|
+
/**
|
|
16686
|
+
* @remarks
|
|
16687
|
+
* The confidential computing mode. Valid values:
|
|
16688
|
+
*
|
|
16689
|
+
* * Enclave: An enclave-based confidential computing environment is built on the instance. For more information, see [Build a confidential computing environment by using Enclave](https://help.aliyun.com/document_detail/203433.html).
|
|
16690
|
+
* * TDX: A Trust Domain Extensions (TDX) confidential computing environment is built on the instance. For more information, see [Build a TDX confidential computing environment](https://help.aliyun.com/document_detail/479090.html).
|
|
16691
|
+
*
|
|
16692
|
+
* @example
|
|
16693
|
+
* TDX
|
|
16694
|
+
*/
|
|
16405
16695
|
confidentialComputingMode?: string;
|
|
16406
16696
|
static names(): {
|
|
16407
16697
|
[key: string]: string;
|
|
@@ -16585,7 +16875,7 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
|
|
|
16585
16875
|
* @remarks
|
|
16586
16876
|
* The action that Auto Scaling performs when the lifecycle hook times out. Valid values:
|
|
16587
16877
|
*
|
|
16588
|
-
* * CONTINUE: Auto Scaling continues to respond to
|
|
16878
|
+
* * CONTINUE: Auto Scaling continues to respond to the scaling request.
|
|
16589
16879
|
* * ABANDON: Auto Scaling releases ECS instances that are created during scale-out events, or removes ECS instances from the scaling group during scale-in events.
|
|
16590
16880
|
*
|
|
16591
16881
|
* If multiple lifecycle hooks in the scaling group are triggered during scale-in events, and you set DefaultResult to ABANDON for one of the lifecycle hooks, Auto Scaling immediately performs the action after the lifecycle hook whose DefaultResult is set to ABANDON times out. In this case, other lifecycle hooks time out ahead of schedule. In other cases, Auto Scaling performs the action only after all lifecycle hooks time out. The action that Auto Scaling performs is determined by the value of DefaultResult that you specify for the lifecycle hook that most recently times out.
|
|
@@ -16600,7 +16890,7 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
|
|
|
16600
16890
|
* @remarks
|
|
16601
16891
|
* The period of time before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action that is specified by DefaultResult. Valid values: 30 to 21600. Unit: seconds.
|
|
16602
16892
|
*
|
|
16603
|
-
* After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of
|
|
16893
|
+
* After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the timeout period of the lifecycle hook. You can also call the CompleteLifecycleAction operation to end the timeout period of the lifecycle hook ahead of schedule.
|
|
16604
16894
|
*
|
|
16605
16895
|
* Default value: 600.
|
|
16606
16896
|
*
|
|
@@ -16631,15 +16921,15 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
|
|
|
16631
16921
|
lifecycleTransition?: string;
|
|
16632
16922
|
/**
|
|
16633
16923
|
* @remarks
|
|
16634
|
-
* The
|
|
16924
|
+
* The Alibaba Cloud Resource Name (ARN) of the notification recipient party. You can specify a Simple Message Queue (SMQ, formerly MNS) topic or queue as the recipient party. The value is in the acs:ess:{region}:{account-id}:{resource-relative-id} format.
|
|
16635
16925
|
*
|
|
16636
16926
|
* * region: the region ID of the scaling group
|
|
16637
16927
|
* * account-id: the ID of your Alibaba Cloud account.
|
|
16638
16928
|
*
|
|
16639
16929
|
* Examples:
|
|
16640
16930
|
*
|
|
16641
|
-
* *
|
|
16642
|
-
* *
|
|
16931
|
+
* * SMQ queue: acs:ess:{region}:{account-id}:queue/{queuename}
|
|
16932
|
+
* * SMQ topic: acs:ess:{region}:{account-id}:topic/{topicname}
|
|
16643
16933
|
*
|
|
16644
16934
|
* @example
|
|
16645
16935
|
* acs:ess:cn-hangzhou:1111111111:queue/queue2
|
|
@@ -16647,7 +16937,7 @@ export declare class CreateScalingGroupRequestLifecycleHooks extends $tea.Model
|
|
|
16647
16937
|
notificationArn?: string;
|
|
16648
16938
|
/**
|
|
16649
16939
|
* @remarks
|
|
16650
|
-
* The fixed string that you want to include in
|
|
16940
|
+
* The fixed string that you want to include in notifications. When a lifecycle hook takes effect, Auto Scaling sends a notification. The fixed string can contain up to 4,096 characters in length. When Auto Scaling sends a notification to the recipient party, it includes predefined notification metadata into the notification. This helps in managing and labeling notifications of different categories. NotificationMetadata takes effect only if you specify NotificationArn.
|
|
16651
16941
|
*
|
|
16652
16942
|
* @example
|
|
16653
16943
|
* Test
|
|
@@ -20479,13 +20769,163 @@ export declare class DescribeEciScalingConfigurationsResponseBodyScalingConfigur
|
|
|
20479
20769
|
[key: string]: any;
|
|
20480
20770
|
});
|
|
20481
20771
|
}
|
|
20772
|
+
export declare class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
20773
|
+
/**
|
|
20774
|
+
* @remarks
|
|
20775
|
+
* The error code returned when the scaling strength is the weakest.
|
|
20776
|
+
*
|
|
20777
|
+
* @example
|
|
20778
|
+
* InstanceTypesOrDiskTypesNotSupported
|
|
20779
|
+
*/
|
|
20780
|
+
code?: string;
|
|
20781
|
+
/**
|
|
20782
|
+
* @remarks
|
|
20783
|
+
* The instance type of the resource pool.
|
|
20784
|
+
*
|
|
20785
|
+
* @example
|
|
20786
|
+
* ecs.r7.large
|
|
20787
|
+
*/
|
|
20788
|
+
instanceType?: string;
|
|
20789
|
+
/**
|
|
20790
|
+
* @remarks
|
|
20791
|
+
* The error message returned when the scaling strength is the weakest.
|
|
20792
|
+
*
|
|
20793
|
+
* @example
|
|
20794
|
+
* The instanceTypes or diskTypes are not supported.
|
|
20795
|
+
*/
|
|
20796
|
+
msg?: string;
|
|
20797
|
+
/**
|
|
20798
|
+
* @remarks
|
|
20799
|
+
* The scaling strength of the resource pool.
|
|
20800
|
+
*
|
|
20801
|
+
* @example
|
|
20802
|
+
* 0.6
|
|
20803
|
+
*/
|
|
20804
|
+
strength?: number;
|
|
20805
|
+
/**
|
|
20806
|
+
* @remarks
|
|
20807
|
+
* The IDs of the vSwitches in the zones of the resource pool.
|
|
20808
|
+
*/
|
|
20809
|
+
vSwitchIds?: string[];
|
|
20810
|
+
/**
|
|
20811
|
+
* @remarks
|
|
20812
|
+
* The zone ID of the resource pool.
|
|
20813
|
+
*
|
|
20814
|
+
* @example
|
|
20815
|
+
* cn-hangzhou-g
|
|
20816
|
+
*/
|
|
20817
|
+
zoneId?: string;
|
|
20818
|
+
static names(): {
|
|
20819
|
+
[key: string]: string;
|
|
20820
|
+
};
|
|
20821
|
+
static types(): {
|
|
20822
|
+
[key: string]: any;
|
|
20823
|
+
};
|
|
20824
|
+
constructor(map?: {
|
|
20825
|
+
[key: string]: any;
|
|
20826
|
+
});
|
|
20827
|
+
}
|
|
20828
|
+
export declare class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
20829
|
+
/**
|
|
20830
|
+
* @remarks
|
|
20831
|
+
* The resource pools.
|
|
20832
|
+
*/
|
|
20833
|
+
resourcePools?: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools[];
|
|
20834
|
+
/**
|
|
20835
|
+
* @remarks
|
|
20836
|
+
* The ID of the scaling group.
|
|
20837
|
+
*
|
|
20838
|
+
* @example
|
|
20839
|
+
* asg-wz98mnj7nblv9gc****
|
|
20840
|
+
*/
|
|
20841
|
+
scalingGroupId?: string;
|
|
20842
|
+
/**
|
|
20843
|
+
* @remarks
|
|
20844
|
+
* The scaling strength of the scaling group. Each combination of instance type + zone is scored from 0 to 1 based on its availability, with 0 being the weakest scaling strength and 1 being the strongest. The scaling strength of the scaling group is measured by the combined scores of all the combinations of instance type + zone.
|
|
20845
|
+
*
|
|
20846
|
+
* @example
|
|
20847
|
+
* 1.5
|
|
20848
|
+
*/
|
|
20849
|
+
totalStrength?: number;
|
|
20850
|
+
static names(): {
|
|
20851
|
+
[key: string]: string;
|
|
20852
|
+
};
|
|
20853
|
+
static types(): {
|
|
20854
|
+
[key: string]: any;
|
|
20855
|
+
};
|
|
20856
|
+
constructor(map?: {
|
|
20857
|
+
[key: string]: any;
|
|
20858
|
+
});
|
|
20859
|
+
}
|
|
20860
|
+
export declare class DescribeElasticStrengthResponseBodyResourcePools extends $tea.Model {
|
|
20861
|
+
/**
|
|
20862
|
+
* @remarks
|
|
20863
|
+
* The error code returned when the scaling strength is the weakest.
|
|
20864
|
+
*
|
|
20865
|
+
* @example
|
|
20866
|
+
* IMG_NOT_SUPPORTED
|
|
20867
|
+
*/
|
|
20868
|
+
code?: string;
|
|
20869
|
+
/**
|
|
20870
|
+
* @remarks
|
|
20871
|
+
* The instance type of the resource pool.
|
|
20872
|
+
*
|
|
20873
|
+
* @example
|
|
20874
|
+
* ecs.c7t.xlarge
|
|
20875
|
+
*/
|
|
20876
|
+
instanceType?: string;
|
|
20877
|
+
/**
|
|
20878
|
+
* @remarks
|
|
20879
|
+
* The error message returned when the scaling strength is the weakest.
|
|
20880
|
+
*
|
|
20881
|
+
* @example
|
|
20882
|
+
* The instanceType does not support the image in the configuration.
|
|
20883
|
+
*/
|
|
20884
|
+
msg?: string;
|
|
20885
|
+
/**
|
|
20886
|
+
* @remarks
|
|
20887
|
+
* The scaling strength of the resource pool.
|
|
20888
|
+
*
|
|
20889
|
+
* @example
|
|
20890
|
+
* 0.6
|
|
20891
|
+
*/
|
|
20892
|
+
strength?: number;
|
|
20893
|
+
/**
|
|
20894
|
+
* @remarks
|
|
20895
|
+
* The IDs of the vSwitches in the zones of the resource pool.
|
|
20896
|
+
*/
|
|
20897
|
+
vSwitchIds?: string[];
|
|
20898
|
+
/**
|
|
20899
|
+
* @remarks
|
|
20900
|
+
* The zone ID of the resource pool.
|
|
20901
|
+
*
|
|
20902
|
+
* @example
|
|
20903
|
+
* cn-hangzhou-g
|
|
20904
|
+
*/
|
|
20905
|
+
zoneId?: string;
|
|
20906
|
+
static names(): {
|
|
20907
|
+
[key: string]: string;
|
|
20908
|
+
};
|
|
20909
|
+
static types(): {
|
|
20910
|
+
[key: string]: any;
|
|
20911
|
+
};
|
|
20912
|
+
constructor(map?: {
|
|
20913
|
+
[key: string]: any;
|
|
20914
|
+
});
|
|
20915
|
+
}
|
|
20482
20916
|
export declare class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration extends $tea.Model {
|
|
20483
20917
|
/**
|
|
20918
|
+
* @remarks
|
|
20919
|
+
* The ID of the image file that provides the image resource for Auto Scaling to create instances.
|
|
20920
|
+
*
|
|
20484
20921
|
* @example
|
|
20485
20922
|
* m-uf6g5noisr****
|
|
20486
20923
|
*/
|
|
20487
20924
|
imageId?: string;
|
|
20488
20925
|
/**
|
|
20926
|
+
* @remarks
|
|
20927
|
+
* The ID of the scaling configuration.
|
|
20928
|
+
*
|
|
20489
20929
|
* @example
|
|
20490
20930
|
* asc-wz91ibkhfor****
|
|
20491
20931
|
*/
|
|
@@ -20501,58 +20941,106 @@ export declare class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDe
|
|
|
20501
20941
|
});
|
|
20502
20942
|
}
|
|
20503
20943
|
export declare class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $tea.Model {
|
|
20944
|
+
/**
|
|
20945
|
+
* @remarks
|
|
20946
|
+
* The desired configurations of the instance refresh task.
|
|
20947
|
+
*/
|
|
20504
20948
|
desiredConfiguration?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration;
|
|
20505
20949
|
/**
|
|
20950
|
+
* @remarks
|
|
20951
|
+
* The reason why the instance refresh task failed to be executed.
|
|
20952
|
+
*
|
|
20506
20953
|
* @example
|
|
20507
20954
|
* The task exceeded its maximum run time of one week. So the task failed.
|
|
20508
20955
|
*/
|
|
20509
20956
|
detail?: string;
|
|
20510
20957
|
/**
|
|
20958
|
+
* @remarks
|
|
20959
|
+
* The end time of the instance refresh task.
|
|
20960
|
+
*
|
|
20511
20961
|
* @example
|
|
20512
20962
|
* 2024-08-22T02:09:00Z
|
|
20513
20963
|
*/
|
|
20514
20964
|
endTime?: string;
|
|
20515
20965
|
/**
|
|
20966
|
+
* @remarks
|
|
20967
|
+
* The refreshed number of instances in the scaling group.
|
|
20968
|
+
*
|
|
20516
20969
|
* @example
|
|
20517
20970
|
* 10
|
|
20518
20971
|
*/
|
|
20519
20972
|
finishedUpdateCapacity?: number;
|
|
20520
20973
|
/**
|
|
20974
|
+
* @remarks
|
|
20975
|
+
* The ID of the instance refresh task.
|
|
20976
|
+
*
|
|
20521
20977
|
* @example
|
|
20522
20978
|
* ir-1adfa123****
|
|
20523
20979
|
*/
|
|
20524
20980
|
instanceRefreshTaskId?: string;
|
|
20525
20981
|
/**
|
|
20982
|
+
* @remarks
|
|
20983
|
+
* The ratio by which the number of instances in the scaling group can exceed the upper limit for the number of instances in the scaling group during instance refresh.
|
|
20984
|
+
*
|
|
20526
20985
|
* @example
|
|
20527
20986
|
* 120
|
|
20528
20987
|
*/
|
|
20529
20988
|
maxHealthyPercentage?: number;
|
|
20530
20989
|
/**
|
|
20990
|
+
* @remarks
|
|
20991
|
+
* The ratio of the number of instances that provide services to the total number of instances in the scaling group during instance refresh.
|
|
20992
|
+
*
|
|
20531
20993
|
* @example
|
|
20532
20994
|
* 80
|
|
20533
20995
|
*/
|
|
20534
20996
|
minHealthyPercentage?: number;
|
|
20535
20997
|
/**
|
|
20998
|
+
* @remarks
|
|
20999
|
+
* The region ID of the scaling group.
|
|
21000
|
+
*
|
|
20536
21001
|
* @example
|
|
20537
21002
|
* cn-hangzhou
|
|
20538
21003
|
*/
|
|
20539
21004
|
regionId?: string;
|
|
20540
21005
|
/**
|
|
21006
|
+
* @remarks
|
|
21007
|
+
* The ID of the scaling group.
|
|
21008
|
+
*
|
|
20541
21009
|
* @example
|
|
20542
21010
|
* asg-bp16pbfcr8j9*****
|
|
20543
21011
|
*/
|
|
20544
21012
|
scalingGroupId?: string;
|
|
20545
21013
|
/**
|
|
21014
|
+
* @remarks
|
|
21015
|
+
* The start time of the instance refresh task.
|
|
21016
|
+
*
|
|
20546
21017
|
* @example
|
|
20547
21018
|
* 2024-08-22T01:09:00Z
|
|
20548
21019
|
*/
|
|
20549
21020
|
startTime?: string;
|
|
20550
21021
|
/**
|
|
21022
|
+
* @remarks
|
|
21023
|
+
* The status of the instance refresh task. Valid values:
|
|
21024
|
+
*
|
|
21025
|
+
* * Pending: The instance refresh task is created and is waiting to be scheduled.
|
|
21026
|
+
* * InProgress: The instance refresh task is being executed.
|
|
21027
|
+
* * Paused: The instance refresh task is suspended.
|
|
21028
|
+
* * Failed: The instance refresh task failed to be executed.
|
|
21029
|
+
* * Successful: The instance refresh task is successful.
|
|
21030
|
+
* * Cancelling: The instance refresh task is being canceled.
|
|
21031
|
+
* * Cancelled: The instance refresh task is canceled.
|
|
21032
|
+
* * RollbackInProgress: The instance refresh task is being rolled back.
|
|
21033
|
+
* * RollbackSuccessful: The instance refresh task is rolled back.
|
|
21034
|
+
* * RollbackFailed: The instance refresh task fails to be rolled back.
|
|
21035
|
+
*
|
|
20551
21036
|
* @example
|
|
20552
21037
|
* InProgress
|
|
20553
21038
|
*/
|
|
20554
21039
|
status?: string;
|
|
20555
21040
|
/**
|
|
21041
|
+
* @remarks
|
|
21042
|
+
* The total number of instances whose configurations are refreshed.
|
|
21043
|
+
*
|
|
20556
21044
|
* @example
|
|
20557
21045
|
* 20
|
|
20558
21046
|
*/
|
|
@@ -20884,7 +21372,7 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
20884
21372
|
export declare class DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext extends $tea.Model {
|
|
20885
21373
|
/**
|
|
20886
21374
|
* @remarks
|
|
20887
|
-
* Indicates whether all lifecycle hooks are disabled. Valid values:
|
|
21375
|
+
* Indicates whether all lifecycle hooks are disabled when the scaling activity is triggered. Valid values:
|
|
20888
21376
|
*
|
|
20889
21377
|
* * true
|
|
20890
21378
|
* * false
|
|
@@ -20919,7 +21407,7 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
20919
21407
|
activityMetadata?: string;
|
|
20920
21408
|
/**
|
|
20921
21409
|
* @remarks
|
|
20922
|
-
* The total number of instances that are manually added to the scaling group after the scaling activity
|
|
21410
|
+
* The total number of instances that are manually added to the scaling group after the scaling activity is complete.
|
|
20923
21411
|
*
|
|
20924
21412
|
* @example
|
|
20925
21413
|
* 0
|
|
@@ -21007,6 +21495,10 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
21007
21495
|
* The specified ECS resource is out of stock in this region. Please try again later.
|
|
21008
21496
|
*/
|
|
21009
21497
|
errorMessage?: string;
|
|
21498
|
+
/**
|
|
21499
|
+
* @example
|
|
21500
|
+
* ir-asdf12adsxg*****
|
|
21501
|
+
*/
|
|
21010
21502
|
instanceRefreshTaskId?: string;
|
|
21011
21503
|
/**
|
|
21012
21504
|
* @remarks
|
|
@@ -21039,9 +21531,8 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
21039
21531
|
scalingGroupId?: string;
|
|
21040
21532
|
/**
|
|
21041
21533
|
* @remarks
|
|
21042
|
-
* If you query a scale-out activity, the value of this parameter indicates the number of instances that are created or the number of instances that are started from
|
|
21043
|
-
*
|
|
21044
|
-
* If you query a scale-in activity, the value of this parameter indicates the number of instances that are deleted or the number of instances that are stopped in the Economical Mode during the scale-in event.
|
|
21534
|
+
* * If you query a scale-out activity, the value of this parameter indicates the number of instances that are created or the number of instances that are started from Economical Mode.
|
|
21535
|
+
* * If you query a scale-in activity, the value of this parameter indicates the number of instances that are deleted or the number of instances that are stopped in Economical Mode.
|
|
21045
21536
|
*
|
|
21046
21537
|
* @example
|
|
21047
21538
|
* 1
|
|
@@ -21113,11 +21604,11 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
21113
21604
|
totalCapacity?: string;
|
|
21114
21605
|
/**
|
|
21115
21606
|
* @remarks
|
|
21116
|
-
* The ID of the trigger source of the scaling activity.
|
|
21607
|
+
* The ID of the trigger source of the scaling activity. Valid values:
|
|
21117
21608
|
*
|
|
21118
|
-
* * If
|
|
21119
|
-
* * If
|
|
21120
|
-
* * If
|
|
21609
|
+
* * If the scaling activity is triggered by an event-triggered task, the ID of the trigger source is the ID of the event-triggered task.
|
|
21610
|
+
* * If the scaling activity is triggered by calling an API operation, the ID of the trigger source is the ID of the Alibaba Cloud account or Resource Access Management (RAM) user that you use to call the API operation.
|
|
21611
|
+
* * If the scaling activity is triggered by Auto Scaling, the ID of the trigger source is null.
|
|
21121
21612
|
*
|
|
21122
21613
|
* @example
|
|
21123
21614
|
* 2346366580*****
|
|
@@ -21125,11 +21616,11 @@ export declare class DescribeScalingActivitiesResponseBodyScalingActivities exte
|
|
|
21125
21616
|
triggerSourceId?: string;
|
|
21126
21617
|
/**
|
|
21127
21618
|
* @remarks
|
|
21128
|
-
* The type of the trigger source of the scaling activity.
|
|
21619
|
+
* The type of the trigger source of the scaling activity. Valid values:
|
|
21129
21620
|
*
|
|
21130
|
-
* * Cms: triggered by an event-triggered task
|
|
21131
|
-
* * APIs: triggered by API
|
|
21132
|
-
* * Ess: triggered by
|
|
21621
|
+
* * Cms: The scaling activity is triggered by an event-triggered task.
|
|
21622
|
+
* * APIs: The scaling activity is triggered by calling an API operation.
|
|
21623
|
+
* * Ess: The scaling activity is triggered by Auto Scaling.
|
|
21133
21624
|
*
|
|
21134
21625
|
* @example
|
|
21135
21626
|
* Api
|
|
@@ -21608,6 +22099,15 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
21608
22099
|
});
|
|
21609
22100
|
}
|
|
21610
22101
|
export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions extends $tea.Model {
|
|
22102
|
+
/**
|
|
22103
|
+
* @remarks
|
|
22104
|
+
* 机密计算模式。可能值:
|
|
22105
|
+
* - Enclave:表示ECS实例使用Enclave构建机密计算环境。更多信息,请参见[使用Enclave构建机密计算环境](https://help.aliyun.com/document_detail/203433.html)。
|
|
22106
|
+
* - TDX:表示构建TDX机密计算环境。更多信息,请参见[构建TDX机密计算环境](https://help.aliyun.com/document_detail/479090.html)。
|
|
22107
|
+
*
|
|
22108
|
+
* @example
|
|
22109
|
+
* TDX
|
|
22110
|
+
*/
|
|
21611
22111
|
confidentialComputingMode?: string;
|
|
21612
22112
|
static names(): {
|
|
21613
22113
|
[key: string]: string;
|
|
@@ -21793,6 +22293,8 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
21793
22293
|
* hpc-clus****
|
|
21794
22294
|
*/
|
|
21795
22295
|
hpcClusterId?: string;
|
|
22296
|
+
httpEndpoint?: string;
|
|
22297
|
+
httpTokens?: string;
|
|
21796
22298
|
/**
|
|
21797
22299
|
* @remarks
|
|
21798
22300
|
* The name of the image family. You can specify this parameter to obtain the latest available images in the current image family for instance creation. If you specify ImageId, you cannot specify `ImageFamily`.
|
|
@@ -21867,7 +22369,7 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
21867
22369
|
instanceName?: string;
|
|
21868
22370
|
/**
|
|
21869
22371
|
* @remarks
|
|
21870
|
-
* The
|
|
22372
|
+
* The intelligent configuration settings, which determine the available instance types.
|
|
21871
22373
|
*/
|
|
21872
22374
|
instancePatternInfos?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos[];
|
|
21873
22375
|
/**
|
|
@@ -22063,6 +22565,10 @@ export declare class DescribeScalingConfigurationsResponseBodyScalingConfigurati
|
|
|
22063
22565
|
* The IDs of the security groups to which the ECS instances belong. ECS instances that belong to the same security group can communicate with each other.
|
|
22064
22566
|
*/
|
|
22065
22567
|
securityGroupIds?: string[];
|
|
22568
|
+
/**
|
|
22569
|
+
* @remarks
|
|
22570
|
+
* 安全选项。
|
|
22571
|
+
*/
|
|
22066
22572
|
securityOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions;
|
|
22067
22573
|
/**
|
|
22068
22574
|
* @remarks
|
|
@@ -22661,8 +23167,9 @@ export declare class DescribeScalingGroupDetailResponseBodyScalingGroup extends
|
|
|
22661
23167
|
* @remarks
|
|
22662
23168
|
* The health check mode of the scaling group. Valid values:
|
|
22663
23169
|
*
|
|
22664
|
-
* * NONE: Auto Scaling does not perform health checks
|
|
22665
|
-
* * ECS: Auto Scaling
|
|
23170
|
+
* * NONE: Auto Scaling does not perform health checks.
|
|
23171
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
23172
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB) instances are not supported as the health check basis for instances in the scaling group.
|
|
22666
23173
|
*
|
|
22667
23174
|
* @example
|
|
22668
23175
|
* ECS
|
|
@@ -22670,7 +23177,11 @@ export declare class DescribeScalingGroupDetailResponseBodyScalingGroup extends
|
|
|
22670
23177
|
healthCheckType?: string;
|
|
22671
23178
|
/**
|
|
22672
23179
|
* @remarks
|
|
22673
|
-
* The health check
|
|
23180
|
+
* The health check mode of the scaling group. Valid values:
|
|
23181
|
+
*
|
|
23182
|
+
* * NONE: Auto Scaling does not perform health checks.
|
|
23183
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
23184
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of CLB instances are not supported as the health check basis for instances in the scaling group.
|
|
22674
23185
|
*/
|
|
22675
23186
|
healthCheckTypes?: string[];
|
|
22676
23187
|
/**
|
|
@@ -23484,8 +23995,8 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
23484
23995
|
* The health check mode of the scaling group. Valid values:
|
|
23485
23996
|
*
|
|
23486
23997
|
* * NONE: Auto Scaling does not perform health checks.
|
|
23487
|
-
* * ECS: Auto Scaling checks the health status of
|
|
23488
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB
|
|
23998
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
23999
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of Classic Load Balancer (CLB) instances are not supported as the health check basis for instances in the scaling group.
|
|
23489
24000
|
*
|
|
23490
24001
|
* @example
|
|
23491
24002
|
* ECS
|
|
@@ -23493,11 +24004,11 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
23493
24004
|
healthCheckType?: string;
|
|
23494
24005
|
/**
|
|
23495
24006
|
* @remarks
|
|
23496
|
-
* The health check
|
|
24007
|
+
* The health check mode of the scaling group. Valid values:
|
|
23497
24008
|
*
|
|
23498
24009
|
* * NONE: Auto Scaling does not perform health checks.
|
|
23499
|
-
* * ECS: Auto Scaling checks the health status of
|
|
23500
|
-
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of CLB instances are not
|
|
24010
|
+
* * ECS: Auto Scaling checks the health status of instances in the scaling group. If you want to enable instance health check, you can set the value to ECS, regardless of whether the scaling group is of ECS type or Elastic Container Instance type.
|
|
24011
|
+
* * LOAD_BALANCER: Auto Scaling checks the health status of instances in the scaling group based on the health check results of load balancers. The health check results of CLB instances are not supported as the health check basis for instances in the scaling group.
|
|
23501
24012
|
*/
|
|
23502
24013
|
healthCheckTypes?: string[];
|
|
23503
24014
|
/**
|
|
@@ -23756,7 +24267,7 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
23756
24267
|
spotAllocationStrategy?: string;
|
|
23757
24268
|
/**
|
|
23758
24269
|
* @remarks
|
|
23759
|
-
*
|
|
24270
|
+
* The number of preemptible instances in the scaling group.
|
|
23760
24271
|
*
|
|
23761
24272
|
* @example
|
|
23762
24273
|
* 0
|
|
@@ -23786,6 +24297,13 @@ export declare class DescribeScalingGroupsResponseBodyScalingGroups extends $tea
|
|
|
23786
24297
|
* 1
|
|
23787
24298
|
*/
|
|
23788
24299
|
standbyCapacity?: number;
|
|
24300
|
+
/**
|
|
24301
|
+
* @remarks
|
|
24302
|
+
* The period of time that is required by the Elastic Compute Service (ECS) instance to enter the Stopped state during the scale-in process. Unit: seconds.
|
|
24303
|
+
*
|
|
24304
|
+
* @example
|
|
24305
|
+
* 60
|
|
24306
|
+
*/
|
|
23789
24307
|
stopInstanceTimeout?: number;
|
|
23790
24308
|
/**
|
|
23791
24309
|
* @remarks
|
|
@@ -26874,6 +27392,16 @@ export declare class ModifyScalingConfigurationRequestNetworkInterfaces extends
|
|
|
26874
27392
|
});
|
|
26875
27393
|
}
|
|
26876
27394
|
export declare class ModifyScalingConfigurationRequestSecurityOptions extends $tea.Model {
|
|
27395
|
+
/**
|
|
27396
|
+
* @remarks
|
|
27397
|
+
* The confidential computing mode. Valid values:
|
|
27398
|
+
*
|
|
27399
|
+
* * Enclave: An enclave-based confidential computing environment is built on the instance. For more information, see [Build a confidential computing environment by using Enclave](https://help.aliyun.com/document_detail/203433.html).
|
|
27400
|
+
* * TDX: A Trust Domain Extensions (TDX) confidential computing environment is built on the instance. For more information, see [Build a TDX confidential computing environment](https://help.aliyun.com/document_detail/479090.html).
|
|
27401
|
+
*
|
|
27402
|
+
* @example
|
|
27403
|
+
* TDX
|
|
27404
|
+
*/
|
|
26877
27405
|
confidentialComputingMode?: string;
|
|
26878
27406
|
static names(): {
|
|
26879
27407
|
[key: string]: string;
|
|
@@ -27641,6 +28169,16 @@ export declare class ModifyScalingConfigurationShrinkRequestNetworkInterfaces ex
|
|
|
27641
28169
|
});
|
|
27642
28170
|
}
|
|
27643
28171
|
export declare class ModifyScalingConfigurationShrinkRequestSecurityOptions extends $tea.Model {
|
|
28172
|
+
/**
|
|
28173
|
+
* @remarks
|
|
28174
|
+
* The confidential computing mode. Valid values:
|
|
28175
|
+
*
|
|
28176
|
+
* * Enclave: An enclave-based confidential computing environment is built on the instance. For more information, see [Build a confidential computing environment by using Enclave](https://help.aliyun.com/document_detail/203433.html).
|
|
28177
|
+
* * TDX: A Trust Domain Extensions (TDX) confidential computing environment is built on the instance. For more information, see [Build a TDX confidential computing environment](https://help.aliyun.com/document_detail/479090.html).
|
|
28178
|
+
*
|
|
28179
|
+
* @example
|
|
28180
|
+
* TDX
|
|
28181
|
+
*/
|
|
27644
28182
|
confidentialComputingMode?: string;
|
|
27645
28183
|
static names(): {
|
|
27646
28184
|
[key: string]: string;
|
|
@@ -27962,11 +28500,25 @@ export declare class ScaleWithAdjustmentRequestOverrides extends $tea.Model {
|
|
|
27962
28500
|
}
|
|
27963
28501
|
export declare class StartInstanceRefreshRequestDesiredConfiguration extends $tea.Model {
|
|
27964
28502
|
/**
|
|
28503
|
+
* @remarks
|
|
28504
|
+
* The image ID.
|
|
28505
|
+
*
|
|
28506
|
+
* >
|
|
28507
|
+
*
|
|
28508
|
+
* * After the instance refresh task is complete, the active scaling configuration uses the image specified by this parameter.
|
|
28509
|
+
*
|
|
28510
|
+
* * If the instance configuration source of the scaling group is a launch template, you cannot specify this parameter.
|
|
28511
|
+
*
|
|
27965
28512
|
* @example
|
|
27966
28513
|
* m-2ze8cqacj7opnf***
|
|
27967
28514
|
*/
|
|
27968
28515
|
imageId?: string;
|
|
27969
28516
|
/**
|
|
28517
|
+
* @remarks
|
|
28518
|
+
* The ID of the scaling configuration.
|
|
28519
|
+
*
|
|
28520
|
+
* > After the instance refresh task is complete, the scaling group uses the scaling configuration specified by this parameter.
|
|
28521
|
+
*
|
|
27970
28522
|
* @example
|
|
27971
28523
|
* asc-2zed7lqn4ts4****
|
|
27972
28524
|
*/
|
|
@@ -28167,11 +28719,13 @@ export default class Client extends OpenApi {
|
|
|
28167
28719
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
28168
28720
|
*
|
|
28169
28721
|
* @remarks
|
|
28170
|
-
* Before you
|
|
28171
|
-
* * The ApsaraDB RDS instance and the scaling group
|
|
28172
|
-
* * The ApsaraDB RDS instance
|
|
28173
|
-
* * The ApsaraDB RDS instance
|
|
28174
|
-
*
|
|
28722
|
+
* Before you attach an ApsaraDB RDS instance to a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
28723
|
+
* * The ApsaraDB RDS instance and the scaling group belong to the same Alibaba Cloud account.
|
|
28724
|
+
* * The ApsaraDB RDS instance is unlocked. For information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
|
|
28725
|
+
* * The ApsaraDB RDS instance is in the Running state.
|
|
28726
|
+
* * The ApsaraDB RDS instance exists in the Alibaba Cloud account.
|
|
28727
|
+
* * If you reattach an ApsaraDB RDS instance to a scaling group, the total number of attached ApsaraDB RDS instances of the scaling group remains unchanged. But Auto Scaling adds the private IP addresses of all Elastic Compute Service (ECS) instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance.
|
|
28728
|
+
* > After you attach an ApsaraDB RDS instance to a scaling group, make sure that the number of IP addresses in the default whitelist of the ApsaraDB RDS instance is limited to 1,000. For information about IP address whitelists, see [Configure an IP address whitelist](https://help.aliyun.com/document_detail/96118.html).
|
|
28175
28729
|
*
|
|
28176
28730
|
* @param request - AttachDBInstancesRequest
|
|
28177
28731
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28182,11 +28736,13 @@ export default class Client extends OpenApi {
|
|
|
28182
28736
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
28183
28737
|
*
|
|
28184
28738
|
* @remarks
|
|
28185
|
-
* Before you
|
|
28186
|
-
* * The ApsaraDB RDS instance and the scaling group
|
|
28187
|
-
* * The ApsaraDB RDS instance
|
|
28188
|
-
* * The ApsaraDB RDS instance
|
|
28189
|
-
*
|
|
28739
|
+
* Before you attach an ApsaraDB RDS instance to a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
28740
|
+
* * The ApsaraDB RDS instance and the scaling group belong to the same Alibaba Cloud account.
|
|
28741
|
+
* * The ApsaraDB RDS instance is unlocked. For information about the lock policy, see [ApsaraDB RDS usage notes](https://help.aliyun.com/document_detail/41872.html).
|
|
28742
|
+
* * The ApsaraDB RDS instance is in the Running state.
|
|
28743
|
+
* * The ApsaraDB RDS instance exists in the Alibaba Cloud account.
|
|
28744
|
+
* * If you reattach an ApsaraDB RDS instance to a scaling group, the total number of attached ApsaraDB RDS instances of the scaling group remains unchanged. But Auto Scaling adds the private IP addresses of all Elastic Compute Service (ECS) instances in the scaling group to the IP address whitelist of the ApsaraDB RDS instance.
|
|
28745
|
+
* > After you attach an ApsaraDB RDS instance to a scaling group, make sure that the number of IP addresses in the default whitelist of the ApsaraDB RDS instance is limited to 1,000. For information about IP address whitelists, see [Configure an IP address whitelist](https://help.aliyun.com/document_detail/96118.html).
|
|
28190
28746
|
*
|
|
28191
28747
|
* @param request - AttachDBInstancesRequest
|
|
28192
28748
|
* @returns AttachDBInstancesResponse
|
|
@@ -28337,12 +28893,22 @@ export default class Client extends OpenApi {
|
|
|
28337
28893
|
*/
|
|
28338
28894
|
attachVServerGroups(request: AttachVServerGroupsRequest): Promise<AttachVServerGroupsResponse>;
|
|
28339
28895
|
/**
|
|
28896
|
+
* Cancels an instance refresh task. Take note that new instances that are used to replace old instances or that are scaled out still exist after you call this operation.
|
|
28897
|
+
*
|
|
28898
|
+
* @remarks
|
|
28899
|
+
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
28900
|
+
*
|
|
28340
28901
|
* @param request - CancelInstanceRefreshRequest
|
|
28341
28902
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
28342
28903
|
* @returns CancelInstanceRefreshResponse
|
|
28343
28904
|
*/
|
|
28344
28905
|
cancelInstanceRefreshWithOptions(request: CancelInstanceRefreshRequest, runtime: $Util.RuntimeOptions): Promise<CancelInstanceRefreshResponse>;
|
|
28345
28906
|
/**
|
|
28907
|
+
* Cancels an instance refresh task. Take note that new instances that are used to replace old instances or that are scaled out still exist after you call this operation.
|
|
28908
|
+
*
|
|
28909
|
+
* @remarks
|
|
28910
|
+
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
28911
|
+
*
|
|
28346
28912
|
* @param request - CancelInstanceRefreshRequest
|
|
28347
28913
|
* @returns CancelInstanceRefreshResponse
|
|
28348
28914
|
*/
|
|
@@ -28927,12 +29493,31 @@ export default class Client extends OpenApi {
|
|
|
28927
29493
|
*/
|
|
28928
29494
|
describeEciScalingConfigurations(request: DescribeEciScalingConfigurationsRequest): Promise<DescribeEciScalingConfigurationsResponse>;
|
|
28929
29495
|
/**
|
|
29496
|
+
* DescribeElasticStrength
|
|
29497
|
+
*
|
|
29498
|
+
* @param request - DescribeElasticStrengthRequest
|
|
29499
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
29500
|
+
* @returns DescribeElasticStrengthResponse
|
|
29501
|
+
*/
|
|
29502
|
+
describeElasticStrengthWithOptions(request: DescribeElasticStrengthRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticStrengthResponse>;
|
|
29503
|
+
/**
|
|
29504
|
+
* DescribeElasticStrength
|
|
29505
|
+
*
|
|
29506
|
+
* @param request - DescribeElasticStrengthRequest
|
|
29507
|
+
* @returns DescribeElasticStrengthResponse
|
|
29508
|
+
*/
|
|
29509
|
+
describeElasticStrength(request: DescribeElasticStrengthRequest): Promise<DescribeElasticStrengthResponse>;
|
|
29510
|
+
/**
|
|
29511
|
+
* Queries instance refresh tasks. If you want to view the basic information and execution progress of an instance refresh task, you can call the DescribeInstanceRefreshes operation.
|
|
29512
|
+
*
|
|
28930
29513
|
* @param request - DescribeInstanceRefreshesRequest
|
|
28931
29514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
28932
29515
|
* @returns DescribeInstanceRefreshesResponse
|
|
28933
29516
|
*/
|
|
28934
29517
|
describeInstanceRefreshesWithOptions(request: DescribeInstanceRefreshesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceRefreshesResponse>;
|
|
28935
29518
|
/**
|
|
29519
|
+
* Queries instance refresh tasks. If you want to view the basic information and execution progress of an instance refresh task, you can call the DescribeInstanceRefreshes operation.
|
|
29520
|
+
*
|
|
28936
29521
|
* @param request - DescribeInstanceRefreshesRequest
|
|
28937
29522
|
* @returns DescribeInstanceRefreshesResponse
|
|
28938
29523
|
*/
|
|
@@ -29069,12 +29654,12 @@ export default class Client extends OpenApi {
|
|
|
29069
29654
|
*/
|
|
29070
29655
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
29071
29656
|
/**
|
|
29072
|
-
* Queries scaling activities.
|
|
29657
|
+
* Queries scaling activities. You can call the DescribeScalingActivities operation to query the results of scaling activities triggered by scheduled tasks, event-triggered tasks, or manual execution of scaling rules. For example, you can query the status and cause of a scaling activity. You can also query the total number of instances after a scaling activity is complete.
|
|
29073
29658
|
*
|
|
29074
29659
|
* @remarks
|
|
29075
|
-
*
|
|
29076
|
-
* You can filter query results based on the status of scaling activities.
|
|
29077
|
-
* You can query scaling activities
|
|
29660
|
+
* You can query all scaling activities in a scaling group by specifying ScalingGroupId.
|
|
29661
|
+
* * You can filter query results based on the status of scaling activities.
|
|
29662
|
+
* * You can query scaling activities within the last 30 days.
|
|
29078
29663
|
*
|
|
29079
29664
|
* @param request - DescribeScalingActivitiesRequest
|
|
29080
29665
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29082,12 +29667,12 @@ export default class Client extends OpenApi {
|
|
|
29082
29667
|
*/
|
|
29083
29668
|
describeScalingActivitiesWithOptions(request: DescribeScalingActivitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingActivitiesResponse>;
|
|
29084
29669
|
/**
|
|
29085
|
-
* Queries scaling activities.
|
|
29670
|
+
* Queries scaling activities. You can call the DescribeScalingActivities operation to query the results of scaling activities triggered by scheduled tasks, event-triggered tasks, or manual execution of scaling rules. For example, you can query the status and cause of a scaling activity. You can also query the total number of instances after a scaling activity is complete.
|
|
29086
29671
|
*
|
|
29087
29672
|
* @remarks
|
|
29088
|
-
*
|
|
29089
|
-
* You can filter query results based on the status of scaling activities.
|
|
29090
|
-
* You can query scaling activities
|
|
29673
|
+
* You can query all scaling activities in a scaling group by specifying ScalingGroupId.
|
|
29674
|
+
* * You can filter query results based on the status of scaling activities.
|
|
29675
|
+
* * You can query scaling activities within the last 30 days.
|
|
29091
29676
|
*
|
|
29092
29677
|
* @param request - DescribeScalingActivitiesRequest
|
|
29093
29678
|
* @returns DescribeScalingActivitiesResponse
|
|
@@ -29124,7 +29709,7 @@ export default class Client extends OpenApi {
|
|
|
29124
29709
|
*/
|
|
29125
29710
|
describeScalingConfigurations(request: DescribeScalingConfigurationsRequest): Promise<DescribeScalingConfigurationsResponse>;
|
|
29126
29711
|
/**
|
|
29127
|
-
* Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to
|
|
29712
|
+
* Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to YAML for a scaling group of the Elastic Container Instance type, the output is a Kubernetes Deployment file in the YAML format.
|
|
29128
29713
|
*
|
|
29129
29714
|
* @param request - DescribeScalingGroupDetailRequest
|
|
29130
29715
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29132,7 +29717,7 @@ export default class Client extends OpenApi {
|
|
|
29132
29717
|
*/
|
|
29133
29718
|
describeScalingGroupDetailWithOptions(request: DescribeScalingGroupDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeScalingGroupDetailResponse>;
|
|
29134
29719
|
/**
|
|
29135
|
-
* Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to
|
|
29720
|
+
* Queries a scaling group. You can call the DescribeScalingGroupDetail operation to query the basic information, instances, and scaling configurations of a scaling group. If you set OutputFormat to YAML for a scaling group of the Elastic Container Instance type, the output is a Kubernetes Deployment file in the YAML format.
|
|
29136
29721
|
*
|
|
29137
29722
|
* @param request - DescribeScalingGroupDetailRequest
|
|
29138
29723
|
* @returns DescribeScalingGroupDetailResponse
|
|
@@ -29906,12 +30491,16 @@ export default class Client extends OpenApi {
|
|
|
29906
30491
|
*/
|
|
29907
30492
|
removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse>;
|
|
29908
30493
|
/**
|
|
30494
|
+
* Resumes an instance refresh task.
|
|
30495
|
+
*
|
|
29909
30496
|
* @param request - ResumeInstanceRefreshRequest
|
|
29910
30497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
29911
30498
|
* @returns ResumeInstanceRefreshResponse
|
|
29912
30499
|
*/
|
|
29913
30500
|
resumeInstanceRefreshWithOptions(request: ResumeInstanceRefreshRequest, runtime: $Util.RuntimeOptions): Promise<ResumeInstanceRefreshResponse>;
|
|
29914
30501
|
/**
|
|
30502
|
+
* Resumes an instance refresh task.
|
|
30503
|
+
*
|
|
29915
30504
|
* @param request - ResumeInstanceRefreshRequest
|
|
29916
30505
|
* @returns ResumeInstanceRefreshResponse
|
|
29917
30506
|
*/
|
|
@@ -29932,12 +30521,16 @@ export default class Client extends OpenApi {
|
|
|
29932
30521
|
*/
|
|
29933
30522
|
resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
|
|
29934
30523
|
/**
|
|
30524
|
+
* Rolls back an instance refresh task. If the configurations of an instance refresh task cannot meet your business requirements, you can call this operation to roll back the task. During the rollback process, Auto Scaling creates instances based on the active scaling configuration to replace instances that are created based on the configurations of the instance refresh task.
|
|
30525
|
+
*
|
|
29935
30526
|
* @param request - RollbackInstanceRefreshRequest
|
|
29936
30527
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
29937
30528
|
* @returns RollbackInstanceRefreshResponse
|
|
29938
30529
|
*/
|
|
29939
30530
|
rollbackInstanceRefreshWithOptions(request: RollbackInstanceRefreshRequest, runtime: $Util.RuntimeOptions): Promise<RollbackInstanceRefreshResponse>;
|
|
29940
30531
|
/**
|
|
30532
|
+
* Rolls back an instance refresh task. If the configurations of an instance refresh task cannot meet your business requirements, you can call this operation to roll back the task. During the rollback process, Auto Scaling creates instances based on the active scaling configuration to replace instances that are created based on the configurations of the instance refresh task.
|
|
30533
|
+
*
|
|
29941
30534
|
* @param request - RollbackInstanceRefreshRequest
|
|
29942
30535
|
* @returns RollbackInstanceRefreshResponse
|
|
29943
30536
|
*/
|
|
@@ -30012,13 +30605,13 @@ export default class Client extends OpenApi {
|
|
|
30012
30605
|
*/
|
|
30013
30606
|
setInstanceHealth(request: SetInstanceHealthRequest): Promise<SetInstanceHealthResponse>;
|
|
30014
30607
|
/**
|
|
30015
|
-
* Puts Elastic Compute Service (ECS) instances into the Protected state.
|
|
30608
|
+
* Puts or removes Elastic Compute Service (ECS) instances into or from the Protected state. After you put an ECS instance into the Protected state, the ECS instance will not be stopped or released when a scale-in event is triggered. In this case, you can manually delete the ECS instance in the Auto Scaling console or by calling the RemoveInstances operation.
|
|
30016
30609
|
*
|
|
30017
30610
|
* @remarks
|
|
30018
30611
|
* Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
30019
30612
|
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
30020
|
-
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/
|
|
30021
|
-
* * ECS instances in the Protected state maintain their
|
|
30613
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/459393.html).
|
|
30614
|
+
* * ECS instances in the Protected state maintain their health status even when they undergo stopping or restarting processes.
|
|
30022
30615
|
*
|
|
30023
30616
|
* @param request - SetInstancesProtectionRequest
|
|
30024
30617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30026,36 +30619,62 @@ export default class Client extends OpenApi {
|
|
|
30026
30619
|
*/
|
|
30027
30620
|
setInstancesProtectionWithOptions(request: SetInstancesProtectionRequest, runtime: $Util.RuntimeOptions): Promise<SetInstancesProtectionResponse>;
|
|
30028
30621
|
/**
|
|
30029
|
-
* Puts Elastic Compute Service (ECS) instances into the Protected state.
|
|
30622
|
+
* Puts or removes Elastic Compute Service (ECS) instances into or from the Protected state. After you put an ECS instance into the Protected state, the ECS instance will not be stopped or released when a scale-in event is triggered. In this case, you can manually delete the ECS instance in the Auto Scaling console or by calling the RemoveInstances operation.
|
|
30030
30623
|
*
|
|
30031
30624
|
* @remarks
|
|
30032
30625
|
* Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
30033
30626
|
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
30034
|
-
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/
|
|
30035
|
-
* * ECS instances in the Protected state maintain their
|
|
30627
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/459393.html).
|
|
30628
|
+
* * ECS instances in the Protected state maintain their health status even when they undergo stopping or restarting processes.
|
|
30036
30629
|
*
|
|
30037
30630
|
* @param request - SetInstancesProtectionRequest
|
|
30038
30631
|
* @returns SetInstancesProtectionResponse
|
|
30039
30632
|
*/
|
|
30040
30633
|
setInstancesProtection(request: SetInstancesProtectionRequest): Promise<SetInstancesProtectionResponse>;
|
|
30041
30634
|
/**
|
|
30635
|
+
* Starts an instance refresh task. If you want to batch update instance images, modify information in scaling configurations, and scale out instances based on new configurations, you can call the StartInstanceRefresh.html operation. After you start an instance refresh task, Auto Scaling gradually creates new instances from the desired configurations provided by the task to replace old instances. When all replacements are complete, the configurations of instances in your scaling group perfectly match your expectations.
|
|
30636
|
+
*
|
|
30637
|
+
* @remarks
|
|
30638
|
+
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
30639
|
+
* * Instance refresh tasks are currently supported only by scaling groups of the Elastic Compute Service (ECS) type and using **the priority policy**. Scaling groups that use the number of vCPUs as the method to calculate the group capacity or scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support instance refresh tasks.
|
|
30640
|
+
* * During the execution of an instance refresh task, scaling events can be complete as expected. Take note that instances that are scaled out use the desired configurations provided by the instance refresh task.
|
|
30641
|
+
* * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
|
|
30642
|
+
*
|
|
30042
30643
|
* @param request - StartInstanceRefreshRequest
|
|
30043
30644
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
30044
30645
|
* @returns StartInstanceRefreshResponse
|
|
30045
30646
|
*/
|
|
30046
30647
|
startInstanceRefreshWithOptions(request: StartInstanceRefreshRequest, runtime: $Util.RuntimeOptions): Promise<StartInstanceRefreshResponse>;
|
|
30047
30648
|
/**
|
|
30649
|
+
* Starts an instance refresh task. If you want to batch update instance images, modify information in scaling configurations, and scale out instances based on new configurations, you can call the StartInstanceRefresh.html operation. After you start an instance refresh task, Auto Scaling gradually creates new instances from the desired configurations provided by the task to replace old instances. When all replacements are complete, the configurations of instances in your scaling group perfectly match your expectations.
|
|
30650
|
+
*
|
|
30651
|
+
* @remarks
|
|
30652
|
+
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
30653
|
+
* * Instance refresh tasks are currently supported only by scaling groups of the Elastic Compute Service (ECS) type and using **the priority policy**. Scaling groups that use the number of vCPUs as the method to calculate the group capacity or scaling groups whose instance reclaim mode is **Economical Mode** or **Forcibly Recycle** do not support instance refresh tasks.
|
|
30654
|
+
* * During the execution of an instance refresh task, scaling events can be complete as expected. Take note that instances that are scaled out use the desired configurations provided by the instance refresh task.
|
|
30655
|
+
* * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
|
|
30656
|
+
*
|
|
30048
30657
|
* @param request - StartInstanceRefreshRequest
|
|
30049
30658
|
* @returns StartInstanceRefreshResponse
|
|
30050
30659
|
*/
|
|
30051
30660
|
startInstanceRefresh(request: StartInstanceRefreshRequest): Promise<StartInstanceRefreshResponse>;
|
|
30052
30661
|
/**
|
|
30662
|
+
* Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
|
|
30663
|
+
*
|
|
30664
|
+
* @remarks
|
|
30665
|
+
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
30666
|
+
*
|
|
30053
30667
|
* @param request - SuspendInstanceRefreshRequest
|
|
30054
30668
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
30055
30669
|
* @returns SuspendInstanceRefreshResponse
|
|
30056
30670
|
*/
|
|
30057
30671
|
suspendInstanceRefreshWithOptions(request: SuspendInstanceRefreshRequest, runtime: $Util.RuntimeOptions): Promise<SuspendInstanceRefreshResponse>;
|
|
30058
30672
|
/**
|
|
30673
|
+
* Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
|
|
30674
|
+
*
|
|
30675
|
+
* @remarks
|
|
30676
|
+
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
30677
|
+
*
|
|
30059
30678
|
* @param request - SuspendInstanceRefreshRequest
|
|
30060
30679
|
* @returns SuspendInstanceRefreshResponse
|
|
30061
30680
|
*/
|