@alicloud/ess20220222 1.8.21 → 1.8.22
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.js +3 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAlarmRequest.d.ts +15 -12
- package/dist/models/CreateAlarmRequest.js.map +1 -1
- package/dist/models/CreateScalingGroupRequest.d.ts +28 -4
- package/dist/models/CreateScalingGroupRequest.js.map +1 -1
- package/dist/models/DescribeInstanceRefreshesResponseBody.d.ts +40 -0
- package/dist/models/DescribeInstanceRefreshesResponseBody.js.map +1 -1
- package/dist/models/DescribeScalingGroupsRequest.d.ts +2 -2
- package/dist/models/DescribeScalingGroupsResponseBody.d.ts +20 -0
- package/dist/models/DescribeScalingGroupsResponseBody.js.map +1 -1
- package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +1 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js +2 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/ModifyScalingGroupRequest.d.ts +24 -0
- package/dist/models/ModifyScalingGroupRequest.js.map +1 -1
- package/dist/models/StartInstanceRefreshRequest.d.ts +116 -4
- package/dist/models/StartInstanceRefreshRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/models/CreateAlarmRequest.ts +15 -12
- package/src/models/CreateScalingGroupRequest.ts +28 -4
- package/src/models/DescribeInstanceRefreshesResponseBody.ts +40 -0
- package/src/models/DescribeScalingGroupsRequest.ts +2 -2
- package/src/models/DescribeScalingGroupsResponseBody.ts +20 -0
- package/src/models/ModifyEciScalingConfigurationRequest.ts +3 -0
- package/src/models/ModifyScalingGroupRequest.ts +24 -0
- package/src/models/StartInstanceRefreshRequest.ts +116 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyScalingGroupRequest.js","sourceRoot":"","sources":["../../src/models/ModifyScalingGroupRequest.ts"],"names":[],"mappings":";;;;;;;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,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC/C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC1D,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;YACvC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAClD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxcD,8DAwcC"}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class StartInstanceRefreshRequestCheckpoints extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The percentage of new instances in the scaling group to the total number of instances. When this percentage is reached, the task is automatically suspended. Valid values: 1 to 100 (%).
|
|
6
|
+
*
|
|
7
|
+
* > Requires a small to large setting, and the last progress percentage needs to be 100.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* 20
|
|
11
|
+
*/
|
|
3
12
|
percentage?: number;
|
|
4
13
|
static names(): {
|
|
5
14
|
[key: string]: string;
|
|
@@ -13,8 +22,29 @@ export declare class StartInstanceRefreshRequestCheckpoints extends $dara.Model
|
|
|
13
22
|
});
|
|
14
23
|
}
|
|
15
24
|
export declare class StartInstanceRefreshRequestDesiredConfigurationContainersEnvironmentVars extends $dara.Model {
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* > This parameter is unavailable for use.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* fieldPath
|
|
31
|
+
*/
|
|
16
32
|
fieldRefFieldPath?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The name of the environment variable. It can be 1 to 128 characters in length. Format requirement:[0-9a-zA-Z], and underscores, cannot start with a number.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* PATH
|
|
39
|
+
*/
|
|
17
40
|
key?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The value of the environment variable. The value must be 0 to 256 bits in length.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* /usr/local/bin
|
|
47
|
+
*/
|
|
18
48
|
value?: string;
|
|
19
49
|
static names(): {
|
|
20
50
|
[key: string]: string;
|
|
@@ -28,10 +58,36 @@ export declare class StartInstanceRefreshRequestDesiredConfigurationContainersEn
|
|
|
28
58
|
});
|
|
29
59
|
}
|
|
30
60
|
export declare class StartInstanceRefreshRequestDesiredConfigurationContainers extends $dara.Model {
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The argument that corresponds to the startup command of the container. You can specify up to 10 arguments.
|
|
64
|
+
*/
|
|
31
65
|
args?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The container startup commands. You can specify up to 20 commands. Each command can contain up to 256 characters.
|
|
69
|
+
*/
|
|
32
70
|
commands?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The environment variables.
|
|
74
|
+
*/
|
|
33
75
|
environmentVars?: StartInstanceRefreshRequestDesiredConfigurationContainersEnvironmentVars[];
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The image in the container.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest
|
|
82
|
+
*/
|
|
34
83
|
image?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The custom name of the container.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* nginx
|
|
90
|
+
*/
|
|
35
91
|
name?: string;
|
|
36
92
|
static names(): {
|
|
37
93
|
[key: string]: string;
|
|
@@ -45,6 +101,15 @@ export declare class StartInstanceRefreshRequestDesiredConfigurationContainers e
|
|
|
45
101
|
});
|
|
46
102
|
}
|
|
47
103
|
export declare class StartInstanceRefreshRequestDesiredConfigurationLaunchTemplateOverrides extends $dara.Model {
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The instance type specified by using this parameter overwrites the instance type of the launch template.
|
|
107
|
+
*
|
|
108
|
+
* > This parameter takes effect only if you specify LaunchTemplateId.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ecs.c5.2xlarge
|
|
112
|
+
*/
|
|
48
113
|
instanceType?: string;
|
|
49
114
|
static names(): {
|
|
50
115
|
[key: string]: string;
|
|
@@ -58,6 +123,16 @@ export declare class StartInstanceRefreshRequestDesiredConfigurationLaunchTempla
|
|
|
58
123
|
});
|
|
59
124
|
}
|
|
60
125
|
export declare class StartInstanceRefreshRequestDesiredConfiguration extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The containers in the elastic container instance.
|
|
129
|
+
*
|
|
130
|
+
* >
|
|
131
|
+
*
|
|
132
|
+
* * This parameter supports only scaling groups of the ECI type.
|
|
133
|
+
*
|
|
134
|
+
* * Only the containers in the scaling configuration list that are the same as those in the `Container.Name` are refreshed.
|
|
135
|
+
*/
|
|
61
136
|
containers?: StartInstanceRefreshRequestDesiredConfigurationContainers[];
|
|
62
137
|
/**
|
|
63
138
|
* @remarks
|
|
@@ -73,15 +148,37 @@ export declare class StartInstanceRefreshRequestDesiredConfiguration extends $da
|
|
|
73
148
|
* m-2ze8cqacj7opnf***
|
|
74
149
|
*/
|
|
75
150
|
imageId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The ID of the launch template that you want to enable in the scaling group.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* lt-2ze2qli30u***
|
|
157
|
+
*/
|
|
76
158
|
launchTemplateId?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The information about the instance types that are extended in the launch template.
|
|
162
|
+
*/
|
|
77
163
|
launchTemplateOverrides?: StartInstanceRefreshRequestDesiredConfigurationLaunchTemplateOverrides[];
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The version number of the launch template. Valid value:
|
|
167
|
+
*
|
|
168
|
+
* * A fixed template version number.
|
|
169
|
+
* * Default: the default version of the template.
|
|
170
|
+
* * Latest: the latest version of the template.
|
|
171
|
+
*
|
|
172
|
+
* > If you set the version to Default or Latest, the instance refresh task cannot be rolled back.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* 8
|
|
176
|
+
*/
|
|
78
177
|
launchTemplateVersion?: string;
|
|
79
178
|
/**
|
|
80
179
|
* @remarks
|
|
81
180
|
* The ID of the scaling configuration.
|
|
82
181
|
*
|
|
83
|
-
* > After the instance refresh task is complete, the scaling group uses the scaling configuration specified by this parameter.
|
|
84
|
-
*
|
|
85
182
|
* @example
|
|
86
183
|
* asc-2zed7lqn4ts4****
|
|
87
184
|
*/
|
|
@@ -98,7 +195,22 @@ export declare class StartInstanceRefreshRequestDesiredConfiguration extends $da
|
|
|
98
195
|
});
|
|
99
196
|
}
|
|
100
197
|
export declare class StartInstanceRefreshRequest extends $dara.Model {
|
|
198
|
+
/**
|
|
199
|
+
* @remarks
|
|
200
|
+
* The duration of the pause when the refresh task checkpoint is entered.
|
|
201
|
+
*
|
|
202
|
+
* * Unit: minutes
|
|
203
|
+
* * Valid values: 1 to 2880.
|
|
204
|
+
* * Default: 60.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* 10
|
|
208
|
+
*/
|
|
101
209
|
checkpointPauseTime?: number;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* Refresh Task Checkpoint: specifies that the task is automatically suspended for CheckpointPauseTime minutes when the proportion of new instances reaches the specified value during instance refresh.
|
|
213
|
+
*/
|
|
102
214
|
checkpoints?: StartInstanceRefreshRequestCheckpoints[];
|
|
103
215
|
/**
|
|
104
216
|
* @remarks
|
|
@@ -114,9 +226,9 @@ export declare class StartInstanceRefreshRequest extends $dara.Model {
|
|
|
114
226
|
*
|
|
115
227
|
* >
|
|
116
228
|
*
|
|
117
|
-
* *
|
|
229
|
+
* * ScalingConfigurationId, ImageId, LaunchTemplateId, and Containers cannot be set at the same time. If you do not specify this parameter, the scaling group is refreshed based on the configurations that are in effect.
|
|
118
230
|
*
|
|
119
|
-
* *
|
|
231
|
+
* * After the instance refresh task is complete, the scaling group uses the scaling configuration specified by this parameter.
|
|
120
232
|
*/
|
|
121
233
|
desiredConfiguration?: StartInstanceRefreshRequestDesiredConfiguration;
|
|
122
234
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartInstanceRefreshRequest.js","sourceRoot":"","sources":["../../src/models/StartInstanceRefreshRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"StartInstanceRefreshRequest.js","sourceRoot":"","sources":["../../src/models/StartInstanceRefreshRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ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;YAC5C,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,QAAQ;YAC7B,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,sCAAsC,EAAE;YACpF,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,+CAA+C;YACrE,oBAAoB,EAAE,QAAQ;YAC9B,oBAAoB,EAAE,QAAQ;YAC9B,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,SAAS;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,oBAAoB,IAAI,OAAQ,IAAI,CAAC,oBAA4B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjG,IAAI,CAAC,oBAA4B,CAAC,QAAQ,EAAE,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ID,kEA2IC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6143,6 +6143,10 @@ export default class Client extends OpenApi {
|
|
|
6143
6143
|
query["NtpServers"] = request.ntpServers;
|
|
6144
6144
|
}
|
|
6145
6145
|
|
|
6146
|
+
if (!$dara.isNull(request.override)) {
|
|
6147
|
+
query["Override"] = request.override;
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6146
6150
|
if (!$dara.isNull(request.ownerId)) {
|
|
6147
6151
|
query["OwnerId"] = request.ownerId;
|
|
6148
6152
|
}
|
|
@@ -12,9 +12,10 @@ export class CreateAlarmRequestDimensions extends $dara.Model {
|
|
|
12
12
|
* * If you set MetricType to system, this parameter has the following valid values:
|
|
13
13
|
*
|
|
14
14
|
* * user_id: the ID of your Alibaba Cloud account.
|
|
15
|
-
* * scaling_group: the scaling group that
|
|
15
|
+
* * scaling_group: the scaling group that is monitored by the event-triggered task.
|
|
16
16
|
* * device: the NIC type.
|
|
17
17
|
* * state: the status of the TCP connection.
|
|
18
|
+
* * rulePool: the specified server group for the ALB qps metric.
|
|
18
19
|
*
|
|
19
20
|
* @example
|
|
20
21
|
* device
|
|
@@ -32,15 +33,17 @@ export class CreateAlarmRequestDimensions extends $dara.Model {
|
|
|
32
33
|
*
|
|
33
34
|
* * scaling_group: The system specifies the value.
|
|
34
35
|
*
|
|
35
|
-
* * device:
|
|
36
|
+
* * device:
|
|
36
37
|
*
|
|
37
|
-
* * For
|
|
38
|
-
* * For
|
|
38
|
+
* * eth0: For classic network instances, eth0 indicates the internal network network interface controller. Only one eth0 NIC exists on each instance that resides in VPCs.
|
|
39
|
+
* * eth1: For classic network instances, eth1 represents the Internet network interface controller.
|
|
39
40
|
*
|
|
40
|
-
* * state:
|
|
41
|
+
* * state:
|
|
41
42
|
*
|
|
42
43
|
* * TCP_TOTAL specifies the total number of TCP connections.
|
|
43
|
-
* * ESTABLISHED
|
|
44
|
+
* * ESTABLISHED indicates the number of TCP connections that are established.
|
|
45
|
+
*
|
|
46
|
+
* * rulePool: the ID of the ALB server group. Example: sgp-xxxxx.
|
|
44
47
|
*
|
|
45
48
|
* @example
|
|
46
49
|
* eth0
|
|
@@ -202,7 +205,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
202
205
|
alarmActions?: string[];
|
|
203
206
|
/**
|
|
204
207
|
* @remarks
|
|
205
|
-
* The operator that you want to use to compare the metric value and the threshold. Valid
|
|
208
|
+
* The operator that you want to use to compare the metric value and the threshold. Valid Values:
|
|
206
209
|
*
|
|
207
210
|
* * If the metric value is greater than or equal to the threshold, set the value to >=.
|
|
208
211
|
* * If the metric value is less than or equal to the metric threshold, set the value to <=.
|
|
@@ -253,7 +256,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
253
256
|
* @remarks
|
|
254
257
|
* The number of consecutive times that the threshold must be reached before a scaling rule is executed. For example, if you set this parameter to 3, the average CPU utilization must reach or exceed 80% three times in a row before the scaling rule is executed.
|
|
255
258
|
*
|
|
256
|
-
* Default value: 3
|
|
259
|
+
* Default value: 3
|
|
257
260
|
*
|
|
258
261
|
* @example
|
|
259
262
|
* 3
|
|
@@ -327,7 +330,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
327
330
|
metricName?: string;
|
|
328
331
|
/**
|
|
329
332
|
* @remarks
|
|
330
|
-
* The metric type. Valid
|
|
333
|
+
* The metric type. Valid Values:
|
|
331
334
|
*
|
|
332
335
|
* * system: a system metric of CloudMonitor.
|
|
333
336
|
* * custom: a custom metric that is reported to CloudMonitor.
|
|
@@ -347,7 +350,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
347
350
|
ownerId?: number;
|
|
348
351
|
/**
|
|
349
352
|
* @remarks
|
|
350
|
-
* The statistical period of the metric data. Unit: seconds. Valid
|
|
353
|
+
* The statistical period of the metric data. Unit: seconds. Valid Values:
|
|
351
354
|
*
|
|
352
355
|
* * 15
|
|
353
356
|
* * 60
|
|
@@ -355,7 +358,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
355
358
|
* * 300
|
|
356
359
|
* * 900
|
|
357
360
|
*
|
|
358
|
-
* >
|
|
361
|
+
* > You can set this parameter to 15 seconds only for scaling groups of the ECS type.
|
|
359
362
|
*
|
|
360
363
|
* Default value: 300.
|
|
361
364
|
*
|
|
@@ -386,7 +389,7 @@ export class CreateAlarmRequest extends $dara.Model {
|
|
|
386
389
|
scalingGroupId?: string;
|
|
387
390
|
/**
|
|
388
391
|
* @remarks
|
|
389
|
-
* The statistical method of the metric data. Valid
|
|
392
|
+
* The statistical method of the metric data. Valid Values:
|
|
390
393
|
*
|
|
391
394
|
* * Average: calculates the average value of the metric data.
|
|
392
395
|
* * Minimum: calculates the minimum value of the metric data.
|
|
@@ -491,7 +491,7 @@ export class CreateScalingGroupRequestServerGroups extends $dara.Model {
|
|
|
491
491
|
export class CreateScalingGroupRequestTags extends $dara.Model {
|
|
492
492
|
/**
|
|
493
493
|
* @remarks
|
|
494
|
-
* The tag key
|
|
494
|
+
* The tag key of the scaling group.
|
|
495
495
|
*
|
|
496
496
|
* @example
|
|
497
497
|
* Department
|
|
@@ -499,7 +499,7 @@ export class CreateScalingGroupRequestTags extends $dara.Model {
|
|
|
499
499
|
key?: string;
|
|
500
500
|
/**
|
|
501
501
|
* @remarks
|
|
502
|
-
*
|
|
502
|
+
* Identifies whether the tag is a propagatable tag. Valid values:
|
|
503
503
|
*
|
|
504
504
|
* * true: propagates the tag to only instances that are newly created.
|
|
505
505
|
* * false: does not propagate the tag to any instances.
|
|
@@ -512,7 +512,7 @@ export class CreateScalingGroupRequestTags extends $dara.Model {
|
|
|
512
512
|
propagate?: boolean;
|
|
513
513
|
/**
|
|
514
514
|
* @remarks
|
|
515
|
-
* The tag value
|
|
515
|
+
* The tag value of the scaling group.
|
|
516
516
|
*
|
|
517
517
|
* @example
|
|
518
518
|
* Finance
|
|
@@ -654,6 +654,18 @@ export class CreateScalingGroupRequest extends $dara.Model {
|
|
|
654
654
|
* priority
|
|
655
655
|
*/
|
|
656
656
|
allocationStrategy?: string;
|
|
657
|
+
/**
|
|
658
|
+
* @remarks
|
|
659
|
+
* Whether to enable automatic rebalancing for the scaling group. This takes effect only when BalancedOnly is enabled for the scaling group. Valid values:
|
|
660
|
+
*
|
|
661
|
+
* * false: Auto rebalancing is disabled for the scaling group.
|
|
662
|
+
* * true: If Auto rebalancing is enabled, the scaling group automatically detects the capacity of the zone. If the capacity of the zone is unbalanced, the scaling group actively scales out the zone and re-balances the capacity of the zone.
|
|
663
|
+
*
|
|
664
|
+
* Default value: false.
|
|
665
|
+
*
|
|
666
|
+
* @example
|
|
667
|
+
* false
|
|
668
|
+
*/
|
|
657
669
|
autoRebalance?: boolean;
|
|
658
670
|
/**
|
|
659
671
|
* @remarks
|
|
@@ -670,6 +682,18 @@ export class CreateScalingGroupRequest extends $dara.Model {
|
|
|
670
682
|
* false
|
|
671
683
|
*/
|
|
672
684
|
azBalance?: boolean;
|
|
685
|
+
/**
|
|
686
|
+
* @remarks
|
|
687
|
+
* The zone balancing mode. This mode takes effect only when the zone balancing mode is enabled. Valid values:
|
|
688
|
+
*
|
|
689
|
+
* * BalancedBestEffort: If a resource fails to be created in a zone, it is downgraded to another zone to ensure best-effort delivery of the resource.
|
|
690
|
+
* * BalancedOnly: If a resource fails to be created in a zone, it is not downgraded to another zone. The scale-out activity is partially successful to avoid excessive imbalance of resources in different zones.
|
|
691
|
+
*
|
|
692
|
+
* Default value: BalancedBestEffort.
|
|
693
|
+
*
|
|
694
|
+
* @example
|
|
695
|
+
* BalancedBestEffort
|
|
696
|
+
*/
|
|
673
697
|
balanceMode?: string;
|
|
674
698
|
/**
|
|
675
699
|
* @remarks
|
|
@@ -1069,7 +1093,7 @@ export class CreateScalingGroupRequest extends $dara.Model {
|
|
|
1069
1093
|
syncAlarmRuleToCms?: boolean;
|
|
1070
1094
|
/**
|
|
1071
1095
|
* @remarks
|
|
1072
|
-
* The
|
|
1096
|
+
* The information about the tags of the scaling group.
|
|
1073
1097
|
*/
|
|
1074
1098
|
tags?: CreateScalingGroupRequestTags[];
|
|
1075
1099
|
/**
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksCheckpoints extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 60
|
|
9
|
+
*/
|
|
6
10
|
percentage?: number;
|
|
7
11
|
static names(): { [key: string]: string } {
|
|
8
12
|
return {
|
|
@@ -26,8 +30,20 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksCheckpoint
|
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationContainersEnvironmentVars extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* fieldPath
|
|
36
|
+
*/
|
|
29
37
|
fieldRefFieldPath?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* PATH
|
|
41
|
+
*/
|
|
30
42
|
key?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* /usr/local/bin
|
|
46
|
+
*/
|
|
31
47
|
value?: string;
|
|
32
48
|
static names(): { [key: string]: string } {
|
|
33
49
|
return {
|
|
@@ -58,7 +74,15 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredCon
|
|
|
58
74
|
args?: string[];
|
|
59
75
|
commands?: string[];
|
|
60
76
|
environmentVars?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationContainersEnvironmentVars[];
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest
|
|
80
|
+
*/
|
|
61
81
|
image?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* name
|
|
85
|
+
*/
|
|
62
86
|
name?: string;
|
|
63
87
|
static names(): { [key: string]: string } {
|
|
64
88
|
return {
|
|
@@ -99,6 +123,10 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredCon
|
|
|
99
123
|
}
|
|
100
124
|
|
|
101
125
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationLaunchTemplateOverrides extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* ecs.sn1ne.large
|
|
129
|
+
*/
|
|
102
130
|
instanceType?: string;
|
|
103
131
|
static names(): { [key: string]: string } {
|
|
104
132
|
return {
|
|
@@ -131,8 +159,16 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredCon
|
|
|
131
159
|
* m-uf6g5noisr****
|
|
132
160
|
*/
|
|
133
161
|
imageId?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @example
|
|
164
|
+
* lt-2ze5x4mp*****
|
|
165
|
+
*/
|
|
134
166
|
launchTemplateId?: string;
|
|
135
167
|
launchTemplateOverrides?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationLaunchTemplateOverrides[];
|
|
168
|
+
/**
|
|
169
|
+
* @example
|
|
170
|
+
* Latest
|
|
171
|
+
*/
|
|
136
172
|
launchTemplateVersion?: string;
|
|
137
173
|
/**
|
|
138
174
|
* @remarks
|
|
@@ -180,6 +216,10 @@ export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredCon
|
|
|
180
216
|
}
|
|
181
217
|
|
|
182
218
|
export class DescribeInstanceRefreshesResponseBodyInstanceRefreshTasks extends $dara.Model {
|
|
219
|
+
/**
|
|
220
|
+
* @example
|
|
221
|
+
* 30
|
|
222
|
+
*/
|
|
183
223
|
checkpointPauseTime?: number;
|
|
184
224
|
checkpoints?: DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksCheckpoints[];
|
|
185
225
|
/**
|
|
@@ -58,7 +58,7 @@ export class DescribeScalingGroupsRequest extends $dara.Model {
|
|
|
58
58
|
ownerId?: number;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The page number.
|
|
61
|
+
* The page number. Page starts from page 1.
|
|
62
62
|
*
|
|
63
63
|
* Default value: 1.
|
|
64
64
|
*
|
|
@@ -68,7 +68,7 @@ export class DescribeScalingGroupsRequest extends $dara.Model {
|
|
|
68
68
|
pageNumber?: number;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The number of entries
|
|
71
|
+
* The number of entries to return on each page. Maximum value: 50.
|
|
72
72
|
*
|
|
73
73
|
* Default value: 10.
|
|
74
74
|
*
|
|
@@ -521,6 +521,16 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $dara.Model
|
|
|
521
521
|
* priority
|
|
522
522
|
*/
|
|
523
523
|
allocationStrategy?: string;
|
|
524
|
+
/**
|
|
525
|
+
* @remarks
|
|
526
|
+
* Whether to enable automatic rebalancing for the scaling group. This takes effect only when BalancedOnly is enabled for the scaling group. Valid value:
|
|
527
|
+
*
|
|
528
|
+
* * false: Auto rebalancing is disabled for the scaling group.
|
|
529
|
+
* * true: If Auto rebalancing is enabled, the scaling group automatically detects the capacity of the zone. If the capacity of the zone is unbalanced, the scaling group actively scales out the zone and re-balances the capacity of the zone.
|
|
530
|
+
*
|
|
531
|
+
* @example
|
|
532
|
+
* false
|
|
533
|
+
*/
|
|
524
534
|
autoRebalance?: boolean;
|
|
525
535
|
/**
|
|
526
536
|
* @remarks
|
|
@@ -533,6 +543,16 @@ export class DescribeScalingGroupsResponseBodyScalingGroups extends $dara.Model
|
|
|
533
543
|
* false
|
|
534
544
|
*/
|
|
535
545
|
azBalance?: boolean;
|
|
546
|
+
/**
|
|
547
|
+
* @remarks
|
|
548
|
+
* The zone balancing mode. This mode takes effect only when the zone balancing mode is enabled. Valid value:
|
|
549
|
+
*
|
|
550
|
+
* * Default value: BalancedBestEffort. If a resource fails to be created in a zone, the resource is downgraded to another zone. This ensures best-effort delivery of the resource.
|
|
551
|
+
* * BalancedOnly: If a resource fails to be created in a zone, the resource is not downgraded to another zone. The scale-out activity is partially successful to avoid excessive imbalance of resources in different zones.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* BalancedBestEffort
|
|
555
|
+
*/
|
|
536
556
|
balanceMode?: string;
|
|
537
557
|
/**
|
|
538
558
|
* @remarks
|
|
@@ -2119,6 +2119,7 @@ export class ModifyEciScalingConfigurationRequest extends $dara.Model {
|
|
|
2119
2119
|
* The endpoints of Network Time Protocol (NTP) servers.
|
|
2120
2120
|
*/
|
|
2121
2121
|
ntpServers?: string[];
|
|
2122
|
+
override?: boolean;
|
|
2122
2123
|
ownerId?: number;
|
|
2123
2124
|
/**
|
|
2124
2125
|
* @remarks
|
|
@@ -2267,6 +2268,7 @@ export class ModifyEciScalingConfigurationRequest extends $dara.Model {
|
|
|
2267
2268
|
loadBalancerWeight: 'LoadBalancerWeight',
|
|
2268
2269
|
memory: 'Memory',
|
|
2269
2270
|
ntpServers: 'NtpServers',
|
|
2271
|
+
override: 'Override',
|
|
2270
2272
|
ownerId: 'OwnerId',
|
|
2271
2273
|
ramRoleName: 'RamRoleName',
|
|
2272
2274
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -2323,6 +2325,7 @@ export class ModifyEciScalingConfigurationRequest extends $dara.Model {
|
|
|
2323
2325
|
loadBalancerWeight: 'number',
|
|
2324
2326
|
memory: 'number',
|
|
2325
2327
|
ntpServers: { 'type': 'array', 'itemType': 'string' },
|
|
2328
|
+
override: 'boolean',
|
|
2326
2329
|
ownerId: 'number',
|
|
2327
2330
|
ramRoleName: 'string',
|
|
2328
2331
|
resourceGroupId: 'string',
|
|
@@ -183,6 +183,18 @@ export class ModifyScalingGroupRequest extends $dara.Model {
|
|
|
183
183
|
* priority
|
|
184
184
|
*/
|
|
185
185
|
allocationStrategy?: string;
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* Whether to enable automatic rebalancing for the scaling group. This takes effect only when BalancedOnly is enabled for the scaling group. Valid values:
|
|
189
|
+
*
|
|
190
|
+
* * false: Auto rebalancing is disabled for the scaling group.
|
|
191
|
+
* * true: If Auto rebalancing is enabled, the scaling group automatically detects the capacity of the zone. If the capacity of the zone is unbalanced, the scaling group actively scales out the zone and re-balances the capacity of the zone.
|
|
192
|
+
*
|
|
193
|
+
* Default value: false.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* false
|
|
197
|
+
*/
|
|
186
198
|
autoRebalance?: boolean;
|
|
187
199
|
/**
|
|
188
200
|
* @remarks
|
|
@@ -197,6 +209,18 @@ export class ModifyScalingGroupRequest extends $dara.Model {
|
|
|
197
209
|
* false
|
|
198
210
|
*/
|
|
199
211
|
azBalance?: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The zone balancing mode. This mode takes effect only when the zone balancing mode is enabled. Valid values:
|
|
215
|
+
*
|
|
216
|
+
* * BalancedBestEffort: If a resource fails to be created in a zone, the resource is downgraded to another zone. This ensures best-effort delivery of the resource.
|
|
217
|
+
* * BalancedOnly: If a resource fails to be created in a zone, the resource is not downgraded to another zone. The scale-out activity is partially successful to avoid excessive imbalance of resources in different zones.
|
|
218
|
+
*
|
|
219
|
+
* Default value: BalancedBestEffort.
|
|
220
|
+
*
|
|
221
|
+
* @example
|
|
222
|
+
* BalancedBestEffort
|
|
223
|
+
*/
|
|
200
224
|
balanceMode?: string;
|
|
201
225
|
/**
|
|
202
226
|
* @remarks
|