@volcengine/pulumi 0.0.20 → 0.0.21
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/autoscaling/scalingConfiguration.d.ts +18 -0
- package/autoscaling/scalingConfiguration.js +2 -0
- package/autoscaling/scalingConfiguration.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +61 -3
- package/autoscaling/scalingGroup.js +11 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingGroups.d.ts +12 -0
- package/autoscaling/scalingGroups.js +1 -0
- package/autoscaling/scalingGroups.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +31 -6
- package/autoscaling/scalingLifecycleHook.js +16 -3
- package/autoscaling/scalingLifecycleHook.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +0 -12
- package/mongodb/mongoAllowList.js +0 -2
- package/mongodb/mongoAllowList.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +19 -2
- package/types/output.d.ts +73 -5
- package/vke/nodePool.d.ts +3 -3
- package/vke/nodePool.js +3 -3
|
@@ -147,6 +147,12 @@ export declare class ScalingConfiguration extends pulumi.CustomResource {
|
|
|
147
147
|
* The list of the ECS instance type which the scaling configuration set. The maximum number of instance types is 10.
|
|
148
148
|
*/
|
|
149
149
|
readonly instanceTypes: pulumi.Output<string[]>;
|
|
150
|
+
/**
|
|
151
|
+
* Assign IPv6 address to instance network card. Possible values:
|
|
152
|
+
* 0: Do not assign IPv6 address.
|
|
153
|
+
* 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
|
|
154
|
+
*/
|
|
155
|
+
readonly ipv6AddressCount: pulumi.Output<number | undefined>;
|
|
150
156
|
/**
|
|
151
157
|
* The ECS key pair name which the scaling configuration set.
|
|
152
158
|
*/
|
|
@@ -256,6 +262,12 @@ export interface ScalingConfigurationState {
|
|
|
256
262
|
* The list of the ECS instance type which the scaling configuration set. The maximum number of instance types is 10.
|
|
257
263
|
*/
|
|
258
264
|
instanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
|
+
/**
|
|
266
|
+
* Assign IPv6 address to instance network card. Possible values:
|
|
267
|
+
* 0: Do not assign IPv6 address.
|
|
268
|
+
* 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
|
|
269
|
+
*/
|
|
270
|
+
ipv6AddressCount?: pulumi.Input<number>;
|
|
259
271
|
/**
|
|
260
272
|
* The ECS key pair name which the scaling configuration set.
|
|
261
273
|
*/
|
|
@@ -353,6 +365,12 @@ export interface ScalingConfigurationArgs {
|
|
|
353
365
|
* The list of the ECS instance type which the scaling configuration set. The maximum number of instance types is 10.
|
|
354
366
|
*/
|
|
355
367
|
instanceTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
368
|
+
/**
|
|
369
|
+
* Assign IPv6 address to instance network card. Possible values:
|
|
370
|
+
* 0: Do not assign IPv6 address.
|
|
371
|
+
* 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
|
|
372
|
+
*/
|
|
373
|
+
ipv6AddressCount?: pulumi.Input<number>;
|
|
356
374
|
/**
|
|
357
375
|
* The ECS key pair name which the scaling configuration set.
|
|
358
376
|
*/
|
|
@@ -133,6 +133,7 @@ class ScalingConfiguration extends pulumi.CustomResource {
|
|
|
133
133
|
resourceInputs["instanceDescription"] = state ? state.instanceDescription : undefined;
|
|
134
134
|
resourceInputs["instanceName"] = state ? state.instanceName : undefined;
|
|
135
135
|
resourceInputs["instanceTypes"] = state ? state.instanceTypes : undefined;
|
|
136
|
+
resourceInputs["ipv6AddressCount"] = state ? state.ipv6AddressCount : undefined;
|
|
136
137
|
resourceInputs["keyPairName"] = state ? state.keyPairName : undefined;
|
|
137
138
|
resourceInputs["lifecycleState"] = state ? state.lifecycleState : undefined;
|
|
138
139
|
resourceInputs["password"] = state ? state.password : undefined;
|
|
@@ -180,6 +181,7 @@ class ScalingConfiguration extends pulumi.CustomResource {
|
|
|
180
181
|
resourceInputs["instanceDescription"] = args ? args.instanceDescription : undefined;
|
|
181
182
|
resourceInputs["instanceName"] = args ? args.instanceName : undefined;
|
|
182
183
|
resourceInputs["instanceTypes"] = args ? args.instanceTypes : undefined;
|
|
184
|
+
resourceInputs["ipv6AddressCount"] = args ? args.ipv6AddressCount : undefined;
|
|
183
185
|
resourceInputs["keyPairName"] = args ? args.keyPairName : undefined;
|
|
184
186
|
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
185
187
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingConfiguration.js","sourceRoot":"","sources":["../../autoscaling/scalingConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"scalingConfiguration.js","sourceRoot":"","sources":["../../autoscaling/scalingConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;A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AC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AA9NL,oDA+NC;AAjNG,gBAAgB;AACO,iCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -79,9 +79,9 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly createdAt: pulumi.Output<string>;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* ID of the RDS database instance.
|
|
83
83
|
*/
|
|
84
|
-
readonly dbInstanceIds: pulumi.Output<string[]>;
|
|
84
|
+
readonly dbInstanceIds: pulumi.Output<string[] | undefined>;
|
|
85
85
|
/**
|
|
86
86
|
* The default cooldown interval of the scaling group. Value range: 5 ~ 86400, unit: second. Default value: 300.
|
|
87
87
|
*/
|
|
@@ -90,6 +90,10 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
90
90
|
* The desire instance number of the scaling group.
|
|
91
91
|
*/
|
|
92
92
|
readonly desireInstanceNumber: pulumi.Output<number>;
|
|
93
|
+
/**
|
|
94
|
+
* The health check type of the scaling group.
|
|
95
|
+
*/
|
|
96
|
+
readonly healthCheckType: pulumi.Output<string>;
|
|
93
97
|
/**
|
|
94
98
|
* The instance terminate policy of the scaling group. Valid values: OldestInstance, NewestInstance, OldestScalingConfigurationWithOldestInstance, OldestScalingConfigurationWithNewestInstance. Default value: OldestScalingConfigurationWithOldestInstance.
|
|
95
99
|
*/
|
|
@@ -98,6 +102,10 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
98
102
|
* The ID of the launch template bound to the scaling group. The launch template and scaling configuration cannot take effect at the same time.
|
|
99
103
|
*/
|
|
100
104
|
readonly launchTemplateId: pulumi.Output<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Specify instance specifications.
|
|
107
|
+
*/
|
|
108
|
+
readonly launchTemplateOverrides: pulumi.Output<outputs.autoscaling.ScalingGroupLaunchTemplateOverride[] | undefined>;
|
|
101
109
|
/**
|
|
102
110
|
* The version of the launch template bound to the scaling group. Valid values are the version number, Latest, or Default.
|
|
103
111
|
*/
|
|
@@ -106,6 +114,10 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
106
114
|
* The lifecycle state of the scaling group.
|
|
107
115
|
*/
|
|
108
116
|
readonly lifecycleState: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Grace period for health check of CLB instance in elastic group.
|
|
119
|
+
*/
|
|
120
|
+
readonly loadBalancerHealthCheckGracePeriod: pulumi.Output<number>;
|
|
109
121
|
/**
|
|
110
122
|
* The max instance number of the scaling group. Value range: 0 ~ 100.
|
|
111
123
|
*/
|
|
@@ -130,10 +142,20 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
130
142
|
* The name of the scaling group.
|
|
131
143
|
*/
|
|
132
144
|
readonly scalingGroupName: pulumi.Output<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Example recycling mode for the elastic group, with values:
|
|
147
|
+
* release (default): Release mode.
|
|
148
|
+
* recycle: Shutdown recycling mode.
|
|
149
|
+
*/
|
|
150
|
+
readonly scalingMode: pulumi.Output<string>;
|
|
133
151
|
/**
|
|
134
152
|
* The load balancer server group attributes of the scaling group.
|
|
135
153
|
*/
|
|
136
154
|
readonly serverGroupAttributes: pulumi.Output<outputs.autoscaling.ScalingGroupServerGroupAttribute[] | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The number of stopped instances.
|
|
157
|
+
*/
|
|
158
|
+
readonly stoppedInstanceCount: pulumi.Output<number>;
|
|
137
159
|
/**
|
|
138
160
|
* The list of the subnet id to which the ENI is connected.
|
|
139
161
|
*/
|
|
@@ -176,7 +198,7 @@ export interface ScalingGroupState {
|
|
|
176
198
|
*/
|
|
177
199
|
createdAt?: pulumi.Input<string>;
|
|
178
200
|
/**
|
|
179
|
-
*
|
|
201
|
+
* ID of the RDS database instance.
|
|
180
202
|
*/
|
|
181
203
|
dbInstanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
204
|
/**
|
|
@@ -187,6 +209,10 @@ export interface ScalingGroupState {
|
|
|
187
209
|
* The desire instance number of the scaling group.
|
|
188
210
|
*/
|
|
189
211
|
desireInstanceNumber?: pulumi.Input<number>;
|
|
212
|
+
/**
|
|
213
|
+
* The health check type of the scaling group.
|
|
214
|
+
*/
|
|
215
|
+
healthCheckType?: pulumi.Input<string>;
|
|
190
216
|
/**
|
|
191
217
|
* The instance terminate policy of the scaling group. Valid values: OldestInstance, NewestInstance, OldestScalingConfigurationWithOldestInstance, OldestScalingConfigurationWithNewestInstance. Default value: OldestScalingConfigurationWithOldestInstance.
|
|
192
218
|
*/
|
|
@@ -195,6 +221,10 @@ export interface ScalingGroupState {
|
|
|
195
221
|
* The ID of the launch template bound to the scaling group. The launch template and scaling configuration cannot take effect at the same time.
|
|
196
222
|
*/
|
|
197
223
|
launchTemplateId?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Specify instance specifications.
|
|
226
|
+
*/
|
|
227
|
+
launchTemplateOverrides?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupLaunchTemplateOverride>[]>;
|
|
198
228
|
/**
|
|
199
229
|
* The version of the launch template bound to the scaling group. Valid values are the version number, Latest, or Default.
|
|
200
230
|
*/
|
|
@@ -203,6 +233,10 @@ export interface ScalingGroupState {
|
|
|
203
233
|
* The lifecycle state of the scaling group.
|
|
204
234
|
*/
|
|
205
235
|
lifecycleState?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Grace period for health check of CLB instance in elastic group.
|
|
238
|
+
*/
|
|
239
|
+
loadBalancerHealthCheckGracePeriod?: pulumi.Input<number>;
|
|
206
240
|
/**
|
|
207
241
|
* The max instance number of the scaling group. Value range: 0 ~ 100.
|
|
208
242
|
*/
|
|
@@ -227,10 +261,20 @@ export interface ScalingGroupState {
|
|
|
227
261
|
* The name of the scaling group.
|
|
228
262
|
*/
|
|
229
263
|
scalingGroupName?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Example recycling mode for the elastic group, with values:
|
|
266
|
+
* release (default): Release mode.
|
|
267
|
+
* recycle: Shutdown recycling mode.
|
|
268
|
+
*/
|
|
269
|
+
scalingMode?: pulumi.Input<string>;
|
|
230
270
|
/**
|
|
231
271
|
* The load balancer server group attributes of the scaling group.
|
|
232
272
|
*/
|
|
233
273
|
serverGroupAttributes?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupServerGroupAttribute>[]>;
|
|
274
|
+
/**
|
|
275
|
+
* The number of stopped instances.
|
|
276
|
+
*/
|
|
277
|
+
stoppedInstanceCount?: pulumi.Input<number>;
|
|
234
278
|
/**
|
|
235
279
|
* The list of the subnet id to which the ENI is connected.
|
|
236
280
|
*/
|
|
@@ -256,6 +300,10 @@ export interface ScalingGroupState {
|
|
|
256
300
|
* The set of arguments for constructing a ScalingGroup resource.
|
|
257
301
|
*/
|
|
258
302
|
export interface ScalingGroupArgs {
|
|
303
|
+
/**
|
|
304
|
+
* ID of the RDS database instance.
|
|
305
|
+
*/
|
|
306
|
+
dbInstanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
259
307
|
/**
|
|
260
308
|
* The default cooldown interval of the scaling group. Value range: 5 ~ 86400, unit: second. Default value: 300.
|
|
261
309
|
*/
|
|
@@ -272,6 +320,10 @@ export interface ScalingGroupArgs {
|
|
|
272
320
|
* The ID of the launch template bound to the scaling group. The launch template and scaling configuration cannot take effect at the same time.
|
|
273
321
|
*/
|
|
274
322
|
launchTemplateId?: pulumi.Input<string>;
|
|
323
|
+
/**
|
|
324
|
+
* Specify instance specifications.
|
|
325
|
+
*/
|
|
326
|
+
launchTemplateOverrides?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupLaunchTemplateOverride>[]>;
|
|
275
327
|
/**
|
|
276
328
|
* The version of the launch template bound to the scaling group. Valid values are the version number, Latest, or Default.
|
|
277
329
|
*/
|
|
@@ -296,6 +348,12 @@ export interface ScalingGroupArgs {
|
|
|
296
348
|
* The name of the scaling group.
|
|
297
349
|
*/
|
|
298
350
|
scalingGroupName: pulumi.Input<string>;
|
|
351
|
+
/**
|
|
352
|
+
* Example recycling mode for the elastic group, with values:
|
|
353
|
+
* release (default): Release mode.
|
|
354
|
+
* recycle: Shutdown recycling mode.
|
|
355
|
+
*/
|
|
356
|
+
scalingMode?: pulumi.Input<string>;
|
|
299
357
|
/**
|
|
300
358
|
* The load balancer server group attributes of the scaling group.
|
|
301
359
|
*/
|
|
@@ -91,17 +91,22 @@ class ScalingGroup extends pulumi.CustomResource {
|
|
|
91
91
|
resourceInputs["dbInstanceIds"] = state ? state.dbInstanceIds : undefined;
|
|
92
92
|
resourceInputs["defaultCooldown"] = state ? state.defaultCooldown : undefined;
|
|
93
93
|
resourceInputs["desireInstanceNumber"] = state ? state.desireInstanceNumber : undefined;
|
|
94
|
+
resourceInputs["healthCheckType"] = state ? state.healthCheckType : undefined;
|
|
94
95
|
resourceInputs["instanceTerminatePolicy"] = state ? state.instanceTerminatePolicy : undefined;
|
|
95
96
|
resourceInputs["launchTemplateId"] = state ? state.launchTemplateId : undefined;
|
|
97
|
+
resourceInputs["launchTemplateOverrides"] = state ? state.launchTemplateOverrides : undefined;
|
|
96
98
|
resourceInputs["launchTemplateVersion"] = state ? state.launchTemplateVersion : undefined;
|
|
97
99
|
resourceInputs["lifecycleState"] = state ? state.lifecycleState : undefined;
|
|
100
|
+
resourceInputs["loadBalancerHealthCheckGracePeriod"] = state ? state.loadBalancerHealthCheckGracePeriod : undefined;
|
|
98
101
|
resourceInputs["maxInstanceNumber"] = state ? state.maxInstanceNumber : undefined;
|
|
99
102
|
resourceInputs["minInstanceNumber"] = state ? state.minInstanceNumber : undefined;
|
|
100
103
|
resourceInputs["multiAzPolicy"] = state ? state.multiAzPolicy : undefined;
|
|
101
104
|
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
102
105
|
resourceInputs["scalingGroupId"] = state ? state.scalingGroupId : undefined;
|
|
103
106
|
resourceInputs["scalingGroupName"] = state ? state.scalingGroupName : undefined;
|
|
107
|
+
resourceInputs["scalingMode"] = state ? state.scalingMode : undefined;
|
|
104
108
|
resourceInputs["serverGroupAttributes"] = state ? state.serverGroupAttributes : undefined;
|
|
109
|
+
resourceInputs["stoppedInstanceCount"] = state ? state.stoppedInstanceCount : undefined;
|
|
105
110
|
resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
|
|
106
111
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
107
112
|
resourceInputs["totalInstanceCount"] = state ? state.totalInstanceCount : undefined;
|
|
@@ -122,24 +127,29 @@ class ScalingGroup extends pulumi.CustomResource {
|
|
|
122
127
|
if ((!args || args.subnetIds === undefined) && !opts.urn) {
|
|
123
128
|
throw new Error("Missing required property 'subnetIds'");
|
|
124
129
|
}
|
|
130
|
+
resourceInputs["dbInstanceIds"] = args ? args.dbInstanceIds : undefined;
|
|
125
131
|
resourceInputs["defaultCooldown"] = args ? args.defaultCooldown : undefined;
|
|
126
132
|
resourceInputs["desireInstanceNumber"] = args ? args.desireInstanceNumber : undefined;
|
|
127
133
|
resourceInputs["instanceTerminatePolicy"] = args ? args.instanceTerminatePolicy : undefined;
|
|
128
134
|
resourceInputs["launchTemplateId"] = args ? args.launchTemplateId : undefined;
|
|
135
|
+
resourceInputs["launchTemplateOverrides"] = args ? args.launchTemplateOverrides : undefined;
|
|
129
136
|
resourceInputs["launchTemplateVersion"] = args ? args.launchTemplateVersion : undefined;
|
|
130
137
|
resourceInputs["maxInstanceNumber"] = args ? args.maxInstanceNumber : undefined;
|
|
131
138
|
resourceInputs["minInstanceNumber"] = args ? args.minInstanceNumber : undefined;
|
|
132
139
|
resourceInputs["multiAzPolicy"] = args ? args.multiAzPolicy : undefined;
|
|
133
140
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
134
141
|
resourceInputs["scalingGroupName"] = args ? args.scalingGroupName : undefined;
|
|
142
|
+
resourceInputs["scalingMode"] = args ? args.scalingMode : undefined;
|
|
135
143
|
resourceInputs["serverGroupAttributes"] = args ? args.serverGroupAttributes : undefined;
|
|
136
144
|
resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
|
|
137
145
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
138
146
|
resourceInputs["activeScalingConfigurationId"] = undefined /*out*/;
|
|
139
147
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
140
|
-
resourceInputs["
|
|
148
|
+
resourceInputs["healthCheckType"] = undefined /*out*/;
|
|
141
149
|
resourceInputs["lifecycleState"] = undefined /*out*/;
|
|
150
|
+
resourceInputs["loadBalancerHealthCheckGracePeriod"] = undefined /*out*/;
|
|
142
151
|
resourceInputs["scalingGroupId"] = undefined /*out*/;
|
|
152
|
+
resourceInputs["stoppedInstanceCount"] = undefined /*out*/;
|
|
143
153
|
resourceInputs["totalInstanceCount"] = undefined /*out*/;
|
|
144
154
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
145
155
|
resourceInputs["vpcId"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingGroup.js","sourceRoot":"","sources":["../../autoscaling/scalingGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA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/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzNL,oCA0NC;AA5MG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -65,6 +65,10 @@ export interface ScalingGroupsArgs {
|
|
|
65
65
|
* File name where to save data source results.
|
|
66
66
|
*/
|
|
67
67
|
outputFile?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The project name of the scaling group.
|
|
70
|
+
*/
|
|
71
|
+
projectName?: string;
|
|
68
72
|
/**
|
|
69
73
|
* A list of scaling group names.
|
|
70
74
|
*/
|
|
@@ -81,6 +85,10 @@ export interface ScalingGroupsResult {
|
|
|
81
85
|
readonly ids?: string[];
|
|
82
86
|
readonly nameRegex?: string;
|
|
83
87
|
readonly outputFile?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The ProjectName of scaling group.
|
|
90
|
+
*/
|
|
91
|
+
readonly projectName?: string;
|
|
84
92
|
readonly scalingGroupNames?: string[];
|
|
85
93
|
/**
|
|
86
94
|
* The collection of scaling group query.
|
|
@@ -156,6 +164,10 @@ export interface ScalingGroupsOutputArgs {
|
|
|
156
164
|
* File name where to save data source results.
|
|
157
165
|
*/
|
|
158
166
|
outputFile?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The project name of the scaling group.
|
|
169
|
+
*/
|
|
170
|
+
projectName?: pulumi.Input<string>;
|
|
159
171
|
/**
|
|
160
172
|
* A list of scaling group names.
|
|
161
173
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingGroups.js","sourceRoot":"","sources":["../../autoscaling/scalingGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AA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WC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Provides a resource to manage scaling lifecycle hook
|
|
4
6
|
* ## Example Usage
|
|
@@ -19,6 +21,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
21
|
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
20
22
|
* vpcId: fooVpc.id,
|
|
21
23
|
* });
|
|
24
|
+
* const fooCommand = new volcengine.ecs.Command("fooCommand", {
|
|
25
|
+
* description: "tf",
|
|
26
|
+
* workingDir: "/home",
|
|
27
|
+
* username: "root",
|
|
28
|
+
* timeout: 100,
|
|
29
|
+
* commandContent: "IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi",
|
|
30
|
+
* });
|
|
22
31
|
* const fooScalingGroup = new volcengine.autoscaling.ScalingGroup("fooScalingGroup", {
|
|
23
32
|
* scalingGroupName: "acc-test-scaling-group-lifecycle",
|
|
24
33
|
* subnetIds: [fooSubnet.id],
|
|
@@ -31,11 +40,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
40
|
* });
|
|
32
41
|
* const fooScalingLifecycleHook = new volcengine.autoscaling.ScalingLifecycleHook("fooScalingLifecycleHook", {
|
|
33
42
|
* lifecycleHookName: "acc-test-lifecycle",
|
|
34
|
-
* lifecycleHookPolicy: "
|
|
35
|
-
* lifecycleHookTimeout:
|
|
36
|
-
* lifecycleHookType: "
|
|
43
|
+
* lifecycleHookPolicy: "ROLLBACK",
|
|
44
|
+
* lifecycleHookTimeout: 300,
|
|
45
|
+
* lifecycleHookType: "SCALE_OUT",
|
|
37
46
|
* scalingGroupId: fooScalingGroup.id,
|
|
38
47
|
* });
|
|
48
|
+
* // lifecycle_command {
|
|
49
|
+
* // command_id = volcengine_ecs_command.foo.id
|
|
50
|
+
* // parameters = "{}"
|
|
51
|
+
* // }
|
|
39
52
|
* ```
|
|
40
53
|
*
|
|
41
54
|
* ## Import
|
|
@@ -62,6 +75,10 @@ export declare class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
62
75
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
76
|
*/
|
|
64
77
|
static isInstance(obj: any): obj is ScalingLifecycleHook;
|
|
78
|
+
/**
|
|
79
|
+
* Batch job command.
|
|
80
|
+
*/
|
|
81
|
+
readonly lifecycleCommand: pulumi.Output<outputs.autoscaling.ScalingLifecycleHookLifecycleCommand | undefined>;
|
|
65
82
|
/**
|
|
66
83
|
* The id of the lifecycle hook.
|
|
67
84
|
*/
|
|
@@ -71,7 +88,7 @@ export declare class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
71
88
|
*/
|
|
72
89
|
readonly lifecycleHookName: pulumi.Output<string>;
|
|
73
90
|
/**
|
|
74
|
-
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT.
|
|
91
|
+
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
|
|
75
92
|
*/
|
|
76
93
|
readonly lifecycleHookPolicy: pulumi.Output<string>;
|
|
77
94
|
/**
|
|
@@ -99,6 +116,10 @@ export declare class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
99
116
|
* Input properties used for looking up and filtering ScalingLifecycleHook resources.
|
|
100
117
|
*/
|
|
101
118
|
export interface ScalingLifecycleHookState {
|
|
119
|
+
/**
|
|
120
|
+
* Batch job command.
|
|
121
|
+
*/
|
|
122
|
+
lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
|
|
102
123
|
/**
|
|
103
124
|
* The id of the lifecycle hook.
|
|
104
125
|
*/
|
|
@@ -108,7 +129,7 @@ export interface ScalingLifecycleHookState {
|
|
|
108
129
|
*/
|
|
109
130
|
lifecycleHookName?: pulumi.Input<string>;
|
|
110
131
|
/**
|
|
111
|
-
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT.
|
|
132
|
+
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
|
|
112
133
|
*/
|
|
113
134
|
lifecycleHookPolicy?: pulumi.Input<string>;
|
|
114
135
|
/**
|
|
@@ -128,12 +149,16 @@ export interface ScalingLifecycleHookState {
|
|
|
128
149
|
* The set of arguments for constructing a ScalingLifecycleHook resource.
|
|
129
150
|
*/
|
|
130
151
|
export interface ScalingLifecycleHookArgs {
|
|
152
|
+
/**
|
|
153
|
+
* Batch job command.
|
|
154
|
+
*/
|
|
155
|
+
lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
|
|
131
156
|
/**
|
|
132
157
|
* The name of the lifecycle hook.
|
|
133
158
|
*/
|
|
134
159
|
lifecycleHookName: pulumi.Input<string>;
|
|
135
160
|
/**
|
|
136
|
-
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT.
|
|
161
|
+
* The policy of the lifecycle hook. Valid values: CONTINUE, REJECT, ROLLBACK.
|
|
137
162
|
*/
|
|
138
163
|
lifecycleHookPolicy: pulumi.Input<string>;
|
|
139
164
|
/**
|
|
@@ -25,6 +25,13 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
26
|
* vpcId: fooVpc.id,
|
|
27
27
|
* });
|
|
28
|
+
* const fooCommand = new volcengine.ecs.Command("fooCommand", {
|
|
29
|
+
* description: "tf",
|
|
30
|
+
* workingDir: "/home",
|
|
31
|
+
* username: "root",
|
|
32
|
+
* timeout: 100,
|
|
33
|
+
* commandContent: "IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi",
|
|
34
|
+
* });
|
|
28
35
|
* const fooScalingGroup = new volcengine.autoscaling.ScalingGroup("fooScalingGroup", {
|
|
29
36
|
* scalingGroupName: "acc-test-scaling-group-lifecycle",
|
|
30
37
|
* subnetIds: [fooSubnet.id],
|
|
@@ -37,11 +44,15 @@ const utilities = require("../utilities");
|
|
|
37
44
|
* });
|
|
38
45
|
* const fooScalingLifecycleHook = new volcengine.autoscaling.ScalingLifecycleHook("fooScalingLifecycleHook", {
|
|
39
46
|
* lifecycleHookName: "acc-test-lifecycle",
|
|
40
|
-
* lifecycleHookPolicy: "
|
|
41
|
-
* lifecycleHookTimeout:
|
|
42
|
-
* lifecycleHookType: "
|
|
47
|
+
* lifecycleHookPolicy: "ROLLBACK",
|
|
48
|
+
* lifecycleHookTimeout: 300,
|
|
49
|
+
* lifecycleHookType: "SCALE_OUT",
|
|
43
50
|
* scalingGroupId: fooScalingGroup.id,
|
|
44
51
|
* });
|
|
52
|
+
* // lifecycle_command {
|
|
53
|
+
* // command_id = volcengine_ecs_command.foo.id
|
|
54
|
+
* // parameters = "{}"
|
|
55
|
+
* // }
|
|
45
56
|
* ```
|
|
46
57
|
*
|
|
47
58
|
* ## Import
|
|
@@ -80,6 +91,7 @@ class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
80
91
|
opts = opts || {};
|
|
81
92
|
if (opts.id) {
|
|
82
93
|
const state = argsOrState;
|
|
94
|
+
resourceInputs["lifecycleCommand"] = state ? state.lifecycleCommand : undefined;
|
|
83
95
|
resourceInputs["lifecycleHookId"] = state ? state.lifecycleHookId : undefined;
|
|
84
96
|
resourceInputs["lifecycleHookName"] = state ? state.lifecycleHookName : undefined;
|
|
85
97
|
resourceInputs["lifecycleHookPolicy"] = state ? state.lifecycleHookPolicy : undefined;
|
|
@@ -104,6 +116,7 @@ class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
104
116
|
if ((!args || args.scalingGroupId === undefined) && !opts.urn) {
|
|
105
117
|
throw new Error("Missing required property 'scalingGroupId'");
|
|
106
118
|
}
|
|
119
|
+
resourceInputs["lifecycleCommand"] = args ? args.lifecycleCommand : undefined;
|
|
107
120
|
resourceInputs["lifecycleHookName"] = args ? args.lifecycleHookName : undefined;
|
|
108
121
|
resourceInputs["lifecycleHookPolicy"] = args ? args.lifecycleHookPolicy : undefined;
|
|
109
122
|
resourceInputs["lifecycleHookTimeout"] = args ? args.lifecycleHookTimeout : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingLifecycleHook.js","sourceRoot":"","sources":["../../autoscaling/scalingLifecycleHook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"scalingLifecycleHook.js","sourceRoot":"","sources":["../../autoscaling/scalingLifecycleHook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,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IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAxGL,oDAyGC;AA3FG,gBAAgB;AACO,iCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -55,10 +55,6 @@ export declare class MongoAllowList extends pulumi.CustomResource {
|
|
|
55
55
|
* The IP address type of allow list, valid value contains `IPv4`.
|
|
56
56
|
*/
|
|
57
57
|
readonly allowListType: pulumi.Output<string | undefined>;
|
|
58
|
-
/**
|
|
59
|
-
* The modify mode. Only support Cover mode.
|
|
60
|
-
*/
|
|
61
|
-
readonly modifyMode: pulumi.Output<string | undefined>;
|
|
62
58
|
/**
|
|
63
59
|
* Create a MongoAllowList resource with the given unique name, arguments, and options.
|
|
64
60
|
*
|
|
@@ -88,10 +84,6 @@ export interface MongoAllowListState {
|
|
|
88
84
|
* The IP address type of allow list, valid value contains `IPv4`.
|
|
89
85
|
*/
|
|
90
86
|
allowListType?: pulumi.Input<string>;
|
|
91
|
-
/**
|
|
92
|
-
* The modify mode. Only support Cover mode.
|
|
93
|
-
*/
|
|
94
|
-
modifyMode?: pulumi.Input<string>;
|
|
95
87
|
}
|
|
96
88
|
/**
|
|
97
89
|
* The set of arguments for constructing a MongoAllowList resource.
|
|
@@ -113,8 +105,4 @@ export interface MongoAllowListArgs {
|
|
|
113
105
|
* The IP address type of allow list, valid value contains `IPv4`.
|
|
114
106
|
*/
|
|
115
107
|
allowListType?: pulumi.Input<string>;
|
|
116
|
-
/**
|
|
117
|
-
* The modify mode. Only support Cover mode.
|
|
118
|
-
*/
|
|
119
|
-
modifyMode?: pulumi.Input<string>;
|
|
120
108
|
}
|
|
@@ -61,7 +61,6 @@ class MongoAllowList extends pulumi.CustomResource {
|
|
|
61
61
|
resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
|
|
62
62
|
resourceInputs["allowListName"] = state ? state.allowListName : undefined;
|
|
63
63
|
resourceInputs["allowListType"] = state ? state.allowListType : undefined;
|
|
64
|
-
resourceInputs["modifyMode"] = state ? state.modifyMode : undefined;
|
|
65
64
|
}
|
|
66
65
|
else {
|
|
67
66
|
const args = argsOrState;
|
|
@@ -75,7 +74,6 @@ class MongoAllowList extends pulumi.CustomResource {
|
|
|
75
74
|
resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
|
|
76
75
|
resourceInputs["allowListName"] = args ? args.allowListName : undefined;
|
|
77
76
|
resourceInputs["allowListType"] = args ? args.allowListType : undefined;
|
|
78
|
-
resourceInputs["modifyMode"] = args ? args.modifyMode : undefined;
|
|
79
77
|
}
|
|
80
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
79
|
super(MongoAllowList.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mongoAllowList.js","sourceRoot":"","sources":["../../mongodb/mongoAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EA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E,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7EL,wCA8EC;AAhEG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volcengine/pulumi",
|
|
3
|
-
"version": "v0.0.
|
|
3
|
+
"version": "v0.0.21",
|
|
4
4
|
"description": "A Pulumi package for creating and managing volcengine cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.21"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -25,6 +25,12 @@ export declare namespace autoscaling {
|
|
|
25
25
|
*/
|
|
26
26
|
volumeType: pulumi.Input<string>;
|
|
27
27
|
}
|
|
28
|
+
interface ScalingGroupLaunchTemplateOverride {
|
|
29
|
+
/**
|
|
30
|
+
* The instance type.
|
|
31
|
+
*/
|
|
32
|
+
instanceType: pulumi.Input<string>;
|
|
33
|
+
}
|
|
28
34
|
interface ScalingGroupServerGroupAttribute {
|
|
29
35
|
loadBalancerId?: pulumi.Input<string>;
|
|
30
36
|
/**
|
|
@@ -50,6 +56,17 @@ export declare namespace autoscaling {
|
|
|
50
56
|
*/
|
|
51
57
|
value: pulumi.Input<string>;
|
|
52
58
|
}
|
|
59
|
+
interface ScalingLifecycleHookLifecycleCommand {
|
|
60
|
+
/**
|
|
61
|
+
* Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
|
|
62
|
+
*/
|
|
63
|
+
commandId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Parameters and parameter values in batch job commands.
|
|
66
|
+
* The number of parameters ranges from 0 to 60.
|
|
67
|
+
*/
|
|
68
|
+
parameters?: pulumi.Input<string>;
|
|
69
|
+
}
|
|
53
70
|
}
|
|
54
71
|
export declare namespace bioos {
|
|
55
72
|
interface ClusterSharedConfig {
|
|
@@ -2705,11 +2722,11 @@ export declare namespace vke {
|
|
|
2705
2722
|
*/
|
|
2706
2723
|
mountPoint?: pulumi.Input<string>;
|
|
2707
2724
|
/**
|
|
2708
|
-
* The Size of DataVolumes, the value range in 20~32768.
|
|
2725
|
+
* The Size of DataVolumes, the value range in 20~32768. Default value is `20`.
|
|
2709
2726
|
*/
|
|
2710
2727
|
size?: pulumi.Input<number>;
|
|
2711
2728
|
/**
|
|
2712
|
-
* The Type of DataVolumes, the value can be `PTSSD` or `ESSD_PL0` or `ESSD_FlexPL`.
|
|
2729
|
+
* The Type of DataVolumes, the value can be `PTSSD` or `ESSD_PL0` or `ESSD_FlexPL`. Default value is `ESSD_PL0`.
|
|
2713
2730
|
*/
|
|
2714
2731
|
type?: pulumi.Input<string>;
|
|
2715
2732
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -153,6 +153,12 @@ export declare namespace autoscaling {
|
|
|
153
153
|
* The list of the ECS instance type which the scaling configuration set.
|
|
154
154
|
*/
|
|
155
155
|
instanceTypes: string[];
|
|
156
|
+
/**
|
|
157
|
+
* Assign IPv6 address to instance network card. Possible values:
|
|
158
|
+
* 0: Do not assign IPv6 address.
|
|
159
|
+
* 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
|
|
160
|
+
*/
|
|
161
|
+
ipv6AddressCount: number;
|
|
156
162
|
/**
|
|
157
163
|
* The ECS key pair name which the scaling configuration set.
|
|
158
164
|
*/
|
|
@@ -230,6 +236,12 @@ export declare namespace autoscaling {
|
|
|
230
236
|
*/
|
|
231
237
|
volumeType: string;
|
|
232
238
|
}
|
|
239
|
+
interface ScalingGroupLaunchTemplateOverride {
|
|
240
|
+
/**
|
|
241
|
+
* The instance type.
|
|
242
|
+
*/
|
|
243
|
+
instanceType: string;
|
|
244
|
+
}
|
|
233
245
|
interface ScalingGroupServerGroupAttribute {
|
|
234
246
|
loadBalancerId: string;
|
|
235
247
|
/**
|
|
@@ -276,6 +288,10 @@ export declare namespace autoscaling {
|
|
|
276
288
|
* The desire instance number of the scaling group.
|
|
277
289
|
*/
|
|
278
290
|
desireInstanceNumber: number;
|
|
291
|
+
/**
|
|
292
|
+
* The health check type of the scaling group.
|
|
293
|
+
*/
|
|
294
|
+
healthCheckType: string;
|
|
279
295
|
/**
|
|
280
296
|
* The id of the scaling group.
|
|
281
297
|
*/
|
|
@@ -288,6 +304,10 @@ export declare namespace autoscaling {
|
|
|
288
304
|
* The ID of the launch template bound to the scaling group.
|
|
289
305
|
*/
|
|
290
306
|
launchTemplateId: string;
|
|
307
|
+
/**
|
|
308
|
+
* Instance start template information.
|
|
309
|
+
*/
|
|
310
|
+
launchTemplateOverrides: outputs.autoscaling.ScalingGroupsScalingGroupLaunchTemplateOverride[];
|
|
291
311
|
/**
|
|
292
312
|
* The version of the launch template bound to the scaling group.
|
|
293
313
|
*/
|
|
@@ -296,6 +316,10 @@ export declare namespace autoscaling {
|
|
|
296
316
|
* The lifecycle state of the scaling group.
|
|
297
317
|
*/
|
|
298
318
|
lifecycleState: string;
|
|
319
|
+
/**
|
|
320
|
+
* Grace period for health check of CLB instance in elastic group.
|
|
321
|
+
*/
|
|
322
|
+
loadBalancerHealthCheckGracePeriod: number;
|
|
299
323
|
/**
|
|
300
324
|
* The max instance number of the scaling group.
|
|
301
325
|
*/
|
|
@@ -309,7 +333,7 @@ export declare namespace autoscaling {
|
|
|
309
333
|
*/
|
|
310
334
|
multiAzPolicy: string;
|
|
311
335
|
/**
|
|
312
|
-
* The
|
|
336
|
+
* The project name of the scaling group.
|
|
313
337
|
*/
|
|
314
338
|
projectName: string;
|
|
315
339
|
/**
|
|
@@ -320,10 +344,18 @@ export declare namespace autoscaling {
|
|
|
320
344
|
* The name of the scaling group.
|
|
321
345
|
*/
|
|
322
346
|
scalingGroupName: string;
|
|
347
|
+
/**
|
|
348
|
+
* The scaling mode of the scaling group.
|
|
349
|
+
*/
|
|
350
|
+
scalingMode: string;
|
|
323
351
|
/**
|
|
324
352
|
* The list of server group attributes.
|
|
325
353
|
*/
|
|
326
354
|
serverGroupAttributes: outputs.autoscaling.ScalingGroupsScalingGroupServerGroupAttribute[];
|
|
355
|
+
/**
|
|
356
|
+
* The number of stopped instances.
|
|
357
|
+
*/
|
|
358
|
+
stoppedInstanceCount: number;
|
|
327
359
|
/**
|
|
328
360
|
* The list of the subnet id to which the ENI is connected.
|
|
329
361
|
*/
|
|
@@ -345,6 +377,16 @@ export declare namespace autoscaling {
|
|
|
345
377
|
*/
|
|
346
378
|
vpcId: string;
|
|
347
379
|
}
|
|
380
|
+
interface ScalingGroupsScalingGroupLaunchTemplateOverride {
|
|
381
|
+
/**
|
|
382
|
+
* The instance type.
|
|
383
|
+
*/
|
|
384
|
+
instanceType: string;
|
|
385
|
+
/**
|
|
386
|
+
* Weight of instance specifications.
|
|
387
|
+
*/
|
|
388
|
+
weightedCapacity: number;
|
|
389
|
+
}
|
|
348
390
|
interface ScalingGroupsScalingGroupServerGroupAttribute {
|
|
349
391
|
/**
|
|
350
392
|
* The load balancer id.
|
|
@@ -411,11 +453,26 @@ export declare namespace autoscaling {
|
|
|
411
453
|
*/
|
|
412
454
|
status: string;
|
|
413
455
|
}
|
|
456
|
+
interface ScalingLifecycleHookLifecycleCommand {
|
|
457
|
+
/**
|
|
458
|
+
* Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
|
|
459
|
+
*/
|
|
460
|
+
commandId: string;
|
|
461
|
+
/**
|
|
462
|
+
* Parameters and parameter values in batch job commands.
|
|
463
|
+
* The number of parameters ranges from 0 to 60.
|
|
464
|
+
*/
|
|
465
|
+
parameters?: string;
|
|
466
|
+
}
|
|
414
467
|
interface ScalingLifecycleHooksLifecycleHook {
|
|
415
468
|
/**
|
|
416
469
|
* The id of the lifecycle hook.
|
|
417
470
|
*/
|
|
418
471
|
id: string;
|
|
472
|
+
/**
|
|
473
|
+
* Batch job command.
|
|
474
|
+
*/
|
|
475
|
+
lifecycleCommands: outputs.autoscaling.ScalingLifecycleHooksLifecycleHookLifecycleCommand[];
|
|
419
476
|
/**
|
|
420
477
|
* The id of the lifecycle hook.
|
|
421
478
|
*/
|
|
@@ -441,6 +498,17 @@ export declare namespace autoscaling {
|
|
|
441
498
|
*/
|
|
442
499
|
scalingGroupId: string;
|
|
443
500
|
}
|
|
501
|
+
interface ScalingLifecycleHooksLifecycleHookLifecycleCommand {
|
|
502
|
+
/**
|
|
503
|
+
* Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
|
|
504
|
+
*/
|
|
505
|
+
commandId: string;
|
|
506
|
+
/**
|
|
507
|
+
* Parameters and parameter values in batch job commands.
|
|
508
|
+
* The number of parameters ranges from 0 to 60.
|
|
509
|
+
*/
|
|
510
|
+
parameters: string;
|
|
511
|
+
}
|
|
444
512
|
interface ScalingPoliciesScalingPolicy {
|
|
445
513
|
/**
|
|
446
514
|
* The adjustment type of the scaling policy.
|
|
@@ -12068,11 +12136,11 @@ export declare namespace vke {
|
|
|
12068
12136
|
*/
|
|
12069
12137
|
mountPoint?: string;
|
|
12070
12138
|
/**
|
|
12071
|
-
* The Size of DataVolumes, the value range in 20~32768.
|
|
12139
|
+
* The Size of DataVolumes, the value range in 20~32768. Default value is `20`.
|
|
12072
12140
|
*/
|
|
12073
12141
|
size?: number;
|
|
12074
12142
|
/**
|
|
12075
|
-
* The Type of DataVolumes, the value can be `PTSSD` or `ESSD_PL0` or `ESSD_FlexPL`.
|
|
12143
|
+
* The Type of DataVolumes, the value can be `PTSSD` or `ESSD_PL0` or `ESSD_FlexPL`. Default value is `ESSD_PL0`.
|
|
12076
12144
|
*/
|
|
12077
12145
|
type?: string;
|
|
12078
12146
|
}
|
|
@@ -12114,11 +12182,11 @@ export declare namespace vke {
|
|
|
12114
12182
|
/**
|
|
12115
12183
|
* The Size of SystemVolume, the value range in 20~2048.
|
|
12116
12184
|
*/
|
|
12117
|
-
size
|
|
12185
|
+
size: number;
|
|
12118
12186
|
/**
|
|
12119
12187
|
* The Type of SystemVolume, the value can be `PTSSD` or `ESSD_PL0` or `ESSD_FlexPL`.
|
|
12120
12188
|
*/
|
|
12121
|
-
type
|
|
12189
|
+
type: string;
|
|
12122
12190
|
}
|
|
12123
12191
|
interface NodePoolTag {
|
|
12124
12192
|
/**
|
package/vke/nodePool.d.ts
CHANGED
|
@@ -72,12 +72,12 @@ import * as outputs from "../types/output";
|
|
|
72
72
|
* imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
|
|
73
73
|
* systemVolume: {
|
|
74
74
|
* type: "ESSD_PL0",
|
|
75
|
-
* size:
|
|
75
|
+
* size: 80,
|
|
76
76
|
* },
|
|
77
77
|
* dataVolumes: [
|
|
78
78
|
* {
|
|
79
79
|
* type: "ESSD_PL0",
|
|
80
|
-
* size:
|
|
80
|
+
* size: 80,
|
|
81
81
|
* mountPoint: "/tf1",
|
|
82
82
|
* },
|
|
83
83
|
* {
|
|
@@ -94,7 +94,7 @@ import * as outputs from "../types/output";
|
|
|
94
94
|
* securityStrategies: ["Hids"],
|
|
95
95
|
* securityGroupIds: [fooSecurityGroup.id],
|
|
96
96
|
* },
|
|
97
|
-
* additionalContainerStorageEnabled:
|
|
97
|
+
* additionalContainerStorageEnabled: false,
|
|
98
98
|
* instanceChargeType: "PostPaid",
|
|
99
99
|
* namePrefix: "acc-test",
|
|
100
100
|
* ecsTags: [{
|
package/vke/nodePool.js
CHANGED
|
@@ -76,12 +76,12 @@ const utilities = require("../utilities");
|
|
|
76
76
|
* imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
|
|
77
77
|
* systemVolume: {
|
|
78
78
|
* type: "ESSD_PL0",
|
|
79
|
-
* size:
|
|
79
|
+
* size: 80,
|
|
80
80
|
* },
|
|
81
81
|
* dataVolumes: [
|
|
82
82
|
* {
|
|
83
83
|
* type: "ESSD_PL0",
|
|
84
|
-
* size:
|
|
84
|
+
* size: 80,
|
|
85
85
|
* mountPoint: "/tf1",
|
|
86
86
|
* },
|
|
87
87
|
* {
|
|
@@ -98,7 +98,7 @@ const utilities = require("../utilities");
|
|
|
98
98
|
* securityStrategies: ["Hids"],
|
|
99
99
|
* securityGroupIds: [fooSecurityGroup.id],
|
|
100
100
|
* },
|
|
101
|
-
* additionalContainerStorageEnabled:
|
|
101
|
+
* additionalContainerStorageEnabled: false,
|
|
102
102
|
* instanceChargeType: "PostPaid",
|
|
103
103
|
* namePrefix: "acc-test",
|
|
104
104
|
* ecsTags: [{
|