@alicloud/ess20220222 1.8.17 → 1.8.19
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 +6 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateNotificationConfigurationRequest.d.ts +1 -0
- package/dist/models/CreateNotificationConfigurationRequest.js +2 -0
- package/dist/models/CreateNotificationConfigurationRequest.js.map +1 -1
- package/dist/models/DescribeNotificationConfigurationsResponseBody.d.ts +1 -0
- package/dist/models/DescribeNotificationConfigurationsResponseBody.js +2 -0
- package/dist/models/DescribeNotificationConfigurationsResponseBody.js.map +1 -1
- package/dist/models/ModifyNotificationConfigurationRequest.d.ts +1 -0
- package/dist/models/ModifyNotificationConfigurationRequest.js +2 -0
- package/dist/models/ModifyNotificationConfigurationRequest.js.map +1 -1
- package/dist/models/ScaleWithAdjustmentRequest.d.ts +33 -9
- package/dist/models/ScaleWithAdjustmentRequest.js +2 -0
- package/dist/models/ScaleWithAdjustmentRequest.js.map +1 -1
- package/dist/models/ScaleWithAdjustmentResponseBody.d.ts +50 -0
- package/dist/models/ScaleWithAdjustmentResponseBody.js.map +1 -1
- package/dist/models/ScaleWithAdjustmentShrinkRequest.d.ts +23 -4
- package/dist/models/ScaleWithAdjustmentShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/models/CreateNotificationConfigurationRequest.ts +3 -0
- package/src/models/DescribeNotificationConfigurationsResponseBody.ts +3 -0
- package/src/models/ModifyNotificationConfigurationRequest.ts +3 -0
- package/src/models/ScaleWithAdjustmentRequest.ts +35 -9
- package/src/models/ScaleWithAdjustmentResponseBody.ts +50 -0
- package/src/models/ScaleWithAdjustmentShrinkRequest.ts +23 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
3
|
+
messageEncoding?: string;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
messageEncoding: 'MessageEncoding',
|
|
42
43
|
notificationArn: 'NotificationArn',
|
|
43
44
|
notificationTypes: 'NotificationTypes',
|
|
44
45
|
ownerId: 'OwnerId',
|
|
@@ -50,6 +51,7 @@ class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
|
50
51
|
}
|
|
51
52
|
static types() {
|
|
52
53
|
return {
|
|
54
|
+
messageEncoding: 'string',
|
|
53
55
|
notificationArn: 'string',
|
|
54
56
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
55
57
|
ownerId: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNotificationConfigurationRequest.js","sourceRoot":"","sources":["../../src/models/CreateNotificationConfigurationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateNotificationConfigurationRequest.js","sourceRoot":"","sources":["../../src/models/CreateNotificationConfigurationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IA4DrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhGD,wFAgGC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels extends $dara.Model {
|
|
3
|
+
messageEncoding?: string;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The value is in one of the following formats:
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
messageEncoding: 'MessageEncoding',
|
|
42
43
|
notificationArn: 'NotificationArn',
|
|
43
44
|
notificationTypes: 'NotificationTypes',
|
|
44
45
|
scalingGroupId: 'ScalingGroupId',
|
|
@@ -47,6 +48,7 @@ class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationMod
|
|
|
47
48
|
}
|
|
48
49
|
static types() {
|
|
49
50
|
return {
|
|
51
|
+
messageEncoding: 'string',
|
|
50
52
|
notificationArn: 'string',
|
|
51
53
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
52
54
|
scalingGroupId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeNotificationConfigurationsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeNotificationConfigurationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6EAA8E,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeNotificationConfigurationsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeNotificationConfigurationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6EAA8E,SAAQ,KAAK,CAAC,KAAK;IA0C5G,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxED,sKAwEC;AAED,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAc7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,+BAA+B,EAAE,iCAAiC;YAClE,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,+BAA+B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6EAA6E,EAAE;YAC/I,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,CAAC,EAAE,CAAC;YACvD,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;QAClE,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wGAsCC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
3
|
+
messageEncoding?: string;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
messageEncoding: 'MessageEncoding',
|
|
42
43
|
notificationArn: 'NotificationArn',
|
|
43
44
|
notificationTypes: 'NotificationTypes',
|
|
44
45
|
ownerId: 'OwnerId',
|
|
@@ -50,6 +51,7 @@ class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
|
50
51
|
}
|
|
51
52
|
static types() {
|
|
52
53
|
return {
|
|
54
|
+
messageEncoding: 'string',
|
|
53
55
|
notificationArn: 'string',
|
|
54
56
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
55
57
|
ownerId: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyNotificationConfigurationRequest.js","sourceRoot":"","sources":["../../src/models/ModifyNotificationConfigurationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyNotificationConfigurationRequest.js","sourceRoot":"","sources":["../../src/models/ModifyNotificationConfigurationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IA0DrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9FD,wFA8FC"}
|
|
@@ -30,7 +30,7 @@ export declare class ScaleWithAdjustmentRequestLifecycleHookContext extends $dar
|
|
|
30
30
|
export declare class ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The name of the environment variable. The name must be 1 to 128 characters in length
|
|
33
|
+
* The name of the environment variable. The name must be 1 to 128 characters in length. Format requirement: `[0-9a-zA-Z]` and underscores (_). It cannot start with a digit.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* PATH
|
|
@@ -58,7 +58,7 @@ export declare class ScaleWithAdjustmentRequestOverridesContainerOverridesEnviro
|
|
|
58
58
|
export declare class ScaleWithAdjustmentRequestOverridesContainerOverrides extends $dara.Model {
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The
|
|
61
|
+
* The argument that corresponds to the startup command of the container. You can specify up to 10 arguments.
|
|
62
62
|
*/
|
|
63
63
|
args?: string[];
|
|
64
64
|
/**
|
|
@@ -68,7 +68,7 @@ export declare class ScaleWithAdjustmentRequestOverridesContainerOverrides exten
|
|
|
68
68
|
commands?: string[];
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The number of vCPUs that you want to allocate to the container.
|
|
71
|
+
* The number of vCPUs that you want to allocate to the container. Unit: vCPUs.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* 2
|
|
@@ -89,7 +89,7 @@ export declare class ScaleWithAdjustmentRequestOverridesContainerOverrides exten
|
|
|
89
89
|
memory?: number;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The container
|
|
92
|
+
* The name of container N. If you specify ContainerOverrides, you must also specify Name. ContainerOverrides takes effect only when the container name specified by Name matches that specified in the scaling configuration.
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
95
|
* container-1
|
|
@@ -114,7 +114,7 @@ export declare class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
114
114
|
containerOverrides?: ScaleWithAdjustmentRequestOverridesContainerOverrides[];
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The number of vCPUs that you want to allocate to the instance.
|
|
117
|
+
* The number of vCPUs that you want to allocate to the instance. Unit: vCPUs.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* 2
|
|
@@ -128,6 +128,11 @@ export declare class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
128
128
|
* 4
|
|
129
129
|
*/
|
|
130
130
|
memory?: number;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
134
|
+
*/
|
|
135
|
+
userData?: string;
|
|
131
136
|
static names(): {
|
|
132
137
|
[key: string]: string;
|
|
133
138
|
};
|
|
@@ -184,6 +189,18 @@ export declare class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
184
189
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
185
190
|
*/
|
|
186
191
|
clientToken?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* The execution mode. Valid values:
|
|
195
|
+
*
|
|
196
|
+
* * None: If this is not specified, auto scaling is performed.
|
|
197
|
+
* * PlanOnly: Scaling is not triggered. Only elastic planning is performed. The planning result is returned in PlanResult, including the instance type, zone ID, billing type, and number of created instances.
|
|
198
|
+
*
|
|
199
|
+
* Default value: None.
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* PlanOnly
|
|
203
|
+
*/
|
|
187
204
|
executionMode?: string;
|
|
188
205
|
/**
|
|
189
206
|
* @remarks
|
|
@@ -204,6 +221,13 @@ export declare class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
204
221
|
*/
|
|
205
222
|
overrides?: ScaleWithAdjustmentRequestOverrides;
|
|
206
223
|
ownerId?: number;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* Whether the current scale-out task supports concurrency.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* false
|
|
230
|
+
*/
|
|
207
231
|
parallelTask?: boolean;
|
|
208
232
|
resourceOwnerAccount?: string;
|
|
209
233
|
/**
|
|
@@ -218,12 +242,12 @@ export declare class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
218
242
|
scalingGroupId?: string;
|
|
219
243
|
/**
|
|
220
244
|
* @remarks
|
|
221
|
-
* Specifies whether to trigger the scaling
|
|
245
|
+
* Specifies whether to trigger the scaling task in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid Values:
|
|
222
246
|
*
|
|
223
|
-
* * true: triggers the scaling
|
|
224
|
-
* * false: does not trigger the scaling
|
|
247
|
+
* * true: triggers the scaling task in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
|
|
248
|
+
* * false: does not trigger the scaling task in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
|
|
225
249
|
*
|
|
226
|
-
* > For more information
|
|
250
|
+
* > For more information, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
|
|
227
251
|
*
|
|
228
252
|
* Default value: false.
|
|
229
253
|
*
|
|
@@ -125,6 +125,7 @@ class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
125
125
|
containerOverrides: 'ContainerOverrides',
|
|
126
126
|
cpu: 'Cpu',
|
|
127
127
|
memory: 'Memory',
|
|
128
|
+
userData: 'UserData',
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
static types() {
|
|
@@ -132,6 +133,7 @@ class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
132
133
|
containerOverrides: { 'type': 'array', 'itemType': ScaleWithAdjustmentRequestOverridesContainerOverrides },
|
|
133
134
|
cpu: 'number',
|
|
134
135
|
memory: 'number',
|
|
136
|
+
userData: 'string',
|
|
135
137
|
};
|
|
136
138
|
}
|
|
137
139
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleWithAdjustmentRequest.js","sourceRoot":"","sources":["../../src/models/ScaleWithAdjustmentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAiB7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,sBAAsB;YAC5C,uBAAuB,EAAE,yBAAyB;SACnD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,SAAS;YAC/B,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACnE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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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AAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhKD,gEAgKC"}
|
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ScaleWithAdjustmentResponseBodyPlanResultResourceAllocations extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The number of instances.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
3
10
|
amount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The billing method of the instance. Valid values:
|
|
14
|
+
*
|
|
15
|
+
* * **Prepaid**: subscription.
|
|
16
|
+
* * **Postpaid**: pay-as-you-go.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* PostPaid
|
|
20
|
+
*/
|
|
4
21
|
instanceChargeType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The instance type.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ecs.u1-c1m8.large
|
|
28
|
+
*/
|
|
5
29
|
instanceType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The spot policy of instances. Valid values:
|
|
33
|
+
*
|
|
34
|
+
* * NoSpot: The instances are created as pay-as-you-go instances.
|
|
35
|
+
* * SpotWithPriceLimit: The instances are created as spot instances for which you can specify the maximum hourly price.
|
|
36
|
+
* * SpotAsPriceGo: The instances are spot instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* NoSpot
|
|
40
|
+
*/
|
|
6
41
|
spotStrategy?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The ID of the zone.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* cn-beijing-g
|
|
48
|
+
*/
|
|
7
49
|
zoneId?: string;
|
|
8
50
|
static names(): {
|
|
9
51
|
[key: string]: string;
|
|
@@ -17,6 +59,10 @@ export declare class ScaleWithAdjustmentResponseBodyPlanResultResourceAllocation
|
|
|
17
59
|
});
|
|
18
60
|
}
|
|
19
61
|
export declare class ScaleWithAdjustmentResponseBodyPlanResult extends $dara.Model {
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The resource allocation information in the elastic planning result.
|
|
65
|
+
*/
|
|
20
66
|
resourceAllocations?: ScaleWithAdjustmentResponseBodyPlanResultResourceAllocations[];
|
|
21
67
|
static names(): {
|
|
22
68
|
[key: string]: string;
|
|
@@ -42,6 +88,10 @@ export declare class ScaleWithAdjustmentResponseBody extends $dara.Model {
|
|
|
42
88
|
* CapacityChange
|
|
43
89
|
*/
|
|
44
90
|
activityType?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The elastic planning result returned when the ExecutionMode is set to PlanOnly.
|
|
94
|
+
*/
|
|
45
95
|
planResult?: ScaleWithAdjustmentResponseBodyPlanResult;
|
|
46
96
|
/**
|
|
47
97
|
* @remarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleWithAdjustmentResponseBody.js","sourceRoot":"","sources":["../../src/models/ScaleWithAdjustmentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4DAA6D,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ScaleWithAdjustmentResponseBody.js","sourceRoot":"","sources":["../../src/models/ScaleWithAdjustmentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4DAA6D,SAAQ,KAAK,CAAC,KAAK;IAgD3F,M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E,WAAW;YACtB,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,yCAAyC;YACrD,SAAS,EAAE,QAAQ;YACnB,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,0EA8DC"}
|
|
@@ -44,6 +44,18 @@ export declare class ScaleWithAdjustmentShrinkRequest extends $dara.Model {
|
|
|
44
44
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
45
45
|
*/
|
|
46
46
|
clientToken?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The execution mode. Valid values:
|
|
50
|
+
*
|
|
51
|
+
* * None: If this is not specified, auto scaling is performed.
|
|
52
|
+
* * PlanOnly: Scaling is not triggered. Only elastic planning is performed. The planning result is returned in PlanResult, including the instance type, zone ID, billing type, and number of created instances.
|
|
53
|
+
*
|
|
54
|
+
* Default value: None.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* PlanOnly
|
|
58
|
+
*/
|
|
47
59
|
executionMode?: string;
|
|
48
60
|
/**
|
|
49
61
|
* @remarks
|
|
@@ -64,6 +76,13 @@ export declare class ScaleWithAdjustmentShrinkRequest extends $dara.Model {
|
|
|
64
76
|
*/
|
|
65
77
|
overridesShrink?: string;
|
|
66
78
|
ownerId?: number;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* Whether the current scale-out task supports concurrency.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* false
|
|
85
|
+
*/
|
|
67
86
|
parallelTask?: boolean;
|
|
68
87
|
resourceOwnerAccount?: string;
|
|
69
88
|
/**
|
|
@@ -78,12 +97,12 @@ export declare class ScaleWithAdjustmentShrinkRequest extends $dara.Model {
|
|
|
78
97
|
scalingGroupId?: string;
|
|
79
98
|
/**
|
|
80
99
|
* @remarks
|
|
81
|
-
* Specifies whether to trigger the scaling
|
|
100
|
+
* Specifies whether to trigger the scaling task in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid Values:
|
|
82
101
|
*
|
|
83
|
-
* * true: triggers the scaling
|
|
84
|
-
* * false: does not trigger the scaling
|
|
102
|
+
* * true: triggers the scaling task in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
|
|
103
|
+
* * false: does not trigger the scaling task in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
|
|
85
104
|
*
|
|
86
|
-
* > For more information
|
|
105
|
+
* > For more information, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
|
|
87
106
|
*
|
|
88
107
|
* Default value: false.
|
|
89
108
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleWithAdjustmentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ScaleWithAdjustmentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ScaleWithAdjustmentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ScaleWithAdjustmentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA+G/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,cAAc,EAAE,gBAAgB;YAChC,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,0BAA0B,EAAE,sBAAsB;YAClD,sBAAsB,EAAE,wBAAwB;YAChD,eAAe,EAAE,WAAW;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,cAAc,EAAE,QAAQ;YACxB,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,0BAA0B,EAAE,QAAQ;YACpC,sBAAsB,EAAE,QAAQ;YAChC,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,SAAS;YACvB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,SAAS;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1JD,4EA0JC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1528,6 +1528,10 @@ export default class Client extends OpenApi {
|
|
|
1528
1528
|
async createNotificationConfigurationWithOptions(request: $_model.CreateNotificationConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateNotificationConfigurationResponse> {
|
|
1529
1529
|
request.validate();
|
|
1530
1530
|
let query = { };
|
|
1531
|
+
if (!$dara.isNull(request.messageEncoding)) {
|
|
1532
|
+
query["MessageEncoding"] = request.messageEncoding;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1531
1535
|
if (!$dara.isNull(request.notificationArn)) {
|
|
1532
1536
|
query["NotificationArn"] = request.notificationArn;
|
|
1533
1537
|
}
|
|
@@ -6395,6 +6399,10 @@ export default class Client extends OpenApi {
|
|
|
6395
6399
|
async modifyNotificationConfigurationWithOptions(request: $_model.ModifyNotificationConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyNotificationConfigurationResponse> {
|
|
6396
6400
|
request.validate();
|
|
6397
6401
|
let query = { };
|
|
6402
|
+
if (!$dara.isNull(request.messageEncoding)) {
|
|
6403
|
+
query["MessageEncoding"] = request.messageEncoding;
|
|
6404
|
+
}
|
|
6405
|
+
|
|
6398
6406
|
if (!$dara.isNull(request.notificationArn)) {
|
|
6399
6407
|
query["NotificationArn"] = request.notificationArn;
|
|
6400
6408
|
}
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
6
|
+
messageEncoding?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
@@ -63,6 +64,7 @@ export class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
|
63
64
|
timeZone?: string;
|
|
64
65
|
static names(): { [key: string]: string } {
|
|
65
66
|
return {
|
|
67
|
+
messageEncoding: 'MessageEncoding',
|
|
66
68
|
notificationArn: 'NotificationArn',
|
|
67
69
|
notificationTypes: 'NotificationTypes',
|
|
68
70
|
ownerId: 'OwnerId',
|
|
@@ -75,6 +77,7 @@ export class CreateNotificationConfigurationRequest extends $dara.Model {
|
|
|
75
77
|
|
|
76
78
|
static types(): { [key: string]: any } {
|
|
77
79
|
return {
|
|
80
|
+
messageEncoding: 'string',
|
|
78
81
|
notificationArn: 'string',
|
|
79
82
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
80
83
|
ownerId: 'number',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeNotificationConfigurationsResponseBodyNotificationConfigurationModels extends $dara.Model {
|
|
6
|
+
messageEncoding?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The value is in one of the following formats:
|
|
@@ -45,6 +46,7 @@ export class DescribeNotificationConfigurationsResponseBodyNotificationConfigura
|
|
|
45
46
|
timeZone?: string;
|
|
46
47
|
static names(): { [key: string]: string } {
|
|
47
48
|
return {
|
|
49
|
+
messageEncoding: 'MessageEncoding',
|
|
48
50
|
notificationArn: 'NotificationArn',
|
|
49
51
|
notificationTypes: 'NotificationTypes',
|
|
50
52
|
scalingGroupId: 'ScalingGroupId',
|
|
@@ -54,6 +56,7 @@ export class DescribeNotificationConfigurationsResponseBodyNotificationConfigura
|
|
|
54
56
|
|
|
55
57
|
static types(): { [key: string]: any } {
|
|
56
58
|
return {
|
|
59
|
+
messageEncoding: 'string',
|
|
57
60
|
notificationArn: 'string',
|
|
58
61
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
59
62
|
scalingGroupId: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
6
|
+
messageEncoding?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:
|
|
@@ -61,6 +62,7 @@ export class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
|
61
62
|
timeZone?: string;
|
|
62
63
|
static names(): { [key: string]: string } {
|
|
63
64
|
return {
|
|
65
|
+
messageEncoding: 'MessageEncoding',
|
|
64
66
|
notificationArn: 'NotificationArn',
|
|
65
67
|
notificationTypes: 'NotificationTypes',
|
|
66
68
|
ownerId: 'OwnerId',
|
|
@@ -73,6 +75,7 @@ export class ModifyNotificationConfigurationRequest extends $dara.Model {
|
|
|
73
75
|
|
|
74
76
|
static types(): { [key: string]: any } {
|
|
75
77
|
return {
|
|
78
|
+
messageEncoding: 'string',
|
|
76
79
|
notificationArn: 'string',
|
|
77
80
|
notificationTypes: { 'type': 'array', 'itemType': 'string' },
|
|
78
81
|
ownerId: 'number',
|
|
@@ -48,7 +48,7 @@ export class ScaleWithAdjustmentRequestLifecycleHookContext extends $dara.Model
|
|
|
48
48
|
export class ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVars extends $dara.Model {
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The name of the environment variable. The name must be 1 to 128 characters in length
|
|
51
|
+
* The name of the environment variable. The name must be 1 to 128 characters in length. Format requirement: `[0-9a-zA-Z]` and underscores (_). It cannot start with a digit.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* PATH
|
|
@@ -88,7 +88,7 @@ export class ScaleWithAdjustmentRequestOverridesContainerOverridesEnvironmentVar
|
|
|
88
88
|
export class ScaleWithAdjustmentRequestOverridesContainerOverrides extends $dara.Model {
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The
|
|
91
|
+
* The argument that corresponds to the startup command of the container. You can specify up to 10 arguments.
|
|
92
92
|
*/
|
|
93
93
|
args?: string[];
|
|
94
94
|
/**
|
|
@@ -98,7 +98,7 @@ export class ScaleWithAdjustmentRequestOverridesContainerOverrides extends $dara
|
|
|
98
98
|
commands?: string[];
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The number of vCPUs that you want to allocate to the container.
|
|
101
|
+
* The number of vCPUs that you want to allocate to the container. Unit: vCPUs.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* 2
|
|
@@ -119,7 +119,7 @@ export class ScaleWithAdjustmentRequestOverridesContainerOverrides extends $dara
|
|
|
119
119
|
memory?: number;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The container
|
|
122
|
+
* The name of container N. If you specify ContainerOverrides, you must also specify Name. ContainerOverrides takes effect only when the container name specified by Name matches that specified in the scaling configuration.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* container-1
|
|
@@ -173,7 +173,7 @@ export class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
173
173
|
containerOverrides?: ScaleWithAdjustmentRequestOverridesContainerOverrides[];
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The number of vCPUs that you want to allocate to the instance.
|
|
176
|
+
* The number of vCPUs that you want to allocate to the instance. Unit: vCPUs.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* 2
|
|
@@ -187,11 +187,17 @@ export class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
187
187
|
* 4
|
|
188
188
|
*/
|
|
189
189
|
memory?: number;
|
|
190
|
+
/**
|
|
191
|
+
* @example
|
|
192
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
193
|
+
*/
|
|
194
|
+
userData?: string;
|
|
190
195
|
static names(): { [key: string]: string } {
|
|
191
196
|
return {
|
|
192
197
|
containerOverrides: 'ContainerOverrides',
|
|
193
198
|
cpu: 'Cpu',
|
|
194
199
|
memory: 'Memory',
|
|
200
|
+
userData: 'UserData',
|
|
195
201
|
};
|
|
196
202
|
}
|
|
197
203
|
|
|
@@ -200,6 +206,7 @@ export class ScaleWithAdjustmentRequestOverrides extends $dara.Model {
|
|
|
200
206
|
containerOverrides: { 'type': 'array', 'itemType': ScaleWithAdjustmentRequestOverridesContainerOverrides },
|
|
201
207
|
cpu: 'number',
|
|
202
208
|
memory: 'number',
|
|
209
|
+
userData: 'string',
|
|
203
210
|
};
|
|
204
211
|
}
|
|
205
212
|
|
|
@@ -260,6 +267,18 @@ export class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
260
267
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
261
268
|
*/
|
|
262
269
|
clientToken?: string;
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The execution mode. Valid values:
|
|
273
|
+
*
|
|
274
|
+
* * None: If this is not specified, auto scaling is performed.
|
|
275
|
+
* * PlanOnly: Scaling is not triggered. Only elastic planning is performed. The planning result is returned in PlanResult, including the instance type, zone ID, billing type, and number of created instances.
|
|
276
|
+
*
|
|
277
|
+
* Default value: None.
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* PlanOnly
|
|
281
|
+
*/
|
|
263
282
|
executionMode?: string;
|
|
264
283
|
/**
|
|
265
284
|
* @remarks
|
|
@@ -280,6 +299,13 @@ export class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
280
299
|
*/
|
|
281
300
|
overrides?: ScaleWithAdjustmentRequestOverrides;
|
|
282
301
|
ownerId?: number;
|
|
302
|
+
/**
|
|
303
|
+
* @remarks
|
|
304
|
+
* Whether the current scale-out task supports concurrency.
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* false
|
|
308
|
+
*/
|
|
283
309
|
parallelTask?: boolean;
|
|
284
310
|
resourceOwnerAccount?: string;
|
|
285
311
|
/**
|
|
@@ -294,12 +320,12 @@ export class ScaleWithAdjustmentRequest extends $dara.Model {
|
|
|
294
320
|
scalingGroupId?: string;
|
|
295
321
|
/**
|
|
296
322
|
* @remarks
|
|
297
|
-
* Specifies whether to trigger the scaling
|
|
323
|
+
* Specifies whether to trigger the scaling task in a synchronous manner. This parameter takes effect only on scaling groups for which you specified an expected number of instances. Valid Values:
|
|
298
324
|
*
|
|
299
|
-
* * true: triggers the scaling
|
|
300
|
-
* * false: does not trigger the scaling
|
|
325
|
+
* * true: triggers the scaling task in a synchronous manner. A scaling activity is triggered at the time when the scaling rule is executed.
|
|
326
|
+
* * false: does not trigger the scaling task in a synchronous manner. After you change the expected number of instances for the scaling group, Auto Scaling checks whether the total number of instances in the scaling group matches the new expected number and determines whether to trigger the scaling activity based on the check result.
|
|
301
327
|
*
|
|
302
|
-
* > For more information
|
|
328
|
+
* > For more information, see [Expected number of instances](https://help.aliyun.com/document_detail/146231.html).
|
|
303
329
|
*
|
|
304
330
|
* Default value: false.
|
|
305
331
|
*
|