@pulumi/nomad 2.6.1 → 2.6.2
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/aclAuthMethod.d.ts +12 -11
- package/aclAuthMethod.d.ts.map +1 -0
- package/aclAuthMethod.js +28 -5
- package/aclAuthMethod.js.map +1 -1
- package/aclBindingRule.d.ts +9 -8
- package/aclBindingRule.d.ts.map +1 -0
- package/aclBindingRule.js +27 -4
- package/aclBindingRule.js.map +1 -1
- package/aclPolicy.d.ts +8 -7
- package/aclPolicy.d.ts.map +1 -0
- package/aclPolicy.js +27 -4
- package/aclPolicy.js.map +1 -1
- package/aclRole.d.ts +9 -8
- package/aclRole.d.ts.map +1 -0
- package/aclRole.js +30 -7
- package/aclRole.js.map +1 -1
- package/aclToken.d.ts +16 -15
- package/aclToken.d.ts.map +1 -0
- package/aclToken.js +27 -4
- package/aclToken.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +24 -1
- package/config/vars.js.map +1 -1
- package/csiVolume.d.ts +38 -37
- package/csiVolume.d.ts.map +1 -0
- package/csiVolume.js +27 -4
- package/csiVolume.js.map +1 -1
- package/csiVolumeRegistration.d.ts +38 -37
- package/csiVolumeRegistration.d.ts.map +1 -0
- package/csiVolumeRegistration.js +27 -4
- package/csiVolumeRegistration.js.map +1 -1
- package/dynamicHostVolume.d.ts +26 -28
- package/dynamicHostVolume.d.ts.map +1 -0
- package/dynamicHostVolume.js +28 -5
- package/dynamicHostVolume.js.map +1 -1
- package/dynamicHostVolumeRegistration.d.ts +19 -18
- package/dynamicHostVolumeRegistration.d.ts.map +1 -0
- package/dynamicHostVolumeRegistration.js +27 -4
- package/dynamicHostVolumeRegistration.js.map +1 -1
- package/externalVolume.d.ts +35 -34
- package/externalVolume.d.ts.map +1 -0
- package/externalVolume.js +27 -4
- package/externalVolume.js.map +1 -1
- package/getAclPolicies.d.ts +2 -1
- package/getAclPolicies.d.ts.map +1 -0
- package/getAclPolicies.js +25 -2
- package/getAclPolicies.js.map +1 -1
- package/getAclPolicy.d.ts +1 -0
- package/getAclPolicy.d.ts.map +1 -0
- package/getAclPolicy.js +25 -2
- package/getAclPolicy.js.map +1 -1
- package/getAclRole.d.ts +1 -0
- package/getAclRole.d.ts.map +1 -0
- package/getAclRole.js +25 -2
- package/getAclRole.js.map +1 -1
- package/getAclRoles.d.ts +2 -1
- package/getAclRoles.d.ts.map +1 -0
- package/getAclRoles.js +25 -2
- package/getAclRoles.js.map +1 -1
- package/getAclToken.d.ts +1 -0
- package/getAclToken.d.ts.map +1 -0
- package/getAclToken.js +25 -2
- package/getAclToken.js.map +1 -1
- package/getAclTokens.d.ts +2 -1
- package/getAclTokens.d.ts.map +1 -0
- package/getAclTokens.js +25 -2
- package/getAclTokens.js.map +1 -1
- package/getAllocations.d.ts +4 -3
- package/getAllocations.d.ts.map +1 -0
- package/getAllocations.js +25 -2
- package/getAllocations.js.map +1 -1
- package/getDatacenters.d.ts +3 -2
- package/getDatacenters.d.ts.map +1 -0
- package/getDatacenters.js +25 -2
- package/getDatacenters.js.map +1 -1
- package/getDeployments.d.ts +1 -0
- package/getDeployments.d.ts.map +1 -0
- package/getDeployments.js +25 -2
- package/getDeployments.js.map +1 -1
- package/getDynamicHostVolume.d.ts +2 -1
- package/getDynamicHostVolume.d.ts.map +1 -0
- package/getDynamicHostVolume.js +25 -2
- package/getDynamicHostVolume.js.map +1 -1
- package/getJob.d.ts +2 -1
- package/getJob.d.ts.map +1 -0
- package/getJob.js +25 -2
- package/getJob.js.map +1 -1
- package/getJobParser.d.ts +3 -2
- package/getJobParser.d.ts.map +1 -0
- package/getJobParser.js +25 -2
- package/getJobParser.js.map +1 -1
- package/getJwks.d.ts +1 -0
- package/getJwks.d.ts.map +1 -0
- package/getJwks.js +25 -2
- package/getJwks.js.map +1 -1
- package/getNamespace.d.ts +1 -0
- package/getNamespace.d.ts.map +1 -0
- package/getNamespace.js +25 -2
- package/getNamespace.js.map +1 -1
- package/getNamespaces.d.ts +29 -24
- package/getNamespaces.d.ts.map +1 -0
- package/getNamespaces.js +53 -26
- package/getNamespaces.js.map +1 -1
- package/getNode.d.ts +1 -0
- package/getNode.d.ts.map +1 -0
- package/getNode.js +25 -2
- package/getNode.js.map +1 -1
- package/getNodePool.d.ts +1 -0
- package/getNodePool.d.ts.map +1 -0
- package/getNodePool.js +25 -2
- package/getNodePool.js.map +1 -1
- package/getNodePools.d.ts +3 -2
- package/getNodePools.d.ts.map +1 -0
- package/getNodePools.js +25 -2
- package/getNodePools.js.map +1 -1
- package/getNodes.d.ts +5 -4
- package/getNodes.d.ts.map +1 -0
- package/getNodes.js +25 -2
- package/getNodes.js.map +1 -1
- package/getPlugin.d.ts +3 -2
- package/getPlugin.d.ts.map +1 -0
- package/getPlugin.js +25 -2
- package/getPlugin.js.map +1 -1
- package/getPlugins.d.ts +2 -1
- package/getPlugins.d.ts.map +1 -0
- package/getPlugins.js +25 -2
- package/getPlugins.js.map +1 -1
- package/getRegions.d.ts +23 -18
- package/getRegions.d.ts.map +1 -0
- package/getRegions.js +47 -20
- package/getRegions.js.map +1 -1
- package/getScalingPolicies.d.ts +3 -2
- package/getScalingPolicies.d.ts.map +1 -0
- package/getScalingPolicies.js +25 -2
- package/getScalingPolicies.js.map +1 -1
- package/getScalingPolicy.d.ts +1 -0
- package/getScalingPolicy.d.ts.map +1 -0
- package/getScalingPolicy.js +25 -2
- package/getScalingPolicy.js.map +1 -1
- package/getSchedulerPolicy.d.ts +1 -0
- package/getSchedulerPolicy.d.ts.map +1 -0
- package/getSchedulerPolicy.js +25 -2
- package/getSchedulerPolicy.js.map +1 -1
- package/getVariable.d.ts +2 -1
- package/getVariable.d.ts.map +1 -0
- package/getVariable.js +25 -2
- package/getVariable.js.map +1 -1
- package/getVolumes.d.ts +5 -4
- package/getVolumes.d.ts.map +1 -0
- package/getVolumes.js +25 -2
- package/getVolumes.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/job.d.ts +45 -44
- package/job.d.ts.map +1 -0
- package/job.js +27 -4
- package/job.js.map +1 -1
- package/namespace.d.ts +17 -16
- package/namespace.d.ts.map +1 -0
- package/namespace.js +27 -4
- package/namespace.js.map +1 -1
- package/nodePool.d.ts +11 -10
- package/nodePool.d.ts.map +1 -0
- package/nodePool.js +27 -4
- package/nodePool.js.map +1 -1
- package/package.json +3 -3
- package/provider.d.ts +15 -14
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/quoteSpecification.d.ts +9 -8
- package/quoteSpecification.d.ts.map +1 -0
- package/quoteSpecification.js +27 -4
- package/quoteSpecification.js.map +1 -1
- package/schedulerConfig.d.ts +7 -6
- package/schedulerConfig.d.ts.map +1 -0
- package/schedulerConfig.js +27 -4
- package/schedulerConfig.js.map +1 -1
- package/sentinelPolicy.d.ts +9 -8
- package/sentinelPolicy.d.ts.map +1 -0
- package/sentinelPolicy.js +28 -5
- package/sentinelPolicy.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +141 -140
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +8 -7
- package/types/output.d.ts.map +1 -0
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
- package/variable.d.ts +10 -9
- package/variable.d.ts.map +1 -0
- package/variable.js +27 -4
- package/variable.js.map +1 -1
- package/volume.d.ts +37 -36
- package/volume.d.ts.map +1 -0
- package/volume.js +27 -4
- package/volume.js.map +1 -1
package/job.d.ts
CHANGED
|
@@ -198,150 +198,150 @@ export interface JobState {
|
|
|
198
198
|
/**
|
|
199
199
|
* `(boolean)` - Whether the scheduler can make partial placements on oversubscribed nodes.
|
|
200
200
|
*/
|
|
201
|
-
allAtOnce?: pulumi.Input<boolean>;
|
|
201
|
+
allAtOnce?: pulumi.Input<boolean | undefined>;
|
|
202
202
|
/**
|
|
203
203
|
* `(list of strings)` - Allocation IDs associated with the job when `readAllocationIds = true`.
|
|
204
204
|
*
|
|
205
205
|
* @deprecated Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad.getAllocations data source instead.
|
|
206
206
|
*/
|
|
207
|
-
allocationIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
207
|
+
allocationIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
208
208
|
/**
|
|
209
209
|
* `(list of maps)` - Job constraints.
|
|
210
210
|
*/
|
|
211
|
-
constraints?: pulumi.Input<pulumi.Input<inputs.JobConstraint>[]>;
|
|
211
|
+
constraints?: pulumi.Input<pulumi.Input<inputs.JobConstraint>[] | undefined>;
|
|
212
212
|
/**
|
|
213
213
|
* `(integer)` - The job creation index.
|
|
214
214
|
*/
|
|
215
|
-
createIndex?: pulumi.Input<number>;
|
|
215
|
+
createIndex?: pulumi.Input<number | undefined>;
|
|
216
216
|
/**
|
|
217
217
|
* `(set of strings)` - The target datacenters for the job.
|
|
218
218
|
*/
|
|
219
|
-
datacenters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
219
|
+
datacenters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
220
220
|
/**
|
|
221
221
|
* `(string)` - If `detach = false`, the deployment associated with the last create or update, if one exists.
|
|
222
222
|
*/
|
|
223
|
-
deploymentId?: pulumi.Input<string>;
|
|
223
|
+
deploymentId?: pulumi.Input<string | undefined>;
|
|
224
224
|
/**
|
|
225
225
|
* `(string)` - If `detach = false`, the status for the deployment associated with the last create or update, if one exists.
|
|
226
226
|
*/
|
|
227
|
-
deploymentStatus?: pulumi.Input<string>;
|
|
227
|
+
deploymentStatus?: pulumi.Input<string | undefined>;
|
|
228
228
|
/**
|
|
229
229
|
* `(boolean: true)` - Determines if the job will be
|
|
230
230
|
* deregistered when this resource is destroyed in Terraform.
|
|
231
231
|
*/
|
|
232
|
-
deregisterOnDestroy?: pulumi.Input<boolean>;
|
|
232
|
+
deregisterOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
233
233
|
/**
|
|
234
234
|
* `(boolean: true)` - Determines if the job will be
|
|
235
235
|
* deregistered if the ID of the job in the jobspec changes.
|
|
236
236
|
*/
|
|
237
|
-
deregisterOnIdChange?: pulumi.Input<boolean>;
|
|
237
|
+
deregisterOnIdChange?: pulumi.Input<boolean | undefined>;
|
|
238
238
|
/**
|
|
239
239
|
* `(boolean: true)` - If true, the provider will return immediately
|
|
240
240
|
* after creating or updating, instead of monitoring.
|
|
241
241
|
*/
|
|
242
|
-
detach?: pulumi.Input<boolean>;
|
|
242
|
+
detach?: pulumi.Input<boolean | undefined>;
|
|
243
243
|
/**
|
|
244
244
|
* `(block: optional)` - Options for the HCL2 jobspec parser.
|
|
245
245
|
*/
|
|
246
|
-
hcl2?: pulumi.Input<inputs.JobHcl2>;
|
|
246
|
+
hcl2?: pulumi.Input<inputs.JobHcl2 | undefined>;
|
|
247
247
|
/**
|
|
248
248
|
* `(string: <required>)` - The contents of the jobspec to register.
|
|
249
249
|
*/
|
|
250
|
-
jobspec?: pulumi.Input<string>;
|
|
250
|
+
jobspec?: pulumi.Input<string | undefined>;
|
|
251
251
|
/**
|
|
252
252
|
* `(boolean: false)` - Set this to `true` if your jobspec is structured with
|
|
253
253
|
* JSON instead of the default HCL.
|
|
254
254
|
*/
|
|
255
|
-
json?: pulumi.Input<boolean>;
|
|
255
|
+
json?: pulumi.Input<boolean | undefined>;
|
|
256
256
|
/**
|
|
257
257
|
* `(string)` - Integer that increments for each change. Used to detect any changes between plan and apply.
|
|
258
258
|
*/
|
|
259
|
-
modifyIndex?: pulumi.Input<string>;
|
|
259
|
+
modifyIndex?: pulumi.Input<string | undefined>;
|
|
260
260
|
/**
|
|
261
261
|
* `(string)` - Volume name.
|
|
262
262
|
*/
|
|
263
|
-
name?: pulumi.Input<string>;
|
|
263
|
+
name?: pulumi.Input<string | undefined>;
|
|
264
264
|
/**
|
|
265
265
|
* `(string)` - The namespace of the job, as derived from the jobspec.
|
|
266
266
|
*/
|
|
267
|
-
namespace?: pulumi.Input<string>;
|
|
267
|
+
namespace?: pulumi.Input<string | undefined>;
|
|
268
268
|
/**
|
|
269
269
|
* `(string)` - The parent job ID, if applicable.
|
|
270
270
|
*/
|
|
271
|
-
parentId?: pulumi.Input<string>;
|
|
271
|
+
parentId?: pulumi.Input<string | undefined>;
|
|
272
272
|
/**
|
|
273
273
|
* `(list of maps)` - The job's periodic configuration.
|
|
274
274
|
*/
|
|
275
|
-
periodicConfigs?: pulumi.Input<pulumi.Input<inputs.JobPeriodicConfig>[]>;
|
|
275
|
+
periodicConfigs?: pulumi.Input<pulumi.Input<inputs.JobPeriodicConfig>[] | undefined>;
|
|
276
276
|
/**
|
|
277
277
|
* `(boolean: false)` - Determines if the job will override any
|
|
278
278
|
* soft-mandatory Sentinel policies and register even if they fail.
|
|
279
279
|
*/
|
|
280
|
-
policyOverride?: pulumi.Input<boolean>;
|
|
280
|
+
policyOverride?: pulumi.Input<boolean | undefined>;
|
|
281
281
|
/**
|
|
282
282
|
* `(boolean: false)` - If true, preserves the current task
|
|
283
283
|
* group counts already stored in Nomad during job registration instead of
|
|
284
284
|
* applying the counts from the submitted jobspec.
|
|
285
285
|
*/
|
|
286
|
-
preserveCounts?: pulumi.Input<boolean>;
|
|
286
|
+
preserveCounts?: pulumi.Input<boolean | undefined>;
|
|
287
287
|
/**
|
|
288
288
|
* `(integer)` - The job priority for scheduling and resource access.
|
|
289
289
|
*/
|
|
290
|
-
priority?: pulumi.Input<number>;
|
|
290
|
+
priority?: pulumi.Input<number | undefined>;
|
|
291
291
|
/**
|
|
292
292
|
* `(boolean: false)` - Set this to true if you want the job to
|
|
293
293
|
* be purged when the resource is destroyed.
|
|
294
294
|
*/
|
|
295
|
-
purgeOnDestroy?: pulumi.Input<boolean>;
|
|
295
|
+
purgeOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
296
296
|
/**
|
|
297
297
|
* @deprecated Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad.getAllocations data source instead.
|
|
298
298
|
*/
|
|
299
|
-
readAllocationIds?: pulumi.Input<boolean>;
|
|
299
|
+
readAllocationIds?: pulumi.Input<boolean | undefined>;
|
|
300
300
|
/**
|
|
301
301
|
* `(string)` - The target region for the job.
|
|
302
302
|
*/
|
|
303
|
-
region?: pulumi.Input<string>;
|
|
303
|
+
region?: pulumi.Input<string | undefined>;
|
|
304
304
|
/**
|
|
305
305
|
* `(boolean: false)` - Set this to true to force the job to run
|
|
306
306
|
* again if its status is `dead`.
|
|
307
307
|
*/
|
|
308
|
-
rerunIfDead?: pulumi.Input<boolean>;
|
|
308
|
+
rerunIfDead?: pulumi.Input<boolean | undefined>;
|
|
309
309
|
/**
|
|
310
310
|
* `(boolean)` - Whether the job is stable.
|
|
311
311
|
*/
|
|
312
|
-
stable?: pulumi.Input<boolean>;
|
|
312
|
+
stable?: pulumi.Input<boolean | undefined>;
|
|
313
313
|
/**
|
|
314
314
|
* `(string)` - The current status of the job.
|
|
315
315
|
*/
|
|
316
|
-
status?: pulumi.Input<string>;
|
|
316
|
+
status?: pulumi.Input<string | undefined>;
|
|
317
317
|
/**
|
|
318
318
|
* `(string)` - Additional status information returned by Nomad.
|
|
319
319
|
*/
|
|
320
|
-
statusDescription?: pulumi.Input<string>;
|
|
320
|
+
statusDescription?: pulumi.Input<string | undefined>;
|
|
321
321
|
/**
|
|
322
322
|
* `(boolean)` - Whether the job is stopped.
|
|
323
323
|
*/
|
|
324
|
-
stop?: pulumi.Input<boolean>;
|
|
324
|
+
stop?: pulumi.Input<boolean | undefined>;
|
|
325
325
|
/**
|
|
326
326
|
* `(integer)` - The Unix timestamp when the job was submitted.
|
|
327
327
|
*/
|
|
328
|
-
submitTime?: pulumi.Input<string>;
|
|
328
|
+
submitTime?: pulumi.Input<string | undefined>;
|
|
329
329
|
/**
|
|
330
330
|
* `(list of maps)` - A list of the job's task groups.
|
|
331
331
|
*/
|
|
332
|
-
taskGroups?: pulumi.Input<pulumi.Input<inputs.JobTaskGroup>[]>;
|
|
332
|
+
taskGroups?: pulumi.Input<pulumi.Input<inputs.JobTaskGroup>[] | undefined>;
|
|
333
333
|
/**
|
|
334
334
|
* `(string)` - Volume type.
|
|
335
335
|
*/
|
|
336
|
-
type?: pulumi.Input<string>;
|
|
336
|
+
type?: pulumi.Input<string | undefined>;
|
|
337
337
|
/**
|
|
338
338
|
* `(list of maps)` - Effective update strategy for the task group.
|
|
339
339
|
*/
|
|
340
|
-
updateStrategies?: pulumi.Input<pulumi.Input<inputs.JobUpdateStrategy>[]>;
|
|
340
|
+
updateStrategies?: pulumi.Input<pulumi.Input<inputs.JobUpdateStrategy>[] | undefined>;
|
|
341
341
|
/**
|
|
342
342
|
* `(integer)` - The current job version.
|
|
343
343
|
*/
|
|
344
|
-
version?: pulumi.Input<number>;
|
|
344
|
+
version?: pulumi.Input<number | undefined>;
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
347
|
* The set of arguments for constructing a Job resource.
|
|
@@ -351,21 +351,21 @@ export interface JobArgs {
|
|
|
351
351
|
* `(boolean: true)` - Determines if the job will be
|
|
352
352
|
* deregistered when this resource is destroyed in Terraform.
|
|
353
353
|
*/
|
|
354
|
-
deregisterOnDestroy?: pulumi.Input<boolean>;
|
|
354
|
+
deregisterOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
355
355
|
/**
|
|
356
356
|
* `(boolean: true)` - Determines if the job will be
|
|
357
357
|
* deregistered if the ID of the job in the jobspec changes.
|
|
358
358
|
*/
|
|
359
|
-
deregisterOnIdChange?: pulumi.Input<boolean>;
|
|
359
|
+
deregisterOnIdChange?: pulumi.Input<boolean | undefined>;
|
|
360
360
|
/**
|
|
361
361
|
* `(boolean: true)` - If true, the provider will return immediately
|
|
362
362
|
* after creating or updating, instead of monitoring.
|
|
363
363
|
*/
|
|
364
|
-
detach?: pulumi.Input<boolean>;
|
|
364
|
+
detach?: pulumi.Input<boolean | undefined>;
|
|
365
365
|
/**
|
|
366
366
|
* `(block: optional)` - Options for the HCL2 jobspec parser.
|
|
367
367
|
*/
|
|
368
|
-
hcl2?: pulumi.Input<inputs.JobHcl2>;
|
|
368
|
+
hcl2?: pulumi.Input<inputs.JobHcl2 | undefined>;
|
|
369
369
|
/**
|
|
370
370
|
* `(string: <required>)` - The contents of the jobspec to register.
|
|
371
371
|
*/
|
|
@@ -374,30 +374,31 @@ export interface JobArgs {
|
|
|
374
374
|
* `(boolean: false)` - Set this to `true` if your jobspec is structured with
|
|
375
375
|
* JSON instead of the default HCL.
|
|
376
376
|
*/
|
|
377
|
-
json?: pulumi.Input<boolean>;
|
|
377
|
+
json?: pulumi.Input<boolean | undefined>;
|
|
378
378
|
/**
|
|
379
379
|
* `(boolean: false)` - Determines if the job will override any
|
|
380
380
|
* soft-mandatory Sentinel policies and register even if they fail.
|
|
381
381
|
*/
|
|
382
|
-
policyOverride?: pulumi.Input<boolean>;
|
|
382
|
+
policyOverride?: pulumi.Input<boolean | undefined>;
|
|
383
383
|
/**
|
|
384
384
|
* `(boolean: false)` - If true, preserves the current task
|
|
385
385
|
* group counts already stored in Nomad during job registration instead of
|
|
386
386
|
* applying the counts from the submitted jobspec.
|
|
387
387
|
*/
|
|
388
|
-
preserveCounts?: pulumi.Input<boolean>;
|
|
388
|
+
preserveCounts?: pulumi.Input<boolean | undefined>;
|
|
389
389
|
/**
|
|
390
390
|
* `(boolean: false)` - Set this to true if you want the job to
|
|
391
391
|
* be purged when the resource is destroyed.
|
|
392
392
|
*/
|
|
393
|
-
purgeOnDestroy?: pulumi.Input<boolean>;
|
|
393
|
+
purgeOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
394
394
|
/**
|
|
395
395
|
* @deprecated Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad.getAllocations data source instead.
|
|
396
396
|
*/
|
|
397
|
-
readAllocationIds?: pulumi.Input<boolean>;
|
|
397
|
+
readAllocationIds?: pulumi.Input<boolean | undefined>;
|
|
398
398
|
/**
|
|
399
399
|
* `(boolean: false)` - Set this to true to force the job to run
|
|
400
400
|
* again if its status is `dead`.
|
|
401
401
|
*/
|
|
402
|
-
rerunIfDead?: pulumi.Input<boolean>;
|
|
402
|
+
rerunIfDead?: pulumi.Input<boolean | undefined>;
|
|
403
403
|
}
|
|
404
|
+
//# sourceMappingURL=job.d.ts.map
|
package/job.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job.d.ts","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,GAAG;IAOxH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG;IAO9C;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClE;;;;OAIG;IACH,SAAgC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACvE;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;IACpF;;OAEG;IACH,SAAgC,WAAW,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
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Job = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Manages a job registered in Nomad.
|
|
10
33
|
*
|
|
@@ -36,6 +59,8 @@ class Job extends pulumi.CustomResource {
|
|
|
36
59
|
static get(name, id, state, opts) {
|
|
37
60
|
return new Job(name, state, { ...opts, id: id });
|
|
38
61
|
}
|
|
62
|
+
/** @internal */
|
|
63
|
+
static __pulumiType = 'nomad:index/job:Job';
|
|
39
64
|
/**
|
|
40
65
|
* Returns true if the given object is an instance of Job. This is designed to work even
|
|
41
66
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -131,6 +156,4 @@ class Job extends pulumi.CustomResource {
|
|
|
131
156
|
}
|
|
132
157
|
}
|
|
133
158
|
exports.Job = Job;
|
|
134
|
-
/** @internal */
|
|
135
|
-
Job.__pulumiType = 'nomad:index/job:Job';
|
|
136
159
|
//# sourceMappingURL=job.js.map
|
package/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,qBAAqB,CAAC;IAE5D;;;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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IA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S,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAzQL,kBA0QC"}
|
package/namespace.d.ts
CHANGED
|
@@ -120,37 +120,37 @@ export interface NamespaceState {
|
|
|
120
120
|
* `(block: <optional>)` - A block of capabilities for the namespace. Can't
|
|
121
121
|
* be repeated. See below for the structure of this block.
|
|
122
122
|
*/
|
|
123
|
-
capabilities?: pulumi.Input<inputs.NamespaceCapabilities>;
|
|
123
|
+
capabilities?: pulumi.Input<inputs.NamespaceCapabilities | undefined>;
|
|
124
124
|
/**
|
|
125
125
|
* `(block: <optional>)` - A block with Consul configuration for the namespace (Nomad Enterprise only).
|
|
126
126
|
*/
|
|
127
|
-
consulConfig?: pulumi.Input<inputs.NamespaceConsulConfig>;
|
|
127
|
+
consulConfig?: pulumi.Input<inputs.NamespaceConsulConfig | undefined>;
|
|
128
128
|
/**
|
|
129
129
|
* `(string: "")` - A description of the namespace.
|
|
130
130
|
*/
|
|
131
|
-
description?: pulumi.Input<string>;
|
|
131
|
+
description?: pulumi.Input<string | undefined>;
|
|
132
132
|
/**
|
|
133
133
|
* `(map[string]string: <optional>)` - Specifies arbitrary KV metadata to associate with the namespace.
|
|
134
134
|
*/
|
|
135
135
|
meta?: pulumi.Input<{
|
|
136
136
|
[key: string]: pulumi.Input<string>;
|
|
137
|
-
}>;
|
|
137
|
+
} | undefined>;
|
|
138
138
|
/**
|
|
139
139
|
* `(string: <required>)` - A unique name for the namespace.
|
|
140
140
|
*/
|
|
141
|
-
name?: pulumi.Input<string>;
|
|
141
|
+
name?: pulumi.Input<string | undefined>;
|
|
142
142
|
/**
|
|
143
143
|
* `(block: <optional>)` - A block with node pool configuration for the namespace (Nomad Enterprise only).
|
|
144
144
|
*/
|
|
145
|
-
nodePoolConfig?: pulumi.Input<inputs.NamespaceNodePoolConfig>;
|
|
145
|
+
nodePoolConfig?: pulumi.Input<inputs.NamespaceNodePoolConfig | undefined>;
|
|
146
146
|
/**
|
|
147
147
|
* `(string: "")` - A resource quota to attach to the namespace.
|
|
148
148
|
*/
|
|
149
|
-
quota?: pulumi.Input<string>;
|
|
149
|
+
quota?: pulumi.Input<string | undefined>;
|
|
150
150
|
/**
|
|
151
151
|
* `(block: <optional>)` - A block with Vault configuration for the namespace (Nomad Enterprise only).
|
|
152
152
|
*/
|
|
153
|
-
vaultConfig?: pulumi.Input<inputs.NamespaceVaultConfig>;
|
|
153
|
+
vaultConfig?: pulumi.Input<inputs.NamespaceVaultConfig | undefined>;
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
156
|
* The set of arguments for constructing a Namespace resource.
|
|
@@ -160,35 +160,36 @@ export interface NamespaceArgs {
|
|
|
160
160
|
* `(block: <optional>)` - A block of capabilities for the namespace. Can't
|
|
161
161
|
* be repeated. See below for the structure of this block.
|
|
162
162
|
*/
|
|
163
|
-
capabilities?: pulumi.Input<inputs.NamespaceCapabilities>;
|
|
163
|
+
capabilities?: pulumi.Input<inputs.NamespaceCapabilities | undefined>;
|
|
164
164
|
/**
|
|
165
165
|
* `(block: <optional>)` - A block with Consul configuration for the namespace (Nomad Enterprise only).
|
|
166
166
|
*/
|
|
167
|
-
consulConfig?: pulumi.Input<inputs.NamespaceConsulConfig>;
|
|
167
|
+
consulConfig?: pulumi.Input<inputs.NamespaceConsulConfig | undefined>;
|
|
168
168
|
/**
|
|
169
169
|
* `(string: "")` - A description of the namespace.
|
|
170
170
|
*/
|
|
171
|
-
description?: pulumi.Input<string>;
|
|
171
|
+
description?: pulumi.Input<string | undefined>;
|
|
172
172
|
/**
|
|
173
173
|
* `(map[string]string: <optional>)` - Specifies arbitrary KV metadata to associate with the namespace.
|
|
174
174
|
*/
|
|
175
175
|
meta?: pulumi.Input<{
|
|
176
176
|
[key: string]: pulumi.Input<string>;
|
|
177
|
-
}>;
|
|
177
|
+
} | undefined>;
|
|
178
178
|
/**
|
|
179
179
|
* `(string: <required>)` - A unique name for the namespace.
|
|
180
180
|
*/
|
|
181
|
-
name?: pulumi.Input<string>;
|
|
181
|
+
name?: pulumi.Input<string | undefined>;
|
|
182
182
|
/**
|
|
183
183
|
* `(block: <optional>)` - A block with node pool configuration for the namespace (Nomad Enterprise only).
|
|
184
184
|
*/
|
|
185
|
-
nodePoolConfig?: pulumi.Input<inputs.NamespaceNodePoolConfig>;
|
|
185
|
+
nodePoolConfig?: pulumi.Input<inputs.NamespaceNodePoolConfig | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* `(string: "")` - A resource quota to attach to the namespace.
|
|
188
188
|
*/
|
|
189
|
-
quota?: pulumi.Input<string>;
|
|
189
|
+
quota?: pulumi.Input<string | undefined>;
|
|
190
190
|
/**
|
|
191
191
|
* `(block: <optional>)` - A block with Vault configuration for the namespace (Nomad Enterprise only).
|
|
192
192
|
*/
|
|
193
|
-
vaultConfig?: pulumi.Input<inputs.NamespaceVaultConfig>;
|
|
193
|
+
vaultConfig?: pulumi.Input<inputs.NamespaceVaultConfig | undefined>;
|
|
194
194
|
}
|
|
195
|
+
//# sourceMappingURL=namespace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../namespace.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,SAAS;IAOpI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;;OAGG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAC/F;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,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AAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;CACvE"}
|
package/namespace.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Namespace = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Provisions a namespace within a Nomad cluster.
|
|
10
33
|
*
|
|
@@ -69,6 +92,8 @@ class Namespace extends pulumi.CustomResource {
|
|
|
69
92
|
static get(name, id, state, opts) {
|
|
70
93
|
return new Namespace(name, state, { ...opts, id: id });
|
|
71
94
|
}
|
|
95
|
+
/** @internal */
|
|
96
|
+
static __pulumiType = 'nomad:index/namespace:Namespace';
|
|
72
97
|
/**
|
|
73
98
|
* Returns true if the given object is an instance of Namespace. This is designed to work even
|
|
74
99
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -109,6 +134,4 @@ class Namespace extends pulumi.CustomResource {
|
|
|
109
134
|
}
|
|
110
135
|
}
|
|
111
136
|
exports.Namespace = Namespace;
|
|
112
|
-
/** @internal */
|
|
113
|
-
Namespace.__pulumiType = 'nomad:index/namespace:Namespace';
|
|
114
137
|
//# sourceMappingURL=namespace.js.map
|
package/namespace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.js","sourceRoot":"","sources":["../namespace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"namespace.js","sourceRoot":"","sources":["../namespace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC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AG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAhGL,8BAiGC"}
|
package/nodePool.d.ts
CHANGED
|
@@ -78,27 +78,27 @@ export interface NodePoolState {
|
|
|
78
78
|
/**
|
|
79
79
|
* `(string)` - The description of the node pool.
|
|
80
80
|
*/
|
|
81
|
-
description?: pulumi.Input<string>;
|
|
81
|
+
description?: pulumi.Input<string | undefined>;
|
|
82
82
|
/**
|
|
83
83
|
* `(map[string]string)` - Arbitrary KV metadata associated with the
|
|
84
84
|
* node pool.
|
|
85
85
|
*/
|
|
86
86
|
meta?: pulumi.Input<{
|
|
87
87
|
[key: string]: pulumi.Input<string>;
|
|
88
|
-
}>;
|
|
88
|
+
} | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* `(string)` - The name of the node pool.
|
|
91
91
|
*/
|
|
92
|
-
name?: pulumi.Input<string>;
|
|
92
|
+
name?: pulumi.Input<string | undefined>;
|
|
93
93
|
/**
|
|
94
94
|
* `(string)` - The TTL applied to node identities issued to
|
|
95
95
|
* nodes in this pool.
|
|
96
96
|
*/
|
|
97
|
-
nodeIdentityTtl?: pulumi.Input<string>;
|
|
97
|
+
nodeIdentityTtl?: pulumi.Input<string | undefined>;
|
|
98
98
|
/**
|
|
99
99
|
* `(block)` - Scheduler configuration for the node pool.
|
|
100
100
|
*/
|
|
101
|
-
schedulerConfig?: pulumi.Input<inputs.NodePoolSchedulerConfig>;
|
|
101
|
+
schedulerConfig?: pulumi.Input<inputs.NodePoolSchedulerConfig | undefined>;
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* The set of arguments for constructing a NodePool resource.
|
|
@@ -107,25 +107,26 @@ export interface NodePoolArgs {
|
|
|
107
107
|
/**
|
|
108
108
|
* `(string)` - The description of the node pool.
|
|
109
109
|
*/
|
|
110
|
-
description?: pulumi.Input<string>;
|
|
110
|
+
description?: pulumi.Input<string | undefined>;
|
|
111
111
|
/**
|
|
112
112
|
* `(map[string]string)` - Arbitrary KV metadata associated with the
|
|
113
113
|
* node pool.
|
|
114
114
|
*/
|
|
115
115
|
meta?: pulumi.Input<{
|
|
116
116
|
[key: string]: pulumi.Input<string>;
|
|
117
|
-
}>;
|
|
117
|
+
} | undefined>;
|
|
118
118
|
/**
|
|
119
119
|
* `(string)` - The name of the node pool.
|
|
120
120
|
*/
|
|
121
|
-
name?: pulumi.Input<string>;
|
|
121
|
+
name?: pulumi.Input<string | undefined>;
|
|
122
122
|
/**
|
|
123
123
|
* `(string)` - The TTL applied to node identities issued to
|
|
124
124
|
* nodes in this pool.
|
|
125
125
|
*/
|
|
126
|
-
nodeIdentityTtl?: pulumi.Input<string>;
|
|
126
|
+
nodeIdentityTtl?: pulumi.Input<string | undefined>;
|
|
127
127
|
/**
|
|
128
128
|
* `(block)` - Scheduler configuration for the node pool.
|
|
129
129
|
*/
|
|
130
|
-
schedulerConfig?: pulumi.Input<inputs.NodePoolSchedulerConfig>;
|
|
130
|
+
schedulerConfig?: pulumi.Input<inputs.NodePoolSchedulerConfig | undefined>;
|
|
131
131
|
}
|
|
132
|
+
//# sourceMappingURL=nodePool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodePool.d.ts","sourceRoot":"","sources":["../nodePool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,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;IAC/C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;CAC9E;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;CAC9E"}
|
package/nodePool.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.NodePool = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Provisions a node pool within a Nomad cluster.
|
|
10
33
|
*
|
|
@@ -39,6 +62,8 @@ class NodePool extends pulumi.CustomResource {
|
|
|
39
62
|
static get(name, id, state, opts) {
|
|
40
63
|
return new NodePool(name, state, { ...opts, id: id });
|
|
41
64
|
}
|
|
65
|
+
/** @internal */
|
|
66
|
+
static __pulumiType = 'nomad:index/nodePool:NodePool';
|
|
42
67
|
/**
|
|
43
68
|
* Returns true if the given object is an instance of NodePool. This is designed to work even
|
|
44
69
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -73,6 +98,4 @@ class NodePool extends pulumi.CustomResource {
|
|
|
73
98
|
}
|
|
74
99
|
}
|
|
75
100
|
exports.NodePool = NodePool;
|
|
76
|
-
/** @internal */
|
|
77
|
-
NodePool.__pulumiType = 'nomad:index/nodePool:NodePool';
|
|
78
101
|
//# sourceMappingURL=nodePool.js.map
|
package/nodePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodePool.js","sourceRoot":"","sources":["../nodePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"nodePool.js","sourceRoot":"","sources":["../nodePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+BAA+B,CAAC;IAEtE;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC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