@pulumi/nomad 2.5.0-alpha.1744783739 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/aclPolicy.d.ts CHANGED
@@ -25,7 +25,8 @@ export declare class AclPolicy extends pulumi.CustomResource {
25
25
  */
26
26
  readonly description: pulumi.Output<string | undefined>;
27
27
  /**
28
- * `(``JobACL``: <optional>)` - Options for assigning the ACL rules to a job, group, or task.
28
+ * `(``JobACL``: <optional>)` - Options for assigning the
29
+ * ACL rules to a job, group, or task.
29
30
  */
30
31
  readonly jobAcl: pulumi.Output<outputs.AclPolicyJobAcl | undefined>;
31
32
  /**
@@ -55,7 +56,8 @@ export interface AclPolicyState {
55
56
  */
56
57
  description?: pulumi.Input<string>;
57
58
  /**
58
- * `(``JobACL``: <optional>)` - Options for assigning the ACL rules to a job, group, or task.
59
+ * `(``JobACL``: <optional>)` - Options for assigning the
60
+ * ACL rules to a job, group, or task.
59
61
  */
60
62
  jobAcl?: pulumi.Input<inputs.AclPolicyJobAcl>;
61
63
  /**
@@ -77,7 +79,8 @@ export interface AclPolicyArgs {
77
79
  */
78
80
  description?: pulumi.Input<string>;
79
81
  /**
80
- * `(``JobACL``: <optional>)` - Options for assigning the ACL rules to a job, group, or task.
82
+ * `(``JobACL``: <optional>)` - Options for assigning the
83
+ * ACL rules to a job, group, or task.
81
84
  */
82
85
  jobAcl?: pulumi.Input<inputs.AclPolicyJobAcl>;
83
86
  /**
package/aclPolicy.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"aclPolicy.js","sourceRoot":"","sources":["../aclPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,E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AC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;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;;AA5EL,8BA6EC;AA/DG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
package/config/vars.d.ts CHANGED
@@ -19,10 +19,6 @@ export declare const certFile: string | undefined;
19
19
  * PEM-encoded certificate provided to the remote agent; requires use of keyFile or key_pem.
20
20
  */
21
21
  export declare const certPem: string | undefined;
22
- /**
23
- * Consul token to validate Consul Connect Service Identity policies specified in the job file.
24
- */
25
- export declare const consulToken: string | undefined;
26
22
  /**
27
23
  * The headers to send with each Nomad request.
28
24
  */
@@ -57,7 +53,3 @@ export declare const secretId: string | undefined;
57
53
  * Skip TLS verification on client side.
58
54
  */
59
55
  export declare const skipVerify: boolean | undefined;
60
- /**
61
- * Vault token if policies are specified in the job file.
62
- */
63
- export declare const vaultToken: string | undefined;
package/config/vars.js CHANGED
@@ -34,12 +34,6 @@ Object.defineProperty(exports, "certPem", {
34
34
  },
35
35
  enumerable: true,
36
36
  });
37
- Object.defineProperty(exports, "consulToken", {
38
- get() {
39
- return __config.get("consulToken");
40
- },
41
- enumerable: true,
42
- });
43
37
  Object.defineProperty(exports, "headers", {
44
38
  get() {
45
39
  return __config.getObject("headers");
@@ -88,10 +82,4 @@ Object.defineProperty(exports, "skipVerify", {
88
82
  },
89
83
  enumerable: true,
90
84
  });
91
- Object.defineProperty(exports, "vaultToken", {
92
- get() {
93
- return __config.get("vaultToken");
94
- },
95
- enumerable: true,
96
- });
97
85
  //# sourceMappingURL=vars.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":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vC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,YAAY,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/csiVolume.d.ts CHANGED
@@ -36,6 +36,12 @@ export declare class CsiVolume extends pulumi.CustomResource {
36
36
  * `(string: <optional>)` - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with `snapshotId`.
37
37
  */
38
38
  readonly cloneId: pulumi.Output<string | undefined>;
39
+ /**
40
+ * The volume context provided by the storage provider
41
+ */
42
+ readonly context: pulumi.Output<{
43
+ [key: string]: string;
44
+ }>;
39
45
  readonly controllerRequired: pulumi.Output<boolean>;
40
46
  readonly controllersExpected: pulumi.Output<number>;
41
47
  readonly controllersHealthy: pulumi.Output<number>;
@@ -121,6 +127,12 @@ export interface CsiVolumeState {
121
127
  * `(string: <optional>)` - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with `snapshotId`.
122
128
  */
123
129
  cloneId?: pulumi.Input<string>;
130
+ /**
131
+ * The volume context provided by the storage provider
132
+ */
133
+ context?: pulumi.Input<{
134
+ [key: string]: pulumi.Input<string>;
135
+ }>;
124
136
  controllerRequired?: pulumi.Input<boolean>;
125
137
  controllersExpected?: pulumi.Input<number>;
126
138
  controllersHealthy?: pulumi.Input<number>;
package/csiVolume.js CHANGED
@@ -40,6 +40,7 @@ class CsiVolume extends pulumi.CustomResource {
40
40
  resourceInputs["capacityMin"] = state ? state.capacityMin : undefined;
41
41
  resourceInputs["capacityMinBytes"] = state ? state.capacityMinBytes : undefined;
42
42
  resourceInputs["cloneId"] = state ? state.cloneId : undefined;
43
+ resourceInputs["context"] = state ? state.context : undefined;
43
44
  resourceInputs["controllerRequired"] = state ? state.controllerRequired : undefined;
44
45
  resourceInputs["controllersExpected"] = state ? state.controllersExpected : undefined;
45
46
  resourceInputs["controllersHealthy"] = state ? state.controllersHealthy : undefined;
@@ -87,6 +88,7 @@ class CsiVolume extends pulumi.CustomResource {
87
88
  resourceInputs["capacity"] = undefined /*out*/;
88
89
  resourceInputs["capacityMaxBytes"] = undefined /*out*/;
89
90
  resourceInputs["capacityMinBytes"] = undefined /*out*/;
91
+ resourceInputs["context"] = undefined /*out*/;
90
92
  resourceInputs["controllerRequired"] = undefined /*out*/;
91
93
  resourceInputs["controllersExpected"] = undefined /*out*/;
92
94
  resourceInputs["controllersHealthy"] = undefined /*out*/;
package/csiVolume.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"csiVolume.js","sourceRoot":"","sources":["../csiVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA+ED,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAA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C,OAAO,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAxLL,8BAyLC;AA3KG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,325 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * layout: "nomad"
6
+ * page_title: "Nomad: nomad.DynamicHostVolume"
7
+ * sidebar_current: "docs-nomad-resource-dynamic-host-volume"
8
+ * description: |-
9
+ * Manages the lifecycle of creating and deleting dynamic host volumes.
10
+ * ---
11
+ *
12
+ * Creates and registers a dynamic host volume in Nomad. Note that Nomad supports
13
+ * two workflows for dynamic host volumes: create and register. Both resources
14
+ * result in the same data source with the same outputs.
15
+ *
16
+ * > **Warning:** Destroying this resource **will result in data loss**. Use the
17
+ * [`preventDestroy`][tfDocsPreventDestroy] directive to avoid accidental
18
+ * deletions.
19
+ *
20
+ * ## Example Usage
21
+ *
22
+ * Creating a dynamic host volume:
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as nomad from "@pulumi/nomad";
27
+ *
28
+ * const example = new nomad.DynamicHostVolume("example", {
29
+ * name: "example",
30
+ * namespace: "prod",
31
+ * pluginId: "mkdir",
32
+ * capacityMax: "12 GiB",
33
+ * capacityMin: "1.0 GiB",
34
+ * capabilities: [{
35
+ * accessMode: "single-node-writer",
36
+ * attachmentMode: "file-system",
37
+ * }],
38
+ * constraints: [{
39
+ * attribute: `${attr.kernel.name}`,
40
+ * value: "linux",
41
+ * }],
42
+ * parameters: {
43
+ * some_key: "some_value",
44
+ * },
45
+ * });
46
+ * ```
47
+ */
48
+ export declare class DynamicHostVolume extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing DynamicHostVolume resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DynamicHostVolumeState, opts?: pulumi.CustomResourceOptions): DynamicHostVolume;
59
+ /**
60
+ * Returns true if the given object is an instance of DynamicHostVolume. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is DynamicHostVolume;
64
+ /**
65
+ * `(block: <optional>)` - Option for validating the capability of a
66
+ * volume. Each capability block has the following attributes:
67
+ */
68
+ readonly capabilities: pulumi.Output<outputs.DynamicHostVolumeCapability[]>;
69
+ /**
70
+ * Provisioned capacity
71
+ */
72
+ readonly capacity: pulumi.Output<string>;
73
+ readonly capacityBytes: pulumi.Output<number>;
74
+ /**
75
+ * `(string: <optional>)` - Option for requesting a maximum
76
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
77
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
78
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
79
+ * behavior is up to the plugin. If you want to specify an exact size, set
80
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
81
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
82
+ * may ignore this field.
83
+ */
84
+ readonly capacityMax: pulumi.Output<string | undefined>;
85
+ readonly capacityMaxBytes: pulumi.Output<number>;
86
+ /**
87
+ * `(string: <optional>)` - Option for requesting a minimum
88
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
89
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
90
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
91
+ * behavior is up to the plugin. If you want to specify an exact size, set
92
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
93
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
94
+ * may ignore this field.
95
+ */
96
+ readonly capacityMin: pulumi.Output<string | undefined>;
97
+ readonly capacityMinBytes: pulumi.Output<number>;
98
+ /**
99
+ * `(block: <optional>)` - A restriction on the eligible nodes where
100
+ * a volume can be created, similar to the [`constraint`][] block on a Nomad job
101
+ * specification.. You can provide multiple `constraint` blocks to add more
102
+ * constraints. Each constraint block has the following attributes.
103
+ */
104
+ readonly constraints: pulumi.Output<outputs.DynamicHostVolumeConstraint[] | undefined>;
105
+ /**
106
+ * Host path
107
+ */
108
+ readonly hostPath: pulumi.Output<string>;
109
+ /**
110
+ * `(string: <required>)` - The name of the volume, which is used as the
111
+ * [`volume.source`][volumeSource] field in job specifications that claim this
112
+ * volume. Host volume names must be unique per node. Names are visible to any
113
+ * user with `node:read` ACL, even across namespaces, so they should not be
114
+ * treated as sensitive values.
115
+ */
116
+ readonly name: pulumi.Output<string>;
117
+ /**
118
+ * `(string: <optional>)` - The namespace of the volume. This field
119
+ * overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
120
+ * environment variable. Defaults to `"default"` if unset.
121
+ */
122
+ readonly namespace: pulumi.Output<string | undefined>;
123
+ /**
124
+ * `(string: <optional>)` - A specific node where you would like the
125
+ * volume to be created.
126
+ */
127
+ readonly nodeId: pulumi.Output<string>;
128
+ /**
129
+ * `(string: <optional>)` - A specific node pool where you would like
130
+ * the volume to be created. If you also provide `nodeId`, the node must be in the
131
+ * provided `nodePool`.
132
+ */
133
+ readonly nodePool: pulumi.Output<string>;
134
+ /**
135
+ * `(map<string|string>: <optional>)` - A key-value map of strings
136
+ * passed directly to the plugin to configure the volume. The details of these
137
+ * parameters are specific to the plugin.
138
+ */
139
+ readonly parameters: pulumi.Output<{
140
+ [key: string]: string;
141
+ } | undefined>;
142
+ /**
143
+ * Plugin ID
144
+ */
145
+ readonly pluginId: pulumi.Output<string>;
146
+ /**
147
+ * State
148
+ */
149
+ readonly state: pulumi.Output<string>;
150
+ /**
151
+ * Create a DynamicHostVolume resource with the given unique name, arguments, and options.
152
+ *
153
+ * @param name The _unique_ name of the resource.
154
+ * @param args The arguments to use to populate this resource's properties.
155
+ * @param opts A bag of options that control this resource's behavior.
156
+ */
157
+ constructor(name: string, args: DynamicHostVolumeArgs, opts?: pulumi.CustomResourceOptions);
158
+ }
159
+ /**
160
+ * Input properties used for looking up and filtering DynamicHostVolume resources.
161
+ */
162
+ export interface DynamicHostVolumeState {
163
+ /**
164
+ * `(block: <optional>)` - Option for validating the capability of a
165
+ * volume. Each capability block has the following attributes:
166
+ */
167
+ capabilities?: pulumi.Input<pulumi.Input<inputs.DynamicHostVolumeCapability>[]>;
168
+ /**
169
+ * Provisioned capacity
170
+ */
171
+ capacity?: pulumi.Input<string>;
172
+ capacityBytes?: pulumi.Input<number>;
173
+ /**
174
+ * `(string: <optional>)` - Option for requesting a maximum
175
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
176
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
177
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
178
+ * behavior is up to the plugin. If you want to specify an exact size, set
179
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
180
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
181
+ * may ignore this field.
182
+ */
183
+ capacityMax?: pulumi.Input<string>;
184
+ capacityMaxBytes?: pulumi.Input<number>;
185
+ /**
186
+ * `(string: <optional>)` - Option for requesting a minimum
187
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
188
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
189
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
190
+ * behavior is up to the plugin. If you want to specify an exact size, set
191
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
192
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
193
+ * may ignore this field.
194
+ */
195
+ capacityMin?: pulumi.Input<string>;
196
+ capacityMinBytes?: pulumi.Input<number>;
197
+ /**
198
+ * `(block: <optional>)` - A restriction on the eligible nodes where
199
+ * a volume can be created, similar to the [`constraint`][] block on a Nomad job
200
+ * specification.. You can provide multiple `constraint` blocks to add more
201
+ * constraints. Each constraint block has the following attributes.
202
+ */
203
+ constraints?: pulumi.Input<pulumi.Input<inputs.DynamicHostVolumeConstraint>[]>;
204
+ /**
205
+ * Host path
206
+ */
207
+ hostPath?: pulumi.Input<string>;
208
+ /**
209
+ * `(string: <required>)` - The name of the volume, which is used as the
210
+ * [`volume.source`][volumeSource] field in job specifications that claim this
211
+ * volume. Host volume names must be unique per node. Names are visible to any
212
+ * user with `node:read` ACL, even across namespaces, so they should not be
213
+ * treated as sensitive values.
214
+ */
215
+ name?: pulumi.Input<string>;
216
+ /**
217
+ * `(string: <optional>)` - The namespace of the volume. This field
218
+ * overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
219
+ * environment variable. Defaults to `"default"` if unset.
220
+ */
221
+ namespace?: pulumi.Input<string>;
222
+ /**
223
+ * `(string: <optional>)` - A specific node where you would like the
224
+ * volume to be created.
225
+ */
226
+ nodeId?: pulumi.Input<string>;
227
+ /**
228
+ * `(string: <optional>)` - A specific node pool where you would like
229
+ * the volume to be created. If you also provide `nodeId`, the node must be in the
230
+ * provided `nodePool`.
231
+ */
232
+ nodePool?: pulumi.Input<string>;
233
+ /**
234
+ * `(map<string|string>: <optional>)` - A key-value map of strings
235
+ * passed directly to the plugin to configure the volume. The details of these
236
+ * parameters are specific to the plugin.
237
+ */
238
+ parameters?: pulumi.Input<{
239
+ [key: string]: pulumi.Input<string>;
240
+ }>;
241
+ /**
242
+ * Plugin ID
243
+ */
244
+ pluginId?: pulumi.Input<string>;
245
+ /**
246
+ * State
247
+ */
248
+ state?: pulumi.Input<string>;
249
+ }
250
+ /**
251
+ * The set of arguments for constructing a DynamicHostVolume resource.
252
+ */
253
+ export interface DynamicHostVolumeArgs {
254
+ /**
255
+ * `(block: <optional>)` - Option for validating the capability of a
256
+ * volume. Each capability block has the following attributes:
257
+ */
258
+ capabilities: pulumi.Input<pulumi.Input<inputs.DynamicHostVolumeCapability>[]>;
259
+ /**
260
+ * `(string: <optional>)` - Option for requesting a maximum
261
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
262
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
263
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
264
+ * behavior is up to the plugin. If you want to specify an exact size, set
265
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
266
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
267
+ * may ignore this field.
268
+ */
269
+ capacityMax?: pulumi.Input<string>;
270
+ /**
271
+ * `(string: <optional>)` - Option for requesting a minimum
272
+ * capacity, in bytes. The capacity of a volume may be the physical size of a
273
+ * disk, or a quota, depending on the plugin. The specific size of the resulting
274
+ * volume is somewhere between `capacityMin` and `capacityMax`; the exact
275
+ * behavior is up to the plugin. If you want to specify an exact size, set
276
+ * `capacityMin` and `capacityMax` to the same value. Accepts human-friendly
277
+ * suffixes such as `"100GiB"`. Plugins that cannot restrict the size of volumes
278
+ * may ignore this field.
279
+ */
280
+ capacityMin?: pulumi.Input<string>;
281
+ /**
282
+ * `(block: <optional>)` - A restriction on the eligible nodes where
283
+ * a volume can be created, similar to the [`constraint`][] block on a Nomad job
284
+ * specification.. You can provide multiple `constraint` blocks to add more
285
+ * constraints. Each constraint block has the following attributes.
286
+ */
287
+ constraints?: pulumi.Input<pulumi.Input<inputs.DynamicHostVolumeConstraint>[]>;
288
+ /**
289
+ * `(string: <required>)` - The name of the volume, which is used as the
290
+ * [`volume.source`][volumeSource] field in job specifications that claim this
291
+ * volume. Host volume names must be unique per node. Names are visible to any
292
+ * user with `node:read` ACL, even across namespaces, so they should not be
293
+ * treated as sensitive values.
294
+ */
295
+ name?: pulumi.Input<string>;
296
+ /**
297
+ * `(string: <optional>)` - The namespace of the volume. This field
298
+ * overrides the namespace provided by the `-namespace` flag or `NOMAD_NAMESPACE`
299
+ * environment variable. Defaults to `"default"` if unset.
300
+ */
301
+ namespace?: pulumi.Input<string>;
302
+ /**
303
+ * `(string: <optional>)` - A specific node where you would like the
304
+ * volume to be created.
305
+ */
306
+ nodeId?: pulumi.Input<string>;
307
+ /**
308
+ * `(string: <optional>)` - A specific node pool where you would like
309
+ * the volume to be created. If you also provide `nodeId`, the node must be in the
310
+ * provided `nodePool`.
311
+ */
312
+ nodePool?: pulumi.Input<string>;
313
+ /**
314
+ * `(map<string|string>: <optional>)` - A key-value map of strings
315
+ * passed directly to the plugin to configure the volume. The details of these
316
+ * parameters are specific to the plugin.
317
+ */
318
+ parameters?: pulumi.Input<{
319
+ [key: string]: pulumi.Input<string>;
320
+ }>;
321
+ /**
322
+ * Plugin ID
323
+ */
324
+ pluginId: pulumi.Input<string>;
325
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DynamicHostVolume = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * layout: "nomad"
10
+ * page_title: "Nomad: nomad.DynamicHostVolume"
11
+ * sidebar_current: "docs-nomad-resource-dynamic-host-volume"
12
+ * description: |-
13
+ * Manages the lifecycle of creating and deleting dynamic host volumes.
14
+ * ---
15
+ *
16
+ * Creates and registers a dynamic host volume in Nomad. Note that Nomad supports
17
+ * two workflows for dynamic host volumes: create and register. Both resources
18
+ * result in the same data source with the same outputs.
19
+ *
20
+ * > **Warning:** Destroying this resource **will result in data loss**. Use the
21
+ * [`preventDestroy`][tfDocsPreventDestroy] directive to avoid accidental
22
+ * deletions.
23
+ *
24
+ * ## Example Usage
25
+ *
26
+ * Creating a dynamic host volume:
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as nomad from "@pulumi/nomad";
31
+ *
32
+ * const example = new nomad.DynamicHostVolume("example", {
33
+ * name: "example",
34
+ * namespace: "prod",
35
+ * pluginId: "mkdir",
36
+ * capacityMax: "12 GiB",
37
+ * capacityMin: "1.0 GiB",
38
+ * capabilities: [{
39
+ * accessMode: "single-node-writer",
40
+ * attachmentMode: "file-system",
41
+ * }],
42
+ * constraints: [{
43
+ * attribute: `${attr.kernel.name}`,
44
+ * value: "linux",
45
+ * }],
46
+ * parameters: {
47
+ * some_key: "some_value",
48
+ * },
49
+ * });
50
+ * ```
51
+ */
52
+ class DynamicHostVolume extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing DynamicHostVolume resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param state Any extra arguments used during the lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name, id, state, opts) {
63
+ return new DynamicHostVolume(name, state, Object.assign(Object.assign({}, opts), { id: id }));
64
+ }
65
+ /**
66
+ * Returns true if the given object is an instance of DynamicHostVolume. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === DynamicHostVolume.__pulumiType;
74
+ }
75
+ constructor(name, argsOrState, opts) {
76
+ let resourceInputs = {};
77
+ opts = opts || {};
78
+ if (opts.id) {
79
+ const state = argsOrState;
80
+ resourceInputs["capabilities"] = state ? state.capabilities : undefined;
81
+ resourceInputs["capacity"] = state ? state.capacity : undefined;
82
+ resourceInputs["capacityBytes"] = state ? state.capacityBytes : undefined;
83
+ resourceInputs["capacityMax"] = state ? state.capacityMax : undefined;
84
+ resourceInputs["capacityMaxBytes"] = state ? state.capacityMaxBytes : undefined;
85
+ resourceInputs["capacityMin"] = state ? state.capacityMin : undefined;
86
+ resourceInputs["capacityMinBytes"] = state ? state.capacityMinBytes : undefined;
87
+ resourceInputs["constraints"] = state ? state.constraints : undefined;
88
+ resourceInputs["hostPath"] = state ? state.hostPath : undefined;
89
+ resourceInputs["name"] = state ? state.name : undefined;
90
+ resourceInputs["namespace"] = state ? state.namespace : undefined;
91
+ resourceInputs["nodeId"] = state ? state.nodeId : undefined;
92
+ resourceInputs["nodePool"] = state ? state.nodePool : undefined;
93
+ resourceInputs["parameters"] = state ? state.parameters : undefined;
94
+ resourceInputs["pluginId"] = state ? state.pluginId : undefined;
95
+ resourceInputs["state"] = state ? state.state : undefined;
96
+ }
97
+ else {
98
+ const args = argsOrState;
99
+ if ((!args || args.capabilities === undefined) && !opts.urn) {
100
+ throw new Error("Missing required property 'capabilities'");
101
+ }
102
+ if ((!args || args.pluginId === undefined) && !opts.urn) {
103
+ throw new Error("Missing required property 'pluginId'");
104
+ }
105
+ resourceInputs["capabilities"] = args ? args.capabilities : undefined;
106
+ resourceInputs["capacityMax"] = args ? args.capacityMax : undefined;
107
+ resourceInputs["capacityMin"] = args ? args.capacityMin : undefined;
108
+ resourceInputs["constraints"] = args ? args.constraints : undefined;
109
+ resourceInputs["name"] = args ? args.name : undefined;
110
+ resourceInputs["namespace"] = args ? args.namespace : undefined;
111
+ resourceInputs["nodeId"] = args ? args.nodeId : undefined;
112
+ resourceInputs["nodePool"] = args ? args.nodePool : undefined;
113
+ resourceInputs["parameters"] = args ? args.parameters : undefined;
114
+ resourceInputs["pluginId"] = args ? args.pluginId : undefined;
115
+ resourceInputs["capacity"] = undefined /*out*/;
116
+ resourceInputs["capacityBytes"] = undefined /*out*/;
117
+ resourceInputs["capacityMaxBytes"] = undefined /*out*/;
118
+ resourceInputs["capacityMinBytes"] = undefined /*out*/;
119
+ resourceInputs["hostPath"] = undefined /*out*/;
120
+ resourceInputs["state"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(DynamicHostVolume.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.DynamicHostVolume = DynamicHostVolume;
127
+ /** @internal */
128
+ DynamicHostVolume.__pulumiType = 'nomad:index/dynamicHostVolume:DynamicHostVolume';
129
+ //# sourceMappingURL=dynamicHostVolume.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamicHostVolume.js","sourceRoot":"","sources":["../dynamicHostVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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