@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.
Files changed (207) hide show
  1. package/aclAuthMethod.d.ts +12 -11
  2. package/aclAuthMethod.d.ts.map +1 -0
  3. package/aclAuthMethod.js +28 -5
  4. package/aclAuthMethod.js.map +1 -1
  5. package/aclBindingRule.d.ts +9 -8
  6. package/aclBindingRule.d.ts.map +1 -0
  7. package/aclBindingRule.js +27 -4
  8. package/aclBindingRule.js.map +1 -1
  9. package/aclPolicy.d.ts +8 -7
  10. package/aclPolicy.d.ts.map +1 -0
  11. package/aclPolicy.js +27 -4
  12. package/aclPolicy.js.map +1 -1
  13. package/aclRole.d.ts +9 -8
  14. package/aclRole.d.ts.map +1 -0
  15. package/aclRole.js +30 -7
  16. package/aclRole.js.map +1 -1
  17. package/aclToken.d.ts +16 -15
  18. package/aclToken.d.ts.map +1 -0
  19. package/aclToken.js +27 -4
  20. package/aclToken.js.map +1 -1
  21. package/config/index.d.ts +1 -0
  22. package/config/index.d.ts.map +1 -0
  23. package/config/vars.d.ts +1 -0
  24. package/config/vars.d.ts.map +1 -0
  25. package/config/vars.js +24 -1
  26. package/config/vars.js.map +1 -1
  27. package/csiVolume.d.ts +38 -37
  28. package/csiVolume.d.ts.map +1 -0
  29. package/csiVolume.js +27 -4
  30. package/csiVolume.js.map +1 -1
  31. package/csiVolumeRegistration.d.ts +38 -37
  32. package/csiVolumeRegistration.d.ts.map +1 -0
  33. package/csiVolumeRegistration.js +27 -4
  34. package/csiVolumeRegistration.js.map +1 -1
  35. package/dynamicHostVolume.d.ts +26 -28
  36. package/dynamicHostVolume.d.ts.map +1 -0
  37. package/dynamicHostVolume.js +28 -5
  38. package/dynamicHostVolume.js.map +1 -1
  39. package/dynamicHostVolumeRegistration.d.ts +19 -18
  40. package/dynamicHostVolumeRegistration.d.ts.map +1 -0
  41. package/dynamicHostVolumeRegistration.js +27 -4
  42. package/dynamicHostVolumeRegistration.js.map +1 -1
  43. package/externalVolume.d.ts +35 -34
  44. package/externalVolume.d.ts.map +1 -0
  45. package/externalVolume.js +27 -4
  46. package/externalVolume.js.map +1 -1
  47. package/getAclPolicies.d.ts +2 -1
  48. package/getAclPolicies.d.ts.map +1 -0
  49. package/getAclPolicies.js +25 -2
  50. package/getAclPolicies.js.map +1 -1
  51. package/getAclPolicy.d.ts +1 -0
  52. package/getAclPolicy.d.ts.map +1 -0
  53. package/getAclPolicy.js +25 -2
  54. package/getAclPolicy.js.map +1 -1
  55. package/getAclRole.d.ts +1 -0
  56. package/getAclRole.d.ts.map +1 -0
  57. package/getAclRole.js +25 -2
  58. package/getAclRole.js.map +1 -1
  59. package/getAclRoles.d.ts +2 -1
  60. package/getAclRoles.d.ts.map +1 -0
  61. package/getAclRoles.js +25 -2
  62. package/getAclRoles.js.map +1 -1
  63. package/getAclToken.d.ts +1 -0
  64. package/getAclToken.d.ts.map +1 -0
  65. package/getAclToken.js +25 -2
  66. package/getAclToken.js.map +1 -1
  67. package/getAclTokens.d.ts +2 -1
  68. package/getAclTokens.d.ts.map +1 -0
  69. package/getAclTokens.js +25 -2
  70. package/getAclTokens.js.map +1 -1
  71. package/getAllocations.d.ts +4 -3
  72. package/getAllocations.d.ts.map +1 -0
  73. package/getAllocations.js +25 -2
  74. package/getAllocations.js.map +1 -1
  75. package/getDatacenters.d.ts +3 -2
  76. package/getDatacenters.d.ts.map +1 -0
  77. package/getDatacenters.js +25 -2
  78. package/getDatacenters.js.map +1 -1
  79. package/getDeployments.d.ts +1 -0
  80. package/getDeployments.d.ts.map +1 -0
  81. package/getDeployments.js +25 -2
  82. package/getDeployments.js.map +1 -1
  83. package/getDynamicHostVolume.d.ts +2 -1
  84. package/getDynamicHostVolume.d.ts.map +1 -0
  85. package/getDynamicHostVolume.js +25 -2
  86. package/getDynamicHostVolume.js.map +1 -1
  87. package/getJob.d.ts +2 -1
  88. package/getJob.d.ts.map +1 -0
  89. package/getJob.js +25 -2
  90. package/getJob.js.map +1 -1
  91. package/getJobParser.d.ts +3 -2
  92. package/getJobParser.d.ts.map +1 -0
  93. package/getJobParser.js +25 -2
  94. package/getJobParser.js.map +1 -1
  95. package/getJwks.d.ts +1 -0
  96. package/getJwks.d.ts.map +1 -0
  97. package/getJwks.js +25 -2
  98. package/getJwks.js.map +1 -1
  99. package/getNamespace.d.ts +1 -0
  100. package/getNamespace.d.ts.map +1 -0
  101. package/getNamespace.js +25 -2
  102. package/getNamespace.js.map +1 -1
  103. package/getNamespaces.d.ts +29 -24
  104. package/getNamespaces.d.ts.map +1 -0
  105. package/getNamespaces.js +53 -26
  106. package/getNamespaces.js.map +1 -1
  107. package/getNode.d.ts +1 -0
  108. package/getNode.d.ts.map +1 -0
  109. package/getNode.js +25 -2
  110. package/getNode.js.map +1 -1
  111. package/getNodePool.d.ts +1 -0
  112. package/getNodePool.d.ts.map +1 -0
  113. package/getNodePool.js +25 -2
  114. package/getNodePool.js.map +1 -1
  115. package/getNodePools.d.ts +3 -2
  116. package/getNodePools.d.ts.map +1 -0
  117. package/getNodePools.js +25 -2
  118. package/getNodePools.js.map +1 -1
  119. package/getNodes.d.ts +5 -4
  120. package/getNodes.d.ts.map +1 -0
  121. package/getNodes.js +25 -2
  122. package/getNodes.js.map +1 -1
  123. package/getPlugin.d.ts +3 -2
  124. package/getPlugin.d.ts.map +1 -0
  125. package/getPlugin.js +25 -2
  126. package/getPlugin.js.map +1 -1
  127. package/getPlugins.d.ts +2 -1
  128. package/getPlugins.d.ts.map +1 -0
  129. package/getPlugins.js +25 -2
  130. package/getPlugins.js.map +1 -1
  131. package/getRegions.d.ts +23 -18
  132. package/getRegions.d.ts.map +1 -0
  133. package/getRegions.js +47 -20
  134. package/getRegions.js.map +1 -1
  135. package/getScalingPolicies.d.ts +3 -2
  136. package/getScalingPolicies.d.ts.map +1 -0
  137. package/getScalingPolicies.js +25 -2
  138. package/getScalingPolicies.js.map +1 -1
  139. package/getScalingPolicy.d.ts +1 -0
  140. package/getScalingPolicy.d.ts.map +1 -0
  141. package/getScalingPolicy.js +25 -2
  142. package/getScalingPolicy.js.map +1 -1
  143. package/getSchedulerPolicy.d.ts +1 -0
  144. package/getSchedulerPolicy.d.ts.map +1 -0
  145. package/getSchedulerPolicy.js +25 -2
  146. package/getSchedulerPolicy.js.map +1 -1
  147. package/getVariable.d.ts +2 -1
  148. package/getVariable.d.ts.map +1 -0
  149. package/getVariable.js +25 -2
  150. package/getVariable.js.map +1 -1
  151. package/getVolumes.d.ts +5 -4
  152. package/getVolumes.d.ts.map +1 -0
  153. package/getVolumes.js +25 -2
  154. package/getVolumes.js.map +1 -1
  155. package/index.d.ts +1 -0
  156. package/index.d.ts.map +1 -0
  157. package/index.js +16 -4
  158. package/index.js.map +1 -1
  159. package/job.d.ts +45 -44
  160. package/job.d.ts.map +1 -0
  161. package/job.js +27 -4
  162. package/job.js.map +1 -1
  163. package/namespace.d.ts +17 -16
  164. package/namespace.d.ts.map +1 -0
  165. package/namespace.js +27 -4
  166. package/namespace.js.map +1 -1
  167. package/nodePool.d.ts +11 -10
  168. package/nodePool.d.ts.map +1 -0
  169. package/nodePool.js +27 -4
  170. package/nodePool.js.map +1 -1
  171. package/package.json +3 -3
  172. package/provider.d.ts +15 -14
  173. package/provider.d.ts.map +1 -0
  174. package/provider.js +27 -4
  175. package/provider.js.map +1 -1
  176. package/quoteSpecification.d.ts +9 -8
  177. package/quoteSpecification.d.ts.map +1 -0
  178. package/quoteSpecification.js +27 -4
  179. package/quoteSpecification.js.map +1 -1
  180. package/schedulerConfig.d.ts +7 -6
  181. package/schedulerConfig.d.ts.map +1 -0
  182. package/schedulerConfig.js +27 -4
  183. package/schedulerConfig.js.map +1 -1
  184. package/sentinelPolicy.d.ts +9 -8
  185. package/sentinelPolicy.d.ts.map +1 -0
  186. package/sentinelPolicy.js +28 -5
  187. package/sentinelPolicy.js.map +1 -1
  188. package/types/index.d.ts +1 -0
  189. package/types/index.d.ts.map +1 -0
  190. package/types/index.js +25 -2
  191. package/types/index.js.map +1 -1
  192. package/types/input.d.ts +141 -140
  193. package/types/input.d.ts.map +1 -0
  194. package/types/output.d.ts +8 -7
  195. package/types/output.d.ts.map +1 -0
  196. package/utilities.d.ts +1 -0
  197. package/utilities.d.ts.map +1 -0
  198. package/utilities.js +24 -1
  199. package/utilities.js.map +1 -1
  200. package/variable.d.ts +10 -9
  201. package/variable.d.ts.map +1 -0
  202. package/variable.js +27 -4
  203. package/variable.js.map +1 -1
  204. package/volume.d.ts +37 -36
  205. package/volume.d.ts.map +1 -0
  206. package/volume.js +27 -4
  207. package/volume.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -5,119 +5,119 @@ export interface AclAuthMethodConfig {
5
5
  * `([]string: <optional>)` - A list of allowed values
6
6
  * that can be used for the redirect URI.
7
7
  */
8
- allowedRedirectUris?: pulumi.Input<pulumi.Input<string>[]>;
8
+ allowedRedirectUris?: pulumi.Input<pulumi.Input<string>[] | undefined>;
9
9
  /**
10
10
  * `([]string: <optional>)` - List of auth claims that are
11
11
  * valid for login.
12
12
  */
13
- boundAudiences?: pulumi.Input<pulumi.Input<string>[]>;
13
+ boundAudiences?: pulumi.Input<pulumi.Input<string>[] | undefined>;
14
14
  /**
15
15
  * `([]string: <optional>)` - The value against which to match
16
16
  * the iss claim in a JWT.
17
17
  */
18
- boundIssuers?: pulumi.Input<pulumi.Input<string>[]>;
18
+ boundIssuers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
19
19
  /**
20
20
  * Mappings of claims (key) that will be copied to a metadata field (value).
21
21
  */
22
22
  claimMappings?: pulumi.Input<{
23
23
  [key: string]: pulumi.Input<string>;
24
- }>;
24
+ } | undefined>;
25
25
  /**
26
26
  * `(string: <optional>)` - Duration of leeway when validating
27
27
  * all claims in the form of a time duration such as "5m" or "1h".
28
28
  */
29
- clockSkewLeeway?: pulumi.Input<string>;
29
+ clockSkewLeeway?: pulumi.Input<string | undefined>;
30
30
  /**
31
31
  * `([]string: <optional>)` - PEM encoded CA certs for use
32
32
  * by the TLS client used to talk with the OIDC Discovery URL.
33
33
  */
34
- discoveryCaPems?: pulumi.Input<pulumi.Input<string>[]>;
34
+ discoveryCaPems?: pulumi.Input<pulumi.Input<string>[] | undefined>;
35
35
  /**
36
36
  * `(string: <optional>)` - Duration of leeway when validating
37
37
  * expiration of a JWT in the form of a time duration such as "5m" or "1h".
38
38
  */
39
- expirationLeeway?: pulumi.Input<string>;
39
+ expirationLeeway?: pulumi.Input<string | undefined>;
40
40
  /**
41
41
  * `(string: <optional>)` - PEM encoded CA cert for use by the
42
42
  * TLS client used to talk with the JWKS server.
43
43
  */
44
- jwksCaCert?: pulumi.Input<string>;
44
+ jwksCaCert?: pulumi.Input<string | undefined>;
45
45
  /**
46
46
  * `(string: <optional>)` - JSON Web Key Sets url for authenticating
47
47
  * signatures.
48
48
  */
49
- jwksUrl?: pulumi.Input<string>;
49
+ jwksUrl?: pulumi.Input<string | undefined>;
50
50
  /**
51
51
  * `([]string: <optional>)` - List of PEM-encoded
52
52
  * public keys to use to authenticate signatures locally.
53
53
  */
54
- jwtValidationPubKeys?: pulumi.Input<pulumi.Input<string>[]>;
54
+ jwtValidationPubKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
55
55
  /**
56
56
  * Mappings of list claims (key) that will be copied to a metadata field (value).
57
57
  */
58
58
  listClaimMappings?: pulumi.Input<{
59
59
  [key: string]: pulumi.Input<string>;
60
- }>;
60
+ } | undefined>;
61
61
  /**
62
62
  * `(string: <optional>)` - Duration of leeway when validating
63
63
  * not before values of a token in the form of a time duration such as "5m" or "1h".
64
64
  */
65
- notBeforeLeeway?: pulumi.Input<string>;
65
+ notBeforeLeeway?: pulumi.Input<string | undefined>;
66
66
  /**
67
67
  * `(OIDCClientAssertion: <optional>)` - Optionally
68
68
  * send a signed JWT ("[private key jwt][]") as a client assertion to the OIDC
69
69
  * provider. Browse to the [OIDC concepts][concepts-assertions] page to learn
70
70
  * more.
71
71
  */
72
- oidcClientAssertion?: pulumi.Input<inputs.AclAuthMethodConfigOidcClientAssertion>;
72
+ oidcClientAssertion?: pulumi.Input<inputs.AclAuthMethodConfigOidcClientAssertion | undefined>;
73
73
  /**
74
74
  * `(string: <optional>)` - The OAuth Client ID configured
75
75
  * with the OIDC provider.
76
76
  */
77
- oidcClientId?: pulumi.Input<string>;
77
+ oidcClientId?: pulumi.Input<string | undefined>;
78
78
  /**
79
79
  * `(string: <optional>)` - The OAuth Client Secret
80
80
  * configured with the OIDC provider.
81
81
  */
82
- oidcClientSecret?: pulumi.Input<string>;
82
+ oidcClientSecret?: pulumi.Input<string | undefined>;
83
83
  /**
84
84
  * `(bool: false)` - When set to `true`, Nomad will
85
85
  * not make a request to the identity provider to get OIDC `UserInfo`.
86
86
  * You may wish to set this if your identity provider doesn't send any
87
87
  * additional claims from the `UserInfo` endpoint.
88
88
  */
89
- oidcDisableUserinfo?: pulumi.Input<boolean>;
89
+ oidcDisableUserinfo?: pulumi.Input<boolean | undefined>;
90
90
  /**
91
91
  * `(string: <optional>)` - The OIDC Discovery URL,
92
92
  * without any .well-known component (base path).
93
93
  */
94
- oidcDiscoveryUrl?: pulumi.Input<string>;
94
+ oidcDiscoveryUrl?: pulumi.Input<string | undefined>;
95
95
  /**
96
96
  * `(bool: false)` - When set to `true`, Nomad will include
97
97
  * [PKCE][] verification in the auth flow. Even with PKCE enabled in Nomad,
98
98
  * you may still need to enable it in your OIDC provider.
99
99
  */
100
- oidcEnablePkce?: pulumi.Input<boolean>;
100
+ oidcEnablePkce?: pulumi.Input<boolean | undefined>;
101
101
  /**
102
102
  * `([]string: <optional>)` - List of OIDC scopes.
103
103
  */
104
- oidcScopes?: pulumi.Input<pulumi.Input<string>[]>;
104
+ oidcScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
105
105
  /**
106
106
  * `([]string: <optional>)` - A list of supported signing
107
107
  * algorithms.
108
108
  */
109
- signingAlgs?: pulumi.Input<pulumi.Input<string>[]>;
109
+ signingAlgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
110
110
  /**
111
111
  * Enable OIDC verbose logging on the Nomad server.
112
112
  */
113
- verboseLogging?: pulumi.Input<boolean>;
113
+ verboseLogging?: pulumi.Input<boolean | undefined>;
114
114
  }
115
115
  export interface AclAuthMethodConfigOidcClientAssertion {
116
116
  /**
117
117
  * `([]string: optional)` - Who processes the assertion.
118
118
  * Defaults to the auth method's `oidcDiscoveryUrl`.
119
119
  */
120
- audiences?: pulumi.Input<pulumi.Input<string>[]>;
120
+ audiences?: pulumi.Input<pulumi.Input<string>[] | undefined>;
121
121
  /**
122
122
  * `(map[string]string: optional)` - Add to the JWT headers,
123
123
  * alongside "kid" and "type". Setting the "kid" header here is not allowed;
@@ -125,7 +125,7 @@ export interface AclAuthMethodConfigOidcClientAssertion {
125
125
  */
126
126
  extraHeaders?: pulumi.Input<{
127
127
  [key: string]: pulumi.Input<string>;
128
- }>;
128
+ } | undefined>;
129
129
  /**
130
130
  * `(string: <optional>)` is the key's algorithm.
131
131
  * Its default values are based on the `keySource`:
@@ -133,7 +133,7 @@ export interface AclAuthMethodConfigOidcClientAssertion {
133
133
  * - "privateKey": "RS256"; must be RS256, RS384, or RS512
134
134
  * - "clientSecret": "HS256"; must be HS256, HS384, or HS512
135
135
  */
136
- keyAlgorithm?: pulumi.Input<string>;
136
+ keyAlgorithm?: pulumi.Input<string | undefined>;
137
137
  /**
138
138
  * `(string: <required>)` - Specifies where to get the private
139
139
  * key to sign the JWT.
@@ -147,7 +147,7 @@ export interface AclAuthMethodConfigOidcClientAssertion {
147
147
  * `(OIDCClientAssertionKey: <optional>)` - External key
148
148
  * to sign the JWT. `keySource` must be "privateKey" to enable this.
149
149
  */
150
- privateKey?: pulumi.Input<inputs.AclAuthMethodConfigOidcClientAssertionPrivateKey>;
150
+ privateKey?: pulumi.Input<inputs.AclAuthMethodConfigOidcClientAssertionPrivateKey | undefined>;
151
151
  }
152
152
  export interface AclAuthMethodConfigOidcClientAssertionPrivateKey {
153
153
  /**
@@ -155,7 +155,7 @@ export interface AclAuthMethodConfigOidcClientAssertionPrivateKey {
155
155
  * Mutually exclusive with `pemCert` and `pemCertFile`.
156
156
  * Allowed `keyIdHeader` values: "kid" (the default)
157
157
  */
158
- keyId?: pulumi.Input<string>;
158
+ keyId?: pulumi.Input<string | undefined>;
159
159
  /**
160
160
  * `(string: optional)` - Which header the provider uses
161
161
  * to find the public key to verify the signed JWT.
@@ -163,7 +163,7 @@ export interface AclAuthMethodConfigOidcClientAssertionPrivateKey {
163
163
  * `pemCert`, or `pemCertFile`. You must set exactly one of those
164
164
  * options, so refer to them for their requirements.
165
165
  */
166
- keyIdHeader?: pulumi.Input<string>;
166
+ keyIdHeader?: pulumi.Input<string | undefined>;
167
167
  /**
168
168
  * `(string: optional)` - An x509 certificate, signed by the
169
169
  * private key or a CA, in pem format. Nomad uses this certificate to
@@ -171,7 +171,7 @@ export interface AclAuthMethodConfigOidcClientAssertionPrivateKey {
171
171
  * Mutually exclusive with `pemCertFile` and `keyId`.
172
172
  * Allowed `keyIdHeader` values: "x5t", "x5t#S256" (default "x5t#S256")
173
173
  */
174
- pemCert?: pulumi.Input<string>;
174
+ pemCert?: pulumi.Input<string | undefined>;
175
175
  /**
176
176
  * `(string: optional)` - An absolute path to an x509
177
177
  * certificate on Nomad servers' disk, signed by the private key or a CA,
@@ -180,36 +180,36 @@ export interface AclAuthMethodConfigOidcClientAssertionPrivateKey {
180
180
  * header. Mutually exclusive with `pemCert` and key_id.
181
181
  * Allowed `keyIdHeader` values: "x5t", "x5t#S256" (default "x5t#S256")
182
182
  */
183
- pemCertFile?: pulumi.Input<string>;
183
+ pemCertFile?: pulumi.Input<string | undefined>;
184
184
  /**
185
185
  * `(string: <optional>)` - An RSA private key, in pem format.
186
186
  * It is used to sign the JWT. Mutually exclusive with `pemKey`.
187
187
  */
188
- pemKey?: pulumi.Input<string>;
188
+ pemKey?: pulumi.Input<string | undefined>;
189
189
  /**
190
190
  * `(string: optional)` - An absolute path to a private key
191
191
  * on Nomad servers' disk, in pem format. It is used to sign the JWT.
192
192
  * Mutually exclusive with `pemKeyFile`.
193
193
  */
194
- pemKeyFile?: pulumi.Input<string>;
194
+ pemKeyFile?: pulumi.Input<string | undefined>;
195
195
  }
196
196
  export interface AclPolicyJobAcl {
197
197
  /**
198
198
  * Group
199
199
  */
200
- group?: pulumi.Input<string>;
200
+ group?: pulumi.Input<string | undefined>;
201
201
  /**
202
202
  * Job. If empty, the policy applies to all jobs in the namespace.
203
203
  */
204
- jobId?: pulumi.Input<string>;
204
+ jobId?: pulumi.Input<string | undefined>;
205
205
  /**
206
206
  * Namespace
207
207
  */
208
- namespace?: pulumi.Input<string>;
208
+ namespace?: pulumi.Input<string | undefined>;
209
209
  /**
210
210
  * Task
211
211
  */
212
- task?: pulumi.Input<string>;
212
+ task?: pulumi.Input<string | undefined>;
213
213
  }
214
214
  export interface AclRolePolicy {
215
215
  /**
@@ -225,7 +225,7 @@ export interface AclTokenRole {
225
225
  /**
226
226
  * `(string: "")` - A human-friendly name for this token.
227
227
  */
228
- name?: pulumi.Input<string>;
228
+ name?: pulumi.Input<string | undefined>;
229
229
  }
230
230
  export interface CsiVolumeCapability {
231
231
  /**
@@ -248,11 +248,11 @@ export interface CsiVolumeMountOptions {
248
248
  /**
249
249
  * `(string: optional)` - The file system type.
250
250
  */
251
- fsType?: pulumi.Input<string>;
251
+ fsType?: pulumi.Input<string | undefined>;
252
252
  /**
253
253
  * `[]string: optional` - The flags passed to `mount`.
254
254
  */
255
- mountFlags?: pulumi.Input<pulumi.Input<string>[]>;
255
+ mountFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
256
256
  }
257
257
  export interface CsiVolumeRegistrationCapability {
258
258
  /**
@@ -275,11 +275,11 @@ export interface CsiVolumeRegistrationMountOptions {
275
275
  /**
276
276
  * `(string: <optional>)` - The file system type.
277
277
  */
278
- fsType?: pulumi.Input<string>;
278
+ fsType?: pulumi.Input<string | undefined>;
279
279
  /**
280
280
  * `([]string: <optional>)` - The flags passed to `mount`.
281
281
  */
282
- mountFlags?: pulumi.Input<pulumi.Input<string>[]>;
282
+ mountFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
283
283
  }
284
284
  export interface CsiVolumeRegistrationTopology {
285
285
  /**
@@ -290,13 +290,13 @@ export interface CsiVolumeRegistrationTopology {
290
290
  */
291
291
  segments?: pulumi.Input<{
292
292
  [key: string]: pulumi.Input<string>;
293
- }>;
293
+ } | undefined>;
294
294
  }
295
295
  export interface CsiVolumeRegistrationTopologyRequest {
296
296
  /**
297
297
  * `(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
298
298
  */
299
- required?: pulumi.Input<inputs.CsiVolumeRegistrationTopologyRequestRequired>;
299
+ required?: pulumi.Input<inputs.CsiVolumeRegistrationTopologyRequestRequired | undefined>;
300
300
  }
301
301
  export interface CsiVolumeRegistrationTopologyRequestRequired {
302
302
  /**
@@ -321,17 +321,17 @@ export interface CsiVolumeTopology {
321
321
  */
322
322
  segments?: pulumi.Input<{
323
323
  [key: string]: pulumi.Input<string>;
324
- }>;
324
+ } | undefined>;
325
325
  }
326
326
  export interface CsiVolumeTopologyRequest {
327
327
  /**
328
328
  * `(``Topology``: <optional>)` - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
329
329
  */
330
- preferred?: pulumi.Input<inputs.CsiVolumeTopologyRequestPreferred>;
330
+ preferred?: pulumi.Input<inputs.CsiVolumeTopologyRequestPreferred | undefined>;
331
331
  /**
332
332
  * `(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
333
333
  */
334
- required?: pulumi.Input<inputs.CsiVolumeTopologyRequestRequired>;
334
+ required?: pulumi.Input<inputs.CsiVolumeTopologyRequestRequired | undefined>;
335
335
  }
336
336
  export interface CsiVolumeTopologyRequestPreferred {
337
337
  /**
@@ -381,11 +381,11 @@ export interface DynamicHostVolumeConstraint {
381
381
  /**
382
382
  * `(string)`- The operator to use in the comparison.
383
383
  */
384
- operator?: pulumi.Input<string>;
384
+ operator?: pulumi.Input<string | undefined>;
385
385
  /**
386
386
  * `(string)` - The value of the attribute to compare against.
387
387
  */
388
- value?: pulumi.Input<string>;
388
+ value?: pulumi.Input<string | undefined>;
389
389
  }
390
390
  export interface DynamicHostVolumeRegistrationCapability {
391
391
  /**
@@ -407,11 +407,11 @@ export interface DynamicHostVolumeRegistrationConstraint {
407
407
  /**
408
408
  * The operator to use for comparison
409
409
  */
410
- operator?: pulumi.Input<string>;
410
+ operator?: pulumi.Input<string | undefined>;
411
411
  /**
412
412
  * The requested value of the attribute
413
413
  */
414
- value?: pulumi.Input<string>;
414
+ value?: pulumi.Input<string | undefined>;
415
415
  }
416
416
  export interface ExternalVolumeCapability {
417
417
  /**
@@ -434,11 +434,11 @@ export interface ExternalVolumeMountOptions {
434
434
  /**
435
435
  * `(string: optional)` - The file system type.
436
436
  */
437
- fsType?: pulumi.Input<string>;
437
+ fsType?: pulumi.Input<string | undefined>;
438
438
  /**
439
439
  * `[]string: optional` - The flags passed to `mount`.
440
440
  */
441
- mountFlags?: pulumi.Input<pulumi.Input<string>[]>;
441
+ mountFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
442
442
  }
443
443
  export interface ExternalVolumeTopology {
444
444
  /**
@@ -449,17 +449,17 @@ export interface ExternalVolumeTopology {
449
449
  */
450
450
  segments?: pulumi.Input<{
451
451
  [key: string]: pulumi.Input<string>;
452
- }>;
452
+ } | undefined>;
453
453
  }
454
454
  export interface ExternalVolumeTopologyRequest {
455
455
  /**
456
456
  * `(``Topology``: <optional>)` - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
457
457
  */
458
- preferred?: pulumi.Input<inputs.ExternalVolumeTopologyRequestPreferred>;
458
+ preferred?: pulumi.Input<inputs.ExternalVolumeTopologyRequestPreferred | undefined>;
459
459
  /**
460
460
  * `(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
461
461
  */
462
- required?: pulumi.Input<inputs.ExternalVolumeTopologyRequestRequired>;
462
+ required?: pulumi.Input<inputs.ExternalVolumeTopologyRequestRequired | undefined>;
463
463
  }
464
464
  export interface ExternalVolumeTopologyRequestPreferred {
465
465
  /**
@@ -493,250 +493,250 @@ export interface JobConstraint {
493
493
  /**
494
494
  * `(string)` - Attribute being constrained.
495
495
  */
496
- ltarget?: pulumi.Input<string>;
496
+ ltarget?: pulumi.Input<string | undefined>;
497
497
  /**
498
498
  * `(string)` - Operator used to compare the attribute to the constraint.
499
499
  */
500
- operand?: pulumi.Input<string>;
500
+ operand?: pulumi.Input<string | undefined>;
501
501
  /**
502
502
  * `(string)` - Constraint value.
503
503
  */
504
- rtarget?: pulumi.Input<string>;
504
+ rtarget?: pulumi.Input<string | undefined>;
505
505
  }
506
506
  export interface JobHcl2 {
507
507
  /**
508
508
  * `(boolean: false)` - Set this to `true` to be able to use
509
509
  * HCL2 filesystem functions
510
510
  */
511
- allowFs?: pulumi.Input<boolean>;
511
+ allowFs?: pulumi.Input<boolean | undefined>;
512
512
  /**
513
513
  * Additional variables to use when templating the job with HCL2
514
514
  */
515
515
  vars?: pulumi.Input<{
516
516
  [key: string]: pulumi.Input<string>;
517
- }>;
517
+ } | undefined>;
518
518
  }
519
519
  export interface JobPeriodicConfig {
520
520
  /**
521
521
  * `(boolean)` - Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
522
522
  */
523
- enabled?: pulumi.Input<boolean>;
523
+ enabled?: pulumi.Input<boolean | undefined>;
524
524
  /**
525
525
  * `(boolean)` - Whether this job should wait until previous instances of the same job have completed before launching again.
526
526
  */
527
- prohibitOverlap?: pulumi.Input<boolean>;
527
+ prohibitOverlap?: pulumi.Input<boolean | undefined>;
528
528
  /**
529
529
  * `(string)` - Cron expression configuring the interval at which the job is launched.
530
530
  */
531
- spec?: pulumi.Input<string>;
531
+ spec?: pulumi.Input<string | undefined>;
532
532
  /**
533
533
  * `(string)` - Type of periodic specification, such as `cron`.
534
534
  */
535
- specType?: pulumi.Input<string>;
535
+ specType?: pulumi.Input<string | undefined>;
536
536
  /**
537
537
  * `(string)` - Time zone used to evaluate the next launch interval.
538
538
  */
539
- timezone?: pulumi.Input<string>;
539
+ timezone?: pulumi.Input<string | undefined>;
540
540
  }
541
541
  export interface JobTaskGroup {
542
542
  /**
543
543
  * `(integer)` - Task group count.
544
544
  */
545
- count?: pulumi.Input<number>;
545
+ count?: pulumi.Input<number | undefined>;
546
546
  /**
547
547
  * `(map of strings)` - Task group metadata.
548
548
  */
549
549
  meta?: pulumi.Input<{
550
550
  [key: string]: pulumi.Input<string>;
551
- }>;
551
+ } | undefined>;
552
552
  /**
553
553
  * `(string)` - Volume name.
554
554
  */
555
- name?: pulumi.Input<string>;
555
+ name?: pulumi.Input<string | undefined>;
556
556
  /**
557
557
  * `(list of maps)` - Tasks in the task group.
558
558
  */
559
- tasks?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupTask>[]>;
559
+ tasks?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupTask>[] | undefined>;
560
560
  /**
561
561
  * `(list of maps)` - Effective update strategy for the task group.
562
562
  */
563
- updateStrategies?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupUpdateStrategy>[]>;
563
+ updateStrategies?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupUpdateStrategy>[] | undefined>;
564
564
  /**
565
565
  * `(list of maps)` - Volume requests for the task group.
566
566
  */
567
- volumes?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupVolume>[]>;
567
+ volumes?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupVolume>[] | undefined>;
568
568
  }
569
569
  export interface JobTaskGroupTask {
570
570
  /**
571
571
  * `(string)` - Task driver.
572
572
  */
573
- driver?: pulumi.Input<string>;
573
+ driver?: pulumi.Input<string | undefined>;
574
574
  /**
575
575
  * `(map of strings)` - Task group metadata.
576
576
  */
577
577
  meta?: pulumi.Input<{
578
578
  [key: string]: pulumi.Input<string>;
579
- }>;
579
+ } | undefined>;
580
580
  /**
581
581
  * `(string)` - Volume name.
582
582
  */
583
- name?: pulumi.Input<string>;
583
+ name?: pulumi.Input<string | undefined>;
584
584
  /**
585
585
  * `(list of maps)` - Task volume mounts.
586
586
  */
587
- volumeMounts?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupTaskVolumeMount>[]>;
587
+ volumeMounts?: pulumi.Input<pulumi.Input<inputs.JobTaskGroupTaskVolumeMount>[] | undefined>;
588
588
  }
589
589
  export interface JobTaskGroupTaskVolumeMount {
590
590
  /**
591
591
  * `(string)` - Destination path inside the task.
592
592
  */
593
- destination?: pulumi.Input<string>;
593
+ destination?: pulumi.Input<string | undefined>;
594
594
  /**
595
595
  * `(boolean)` - Whether the volume is read-only.
596
596
  */
597
- readOnly?: pulumi.Input<boolean>;
597
+ readOnly?: pulumi.Input<boolean | undefined>;
598
598
  /**
599
599
  * `(string)` - Volume name.
600
600
  */
601
- volume?: pulumi.Input<string>;
601
+ volume?: pulumi.Input<string | undefined>;
602
602
  }
603
603
  export interface JobTaskGroupUpdateStrategy {
604
604
  /**
605
605
  * `(boolean)` - Whether the job should automatically revert to the last stable job on deployment failure.
606
606
  */
607
- autoRevert?: pulumi.Input<boolean>;
607
+ autoRevert?: pulumi.Input<boolean | undefined>;
608
608
  /**
609
609
  * `(integer)` - Number of canary allocations created before destructive updates continue.
610
610
  */
611
- canary?: pulumi.Input<number>;
611
+ canary?: pulumi.Input<number | undefined>;
612
612
  /**
613
613
  * `(string)` - Mechanism used to determine allocation health: `checks`, `taskStates`, or `manual`.
614
614
  */
615
- healthCheck?: pulumi.Input<string>;
615
+ healthCheck?: pulumi.Input<string | undefined>;
616
616
  /**
617
617
  * `(string)` - Deadline by which the allocation must become healthy before it is marked unhealthy.
618
618
  */
619
- healthyDeadline?: pulumi.Input<string>;
619
+ healthyDeadline?: pulumi.Input<string | undefined>;
620
620
  /**
621
621
  * `(integer)` - Number of allocations within a task group that can be destructively updated at the same time. Setting `0` forces updates instead of deployments.
622
622
  */
623
- maxParallel?: pulumi.Input<number>;
623
+ maxParallel?: pulumi.Input<number | undefined>;
624
624
  /**
625
625
  * `(string)` - Minimum time the allocation must be in the healthy state before further updates can proceed.
626
626
  */
627
- minHealthyTime?: pulumi.Input<string>;
627
+ minHealthyTime?: pulumi.Input<string | undefined>;
628
628
  /**
629
629
  * `(string)` - Delay between each set of `maxParallel` updates when updating system jobs.
630
630
  */
631
- stagger?: pulumi.Input<string>;
631
+ stagger?: pulumi.Input<string | undefined>;
632
632
  }
633
633
  export interface JobTaskGroupVolume {
634
634
  /**
635
635
  * `(string)` - Volume name.
636
636
  */
637
- name?: pulumi.Input<string>;
637
+ name?: pulumi.Input<string | undefined>;
638
638
  /**
639
639
  * `(boolean)` - Whether the volume is read-only.
640
640
  */
641
- readOnly?: pulumi.Input<boolean>;
641
+ readOnly?: pulumi.Input<boolean | undefined>;
642
642
  /**
643
643
  * `(string)` - Volume source.
644
644
  */
645
- source?: pulumi.Input<string>;
645
+ source?: pulumi.Input<string | undefined>;
646
646
  /**
647
647
  * `(string)` - Volume type.
648
648
  */
649
- type?: pulumi.Input<string>;
649
+ type?: pulumi.Input<string | undefined>;
650
650
  }
651
651
  export interface JobUpdateStrategy {
652
652
  /**
653
653
  * `(boolean)` - Whether the job should automatically revert to the last stable job on deployment failure.
654
654
  */
655
- autoRevert?: pulumi.Input<boolean>;
655
+ autoRevert?: pulumi.Input<boolean | undefined>;
656
656
  /**
657
657
  * `(integer)` - Number of canary allocations created before destructive updates continue.
658
658
  */
659
- canary?: pulumi.Input<number>;
659
+ canary?: pulumi.Input<number | undefined>;
660
660
  /**
661
661
  * `(string)` - Mechanism used to determine allocation health: `checks`, `taskStates`, or `manual`.
662
662
  */
663
- healthCheck?: pulumi.Input<string>;
663
+ healthCheck?: pulumi.Input<string | undefined>;
664
664
  /**
665
665
  * `(string)` - Deadline by which the allocation must become healthy before it is marked unhealthy.
666
666
  */
667
- healthyDeadline?: pulumi.Input<string>;
667
+ healthyDeadline?: pulumi.Input<string | undefined>;
668
668
  /**
669
669
  * `(integer)` - Number of allocations within a task group that can be destructively updated at the same time. Setting `0` forces updates instead of deployments.
670
670
  */
671
- maxParallel?: pulumi.Input<number>;
671
+ maxParallel?: pulumi.Input<number | undefined>;
672
672
  /**
673
673
  * `(string)` - Minimum time the allocation must be in the healthy state before further updates can proceed.
674
674
  */
675
- minHealthyTime?: pulumi.Input<string>;
675
+ minHealthyTime?: pulumi.Input<string | undefined>;
676
676
  /**
677
677
  * `(string)` - Delay between each set of `maxParallel` updates when updating system jobs.
678
678
  */
679
- stagger?: pulumi.Input<string>;
679
+ stagger?: pulumi.Input<string | undefined>;
680
680
  }
681
681
  export interface NamespaceCapabilities {
682
682
  /**
683
683
  * `([]string: <optional>)` - Network modes disabled for the namespace.
684
684
  */
685
- disabledNetworkModes?: pulumi.Input<pulumi.Input<string>[]>;
685
+ disabledNetworkModes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
686
686
  /**
687
687
  * `([]string: <optional>)` - Task drivers disabled for the namespace.
688
688
  */
689
- disabledTaskDrivers?: pulumi.Input<pulumi.Input<string>[]>;
689
+ disabledTaskDrivers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
690
690
  /**
691
691
  * `([]string: <optional>)` - Network modes enabled for the namespace.
692
692
  */
693
- enabledNetworkModes?: pulumi.Input<pulumi.Input<string>[]>;
693
+ enabledNetworkModes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
694
694
  /**
695
695
  * `([]string: <optional>)` - Task drivers enabled for the namespace.
696
696
  */
697
- enabledTaskDrivers?: pulumi.Input<pulumi.Input<string>[]>;
697
+ enabledTaskDrivers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
698
698
  }
699
699
  export interface NamespaceConsulConfig {
700
700
  /**
701
701
  * `([]string: <optional>)` - The list of Consul clusters allowed to be used in this namespace. Cannot be used with `denied`.
702
702
  */
703
- alloweds?: pulumi.Input<pulumi.Input<string>[]>;
703
+ alloweds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
704
704
  /**
705
705
  * `(string: <optional>)` - The Consul cluster to use when none is specified in the job.
706
706
  */
707
- default?: pulumi.Input<string>;
707
+ default?: pulumi.Input<string | undefined>;
708
708
  /**
709
709
  * `([]string: <optional>)` - The list of Consul clusters not allowed to be used in this namespace. Cannot be used with `allowed`.
710
710
  */
711
- denieds?: pulumi.Input<pulumi.Input<string>[]>;
711
+ denieds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
712
712
  }
713
713
  export interface NamespaceNodePoolConfig {
714
714
  /**
715
715
  * `([]string: <optional>)` - The list of node pools that are allowed to be used in this namespace.
716
716
  */
717
- alloweds?: pulumi.Input<pulumi.Input<string>[]>;
717
+ alloweds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
718
718
  /**
719
719
  * `(string: <optional>)` - The default node pool for jobs that don't define one.
720
720
  */
721
- default?: pulumi.Input<string>;
721
+ default?: pulumi.Input<string | undefined>;
722
722
  /**
723
723
  * `([]string: <optional>)` - The list of node pools that are not allowed to be used in this namespace.
724
724
  */
725
- denieds?: pulumi.Input<pulumi.Input<string>[]>;
725
+ denieds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
726
726
  }
727
727
  export interface NamespaceVaultConfig {
728
728
  /**
729
729
  * `([]string: <optional>)` - The list of Vault clusters allowed to be used in this namespace. Cannot be used with `denied`.
730
730
  */
731
- alloweds?: pulumi.Input<pulumi.Input<string>[]>;
731
+ alloweds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
732
732
  /**
733
733
  * `(string: <optional>)` - The Vault cluster to use when none is specified in the job.
734
734
  */
735
- default?: pulumi.Input<string>;
735
+ default?: pulumi.Input<string | undefined>;
736
736
  /**
737
737
  * `([]string: <optional>)` - The list of Vault clusters not allowed to be used in this namespace. Cannot be used with `allowed`.
738
738
  */
739
- denieds?: pulumi.Input<pulumi.Input<string>[]>;
739
+ denieds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
740
740
  }
741
741
  export interface NodePoolSchedulerConfig {
742
742
  /**
@@ -749,13 +749,13 @@ export interface NodePoolSchedulerConfig {
749
749
  * allow distinguishing between memory oversubscription being disabled in the
750
750
  * node pool and this property not being set.
751
751
  */
752
- memoryOversubscription?: pulumi.Input<string>;
752
+ memoryOversubscription?: pulumi.Input<string | undefined>;
753
753
  /**
754
754
  * `(string)` - The scheduler algorithm used in the node
755
755
  * pool. Possible values are `binpack` or `spread`. If not defined the global
756
756
  * cluster configuration is used.
757
757
  */
758
- schedulerAlgorithm?: pulumi.Input<string>;
758
+ schedulerAlgorithm?: pulumi.Input<string | undefined>;
759
759
  }
760
760
  export interface ProviderAuthJwt {
761
761
  /**
@@ -781,8 +781,8 @@ export interface QuoteSpecificationLimit {
781
781
  /**
782
782
  * `(string: <required>)` - The region these limits should apply to.
783
783
  * - `regionLimit` `(block: <required>)` - The limits to enforce. This block
784
- * may only be specified once in the `limits` block. Its structure is
785
- * documented below.
784
+ * may only be specified once in the `limits` block. Its structure is
785
+ * documented below.
786
786
  */
787
787
  region: pulumi.Input<string>;
788
788
  /**
@@ -796,39 +796,39 @@ export interface QuoteSpecificationLimitRegionLimit {
796
796
  * of zero is treated as unlimited, and a negative value is treated as fully
797
797
  * disallowed.
798
798
  */
799
- cores?: pulumi.Input<number>;
799
+ cores?: pulumi.Input<number | undefined>;
800
800
  /**
801
801
  * `(int: 0)` - The amount of CPU to limit allocations to. A value of zero
802
802
  * is treated as unlimited, and a negative value is treated as fully disallowed.
803
803
  */
804
- cpu?: pulumi.Input<number>;
805
- devices?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitDevice>[]>;
804
+ cpu?: pulumi.Input<number | undefined>;
805
+ devices?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitDevice>[] | undefined>;
806
806
  /**
807
807
  * `(int: 0)` - The maximum amount of memory (in megabytes) to
808
808
  * limit allocations to. A value of zero is treated as unlimited, and a negative
809
809
  * value is treated as fully disallowed.
810
810
  * - `devices` `(block: optional)` - A list of device quotas to enforce. Can be
811
- * repeated. See below for the structure of this block.
811
+ * repeated. See below for the structure of this block.
812
812
  * - `nodePools` `(block: optional)` - Per-node-pool quota limits. Can be
813
- * repeated. See below for the structure of this block.
813
+ * repeated. See below for the structure of this block.
814
814
  * - `storage` `(block: optional)` - Storage resource quota configuration. May only
815
- * be specified once. See below for the structure of this block.
815
+ * be specified once. See below for the structure of this block.
816
816
  */
817
- memoryMaxMb?: pulumi.Input<number>;
817
+ memoryMaxMb?: pulumi.Input<number | undefined>;
818
818
  /**
819
819
  * `(int: 0)` - The amount of memory (in megabytes) to limit
820
820
  * allocations to. A value of zero is treated as unlimited, and a negative value
821
821
  * is treated as fully disallowed.
822
822
  */
823
- memoryMb?: pulumi.Input<number>;
824
- nodePools?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePool>[]>;
825
- storage?: pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitStorage>;
823
+ memoryMb?: pulumi.Input<number | undefined>;
824
+ nodePools?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePool>[] | undefined>;
825
+ storage?: pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitStorage | undefined>;
826
826
  }
827
827
  export interface QuoteSpecificationLimitRegionLimitDevice {
828
828
  /**
829
829
  * `(int: 0)` - The number of device instances to limit allocations to.
830
830
  */
831
- count?: pulumi.Input<number>;
831
+ count?: pulumi.Input<number | undefined>;
832
832
  /**
833
833
  * `(string: <required>)` - The name of the device, e.g.
834
834
  * `"nvidia/gpu"`.
@@ -841,40 +841,40 @@ export interface QuoteSpecificationLimitRegionLimitNodePool {
841
841
  * of zero is treated as unlimited, and a negative value is treated as fully
842
842
  * disallowed.
843
843
  */
844
- cores?: pulumi.Input<number>;
844
+ cores?: pulumi.Input<number | undefined>;
845
845
  /**
846
846
  * `(int: 0)` - The amount of CPU to limit allocations to. A value of zero
847
847
  * is treated as unlimited, and a negative value is treated as fully disallowed.
848
848
  */
849
- cpu?: pulumi.Input<number>;
850
- devices?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePoolDevice>[]>;
849
+ cpu?: pulumi.Input<number | undefined>;
850
+ devices?: pulumi.Input<pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePoolDevice>[] | undefined>;
851
851
  /**
852
852
  * `(int: 0)` - The maximum amount of memory (in megabytes) to
853
853
  * limit allocations to. A value of zero is treated as unlimited, and a negative
854
854
  * value is treated as fully disallowed.
855
855
  * - `devices` `(block: optional)` - A list of device quotas to
856
- * enforce for the node pool. Can be repeated.
856
+ * enforce for the node pool. Can be repeated.
857
857
  * - `storage` `(block: optional)` - Storage resource quota
858
- * configuration for the node pool. May only be specified once.
858
+ * configuration for the node pool. May only be specified once.
859
859
  */
860
- memoryMaxMb?: pulumi.Input<number>;
860
+ memoryMaxMb?: pulumi.Input<number | undefined>;
861
861
  /**
862
862
  * `(int: 0)` - The amount of memory (in megabytes) to limit
863
863
  * allocations to. A value of zero is treated as unlimited, and a negative value
864
864
  * is treated as fully disallowed.
865
865
  */
866
- memoryMb?: pulumi.Input<number>;
866
+ memoryMb?: pulumi.Input<number | undefined>;
867
867
  /**
868
868
  * `(string: <required>)` - The node pool name to apply limits to.
869
869
  */
870
870
  nodePool: pulumi.Input<string>;
871
- storage?: pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePoolStorage>;
871
+ storage?: pulumi.Input<inputs.QuoteSpecificationLimitRegionLimitNodePoolStorage | undefined>;
872
872
  }
873
873
  export interface QuoteSpecificationLimitRegionLimitNodePoolDevice {
874
874
  /**
875
875
  * `(int: 0)` - The number of device instances to limit allocations to.
876
876
  */
877
- count?: pulumi.Input<number>;
877
+ count?: pulumi.Input<number | undefined>;
878
878
  /**
879
879
  * `(string: <required>)` - The name of the device, e.g.
880
880
  * `"nvidia/gpu"`.
@@ -886,24 +886,24 @@ export interface QuoteSpecificationLimitRegionLimitNodePoolStorage {
886
886
  * `(int: 0)` - The amount of storage (in megabytes) to limit
887
887
  * host volumes to.
888
888
  */
889
- hostVolumesMb?: pulumi.Input<number>;
889
+ hostVolumesMb?: pulumi.Input<number | undefined>;
890
890
  /**
891
891
  * `(int: 0)` - The amount of storage (in megabytes) to limit
892
892
  * Nomad variables to.
893
893
  */
894
- variablesMb?: pulumi.Input<number>;
894
+ variablesMb?: pulumi.Input<number | undefined>;
895
895
  }
896
896
  export interface QuoteSpecificationLimitRegionLimitStorage {
897
897
  /**
898
898
  * `(int: 0)` - The amount of storage (in megabytes) to limit
899
899
  * host volumes to.
900
900
  */
901
- hostVolumesMb?: pulumi.Input<number>;
901
+ hostVolumesMb?: pulumi.Input<number | undefined>;
902
902
  /**
903
903
  * `(int: 0)` - The amount of storage (in megabytes) to limit
904
904
  * Nomad variables to.
905
905
  */
906
- variablesMb?: pulumi.Input<number>;
906
+ variablesMb?: pulumi.Input<number | undefined>;
907
907
  }
908
908
  export interface VolumeCapability {
909
909
  /**
@@ -926,11 +926,11 @@ export interface VolumeMountOptions {
926
926
  /**
927
927
  * `(string: <optional>)` - The file system type.
928
928
  */
929
- fsType?: pulumi.Input<string>;
929
+ fsType?: pulumi.Input<string | undefined>;
930
930
  /**
931
931
  * `([]string: <optional>)` - The flags passed to `mount`.
932
932
  */
933
- mountFlags?: pulumi.Input<pulumi.Input<string>[]>;
933
+ mountFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
934
934
  }
935
935
  export interface VolumeTopology {
936
936
  /**
@@ -941,13 +941,13 @@ export interface VolumeTopology {
941
941
  */
942
942
  segments?: pulumi.Input<{
943
943
  [key: string]: pulumi.Input<string>;
944
- }>;
944
+ } | undefined>;
945
945
  }
946
946
  export interface VolumeTopologyRequest {
947
947
  /**
948
948
  * `(``Topology``: <optional>)` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
949
949
  */
950
- required?: pulumi.Input<inputs.VolumeTopologyRequestRequired>;
950
+ required?: pulumi.Input<inputs.VolumeTopologyRequestRequired | undefined>;
951
951
  }
952
952
  export interface VolumeTopologyRequestRequired {
953
953
  /**
@@ -965,3 +965,4 @@ export interface VolumeTopologyRequestRequiredTopology {
965
965
  }
966
966
  export declare namespace config {
967
967
  }
968
+ //# sourceMappingURL=input.d.ts.map