@alicloud/ess20220222 1.6.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +588 -109
- package/dist/client.js +281 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +715 -109
package/src/client.ts
CHANGED
|
@@ -445,10 +445,12 @@ export class AttachAlbServerGroupsResponse extends $tea.Model {
|
|
|
445
445
|
export class AttachDBInstancesRequest extends $tea.Model {
|
|
446
446
|
/**
|
|
447
447
|
* @remarks
|
|
448
|
-
* The mode in which you want to attach the
|
|
448
|
+
* The mode in which you want to attach the database to the scaling group. Valid values:
|
|
449
|
+
*
|
|
450
|
+
* * 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.
|
|
451
|
+
* * 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.
|
|
449
452
|
*
|
|
450
|
-
*
|
|
451
|
-
* * SecurityGroup: the security group mode. Auto Scaling adds the security group of the scaling configuration to the security group whitelist for registration and association.
|
|
453
|
+
* Default value: SecurityIp.
|
|
452
454
|
*
|
|
453
455
|
* @example
|
|
454
456
|
* SecurityIp
|
|
@@ -466,14 +468,14 @@ export class AttachDBInstancesRequest extends $tea.Model {
|
|
|
466
468
|
clientToken?: string;
|
|
467
469
|
/**
|
|
468
470
|
* @remarks
|
|
469
|
-
* The
|
|
471
|
+
* The IDs of the ApsaraDB RDS instances that you want to attach to the scaling group.
|
|
470
472
|
*
|
|
471
473
|
* This parameter is required.
|
|
472
474
|
*/
|
|
473
475
|
DBInstances?: string[];
|
|
474
476
|
/**
|
|
475
477
|
* @remarks
|
|
476
|
-
* 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:
|
|
478
|
+
* 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:
|
|
477
479
|
*
|
|
478
480
|
* * true
|
|
479
481
|
* * false
|
|
@@ -508,9 +510,9 @@ export class AttachDBInstancesRequest extends $tea.Model {
|
|
|
508
510
|
* @remarks
|
|
509
511
|
* The type of the database that you want to attach to the scaling group. Valid values:
|
|
510
512
|
*
|
|
511
|
-
* *
|
|
512
|
-
* *
|
|
513
|
-
* *
|
|
513
|
+
* * RDS
|
|
514
|
+
* * Redis
|
|
515
|
+
* * MongoDB
|
|
514
516
|
*
|
|
515
517
|
* Default value: RDS.
|
|
516
518
|
*
|
|
@@ -1212,6 +1214,8 @@ export class AttachVServerGroupsResponse extends $tea.Model {
|
|
|
1212
1214
|
export class CancelInstanceRefreshRequest extends $tea.Model {
|
|
1213
1215
|
/**
|
|
1214
1216
|
* @remarks
|
|
1217
|
+
* The ID of the instance refresh task.
|
|
1218
|
+
*
|
|
1215
1219
|
* This parameter is required.
|
|
1216
1220
|
*
|
|
1217
1221
|
* @example
|
|
@@ -1221,6 +1225,8 @@ export class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
1221
1225
|
ownerId?: number;
|
|
1222
1226
|
/**
|
|
1223
1227
|
* @remarks
|
|
1228
|
+
* The region ID of the scaling group.
|
|
1229
|
+
*
|
|
1224
1230
|
* This parameter is required.
|
|
1225
1231
|
*
|
|
1226
1232
|
* @example
|
|
@@ -1230,6 +1236,8 @@ export class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
1230
1236
|
resourceOwnerAccount?: string;
|
|
1231
1237
|
/**
|
|
1232
1238
|
* @remarks
|
|
1239
|
+
* The ID of the scaling group.
|
|
1240
|
+
*
|
|
1233
1241
|
* This parameter is required.
|
|
1234
1242
|
*
|
|
1235
1243
|
* @example
|
|
@@ -1263,6 +1271,9 @@ export class CancelInstanceRefreshRequest extends $tea.Model {
|
|
|
1263
1271
|
|
|
1264
1272
|
export class CancelInstanceRefreshResponseBody extends $tea.Model {
|
|
1265
1273
|
/**
|
|
1274
|
+
* @remarks
|
|
1275
|
+
* The request ID.
|
|
1276
|
+
*
|
|
1266
1277
|
* @example
|
|
1267
1278
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
1268
1279
|
*/
|
|
@@ -4218,28 +4229,22 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4218
4229
|
* The health check mode of the scaling group. Valid values:
|
|
4219
4230
|
*
|
|
4220
4231
|
* * NONE: Auto Scaling does not check the health status of instances.
|
|
4221
|
-
* * ECS: Auto Scaling checks the health status of
|
|
4222
|
-
* *
|
|
4223
|
-
* * 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.
|
|
4232
|
+
* * 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.
|
|
4233
|
+
* * 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.
|
|
4224
4234
|
*
|
|
4225
4235
|
* Default value: ECS.
|
|
4226
4236
|
*
|
|
4237
|
+
* > If you want to enable instance health check and load balancer health check at the same time, we recommend that you specify `HealthCheckTypes`.
|
|
4238
|
+
*
|
|
4227
4239
|
* @example
|
|
4228
4240
|
* ECS
|
|
4229
4241
|
*/
|
|
4230
4242
|
healthCheckType?: string;
|
|
4231
4243
|
/**
|
|
4232
4244
|
* @remarks
|
|
4233
|
-
* The health check
|
|
4234
|
-
*
|
|
4235
|
-
* * NONE: Auto Scaling does not check the health status of instances.
|
|
4236
|
-
* * ECS: Auto Scaling checks the health status of ECS instances in the scaling group.
|
|
4237
|
-
* * ECI: Auto Scaling checks the health status of elastic container instances in the scaling group.
|
|
4238
|
-
* * 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.
|
|
4239
|
-
*
|
|
4240
|
-
* > 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.
|
|
4245
|
+
* The health check mode of the scaling group.
|
|
4241
4246
|
*
|
|
4242
|
-
*
|
|
4247
|
+
* > 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.
|
|
4243
4248
|
*/
|
|
4244
4249
|
healthCheckTypes?: string[];
|
|
4245
4250
|
/**
|
|
@@ -4486,6 +4491,11 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4486
4491
|
* true
|
|
4487
4492
|
*/
|
|
4488
4493
|
spotInstanceRemedy?: boolean;
|
|
4494
|
+
/**
|
|
4495
|
+
* @example
|
|
4496
|
+
* 60
|
|
4497
|
+
*/
|
|
4498
|
+
stopInstanceTimeout?: number;
|
|
4489
4499
|
/**
|
|
4490
4500
|
* @remarks
|
|
4491
4501
|
* > This parameter is unavailable.
|
|
@@ -4569,6 +4579,7 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4569
4579
|
spotAllocationStrategy: 'SpotAllocationStrategy',
|
|
4570
4580
|
spotInstancePools: 'SpotInstancePools',
|
|
4571
4581
|
spotInstanceRemedy: 'SpotInstanceRemedy',
|
|
4582
|
+
stopInstanceTimeout: 'StopInstanceTimeout',
|
|
4572
4583
|
syncAlarmRuleToCms: 'SyncAlarmRuleToCms',
|
|
4573
4584
|
tags: 'Tags',
|
|
4574
4585
|
VServerGroups: 'VServerGroups',
|
|
@@ -4619,6 +4630,7 @@ export class CreateScalingGroupRequest extends $tea.Model {
|
|
|
4619
4630
|
spotAllocationStrategy: 'string',
|
|
4620
4631
|
spotInstancePools: 'number',
|
|
4621
4632
|
spotInstanceRemedy: 'boolean',
|
|
4633
|
+
stopInstanceTimeout: 'number',
|
|
4622
4634
|
syncAlarmRuleToCms: 'boolean',
|
|
4623
4635
|
tags: { 'type': 'array', 'itemType': CreateScalingGroupRequestTags },
|
|
4624
4636
|
VServerGroups: { 'type': 'array', 'itemType': CreateScalingGroupRequestVServerGroups },
|
|
@@ -4735,7 +4747,7 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
4735
4747
|
cooldown?: number;
|
|
4736
4748
|
/**
|
|
4737
4749
|
* @remarks
|
|
4738
|
-
* Specifies whether to disable scale-in. This parameter is available only if you set
|
|
4750
|
+
* Specifies whether to disable scale-in. This parameter is available only if you set ScalingRuleType to TargetTrackingScalingRule.
|
|
4739
4751
|
*
|
|
4740
4752
|
* Default value: false.
|
|
4741
4753
|
*
|
|
@@ -4771,7 +4783,7 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
4771
4783
|
initialMaxSize?: number;
|
|
4772
4784
|
/**
|
|
4773
4785
|
* @remarks
|
|
4774
|
-
* The predefined metric
|
|
4786
|
+
* The predefined metric that you want to monitor. If you set ScalingRuleType to TargetTrackingScalingRule or PredictiveScalingRule, you must specify this parameter.
|
|
4775
4787
|
*
|
|
4776
4788
|
* Valid values if you set ScalingRuleType to TargetTrackingScalingRule:
|
|
4777
4789
|
*
|
|
@@ -4779,7 +4791,7 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
4779
4791
|
* * MemoryUtilization (recommended): the memory usage.
|
|
4780
4792
|
* * CpuUtilization: the average CPU utilization.
|
|
4781
4793
|
* * IntranetTx: the outbound traffic over an internal network.
|
|
4782
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
4794
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
4783
4795
|
* * VpcInternetTx: the outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
4784
4796
|
* * VpcInternetRx: the inbound traffic from the Internet to a VPC.
|
|
4785
4797
|
* * LoadBalancerRealServerAverageQps:the queries per second (QPS) per Application Load Balancer (ALB) server group.
|
|
@@ -4787,10 +4799,10 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
4787
4799
|
* Valid values if you set ScalingRuleType to PredictiveScalingRule:
|
|
4788
4800
|
*
|
|
4789
4801
|
* * CpuUtilization: the average CPU utilization.
|
|
4790
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
4791
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
4802
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
4803
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
4792
4804
|
*
|
|
4793
|
-
* For more information, see [Event-triggered tasks of the system monitoring type](https://
|
|
4805
|
+
* For more information, see [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html).
|
|
4794
4806
|
*
|
|
4795
4807
|
* @example
|
|
4796
4808
|
* CpuUtilization
|
|
@@ -4909,12 +4921,12 @@ export class CreateScalingRuleRequest extends $tea.Model {
|
|
|
4909
4921
|
* @remarks
|
|
4910
4922
|
* The type of the scaling rule. Valid values:
|
|
4911
4923
|
*
|
|
4912
|
-
* * SimpleScalingRule: a simple scaling rule.
|
|
4913
|
-
* * TargetTrackingScalingRule: a target tracking scaling rule.
|
|
4914
|
-
* * StepScalingRule: a step scaling rule.
|
|
4915
|
-
* * PredictiveScalingRule:
|
|
4924
|
+
* * 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.
|
|
4925
|
+
* * 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).
|
|
4926
|
+
* * 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.
|
|
4927
|
+
* * 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.
|
|
4916
4928
|
*
|
|
4917
|
-
* Default value: SimpleScalingRule
|
|
4929
|
+
* Default value: SimpleScalingRule
|
|
4918
4930
|
*
|
|
4919
4931
|
* @example
|
|
4920
4932
|
* SimpleScalingRule
|
|
@@ -6307,7 +6319,7 @@ export class DescribeAlarmsRequest extends $tea.Model {
|
|
|
6307
6319
|
ownerId?: number;
|
|
6308
6320
|
/**
|
|
6309
6321
|
* @remarks
|
|
6310
|
-
* The
|
|
6322
|
+
* The page number. Pages start from page 1.
|
|
6311
6323
|
*
|
|
6312
6324
|
* Default value: 1.
|
|
6313
6325
|
*
|
|
@@ -6317,7 +6329,7 @@ export class DescribeAlarmsRequest extends $tea.Model {
|
|
|
6317
6329
|
pageNumber?: number;
|
|
6318
6330
|
/**
|
|
6319
6331
|
* @remarks
|
|
6320
|
-
* The number of entries
|
|
6332
|
+
* The number of entries per page. Maximum value: 50.
|
|
6321
6333
|
*
|
|
6322
6334
|
* Default value: 10.
|
|
6323
6335
|
*
|
|
@@ -6916,14 +6928,134 @@ export class DescribeEciScalingConfigurationsResponse extends $tea.Model {
|
|
|
6916
6928
|
}
|
|
6917
6929
|
}
|
|
6918
6930
|
|
|
6931
|
+
export class DescribeElasticStrengthRequest extends $tea.Model {
|
|
6932
|
+
instanceTypes?: string[];
|
|
6933
|
+
/**
|
|
6934
|
+
* @example
|
|
6935
|
+
* NoSpot
|
|
6936
|
+
*/
|
|
6937
|
+
priorityStrategy?: string;
|
|
6938
|
+
/**
|
|
6939
|
+
* @remarks
|
|
6940
|
+
* This parameter is required.
|
|
6941
|
+
*
|
|
6942
|
+
* @example
|
|
6943
|
+
* cn-qingdao
|
|
6944
|
+
*/
|
|
6945
|
+
regionId?: string;
|
|
6946
|
+
/**
|
|
6947
|
+
* @example
|
|
6948
|
+
* asg-bp18p2yfxow2dloq****
|
|
6949
|
+
*/
|
|
6950
|
+
scalingGroupId?: string;
|
|
6951
|
+
scalingGroupIds?: string[];
|
|
6952
|
+
systemDiskCategories?: string[];
|
|
6953
|
+
static names(): { [key: string]: string } {
|
|
6954
|
+
return {
|
|
6955
|
+
instanceTypes: 'InstanceTypes',
|
|
6956
|
+
priorityStrategy: 'PriorityStrategy',
|
|
6957
|
+
regionId: 'RegionId',
|
|
6958
|
+
scalingGroupId: 'ScalingGroupId',
|
|
6959
|
+
scalingGroupIds: 'ScalingGroupIds',
|
|
6960
|
+
systemDiskCategories: 'SystemDiskCategories',
|
|
6961
|
+
};
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6964
|
+
static types(): { [key: string]: any } {
|
|
6965
|
+
return {
|
|
6966
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
6967
|
+
priorityStrategy: 'string',
|
|
6968
|
+
regionId: 'string',
|
|
6969
|
+
scalingGroupId: 'string',
|
|
6970
|
+
scalingGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
6971
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
6972
|
+
};
|
|
6973
|
+
}
|
|
6974
|
+
|
|
6975
|
+
constructor(map?: { [key: string]: any }) {
|
|
6976
|
+
super(map);
|
|
6977
|
+
}
|
|
6978
|
+
}
|
|
6979
|
+
|
|
6980
|
+
export class DescribeElasticStrengthResponseBody extends $tea.Model {
|
|
6981
|
+
elasticStrengthModels?: DescribeElasticStrengthResponseBodyElasticStrengthModels[];
|
|
6982
|
+
/**
|
|
6983
|
+
* @example
|
|
6984
|
+
* 73469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
6985
|
+
*/
|
|
6986
|
+
requestId?: string;
|
|
6987
|
+
resourcePools?: DescribeElasticStrengthResponseBodyResourcePools[];
|
|
6988
|
+
/**
|
|
6989
|
+
* @example
|
|
6990
|
+
* 1.5
|
|
6991
|
+
*/
|
|
6992
|
+
totalStrength?: number;
|
|
6993
|
+
static names(): { [key: string]: string } {
|
|
6994
|
+
return {
|
|
6995
|
+
elasticStrengthModels: 'ElasticStrengthModels',
|
|
6996
|
+
requestId: 'RequestId',
|
|
6997
|
+
resourcePools: 'ResourcePools',
|
|
6998
|
+
totalStrength: 'TotalStrength',
|
|
6999
|
+
};
|
|
7000
|
+
}
|
|
7001
|
+
|
|
7002
|
+
static types(): { [key: string]: any } {
|
|
7003
|
+
return {
|
|
7004
|
+
elasticStrengthModels: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModels },
|
|
7005
|
+
requestId: 'string',
|
|
7006
|
+
resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyResourcePools },
|
|
7007
|
+
totalStrength: 'number',
|
|
7008
|
+
};
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
constructor(map?: { [key: string]: any }) {
|
|
7012
|
+
super(map);
|
|
7013
|
+
}
|
|
7014
|
+
}
|
|
7015
|
+
|
|
7016
|
+
export class DescribeElasticStrengthResponse extends $tea.Model {
|
|
7017
|
+
headers?: { [key: string]: string };
|
|
7018
|
+
statusCode?: number;
|
|
7019
|
+
body?: DescribeElasticStrengthResponseBody;
|
|
7020
|
+
static names(): { [key: string]: string } {
|
|
7021
|
+
return {
|
|
7022
|
+
headers: 'headers',
|
|
7023
|
+
statusCode: 'statusCode',
|
|
7024
|
+
body: 'body',
|
|
7025
|
+
};
|
|
7026
|
+
}
|
|
7027
|
+
|
|
7028
|
+
static types(): { [key: string]: any } {
|
|
7029
|
+
return {
|
|
7030
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7031
|
+
statusCode: 'number',
|
|
7032
|
+
body: DescribeElasticStrengthResponseBody,
|
|
7033
|
+
};
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
constructor(map?: { [key: string]: any }) {
|
|
7037
|
+
super(map);
|
|
7038
|
+
}
|
|
7039
|
+
}
|
|
7040
|
+
|
|
6919
7041
|
export class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
7042
|
+
/**
|
|
7043
|
+
* @remarks
|
|
7044
|
+
* The IDs of the instance refresh tasks that you want to query.
|
|
7045
|
+
*/
|
|
6920
7046
|
instanceRefreshTaskIds?: string[];
|
|
6921
7047
|
/**
|
|
7048
|
+
* @remarks
|
|
7049
|
+
* The maximum number of entries per page. Valid values: 1 to 50. Default value: 10.
|
|
7050
|
+
*
|
|
6922
7051
|
* @example
|
|
6923
7052
|
* 10
|
|
6924
7053
|
*/
|
|
6925
7054
|
maxResults?: number;
|
|
6926
7055
|
/**
|
|
7056
|
+
* @remarks
|
|
7057
|
+
* 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.
|
|
7058
|
+
*
|
|
6927
7059
|
* @example
|
|
6928
7060
|
* caeba0bbb2be03f84eb48b699f0a****
|
|
6929
7061
|
*/
|
|
@@ -6932,6 +7064,8 @@ export class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
6932
7064
|
ownerId?: number;
|
|
6933
7065
|
/**
|
|
6934
7066
|
* @remarks
|
|
7067
|
+
* The region ID of the scaling group to which the instance refresh task belongs.
|
|
7068
|
+
*
|
|
6935
7069
|
* This parameter is required.
|
|
6936
7070
|
*
|
|
6937
7071
|
* @example
|
|
@@ -6941,6 +7075,11 @@ export class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
6941
7075
|
resourceOwnerAccount?: string;
|
|
6942
7076
|
resourceOwnerId?: number;
|
|
6943
7077
|
/**
|
|
7078
|
+
* @remarks
|
|
7079
|
+
* The ID of the scaling group.
|
|
7080
|
+
*
|
|
7081
|
+
* > 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.
|
|
7082
|
+
*
|
|
6944
7083
|
* @example
|
|
6945
7084
|
* asg-bp1ffogfdauy0jw0****
|
|
6946
7085
|
*/
|
|
@@ -6979,23 +7118,39 @@ export class DescribeInstanceRefreshesRequest extends $tea.Model {
|
|
|
6979
7118
|
}
|
|
6980
7119
|
|
|
6981
7120
|
export class DescribeInstanceRefreshesResponseBody extends $tea.Model {
|
|
7121
|
+
/**
|
|
7122
|
+
* @remarks
|
|
7123
|
+
* The instance refresh tasks.
|
|
7124
|
+
*/
|
|
6982
7125
|
instanceRefreshTasks?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks[];
|
|
6983
7126
|
/**
|
|
7127
|
+
* @remarks
|
|
7128
|
+
* The maximum number of entries per page.
|
|
7129
|
+
*
|
|
6984
7130
|
* @example
|
|
6985
7131
|
* 50
|
|
6986
7132
|
*/
|
|
6987
7133
|
maxResults?: number;
|
|
6988
7134
|
/**
|
|
7135
|
+
* @remarks
|
|
7136
|
+
* 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.
|
|
7137
|
+
*
|
|
6989
7138
|
* @example
|
|
6990
7139
|
* caeba0bbb2be03f84eb48b699f****
|
|
6991
7140
|
*/
|
|
6992
7141
|
nextToken?: string;
|
|
6993
7142
|
/**
|
|
7143
|
+
* @remarks
|
|
7144
|
+
* The ID of the request.
|
|
7145
|
+
*
|
|
6994
7146
|
* @example
|
|
6995
7147
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
6996
7148
|
*/
|
|
6997
7149
|
requestId?: string;
|
|
6998
7150
|
/**
|
|
7151
|
+
* @remarks
|
|
7152
|
+
* The total number of instance refresh tasks.
|
|
7153
|
+
*
|
|
6999
7154
|
* @example
|
|
7000
7155
|
* 100
|
|
7001
7156
|
*/
|
|
@@ -8296,12 +8451,16 @@ export class DescribeRegionsResponse extends $tea.Model {
|
|
|
8296
8451
|
}
|
|
8297
8452
|
|
|
8298
8453
|
export class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
8454
|
+
/**
|
|
8455
|
+
* @example
|
|
8456
|
+
* ir-a12ds234fasd*****
|
|
8457
|
+
*/
|
|
8299
8458
|
instanceRefreshTaskId?: string;
|
|
8300
8459
|
ownerAccount?: string;
|
|
8301
8460
|
ownerId?: number;
|
|
8302
8461
|
/**
|
|
8303
8462
|
* @remarks
|
|
8304
|
-
* The
|
|
8463
|
+
* The page number. Pages start from page 1.
|
|
8305
8464
|
*
|
|
8306
8465
|
* Default value: 1.
|
|
8307
8466
|
*
|
|
@@ -8311,7 +8470,7 @@ export class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
|
8311
8470
|
pageNumber?: number;
|
|
8312
8471
|
/**
|
|
8313
8472
|
* @remarks
|
|
8314
|
-
* The number of entries
|
|
8473
|
+
* The number of entries per page. Maximum value: 50.
|
|
8315
8474
|
*
|
|
8316
8475
|
* Default value: 10.
|
|
8317
8476
|
*
|
|
@@ -8335,14 +8494,14 @@ export class DescribeScalingActivitiesRequest extends $tea.Model {
|
|
|
8335
8494
|
* @remarks
|
|
8336
8495
|
* The IDs of the scaling activities that you want to query.
|
|
8337
8496
|
*
|
|
8338
|
-
* >
|
|
8497
|
+
* > 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.
|
|
8339
8498
|
*/
|
|
8340
8499
|
scalingActivityIds?: string[];
|
|
8341
8500
|
/**
|
|
8342
8501
|
* @remarks
|
|
8343
8502
|
* The ID of the scaling group.
|
|
8344
8503
|
*
|
|
8345
|
-
* >
|
|
8504
|
+
* > 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.
|
|
8346
8505
|
*
|
|
8347
8506
|
* @example
|
|
8348
8507
|
* asg-bp18p2yfxow2dloq****
|
|
@@ -8426,7 +8585,7 @@ export class DescribeScalingActivitiesResponseBody extends $tea.Model {
|
|
|
8426
8585
|
requestId?: string;
|
|
8427
8586
|
/**
|
|
8428
8587
|
* @remarks
|
|
8429
|
-
* The
|
|
8588
|
+
* The scaling activities.
|
|
8430
8589
|
*/
|
|
8431
8590
|
scalingActivities?: DescribeScalingActivitiesResponseBodyScalingActivities[];
|
|
8432
8591
|
/**
|
|
@@ -8870,7 +9029,7 @@ export class DescribeScalingGroupDetailResponseBody extends $tea.Model {
|
|
|
8870
9029
|
requestId?: string;
|
|
8871
9030
|
/**
|
|
8872
9031
|
* @remarks
|
|
8873
|
-
* The
|
|
9032
|
+
* The scaling group.
|
|
8874
9033
|
*/
|
|
8875
9034
|
scalingGroup?: DescribeScalingGroupDetailResponseBodyScalingGroup;
|
|
8876
9035
|
static names(): { [key: string]: string } {
|
|
@@ -9403,7 +9562,7 @@ export class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
9403
9562
|
ownerId?: number;
|
|
9404
9563
|
/**
|
|
9405
9564
|
* @remarks
|
|
9406
|
-
* The
|
|
9565
|
+
* The page number. Pages start from page 1.
|
|
9407
9566
|
*
|
|
9408
9567
|
* Default value: 1.
|
|
9409
9568
|
*
|
|
@@ -9413,7 +9572,7 @@ export class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
9413
9572
|
pageNumber?: number;
|
|
9414
9573
|
/**
|
|
9415
9574
|
* @remarks
|
|
9416
|
-
* The number of entries
|
|
9575
|
+
* The number of entries per page. Maximum value: 50.
|
|
9417
9576
|
*
|
|
9418
9577
|
* Default value: 10.
|
|
9419
9578
|
*
|
|
@@ -9471,7 +9630,7 @@ export class DescribeScalingRulesRequest extends $tea.Model {
|
|
|
9471
9630
|
scalingRuleType?: string;
|
|
9472
9631
|
/**
|
|
9473
9632
|
* @remarks
|
|
9474
|
-
* Specifies whether to return
|
|
9633
|
+
* Specifies whether to return the event-triggered tasks that are associated with the scaling rule. Valid values:
|
|
9475
9634
|
*
|
|
9476
9635
|
* * true
|
|
9477
9636
|
* * false
|
|
@@ -13749,7 +13908,7 @@ export class ModifyScalingConfigurationRequest extends $tea.Model {
|
|
|
13749
13908
|
networkInterfaces?: ModifyScalingConfigurationRequestNetworkInterfaces[];
|
|
13750
13909
|
/**
|
|
13751
13910
|
* @remarks
|
|
13752
|
-
* Specifies whether to
|
|
13911
|
+
* Specifies whether to override existing data. Valid values:
|
|
13753
13912
|
*
|
|
13754
13913
|
* * true
|
|
13755
13914
|
* * false
|
|
@@ -14320,7 +14479,7 @@ export class ModifyScalingConfigurationShrinkRequest extends $tea.Model {
|
|
|
14320
14479
|
networkInterfaces?: ModifyScalingConfigurationShrinkRequestNetworkInterfaces[];
|
|
14321
14480
|
/**
|
|
14322
14481
|
* @remarks
|
|
14323
|
-
* Specifies whether to
|
|
14482
|
+
* Specifies whether to override existing data. Valid values:
|
|
14324
14483
|
*
|
|
14325
14484
|
* * true
|
|
14326
14485
|
* * false
|
|
@@ -14782,12 +14941,11 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
14782
14941
|
* @remarks
|
|
14783
14942
|
* The health check mode of the scaling group. Valid values:
|
|
14784
14943
|
*
|
|
14785
|
-
* * NONE: Auto Scaling does not
|
|
14786
|
-
* * ECS: Auto Scaling checks the health status of
|
|
14787
|
-
* *
|
|
14788
|
-
* * 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.
|
|
14944
|
+
* * NONE: Auto Scaling does not check the health status of instances.
|
|
14945
|
+
* * 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.
|
|
14946
|
+
* * 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.
|
|
14789
14947
|
*
|
|
14790
|
-
* >
|
|
14948
|
+
* > If you want to enable instance health check and load balancer health check at the same time, we recommend that you specify `HealthCheckTypes`.
|
|
14791
14949
|
*
|
|
14792
14950
|
* @example
|
|
14793
14951
|
* ECS
|
|
@@ -14795,12 +14953,9 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
14795
14953
|
healthCheckType?: string;
|
|
14796
14954
|
/**
|
|
14797
14955
|
* @remarks
|
|
14798
|
-
* The health check
|
|
14956
|
+
* The health check mode of the scaling group.
|
|
14799
14957
|
*
|
|
14800
|
-
*
|
|
14801
|
-
* * ECS: Auto Scaling checks the health status of ECS instances in the scaling group.
|
|
14802
|
-
* * ECI: Auto Scaling checks the health status of elastic container instances in the scaling group.
|
|
14803
|
-
* * 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.
|
|
14958
|
+
* > 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.
|
|
14804
14959
|
*/
|
|
14805
14960
|
healthCheckTypes?: string[];
|
|
14806
14961
|
/**
|
|
@@ -14988,6 +15143,11 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
14988
15143
|
* true
|
|
14989
15144
|
*/
|
|
14990
15145
|
spotInstanceRemedy?: boolean;
|
|
15146
|
+
/**
|
|
15147
|
+
* @example
|
|
15148
|
+
* 60
|
|
15149
|
+
*/
|
|
15150
|
+
stopInstanceTimeout?: number;
|
|
14991
15151
|
/**
|
|
14992
15152
|
* @remarks
|
|
14993
15153
|
* The IDs of vSwitches.
|
|
@@ -15030,6 +15190,7 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
15030
15190
|
spotAllocationStrategy: 'SpotAllocationStrategy',
|
|
15031
15191
|
spotInstancePools: 'SpotInstancePools',
|
|
15032
15192
|
spotInstanceRemedy: 'SpotInstanceRemedy',
|
|
15193
|
+
stopInstanceTimeout: 'StopInstanceTimeout',
|
|
15033
15194
|
vSwitchIds: 'VSwitchIds',
|
|
15034
15195
|
};
|
|
15035
15196
|
}
|
|
@@ -15067,6 +15228,7 @@ export class ModifyScalingGroupRequest extends $tea.Model {
|
|
|
15067
15228
|
spotAllocationStrategy: 'string',
|
|
15068
15229
|
spotInstancePools: 'number',
|
|
15069
15230
|
spotInstanceRemedy: 'boolean',
|
|
15231
|
+
stopInstanceTimeout: 'number',
|
|
15070
15232
|
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
15071
15233
|
};
|
|
15072
15234
|
}
|
|
@@ -15203,19 +15365,22 @@ export class ModifyScalingRuleRequest extends $tea.Model {
|
|
|
15203
15365
|
*
|
|
15204
15366
|
* Valid values if you create a target tracking scaling rule:
|
|
15205
15367
|
*
|
|
15368
|
+
* * CpuUtilizationAgent (recommended): the CPU utilization.
|
|
15369
|
+
* * MemoryUtilization (recommended): the memory usage.
|
|
15206
15370
|
* * CpuUtilization: the average CPU utilization.
|
|
15207
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
15208
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
15209
|
-
* * VpcInternetTx: the outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
15210
|
-
* * VpcInternetRx: the inbound traffic from the Internet to a VPC.
|
|
15211
|
-
* * MemoryUtilization: the memory usage.
|
|
15371
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
15372
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
15373
|
+
* * VpcInternetTx: the average outbound traffic from a virtual private cloud (VPC) to the Internet.
|
|
15374
|
+
* * VpcInternetRx: the average inbound traffic from the Internet to a VPC.
|
|
15212
15375
|
* * LoadBalancerRealServerAverageQps: the queries per second (QPS) per Application Load Balancer (ALB) server group.
|
|
15213
15376
|
*
|
|
15214
15377
|
* Valid values if you create a predictive scaling rule:
|
|
15215
15378
|
*
|
|
15216
15379
|
* * CpuUtilization: the average CPU utilization.
|
|
15217
|
-
* * IntranetRx: the inbound traffic over an internal network.
|
|
15218
|
-
* * IntranetTx: the outbound traffic over an internal network.
|
|
15380
|
+
* * IntranetRx: the average inbound traffic over an internal network.
|
|
15381
|
+
* * IntranetTx: the average outbound traffic over an internal network.
|
|
15382
|
+
*
|
|
15383
|
+
* For more information, see [Event-triggered tasks of the system monitoring type](https://help.aliyun.com/document_detail/74854.html).
|
|
15219
15384
|
*
|
|
15220
15385
|
* @example
|
|
15221
15386
|
* CpuUtilization
|
|
@@ -16017,6 +16182,11 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
16017
16182
|
* asg-bp18p2yfxow2dloq****
|
|
16018
16183
|
*/
|
|
16019
16184
|
scalingGroupId?: string;
|
|
16185
|
+
/**
|
|
16186
|
+
* @example
|
|
16187
|
+
* 60
|
|
16188
|
+
*/
|
|
16189
|
+
stopInstanceTimeout?: number;
|
|
16020
16190
|
static names(): { [key: string]: string } {
|
|
16021
16191
|
return {
|
|
16022
16192
|
clientToken: 'ClientToken',
|
|
@@ -16030,6 +16200,7 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
16030
16200
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
16031
16201
|
resourceOwnerId: 'ResourceOwnerId',
|
|
16032
16202
|
scalingGroupId: 'ScalingGroupId',
|
|
16203
|
+
stopInstanceTimeout: 'StopInstanceTimeout',
|
|
16033
16204
|
};
|
|
16034
16205
|
}
|
|
16035
16206
|
|
|
@@ -16046,6 +16217,7 @@ export class RemoveInstancesRequest extends $tea.Model {
|
|
|
16046
16217
|
resourceOwnerAccount: 'string',
|
|
16047
16218
|
resourceOwnerId: 'number',
|
|
16048
16219
|
scalingGroupId: 'string',
|
|
16220
|
+
stopInstanceTimeout: 'number',
|
|
16049
16221
|
};
|
|
16050
16222
|
}
|
|
16051
16223
|
|
|
@@ -16118,6 +16290,8 @@ export class RemoveInstancesResponse extends $tea.Model {
|
|
|
16118
16290
|
export class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
16119
16291
|
/**
|
|
16120
16292
|
* @remarks
|
|
16293
|
+
* The ID of the instance refresh task.
|
|
16294
|
+
*
|
|
16121
16295
|
* This parameter is required.
|
|
16122
16296
|
*
|
|
16123
16297
|
* @example
|
|
@@ -16127,6 +16301,8 @@ export class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
16127
16301
|
ownerId?: number;
|
|
16128
16302
|
/**
|
|
16129
16303
|
* @remarks
|
|
16304
|
+
* The region ID of the scaling group.
|
|
16305
|
+
*
|
|
16130
16306
|
* This parameter is required.
|
|
16131
16307
|
*
|
|
16132
16308
|
* @example
|
|
@@ -16136,6 +16312,8 @@ export class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
16136
16312
|
resourceOwnerAccount?: string;
|
|
16137
16313
|
/**
|
|
16138
16314
|
* @remarks
|
|
16315
|
+
* The ID of the scaling group.
|
|
16316
|
+
*
|
|
16139
16317
|
* This parameter is required.
|
|
16140
16318
|
*
|
|
16141
16319
|
* @example
|
|
@@ -16169,6 +16347,9 @@ export class ResumeInstanceRefreshRequest extends $tea.Model {
|
|
|
16169
16347
|
|
|
16170
16348
|
export class ResumeInstanceRefreshResponseBody extends $tea.Model {
|
|
16171
16349
|
/**
|
|
16350
|
+
* @remarks
|
|
16351
|
+
* The request ID.
|
|
16352
|
+
*
|
|
16172
16353
|
* @example
|
|
16173
16354
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
16174
16355
|
*/
|
|
@@ -16334,6 +16515,8 @@ export class ResumeProcessesResponse extends $tea.Model {
|
|
|
16334
16515
|
export class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
16335
16516
|
/**
|
|
16336
16517
|
* @remarks
|
|
16518
|
+
* The ID of the instance refresh task.
|
|
16519
|
+
*
|
|
16337
16520
|
* This parameter is required.
|
|
16338
16521
|
*
|
|
16339
16522
|
* @example
|
|
@@ -16343,6 +16526,8 @@ export class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
16343
16526
|
ownerId?: number;
|
|
16344
16527
|
/**
|
|
16345
16528
|
* @remarks
|
|
16529
|
+
* The region ID of the scaling group.
|
|
16530
|
+
*
|
|
16346
16531
|
* This parameter is required.
|
|
16347
16532
|
*
|
|
16348
16533
|
* @example
|
|
@@ -16352,6 +16537,8 @@ export class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
16352
16537
|
resourceOwnerAccount?: string;
|
|
16353
16538
|
/**
|
|
16354
16539
|
* @remarks
|
|
16540
|
+
* The ID of the scaling group.
|
|
16541
|
+
*
|
|
16355
16542
|
* This parameter is required.
|
|
16356
16543
|
*
|
|
16357
16544
|
* @example
|
|
@@ -16385,6 +16572,9 @@ export class RollbackInstanceRefreshRequest extends $tea.Model {
|
|
|
16385
16572
|
|
|
16386
16573
|
export class RollbackInstanceRefreshResponseBody extends $tea.Model {
|
|
16387
16574
|
/**
|
|
16575
|
+
* @remarks
|
|
16576
|
+
* The request ID.
|
|
16577
|
+
*
|
|
16388
16578
|
* @example
|
|
16389
16579
|
* B13527BF-1FBD-4334-A512-20F5E9D3****
|
|
16390
16580
|
*/
|
|
@@ -17083,17 +17273,38 @@ export class SetInstancesProtectionResponse extends $tea.Model {
|
|
|
17083
17273
|
|
|
17084
17274
|
export class StartInstanceRefreshRequest extends $tea.Model {
|
|
17085
17275
|
/**
|
|
17276
|
+
* @remarks
|
|
17277
|
+
* 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".
|
|
17278
|
+
*
|
|
17086
17279
|
* @example
|
|
17087
17280
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
17088
17281
|
*/
|
|
17089
17282
|
clientToken?: string;
|
|
17283
|
+
/**
|
|
17284
|
+
* @remarks
|
|
17285
|
+
* The desired configurations of the instance refresh task.
|
|
17286
|
+
*
|
|
17287
|
+
* >
|
|
17288
|
+
*
|
|
17289
|
+
* * When you call this operation, you must specify one of the following parameters: ScalingConfigurationId and ImageId.
|
|
17290
|
+
*
|
|
17291
|
+
* * Instances whose configurations match the desired configurations of the task are ignored during instance refresh.
|
|
17292
|
+
*/
|
|
17090
17293
|
desiredConfiguration?: StartInstanceRefreshRequestDesiredConfiguration;
|
|
17091
17294
|
/**
|
|
17295
|
+
* @remarks
|
|
17296
|
+
* 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.
|
|
17297
|
+
*
|
|
17298
|
+
* > If you set MinHealthyPercentage and MaxHealthyPercentage to 100, Auto Scaling refreshes the configurations of one instance each time the instance refresh task starts.
|
|
17299
|
+
*
|
|
17092
17300
|
* @example
|
|
17093
17301
|
* 100
|
|
17094
17302
|
*/
|
|
17095
17303
|
maxHealthyPercentage?: number;
|
|
17096
17304
|
/**
|
|
17305
|
+
* @remarks
|
|
17306
|
+
* 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.
|
|
17307
|
+
*
|
|
17097
17308
|
* @example
|
|
17098
17309
|
* 80
|
|
17099
17310
|
*/
|
|
@@ -17101,6 +17312,8 @@ export class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
17101
17312
|
ownerId?: number;
|
|
17102
17313
|
/**
|
|
17103
17314
|
* @remarks
|
|
17315
|
+
* The region ID of the scaling group.
|
|
17316
|
+
*
|
|
17104
17317
|
* This parameter is required.
|
|
17105
17318
|
*
|
|
17106
17319
|
* @example
|
|
@@ -17110,6 +17323,8 @@ export class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
17110
17323
|
resourceOwnerAccount?: string;
|
|
17111
17324
|
/**
|
|
17112
17325
|
* @remarks
|
|
17326
|
+
* The ID of the scaling group.
|
|
17327
|
+
*
|
|
17113
17328
|
* This parameter is required.
|
|
17114
17329
|
*
|
|
17115
17330
|
* @example
|
|
@@ -17149,11 +17364,17 @@ export class StartInstanceRefreshRequest extends $tea.Model {
|
|
|
17149
17364
|
|
|
17150
17365
|
export class StartInstanceRefreshResponseBody extends $tea.Model {
|
|
17151
17366
|
/**
|
|
17367
|
+
* @remarks
|
|
17368
|
+
* The ID of the instance refresh task.
|
|
17369
|
+
*
|
|
17152
17370
|
* @example
|
|
17153
17371
|
* ir-a12ds234fasd*****
|
|
17154
17372
|
*/
|
|
17155
17373
|
instanceRefreshTaskId?: string;
|
|
17156
17374
|
/**
|
|
17375
|
+
* @remarks
|
|
17376
|
+
* The request ID.
|
|
17377
|
+
*
|
|
17157
17378
|
* @example
|
|
17158
17379
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
17159
17380
|
*/
|
|
@@ -17205,6 +17426,8 @@ export class StartInstanceRefreshResponse extends $tea.Model {
|
|
|
17205
17426
|
export class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
17206
17427
|
/**
|
|
17207
17428
|
* @remarks
|
|
17429
|
+
* The ID of the instance refresh task.
|
|
17430
|
+
*
|
|
17208
17431
|
* This parameter is required.
|
|
17209
17432
|
*
|
|
17210
17433
|
* @example
|
|
@@ -17214,6 +17437,8 @@ export class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
17214
17437
|
ownerId?: number;
|
|
17215
17438
|
/**
|
|
17216
17439
|
* @remarks
|
|
17440
|
+
* The region ID of the scaling group.
|
|
17441
|
+
*
|
|
17217
17442
|
* This parameter is required.
|
|
17218
17443
|
*
|
|
17219
17444
|
* @example
|
|
@@ -17223,6 +17448,8 @@ export class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
17223
17448
|
resourceOwnerAccount?: string;
|
|
17224
17449
|
/**
|
|
17225
17450
|
* @remarks
|
|
17451
|
+
* The ID of the scaling group.
|
|
17452
|
+
*
|
|
17226
17453
|
* This parameter is required.
|
|
17227
17454
|
*
|
|
17228
17455
|
* @example
|
|
@@ -17256,6 +17483,9 @@ export class SuspendInstanceRefreshRequest extends $tea.Model {
|
|
|
17256
17483
|
|
|
17257
17484
|
export class SuspendInstanceRefreshResponseBody extends $tea.Model {
|
|
17258
17485
|
/**
|
|
17486
|
+
* @remarks
|
|
17487
|
+
* The request ID.
|
|
17488
|
+
*
|
|
17259
17489
|
* @example
|
|
17260
17490
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
17261
17491
|
*/
|
|
@@ -20686,6 +20916,16 @@ export class CreateScalingConfigurationRequestNetworkInterfaces extends $tea.Mod
|
|
|
20686
20916
|
}
|
|
20687
20917
|
|
|
20688
20918
|
export class CreateScalingConfigurationRequestSecurityOptions extends $tea.Model {
|
|
20919
|
+
/**
|
|
20920
|
+
* @remarks
|
|
20921
|
+
* The confidential computing mode. Valid values:
|
|
20922
|
+
*
|
|
20923
|
+
* * 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).
|
|
20924
|
+
* * 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).
|
|
20925
|
+
*
|
|
20926
|
+
* @example
|
|
20927
|
+
* TDX
|
|
20928
|
+
*/
|
|
20689
20929
|
confidentialComputingMode?: string;
|
|
20690
20930
|
static names(): { [key: string]: string } {
|
|
20691
20931
|
return {
|
|
@@ -21609,6 +21849,16 @@ export class CreateScalingConfigurationShrinkRequestNetworkInterfaces extends $t
|
|
|
21609
21849
|
}
|
|
21610
21850
|
|
|
21611
21851
|
export class CreateScalingConfigurationShrinkRequestSecurityOptions extends $tea.Model {
|
|
21852
|
+
/**
|
|
21853
|
+
* @remarks
|
|
21854
|
+
* The confidential computing mode. Valid values:
|
|
21855
|
+
*
|
|
21856
|
+
* * 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).
|
|
21857
|
+
* * 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).
|
|
21858
|
+
*
|
|
21859
|
+
* @example
|
|
21860
|
+
* TDX
|
|
21861
|
+
*/
|
|
21612
21862
|
confidentialComputingMode?: string;
|
|
21613
21863
|
static names(): { [key: string]: string } {
|
|
21614
21864
|
return {
|
|
@@ -26814,13 +27064,156 @@ export class DescribeEciScalingConfigurationsResponseBodyScalingConfigurations e
|
|
|
26814
27064
|
}
|
|
26815
27065
|
}
|
|
26816
27066
|
|
|
27067
|
+
export class DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools extends $tea.Model {
|
|
27068
|
+
/**
|
|
27069
|
+
* @example
|
|
27070
|
+
* InstanceTypesOrDiskTypesNotSupported
|
|
27071
|
+
*/
|
|
27072
|
+
code?: string;
|
|
27073
|
+
/**
|
|
27074
|
+
* @example
|
|
27075
|
+
* ecs.r7.large
|
|
27076
|
+
*/
|
|
27077
|
+
instanceType?: string;
|
|
27078
|
+
/**
|
|
27079
|
+
* @example
|
|
27080
|
+
* The instanceTypes or diskTypes are not supported.
|
|
27081
|
+
*/
|
|
27082
|
+
msg?: string;
|
|
27083
|
+
/**
|
|
27084
|
+
* @example
|
|
27085
|
+
* 0.6
|
|
27086
|
+
*/
|
|
27087
|
+
strength?: number;
|
|
27088
|
+
vSwitchIds?: string[];
|
|
27089
|
+
/**
|
|
27090
|
+
* @example
|
|
27091
|
+
* cn-hangzhou-g
|
|
27092
|
+
*/
|
|
27093
|
+
zoneId?: string;
|
|
27094
|
+
static names(): { [key: string]: string } {
|
|
27095
|
+
return {
|
|
27096
|
+
code: 'Code',
|
|
27097
|
+
instanceType: 'InstanceType',
|
|
27098
|
+
msg: 'Msg',
|
|
27099
|
+
strength: 'Strength',
|
|
27100
|
+
vSwitchIds: 'VSwitchIds',
|
|
27101
|
+
zoneId: 'ZoneId',
|
|
27102
|
+
};
|
|
27103
|
+
}
|
|
27104
|
+
|
|
27105
|
+
static types(): { [key: string]: any } {
|
|
27106
|
+
return {
|
|
27107
|
+
code: 'string',
|
|
27108
|
+
instanceType: 'string',
|
|
27109
|
+
msg: 'string',
|
|
27110
|
+
strength: 'number',
|
|
27111
|
+
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
27112
|
+
zoneId: 'string',
|
|
27113
|
+
};
|
|
27114
|
+
}
|
|
27115
|
+
|
|
27116
|
+
constructor(map?: { [key: string]: any }) {
|
|
27117
|
+
super(map);
|
|
27118
|
+
}
|
|
27119
|
+
}
|
|
27120
|
+
|
|
27121
|
+
export class DescribeElasticStrengthResponseBodyElasticStrengthModels extends $tea.Model {
|
|
27122
|
+
resourcePools?: DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools[];
|
|
27123
|
+
scalingGroupId?: string;
|
|
27124
|
+
/**
|
|
27125
|
+
* @example
|
|
27126
|
+
* 1.5
|
|
27127
|
+
*/
|
|
27128
|
+
totalStrength?: number;
|
|
27129
|
+
static names(): { [key: string]: string } {
|
|
27130
|
+
return {
|
|
27131
|
+
resourcePools: 'ResourcePools',
|
|
27132
|
+
scalingGroupId: 'ScalingGroupId',
|
|
27133
|
+
totalStrength: 'TotalStrength',
|
|
27134
|
+
};
|
|
27135
|
+
}
|
|
27136
|
+
|
|
27137
|
+
static types(): { [key: string]: any } {
|
|
27138
|
+
return {
|
|
27139
|
+
resourcePools: { 'type': 'array', 'itemType': DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools },
|
|
27140
|
+
scalingGroupId: 'string',
|
|
27141
|
+
totalStrength: 'number',
|
|
27142
|
+
};
|
|
27143
|
+
}
|
|
27144
|
+
|
|
27145
|
+
constructor(map?: { [key: string]: any }) {
|
|
27146
|
+
super(map);
|
|
27147
|
+
}
|
|
27148
|
+
}
|
|
27149
|
+
|
|
27150
|
+
export class DescribeElasticStrengthResponseBodyResourcePools extends $tea.Model {
|
|
27151
|
+
/**
|
|
27152
|
+
* @example
|
|
27153
|
+
* IMG_NOT_SUPPORTED
|
|
27154
|
+
*/
|
|
27155
|
+
code?: string;
|
|
27156
|
+
/**
|
|
27157
|
+
* @example
|
|
27158
|
+
* ecs.c7t.xlarge
|
|
27159
|
+
*/
|
|
27160
|
+
instanceType?: string;
|
|
27161
|
+
/**
|
|
27162
|
+
* @example
|
|
27163
|
+
* The instanceType does not support the image in the configuration.
|
|
27164
|
+
*/
|
|
27165
|
+
msg?: string;
|
|
27166
|
+
/**
|
|
27167
|
+
* @example
|
|
27168
|
+
* 0.6
|
|
27169
|
+
*/
|
|
27170
|
+
strength?: number;
|
|
27171
|
+
vSwitchIds?: string[];
|
|
27172
|
+
/**
|
|
27173
|
+
* @example
|
|
27174
|
+
* cn-hangzhou-g
|
|
27175
|
+
*/
|
|
27176
|
+
zoneId?: string;
|
|
27177
|
+
static names(): { [key: string]: string } {
|
|
27178
|
+
return {
|
|
27179
|
+
code: 'Code',
|
|
27180
|
+
instanceType: 'InstanceType',
|
|
27181
|
+
msg: 'Msg',
|
|
27182
|
+
strength: 'Strength',
|
|
27183
|
+
vSwitchIds: 'VSwitchIds',
|
|
27184
|
+
zoneId: 'ZoneId',
|
|
27185
|
+
};
|
|
27186
|
+
}
|
|
27187
|
+
|
|
27188
|
+
static types(): { [key: string]: any } {
|
|
27189
|
+
return {
|
|
27190
|
+
code: 'string',
|
|
27191
|
+
instanceType: 'string',
|
|
27192
|
+
msg: 'string',
|
|
27193
|
+
strength: 'number',
|
|
27194
|
+
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
27195
|
+
zoneId: 'string',
|
|
27196
|
+
};
|
|
27197
|
+
}
|
|
27198
|
+
|
|
27199
|
+
constructor(map?: { [key: string]: any }) {
|
|
27200
|
+
super(map);
|
|
27201
|
+
}
|
|
27202
|
+
}
|
|
27203
|
+
|
|
26817
27204
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration extends $tea.Model {
|
|
26818
27205
|
/**
|
|
27206
|
+
* @remarks
|
|
27207
|
+
* The ID of the image file that provides the image resource for Auto Scaling to create instances.
|
|
27208
|
+
*
|
|
26819
27209
|
* @example
|
|
26820
27210
|
* m-uf6g5noisr****
|
|
26821
27211
|
*/
|
|
26822
27212
|
imageId?: string;
|
|
26823
27213
|
/**
|
|
27214
|
+
* @remarks
|
|
27215
|
+
* The ID of the scaling configuration.
|
|
27216
|
+
*
|
|
26824
27217
|
* @example
|
|
26825
27218
|
* asc-wz91ibkhfor****
|
|
26826
27219
|
*/
|
|
@@ -26845,58 +27238,106 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredCon
|
|
|
26845
27238
|
}
|
|
26846
27239
|
|
|
26847
27240
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $tea.Model {
|
|
27241
|
+
/**
|
|
27242
|
+
* @remarks
|
|
27243
|
+
* The desired configurations of the instance refresh task.
|
|
27244
|
+
*/
|
|
26848
27245
|
desiredConfiguration?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfiguration;
|
|
26849
27246
|
/**
|
|
27247
|
+
* @remarks
|
|
27248
|
+
* The reason why the instance refresh task failed to be executed.
|
|
27249
|
+
*
|
|
26850
27250
|
* @example
|
|
26851
27251
|
* The task exceeded its maximum run time of one week. So the task failed.
|
|
26852
27252
|
*/
|
|
26853
27253
|
detail?: string;
|
|
26854
27254
|
/**
|
|
27255
|
+
* @remarks
|
|
27256
|
+
* The end time of the instance refresh task.
|
|
27257
|
+
*
|
|
26855
27258
|
* @example
|
|
26856
27259
|
* 2024-08-22T02:09:00Z
|
|
26857
27260
|
*/
|
|
26858
27261
|
endTime?: string;
|
|
26859
27262
|
/**
|
|
27263
|
+
* @remarks
|
|
27264
|
+
* The refreshed number of instances in the scaling group.
|
|
27265
|
+
*
|
|
26860
27266
|
* @example
|
|
26861
27267
|
* 10
|
|
26862
27268
|
*/
|
|
26863
27269
|
finishedUpdateCapacity?: number;
|
|
26864
27270
|
/**
|
|
27271
|
+
* @remarks
|
|
27272
|
+
* The ID of the instance refresh task.
|
|
27273
|
+
*
|
|
26865
27274
|
* @example
|
|
26866
27275
|
* ir-1adfa123****
|
|
26867
27276
|
*/
|
|
26868
27277
|
instanceRefreshTaskId?: string;
|
|
26869
27278
|
/**
|
|
27279
|
+
* @remarks
|
|
27280
|
+
* 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.
|
|
27281
|
+
*
|
|
26870
27282
|
* @example
|
|
26871
27283
|
* 120
|
|
26872
27284
|
*/
|
|
26873
27285
|
maxHealthyPercentage?: number;
|
|
26874
27286
|
/**
|
|
27287
|
+
* @remarks
|
|
27288
|
+
* The ratio of the number of instances that provide services to the total number of instances in the scaling group during instance refresh.
|
|
27289
|
+
*
|
|
26875
27290
|
* @example
|
|
26876
27291
|
* 80
|
|
26877
27292
|
*/
|
|
26878
27293
|
minHealthyPercentage?: number;
|
|
26879
27294
|
/**
|
|
27295
|
+
* @remarks
|
|
27296
|
+
* The region ID of the scaling group.
|
|
27297
|
+
*
|
|
26880
27298
|
* @example
|
|
26881
27299
|
* cn-hangzhou
|
|
26882
27300
|
*/
|
|
26883
27301
|
regionId?: string;
|
|
26884
27302
|
/**
|
|
27303
|
+
* @remarks
|
|
27304
|
+
* The ID of the scaling group.
|
|
27305
|
+
*
|
|
26885
27306
|
* @example
|
|
26886
27307
|
* asg-bp16pbfcr8j9*****
|
|
26887
27308
|
*/
|
|
26888
27309
|
scalingGroupId?: string;
|
|
26889
27310
|
/**
|
|
27311
|
+
* @remarks
|
|
27312
|
+
* The start time of the instance refresh task.
|
|
27313
|
+
*
|
|
26890
27314
|
* @example
|
|
26891
27315
|
* 2024-08-22T01:09:00Z
|
|
26892
27316
|
*/
|
|
26893
27317
|
startTime?: string;
|
|
26894
27318
|
/**
|
|
27319
|
+
* @remarks
|
|
27320
|
+
* The status of the instance refresh task. Valid values:
|
|
27321
|
+
*
|
|
27322
|
+
* * Pending: The instance refresh task is created and is waiting to be scheduled.
|
|
27323
|
+
* * InProgress: The instance refresh task is being executed.
|
|
27324
|
+
* * Paused: The instance refresh task is suspended.
|
|
27325
|
+
* * Failed: The instance refresh task failed to be executed.
|
|
27326
|
+
* * Successful: The instance refresh task is successful.
|
|
27327
|
+
* * Cancelling: The instance refresh task is being canceled.
|
|
27328
|
+
* * Cancelled: The instance refresh task is canceled.
|
|
27329
|
+
* * RollbackInProgress: The instance refresh task is being rolled back.
|
|
27330
|
+
* * RollbackSuccessful: The instance refresh task is rolled back.
|
|
27331
|
+
* * RollbackFailed: The instance refresh task fails to be rolled back.
|
|
27332
|
+
*
|
|
26895
27333
|
* @example
|
|
26896
27334
|
* InProgress
|
|
26897
27335
|
*/
|
|
26898
27336
|
status?: string;
|
|
26899
27337
|
/**
|
|
27338
|
+
* @remarks
|
|
27339
|
+
* The total number of instances whose configurations are refreshed.
|
|
27340
|
+
*
|
|
26900
27341
|
* @example
|
|
26901
27342
|
* 20
|
|
26902
27343
|
*/
|
|
@@ -27338,7 +27779,7 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
27338
27779
|
export class DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext extends $tea.Model {
|
|
27339
27780
|
/**
|
|
27340
27781
|
* @remarks
|
|
27341
|
-
* Indicates whether all lifecycle hooks are disabled. Valid values:
|
|
27782
|
+
* Indicates whether all lifecycle hooks are disabled when the scaling activity is triggered. Valid values:
|
|
27342
27783
|
*
|
|
27343
27784
|
* * true
|
|
27344
27785
|
* * false
|
|
@@ -27382,7 +27823,7 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
27382
27823
|
activityMetadata?: string;
|
|
27383
27824
|
/**
|
|
27384
27825
|
* @remarks
|
|
27385
|
-
* The total number of instances that are manually added to the scaling group after the scaling activity
|
|
27826
|
+
* The total number of instances that are manually added to the scaling group after the scaling activity is complete.
|
|
27386
27827
|
*
|
|
27387
27828
|
* @example
|
|
27388
27829
|
* 0
|
|
@@ -27470,6 +27911,10 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
27470
27911
|
* The specified ECS resource is out of stock in this region. Please try again later.
|
|
27471
27912
|
*/
|
|
27472
27913
|
errorMessage?: string;
|
|
27914
|
+
/**
|
|
27915
|
+
* @example
|
|
27916
|
+
* ir-asdf12adsxg*****
|
|
27917
|
+
*/
|
|
27473
27918
|
instanceRefreshTaskId?: string;
|
|
27474
27919
|
/**
|
|
27475
27920
|
* @remarks
|
|
@@ -27502,9 +27947,8 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
27502
27947
|
scalingGroupId?: string;
|
|
27503
27948
|
/**
|
|
27504
27949
|
* @remarks
|
|
27505
|
-
* 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
|
|
27506
|
-
*
|
|
27507
|
-
* 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.
|
|
27950
|
+
* * 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.
|
|
27951
|
+
* * 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.
|
|
27508
27952
|
*
|
|
27509
27953
|
* @example
|
|
27510
27954
|
* 1
|
|
@@ -27576,11 +28020,11 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
27576
28020
|
totalCapacity?: string;
|
|
27577
28021
|
/**
|
|
27578
28022
|
* @remarks
|
|
27579
|
-
* The ID of the trigger source of the scaling activity.
|
|
28023
|
+
* The ID of the trigger source of the scaling activity. Valid values:
|
|
27580
28024
|
*
|
|
27581
|
-
* * If
|
|
27582
|
-
* * If
|
|
27583
|
-
* * If
|
|
28025
|
+
* * 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.
|
|
28026
|
+
* * 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.
|
|
28027
|
+
* * If the scaling activity is triggered by Auto Scaling, the ID of the trigger source is null.
|
|
27584
28028
|
*
|
|
27585
28029
|
* @example
|
|
27586
28030
|
* 2346366580*****
|
|
@@ -27588,11 +28032,11 @@ export class DescribeScalingActivitiesResponseBodyScalingActivities extends $tea
|
|
|
27588
28032
|
triggerSourceId?: string;
|
|
27589
28033
|
/**
|
|
27590
28034
|
* @remarks
|
|
27591
|
-
* The type of the trigger source of the scaling activity.
|
|
28035
|
+
* The type of the trigger source of the scaling activity. Valid values:
|
|
27592
28036
|
*
|
|
27593
|
-
* * Cms: triggered by an event-triggered task
|
|
27594
|
-
* * APIs: triggered by API
|
|
27595
|
-
* * Ess: triggered by
|
|
28037
|
+
* * Cms: The scaling activity is triggered by an event-triggered task.
|
|
28038
|
+
* * APIs: The scaling activity is triggered by calling an API operation.
|
|
28039
|
+
* * Ess: The scaling activity is triggered by Auto Scaling.
|
|
27596
28040
|
*
|
|
27597
28041
|
* @example
|
|
27598
28042
|
* Api
|
|
@@ -28247,6 +28691,16 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSched
|
|
|
28247
28691
|
}
|
|
28248
28692
|
|
|
28249
28693
|
export class DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions extends $tea.Model {
|
|
28694
|
+
/**
|
|
28695
|
+
* @remarks
|
|
28696
|
+
* The confidential computing mode. Valid values:
|
|
28697
|
+
*
|
|
28698
|
+
* * 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).
|
|
28699
|
+
* * 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).
|
|
28700
|
+
*
|
|
28701
|
+
* @example
|
|
28702
|
+
* TDX
|
|
28703
|
+
*/
|
|
28250
28704
|
confidentialComputingMode?: string;
|
|
28251
28705
|
static names(): { [key: string]: string } {
|
|
28252
28706
|
return {
|
|
@@ -28727,6 +29181,10 @@ export class DescribeScalingConfigurationsResponseBodyScalingConfigurations exte
|
|
|
28727
29181
|
* 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.
|
|
28728
29182
|
*/
|
|
28729
29183
|
securityGroupIds?: string[];
|
|
29184
|
+
/**
|
|
29185
|
+
* @remarks
|
|
29186
|
+
* The security options.
|
|
29187
|
+
*/
|
|
28730
29188
|
securityOptions?: DescribeScalingConfigurationsResponseBodyScalingConfigurationsSecurityOptions;
|
|
28731
29189
|
/**
|
|
28732
29190
|
* @remarks
|
|
@@ -29545,8 +30003,9 @@ export class DescribeScalingGroupDetailResponseBodyScalingGroup extends $tea.Mod
|
|
|
29545
30003
|
* @remarks
|
|
29546
30004
|
* The health check mode of the scaling group. Valid values:
|
|
29547
30005
|
*
|
|
29548
|
-
* * NONE: Auto Scaling does not perform health checks
|
|
29549
|
-
* * ECS: Auto Scaling
|
|
30006
|
+
* * NONE: Auto Scaling does not perform health checks.
|
|
30007
|
+
* * 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.
|
|
30008
|
+
* * 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.
|
|
29550
30009
|
*
|
|
29551
30010
|
* @example
|
|
29552
30011
|
* ECS
|
|
@@ -29554,7 +30013,11 @@ export class DescribeScalingGroupDetailResponseBodyScalingGroup extends $tea.Mod
|
|
|
29554
30013
|
healthCheckType?: string;
|
|
29555
30014
|
/**
|
|
29556
30015
|
* @remarks
|
|
29557
|
-
* The health check
|
|
30016
|
+
* The health check mode of the scaling group. Valid values:
|
|
30017
|
+
*
|
|
30018
|
+
* * NONE: Auto Scaling does not perform health checks.
|
|
30019
|
+
* * 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.
|
|
30020
|
+
* * 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.
|
|
29558
30021
|
*/
|
|
29559
30022
|
healthCheckTypes?: string[];
|
|
29560
30023
|
/**
|
|
@@ -30586,8 +31049,8 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
30586
31049
|
* The health check mode of the scaling group. Valid values:
|
|
30587
31050
|
*
|
|
30588
31051
|
* * NONE: Auto Scaling does not perform health checks.
|
|
30589
|
-
* * ECS: Auto Scaling checks the health status of
|
|
30590
|
-
* * 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
|
|
31052
|
+
* * 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.
|
|
31053
|
+
* * 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.
|
|
30591
31054
|
*
|
|
30592
31055
|
* @example
|
|
30593
31056
|
* ECS
|
|
@@ -30595,11 +31058,11 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
30595
31058
|
healthCheckType?: string;
|
|
30596
31059
|
/**
|
|
30597
31060
|
* @remarks
|
|
30598
|
-
* The health check
|
|
31061
|
+
* The health check mode of the scaling group. Valid values:
|
|
30599
31062
|
*
|
|
30600
31063
|
* * NONE: Auto Scaling does not perform health checks.
|
|
30601
|
-
* * ECS: Auto Scaling checks the health status of
|
|
30602
|
-
* * 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
|
|
31064
|
+
* * 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.
|
|
31065
|
+
* * 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.
|
|
30603
31066
|
*/
|
|
30604
31067
|
healthCheckTypes?: string[];
|
|
30605
31068
|
/**
|
|
@@ -30858,7 +31321,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
30858
31321
|
spotAllocationStrategy?: string;
|
|
30859
31322
|
/**
|
|
30860
31323
|
* @remarks
|
|
30861
|
-
*
|
|
31324
|
+
* The number of preemptible instances in the scaling group.
|
|
30862
31325
|
*
|
|
30863
31326
|
* @example
|
|
30864
31327
|
* 0
|
|
@@ -30888,6 +31351,11 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
30888
31351
|
* 1
|
|
30889
31352
|
*/
|
|
30890
31353
|
standbyCapacity?: number;
|
|
31354
|
+
/**
|
|
31355
|
+
* @example
|
|
31356
|
+
* 60
|
|
31357
|
+
*/
|
|
31358
|
+
stopInstanceTimeout?: number;
|
|
30891
31359
|
/**
|
|
30892
31360
|
* @remarks
|
|
30893
31361
|
* The number of instances that was stopped in Economical Mode in the scaling group.
|
|
@@ -31018,6 +31486,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
31018
31486
|
spotInstancePools: 'SpotInstancePools',
|
|
31019
31487
|
spotInstanceRemedy: 'SpotInstanceRemedy',
|
|
31020
31488
|
standbyCapacity: 'StandbyCapacity',
|
|
31489
|
+
stopInstanceTimeout: 'StopInstanceTimeout',
|
|
31021
31490
|
stoppedCapacity: 'StoppedCapacity',
|
|
31022
31491
|
suspendedProcesses: 'SuspendedProcesses',
|
|
31023
31492
|
systemSuspended: 'SystemSuspended',
|
|
@@ -31084,6 +31553,7 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $tea.Model {
|
|
|
31084
31553
|
spotInstancePools: 'number',
|
|
31085
31554
|
spotInstanceRemedy: 'boolean',
|
|
31086
31555
|
standbyCapacity: 'number',
|
|
31556
|
+
stopInstanceTimeout: 'number',
|
|
31087
31557
|
stoppedCapacity: 'number',
|
|
31088
31558
|
suspendedProcesses: { 'type': 'array', 'itemType': 'string' },
|
|
31089
31559
|
systemSuspended: 'boolean',
|
|
@@ -35025,6 +35495,16 @@ export class ModifyScalingConfigurationRequestNetworkInterfaces extends $tea.Mod
|
|
|
35025
35495
|
}
|
|
35026
35496
|
|
|
35027
35497
|
export class ModifyScalingConfigurationRequestSecurityOptions extends $tea.Model {
|
|
35498
|
+
/**
|
|
35499
|
+
* @remarks
|
|
35500
|
+
* The confidential computing mode. Valid values:
|
|
35501
|
+
*
|
|
35502
|
+
* * 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).
|
|
35503
|
+
* * 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).
|
|
35504
|
+
*
|
|
35505
|
+
* @example
|
|
35506
|
+
* TDX
|
|
35507
|
+
*/
|
|
35028
35508
|
confidentialComputingMode?: string;
|
|
35029
35509
|
static names(): { [key: string]: string } {
|
|
35030
35510
|
return {
|
|
@@ -35966,6 +36446,16 @@ export class ModifyScalingConfigurationShrinkRequestNetworkInterfaces extends $t
|
|
|
35966
36446
|
}
|
|
35967
36447
|
|
|
35968
36448
|
export class ModifyScalingConfigurationShrinkRequestSecurityOptions extends $tea.Model {
|
|
36449
|
+
/**
|
|
36450
|
+
* @remarks
|
|
36451
|
+
* The confidential computing mode. Valid values:
|
|
36452
|
+
*
|
|
36453
|
+
* * 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).
|
|
36454
|
+
* * 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).
|
|
36455
|
+
*
|
|
36456
|
+
* @example
|
|
36457
|
+
* TDX
|
|
36458
|
+
*/
|
|
35969
36459
|
confidentialComputingMode?: string;
|
|
35970
36460
|
static names(): { [key: string]: string } {
|
|
35971
36461
|
return {
|
|
@@ -36404,11 +36894,25 @@ export class ScaleWithAdjustmentRequestOverrides extends $tea.Model {
|
|
|
36404
36894
|
|
|
36405
36895
|
export class StartInstanceRefreshRequestDesiredConfiguration extends $tea.Model {
|
|
36406
36896
|
/**
|
|
36897
|
+
* @remarks
|
|
36898
|
+
* The image ID.
|
|
36899
|
+
*
|
|
36900
|
+
* >
|
|
36901
|
+
*
|
|
36902
|
+
* * After the instance refresh task is complete, the active scaling configuration uses the image specified by this parameter.
|
|
36903
|
+
*
|
|
36904
|
+
* * If the instance configuration source of the scaling group is a launch template, you cannot specify this parameter.
|
|
36905
|
+
*
|
|
36407
36906
|
* @example
|
|
36408
36907
|
* m-2ze8cqacj7opnf***
|
|
36409
36908
|
*/
|
|
36410
36909
|
imageId?: string;
|
|
36411
36910
|
/**
|
|
36911
|
+
* @remarks
|
|
36912
|
+
* The ID of the scaling configuration.
|
|
36913
|
+
*
|
|
36914
|
+
* > After the instance refresh task is complete, the scaling group uses the scaling configuration specified by this parameter.
|
|
36915
|
+
*
|
|
36412
36916
|
* @example
|
|
36413
36917
|
* asc-2zed7lqn4ts4****
|
|
36414
36918
|
*/
|
|
@@ -36822,11 +37326,13 @@ export default class Client extends OpenApi {
|
|
|
36822
37326
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
36823
37327
|
*
|
|
36824
37328
|
* @remarks
|
|
36825
|
-
* Before you
|
|
36826
|
-
* * The ApsaraDB RDS instance and the scaling group
|
|
36827
|
-
* * The ApsaraDB RDS instance
|
|
36828
|
-
* * The ApsaraDB RDS instance
|
|
36829
|
-
*
|
|
37329
|
+
* Before you attach an ApsaraDB RDS instance to a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
37330
|
+
* * The ApsaraDB RDS instance and the scaling group belong to the same Alibaba Cloud account.
|
|
37331
|
+
* * 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).
|
|
37332
|
+
* * The ApsaraDB RDS instance is in the Running state.
|
|
37333
|
+
* * The ApsaraDB RDS instance exists in the Alibaba Cloud account.
|
|
37334
|
+
* * 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.
|
|
37335
|
+
* > 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).
|
|
36830
37336
|
*
|
|
36831
37337
|
* @param request - AttachDBInstancesRequest
|
|
36832
37338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36892,11 +37398,13 @@ export default class Client extends OpenApi {
|
|
|
36892
37398
|
* Associates one or more ApsaraDB RDS instances with a scaling group.
|
|
36893
37399
|
*
|
|
36894
37400
|
* @remarks
|
|
36895
|
-
* Before you
|
|
36896
|
-
* * The ApsaraDB RDS instance and the scaling group
|
|
36897
|
-
* * The ApsaraDB RDS instance
|
|
36898
|
-
* * The ApsaraDB RDS instance
|
|
36899
|
-
*
|
|
37401
|
+
* Before you attach an ApsaraDB RDS instance to a scaling group, make sure that the ApsaraDB RDS instance meets the following requirements:
|
|
37402
|
+
* * The ApsaraDB RDS instance and the scaling group belong to the same Alibaba Cloud account.
|
|
37403
|
+
* * 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).
|
|
37404
|
+
* * The ApsaraDB RDS instance is in the Running state.
|
|
37405
|
+
* * The ApsaraDB RDS instance exists in the Alibaba Cloud account.
|
|
37406
|
+
* * 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.
|
|
37407
|
+
* > 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).
|
|
36900
37408
|
*
|
|
36901
37409
|
* @param request - AttachDBInstancesRequest
|
|
36902
37410
|
* @returns AttachDBInstancesResponse
|
|
@@ -37275,6 +37783,11 @@ export default class Client extends OpenApi {
|
|
|
37275
37783
|
}
|
|
37276
37784
|
|
|
37277
37785
|
/**
|
|
37786
|
+
* 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.
|
|
37787
|
+
*
|
|
37788
|
+
* @remarks
|
|
37789
|
+
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
37790
|
+
*
|
|
37278
37791
|
* @param request - CancelInstanceRefreshRequest
|
|
37279
37792
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
37280
37793
|
* @returns CancelInstanceRefreshResponse
|
|
@@ -37320,6 +37833,11 @@ export default class Client extends OpenApi {
|
|
|
37320
37833
|
}
|
|
37321
37834
|
|
|
37322
37835
|
/**
|
|
37836
|
+
* 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.
|
|
37837
|
+
*
|
|
37838
|
+
* @remarks
|
|
37839
|
+
* You cannot call this operation to cancel instance refresh tasks that are being rolled back.
|
|
37840
|
+
*
|
|
37323
37841
|
* @param request - CancelInstanceRefreshRequest
|
|
37324
37842
|
* @returns CancelInstanceRefreshResponse
|
|
37325
37843
|
*/
|
|
@@ -38498,6 +39016,10 @@ export default class Client extends OpenApi {
|
|
|
38498
39016
|
query["SpotInstanceRemedy"] = request.spotInstanceRemedy;
|
|
38499
39017
|
}
|
|
38500
39018
|
|
|
39019
|
+
if (!Util.isUnset(request.stopInstanceTimeout)) {
|
|
39020
|
+
query["StopInstanceTimeout"] = request.stopInstanceTimeout;
|
|
39021
|
+
}
|
|
39022
|
+
|
|
38501
39023
|
if (!Util.isUnset(request.syncAlarmRuleToCms)) {
|
|
38502
39024
|
query["SyncAlarmRuleToCms"] = request.syncAlarmRuleToCms;
|
|
38503
39025
|
}
|
|
@@ -39723,6 +40245,46 @@ export default class Client extends OpenApi {
|
|
|
39723
40245
|
}
|
|
39724
40246
|
|
|
39725
40247
|
/**
|
|
40248
|
+
* DescribeElasticStrength
|
|
40249
|
+
*
|
|
40250
|
+
* @param request - DescribeElasticStrengthRequest
|
|
40251
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40252
|
+
* @returns DescribeElasticStrengthResponse
|
|
40253
|
+
*/
|
|
40254
|
+
async describeElasticStrengthWithOptions(request: DescribeElasticStrengthRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticStrengthResponse> {
|
|
40255
|
+
Util.validateModel(request);
|
|
40256
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
40257
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40258
|
+
query: OpenApiUtil.query(query),
|
|
40259
|
+
});
|
|
40260
|
+
let params = new $OpenApi.Params({
|
|
40261
|
+
action: "DescribeElasticStrength",
|
|
40262
|
+
version: "2022-02-22",
|
|
40263
|
+
protocol: "HTTPS",
|
|
40264
|
+
pathname: "/",
|
|
40265
|
+
method: "GET",
|
|
40266
|
+
authType: "AK",
|
|
40267
|
+
style: "RPC",
|
|
40268
|
+
reqBodyType: "formData",
|
|
40269
|
+
bodyType: "json",
|
|
40270
|
+
});
|
|
40271
|
+
return $tea.cast<DescribeElasticStrengthResponse>(await this.callApi(params, req, runtime), new DescribeElasticStrengthResponse({}));
|
|
40272
|
+
}
|
|
40273
|
+
|
|
40274
|
+
/**
|
|
40275
|
+
* DescribeElasticStrength
|
|
40276
|
+
*
|
|
40277
|
+
* @param request - DescribeElasticStrengthRequest
|
|
40278
|
+
* @returns DescribeElasticStrengthResponse
|
|
40279
|
+
*/
|
|
40280
|
+
async describeElasticStrength(request: DescribeElasticStrengthRequest): Promise<DescribeElasticStrengthResponse> {
|
|
40281
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40282
|
+
return await this.describeElasticStrengthWithOptions(request, runtime);
|
|
40283
|
+
}
|
|
40284
|
+
|
|
40285
|
+
/**
|
|
40286
|
+
* 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.
|
|
40287
|
+
*
|
|
39726
40288
|
* @param request - DescribeInstanceRefreshesRequest
|
|
39727
40289
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
39728
40290
|
* @returns DescribeInstanceRefreshesResponse
|
|
@@ -39784,6 +40346,8 @@ export default class Client extends OpenApi {
|
|
|
39784
40346
|
}
|
|
39785
40347
|
|
|
39786
40348
|
/**
|
|
40349
|
+
* 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.
|
|
40350
|
+
*
|
|
39787
40351
|
* @param request - DescribeInstanceRefreshesRequest
|
|
39788
40352
|
* @returns DescribeInstanceRefreshesResponse
|
|
39789
40353
|
*/
|
|
@@ -40197,12 +40761,12 @@ export default class Client extends OpenApi {
|
|
|
40197
40761
|
}
|
|
40198
40762
|
|
|
40199
40763
|
/**
|
|
40200
|
-
* Queries scaling activities.
|
|
40764
|
+
* 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.
|
|
40201
40765
|
*
|
|
40202
40766
|
* @remarks
|
|
40203
|
-
*
|
|
40204
|
-
* You can filter query results based on the status of scaling activities.
|
|
40205
|
-
* You can query scaling activities
|
|
40767
|
+
* You can query all scaling activities in a scaling group by specifying ScalingGroupId.
|
|
40768
|
+
* * You can filter query results based on the status of scaling activities.
|
|
40769
|
+
* * You can query scaling activities within the last 30 days.
|
|
40206
40770
|
*
|
|
40207
40771
|
* @param request - DescribeScalingActivitiesRequest
|
|
40208
40772
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40273,12 +40837,12 @@ export default class Client extends OpenApi {
|
|
|
40273
40837
|
}
|
|
40274
40838
|
|
|
40275
40839
|
/**
|
|
40276
|
-
* Queries scaling activities.
|
|
40840
|
+
* 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.
|
|
40277
40841
|
*
|
|
40278
40842
|
* @remarks
|
|
40279
|
-
*
|
|
40280
|
-
* You can filter query results based on the status of scaling activities.
|
|
40281
|
-
* You can query scaling activities
|
|
40843
|
+
* You can query all scaling activities in a scaling group by specifying ScalingGroupId.
|
|
40844
|
+
* * You can filter query results based on the status of scaling activities.
|
|
40845
|
+
* * You can query scaling activities within the last 30 days.
|
|
40282
40846
|
*
|
|
40283
40847
|
* @param request - DescribeScalingActivitiesRequest
|
|
40284
40848
|
* @returns DescribeScalingActivitiesResponse
|
|
@@ -40421,7 +40985,7 @@ export default class Client extends OpenApi {
|
|
|
40421
40985
|
}
|
|
40422
40986
|
|
|
40423
40987
|
/**
|
|
40424
|
-
* 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
|
|
40988
|
+
* 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.
|
|
40425
40989
|
*
|
|
40426
40990
|
* @param request - DescribeScalingGroupDetailRequest
|
|
40427
40991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40464,7 +41028,7 @@ export default class Client extends OpenApi {
|
|
|
40464
41028
|
}
|
|
40465
41029
|
|
|
40466
41030
|
/**
|
|
40467
|
-
* 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
|
|
41031
|
+
* 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.
|
|
40468
41032
|
*
|
|
40469
41033
|
* @param request - DescribeScalingGroupDetailRequest
|
|
40470
41034
|
* @returns DescribeScalingGroupDetailResponse
|
|
@@ -43147,6 +43711,10 @@ export default class Client extends OpenApi {
|
|
|
43147
43711
|
query["SpotInstanceRemedy"] = request.spotInstanceRemedy;
|
|
43148
43712
|
}
|
|
43149
43713
|
|
|
43714
|
+
if (!Util.isUnset(request.stopInstanceTimeout)) {
|
|
43715
|
+
query["StopInstanceTimeout"] = request.stopInstanceTimeout;
|
|
43716
|
+
}
|
|
43717
|
+
|
|
43150
43718
|
if (!Util.isUnset(request.vSwitchIds)) {
|
|
43151
43719
|
query["VSwitchIds"] = request.vSwitchIds;
|
|
43152
43720
|
}
|
|
@@ -43676,6 +44244,10 @@ export default class Client extends OpenApi {
|
|
|
43676
44244
|
query["ScalingGroupId"] = request.scalingGroupId;
|
|
43677
44245
|
}
|
|
43678
44246
|
|
|
44247
|
+
if (!Util.isUnset(request.stopInstanceTimeout)) {
|
|
44248
|
+
query["StopInstanceTimeout"] = request.stopInstanceTimeout;
|
|
44249
|
+
}
|
|
44250
|
+
|
|
43679
44251
|
let req = new $OpenApi.OpenApiRequest({
|
|
43680
44252
|
query: OpenApiUtil.query(query),
|
|
43681
44253
|
});
|
|
@@ -43715,6 +44287,8 @@ export default class Client extends OpenApi {
|
|
|
43715
44287
|
}
|
|
43716
44288
|
|
|
43717
44289
|
/**
|
|
44290
|
+
* Resumes an instance refresh task.
|
|
44291
|
+
*
|
|
43718
44292
|
* @param request - ResumeInstanceRefreshRequest
|
|
43719
44293
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
43720
44294
|
* @returns ResumeInstanceRefreshResponse
|
|
@@ -43760,6 +44334,8 @@ export default class Client extends OpenApi {
|
|
|
43760
44334
|
}
|
|
43761
44335
|
|
|
43762
44336
|
/**
|
|
44337
|
+
* Resumes an instance refresh task.
|
|
44338
|
+
*
|
|
43763
44339
|
* @param request - ResumeInstanceRefreshRequest
|
|
43764
44340
|
* @returns ResumeInstanceRefreshResponse
|
|
43765
44341
|
*/
|
|
@@ -43831,6 +44407,8 @@ export default class Client extends OpenApi {
|
|
|
43831
44407
|
}
|
|
43832
44408
|
|
|
43833
44409
|
/**
|
|
44410
|
+
* 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.
|
|
44411
|
+
*
|
|
43834
44412
|
* @param request - RollbackInstanceRefreshRequest
|
|
43835
44413
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
43836
44414
|
* @returns RollbackInstanceRefreshResponse
|
|
@@ -43876,6 +44454,8 @@ export default class Client extends OpenApi {
|
|
|
43876
44454
|
}
|
|
43877
44455
|
|
|
43878
44456
|
/**
|
|
44457
|
+
* 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.
|
|
44458
|
+
*
|
|
43879
44459
|
* @param request - RollbackInstanceRefreshRequest
|
|
43880
44460
|
* @returns RollbackInstanceRefreshResponse
|
|
43881
44461
|
*/
|
|
@@ -44113,13 +44693,13 @@ export default class Client extends OpenApi {
|
|
|
44113
44693
|
}
|
|
44114
44694
|
|
|
44115
44695
|
/**
|
|
44116
|
-
* Puts Elastic Compute Service (ECS) instances into the Protected state.
|
|
44696
|
+
* 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.
|
|
44117
44697
|
*
|
|
44118
44698
|
* @remarks
|
|
44119
44699
|
* Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
44120
44700
|
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
44121
|
-
* * 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/
|
|
44122
|
-
* * ECS instances in the Protected state maintain their
|
|
44701
|
+
* * 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).
|
|
44702
|
+
* * ECS instances in the Protected state maintain their health status even when they undergo stopping or restarting processes.
|
|
44123
44703
|
*
|
|
44124
44704
|
* @param request - SetInstancesProtectionRequest
|
|
44125
44705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -44166,13 +44746,13 @@ export default class Client extends OpenApi {
|
|
|
44166
44746
|
}
|
|
44167
44747
|
|
|
44168
44748
|
/**
|
|
44169
|
-
* Puts Elastic Compute Service (ECS) instances into the Protected state.
|
|
44749
|
+
* 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.
|
|
44170
44750
|
*
|
|
44171
44751
|
* @remarks
|
|
44172
44752
|
* Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
44173
44753
|
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
44174
|
-
* * 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/
|
|
44175
|
-
* * ECS instances in the Protected state maintain their
|
|
44754
|
+
* * 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).
|
|
44755
|
+
* * ECS instances in the Protected state maintain their health status even when they undergo stopping or restarting processes.
|
|
44176
44756
|
*
|
|
44177
44757
|
* @param request - SetInstancesProtectionRequest
|
|
44178
44758
|
* @returns SetInstancesProtectionResponse
|
|
@@ -44183,6 +44763,14 @@ export default class Client extends OpenApi {
|
|
|
44183
44763
|
}
|
|
44184
44764
|
|
|
44185
44765
|
/**
|
|
44766
|
+
* 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.
|
|
44767
|
+
*
|
|
44768
|
+
* @remarks
|
|
44769
|
+
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
44770
|
+
* * 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.
|
|
44771
|
+
* * 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.
|
|
44772
|
+
* * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
|
|
44773
|
+
*
|
|
44186
44774
|
* @param request - StartInstanceRefreshRequest
|
|
44187
44775
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
44188
44776
|
* @returns StartInstanceRefreshResponse
|
|
@@ -44240,6 +44828,14 @@ export default class Client extends OpenApi {
|
|
|
44240
44828
|
}
|
|
44241
44829
|
|
|
44242
44830
|
/**
|
|
44831
|
+
* 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.
|
|
44832
|
+
*
|
|
44833
|
+
* @remarks
|
|
44834
|
+
* Only one instance refresh task can be executed at a time in a scaling group.
|
|
44835
|
+
* * 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.
|
|
44836
|
+
* * 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.
|
|
44837
|
+
* * Instance refresh tasks does not take effect on instances that are manually added and instances that are in the Standby and Protected states.
|
|
44838
|
+
*
|
|
44243
44839
|
* @param request - StartInstanceRefreshRequest
|
|
44244
44840
|
* @returns StartInstanceRefreshResponse
|
|
44245
44841
|
*/
|
|
@@ -44249,6 +44845,11 @@ export default class Client extends OpenApi {
|
|
|
44249
44845
|
}
|
|
44250
44846
|
|
|
44251
44847
|
/**
|
|
44848
|
+
* Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
|
|
44849
|
+
*
|
|
44850
|
+
* @remarks
|
|
44851
|
+
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
44852
|
+
*
|
|
44252
44853
|
* @param request - SuspendInstanceRefreshRequest
|
|
44253
44854
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
44254
44855
|
* @returns SuspendInstanceRefreshResponse
|
|
@@ -44294,6 +44895,11 @@ export default class Client extends OpenApi {
|
|
|
44294
44895
|
}
|
|
44295
44896
|
|
|
44296
44897
|
/**
|
|
44898
|
+
* Suspends an instance refresh task. You can call this operation to suspend an ongoing instance refresh task for observation.
|
|
44899
|
+
*
|
|
44900
|
+
* @remarks
|
|
44901
|
+
* You cannot call this operation to suspend an instance refresh task that is being rolled back.
|
|
44902
|
+
*
|
|
44297
44903
|
* @param request - SuspendInstanceRefreshRequest
|
|
44298
44904
|
* @returns SuspendInstanceRefreshResponse
|
|
44299
44905
|
*/
|