pulumi-nomad 2.2.0a1710332982__py3-none-any.whl → 2.3.0__py3-none-any.whl

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 (47) hide show
  1. pulumi_nomad/__init__.py +1 -0
  2. pulumi_nomad/_inputs.py +221 -189
  3. pulumi_nomad/acl_auth_method.py +18 -20
  4. pulumi_nomad/acl_policy.py +0 -64
  5. pulumi_nomad/acl_token.py +18 -26
  6. pulumi_nomad/csi_volume.py +0 -72
  7. pulumi_nomad/csi_volume_registration.py +0 -72
  8. pulumi_nomad/external_volume.py +6 -78
  9. pulumi_nomad/get_acl_policies.py +0 -4
  10. pulumi_nomad/get_acl_policy.py +0 -4
  11. pulumi_nomad/get_acl_role.py +0 -4
  12. pulumi_nomad/get_acl_roles.py +0 -4
  13. pulumi_nomad/get_acl_token.py +0 -4
  14. pulumi_nomad/get_acl_tokens.py +0 -4
  15. pulumi_nomad/get_allocations.py +0 -4
  16. pulumi_nomad/get_datacenters.py +4 -8
  17. pulumi_nomad/get_deployments.py +5 -4
  18. pulumi_nomad/get_job.py +0 -4
  19. pulumi_nomad/get_job_parser.py +0 -24
  20. pulumi_nomad/get_jwks.py +116 -0
  21. pulumi_nomad/get_namespace.py +0 -4
  22. pulumi_nomad/get_namespaces.py +2 -4
  23. pulumi_nomad/get_node_pool.py +0 -4
  24. pulumi_nomad/get_node_pools.py +0 -4
  25. pulumi_nomad/get_plugin.py +0 -4
  26. pulumi_nomad/get_plugins.py +0 -4
  27. pulumi_nomad/get_regions.py +34 -0
  28. pulumi_nomad/get_scaling_policies.py +0 -4
  29. pulumi_nomad/get_scaling_policy.py +0 -4
  30. pulumi_nomad/get_scheduler_policy.py +0 -4
  31. pulumi_nomad/get_variable.py +0 -4
  32. pulumi_nomad/get_volumes.py +0 -4
  33. pulumi_nomad/job.py +16 -16
  34. pulumi_nomad/namespace.py +14 -16
  35. pulumi_nomad/node_pool.py +2 -4
  36. pulumi_nomad/outputs.py +274 -182
  37. pulumi_nomad/pulumi-plugin.json +2 -1
  38. pulumi_nomad/quote_specification.py +4 -6
  39. pulumi_nomad/scheduler_config.py +6 -10
  40. pulumi_nomad/sentinel_policy.py +6 -10
  41. pulumi_nomad/variable.py +14 -18
  42. pulumi_nomad/volume.py +8 -80
  43. {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.3.0.dist-info}/METADATA +1 -1
  44. pulumi_nomad-2.3.0.dist-info/RECORD +55 -0
  45. pulumi_nomad-2.2.0a1710332982.dist-info/RECORD +0 -54
  46. {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.3.0.dist-info}/WHEEL +0 -0
  47. {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.3.0.dist-info}/top_level.txt +0 -0
pulumi_nomad/_inputs.py CHANGED
@@ -58,56 +58,93 @@ __all__ = [
58
58
  @pulumi.input_type
59
59
  class AclAuthMethodConfigArgs:
60
60
  def __init__(__self__, *,
61
- allowed_redirect_uris: pulumi.Input[Sequence[pulumi.Input[str]]],
62
- oidc_client_id: pulumi.Input[str],
63
- oidc_client_secret: pulumi.Input[str],
64
- oidc_discovery_url: pulumi.Input[str],
61
+ allowed_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
65
62
  bound_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
63
+ bound_issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
66
64
  claim_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
65
+ clock_skew_leeway: Optional[pulumi.Input[str]] = None,
67
66
  discovery_ca_pems: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
67
+ expiration_leeway: Optional[pulumi.Input[str]] = None,
68
+ jwks_ca_cert: Optional[pulumi.Input[str]] = None,
69
+ jwks_url: Optional[pulumi.Input[str]] = None,
70
+ jwt_validation_pub_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
68
71
  list_claim_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
72
+ not_before_leeway: Optional[pulumi.Input[str]] = None,
73
+ oidc_client_id: Optional[pulumi.Input[str]] = None,
74
+ oidc_client_secret: Optional[pulumi.Input[str]] = None,
69
75
  oidc_disable_userinfo: Optional[pulumi.Input[bool]] = None,
76
+ oidc_discovery_url: Optional[pulumi.Input[str]] = None,
70
77
  oidc_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
71
78
  signing_algs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
72
79
  """
73
80
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_redirect_uris: `([]string: <optional>)` - A list of allowed values
74
81
  that can be used for the redirect URI.
75
- :param pulumi.Input[str] oidc_client_id: `(string: <required>)` - The OAuth Client ID configured
76
- with the OIDC provider.
77
- :param pulumi.Input[str] oidc_client_secret: `(string: <required>)` - The OAuth Client Secret
78
- configured with the OIDC provider.
79
- :param pulumi.Input[str] oidc_discovery_url: `(string: <required>)` - The OIDC Discovery URL,
80
- without any .well-known component (base path).
81
82
  :param pulumi.Input[Sequence[pulumi.Input[str]]] bound_audiences: `([]string: <optional>)` - List of auth claims that are
82
83
  valid for login.
83
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] claim_mappings: `(map[string]string: <optional>)` - Mappings of claims (key)
84
- that will be copied to a metadata field (value).
84
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] bound_issuers: `([]string: <optional>)` - The value against which to match
85
+ the iss claim in a JWT.
86
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] claim_mappings: Mappings of claims (key) that will be copied to a metadata field (value).
87
+ :param pulumi.Input[str] clock_skew_leeway: `(string: <optional>)` - Duration of leeway when validating
88
+ all claims in the form of a time duration such as "5m" or "1h".
85
89
  :param pulumi.Input[Sequence[pulumi.Input[str]]] discovery_ca_pems: `([]string: <optional>)` - PEM encoded CA certs for use
86
90
  by the TLS client used to talk with the OIDC Discovery URL.
87
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] list_claim_mappings: `(map[string]string: <optional>)` - Mappings of list
88
- claims (key) that will be copied to a metadata field (value).
91
+ :param pulumi.Input[str] expiration_leeway: `(string: <optional>)` - Duration of leeway when validating
92
+ expiration of a JWT in the form of a time duration such as "5m" or "1h".
93
+ :param pulumi.Input[str] jwks_ca_cert: `(string: <optional>)` - PEM encoded CA cert for use by the
94
+ TLS client used to talk with the JWKS server.
95
+ :param pulumi.Input[str] jwks_url: `(string: <optional>)` - JSON Web Key Sets url for authenticating
96
+ signatures.
97
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] jwt_validation_pub_keys: `([]string: <optional>)` - List of PEM-encoded
98
+ public keys to use to authenticate signatures locally.
99
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] list_claim_mappings: Mappings of list claims (key) that will be copied to a metadata field (value).
100
+ :param pulumi.Input[str] not_before_leeway: `(string: <optional>)` - Duration of leeway when validating
101
+ not before values of a token in the form of a time duration such as "5m" or "1h".
102
+ :param pulumi.Input[str] oidc_client_id: `(string: <optional>)` - The OAuth Client ID configured
103
+ with the OIDC provider.
104
+ :param pulumi.Input[str] oidc_client_secret: `(string: <optional>)` - The OAuth Client Secret
105
+ configured with the OIDC provider.
89
106
  :param pulumi.Input[bool] oidc_disable_userinfo: `(bool: false)` - When set to `true`, Nomad will
90
107
  not make a request to the identity provider to get OIDC `UserInfo`.
91
108
  You may wish to set this if your identity provider doesn't send any
92
109
  additional claims from the `UserInfo` endpoint.
110
+ :param pulumi.Input[str] oidc_discovery_url: `(string: <optional>)` - The OIDC Discovery URL,
111
+ without any .well-known component (base path).
93
112
  :param pulumi.Input[Sequence[pulumi.Input[str]]] oidc_scopes: `([]string: <optional>)` - List of OIDC scopes.
94
113
  :param pulumi.Input[Sequence[pulumi.Input[str]]] signing_algs: `([]string: <optional>)` - A list of supported signing
95
114
  algorithms.
96
115
  """
97
- pulumi.set(__self__, "allowed_redirect_uris", allowed_redirect_uris)
98
- pulumi.set(__self__, "oidc_client_id", oidc_client_id)
99
- pulumi.set(__self__, "oidc_client_secret", oidc_client_secret)
100
- pulumi.set(__self__, "oidc_discovery_url", oidc_discovery_url)
116
+ if allowed_redirect_uris is not None:
117
+ pulumi.set(__self__, "allowed_redirect_uris", allowed_redirect_uris)
101
118
  if bound_audiences is not None:
102
119
  pulumi.set(__self__, "bound_audiences", bound_audiences)
120
+ if bound_issuers is not None:
121
+ pulumi.set(__self__, "bound_issuers", bound_issuers)
103
122
  if claim_mappings is not None:
104
123
  pulumi.set(__self__, "claim_mappings", claim_mappings)
124
+ if clock_skew_leeway is not None:
125
+ pulumi.set(__self__, "clock_skew_leeway", clock_skew_leeway)
105
126
  if discovery_ca_pems is not None:
106
127
  pulumi.set(__self__, "discovery_ca_pems", discovery_ca_pems)
128
+ if expiration_leeway is not None:
129
+ pulumi.set(__self__, "expiration_leeway", expiration_leeway)
130
+ if jwks_ca_cert is not None:
131
+ pulumi.set(__self__, "jwks_ca_cert", jwks_ca_cert)
132
+ if jwks_url is not None:
133
+ pulumi.set(__self__, "jwks_url", jwks_url)
134
+ if jwt_validation_pub_keys is not None:
135
+ pulumi.set(__self__, "jwt_validation_pub_keys", jwt_validation_pub_keys)
107
136
  if list_claim_mappings is not None:
108
137
  pulumi.set(__self__, "list_claim_mappings", list_claim_mappings)
138
+ if not_before_leeway is not None:
139
+ pulumi.set(__self__, "not_before_leeway", not_before_leeway)
140
+ if oidc_client_id is not None:
141
+ pulumi.set(__self__, "oidc_client_id", oidc_client_id)
142
+ if oidc_client_secret is not None:
143
+ pulumi.set(__self__, "oidc_client_secret", oidc_client_secret)
109
144
  if oidc_disable_userinfo is not None:
110
145
  pulumi.set(__self__, "oidc_disable_userinfo", oidc_disable_userinfo)
146
+ if oidc_discovery_url is not None:
147
+ pulumi.set(__self__, "oidc_discovery_url", oidc_discovery_url)
111
148
  if oidc_scopes is not None:
112
149
  pulumi.set(__self__, "oidc_scopes", oidc_scopes)
113
150
  if signing_algs is not None:
@@ -115,7 +152,7 @@ class AclAuthMethodConfigArgs:
115
152
 
116
153
  @property
117
154
  @pulumi.getter(name="allowedRedirectUris")
118
- def allowed_redirect_uris(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
155
+ def allowed_redirect_uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
119
156
  """
120
157
  `([]string: <optional>)` - A list of allowed values
121
158
  that can be used for the redirect URI.
@@ -123,48 +160,9 @@ class AclAuthMethodConfigArgs:
123
160
  return pulumi.get(self, "allowed_redirect_uris")
124
161
 
125
162
  @allowed_redirect_uris.setter
126
- def allowed_redirect_uris(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
163
+ def allowed_redirect_uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
127
164
  pulumi.set(self, "allowed_redirect_uris", value)
128
165
 
129
- @property
130
- @pulumi.getter(name="oidcClientId")
131
- def oidc_client_id(self) -> pulumi.Input[str]:
132
- """
133
- `(string: <required>)` - The OAuth Client ID configured
134
- with the OIDC provider.
135
- """
136
- return pulumi.get(self, "oidc_client_id")
137
-
138
- @oidc_client_id.setter
139
- def oidc_client_id(self, value: pulumi.Input[str]):
140
- pulumi.set(self, "oidc_client_id", value)
141
-
142
- @property
143
- @pulumi.getter(name="oidcClientSecret")
144
- def oidc_client_secret(self) -> pulumi.Input[str]:
145
- """
146
- `(string: <required>)` - The OAuth Client Secret
147
- configured with the OIDC provider.
148
- """
149
- return pulumi.get(self, "oidc_client_secret")
150
-
151
- @oidc_client_secret.setter
152
- def oidc_client_secret(self, value: pulumi.Input[str]):
153
- pulumi.set(self, "oidc_client_secret", value)
154
-
155
- @property
156
- @pulumi.getter(name="oidcDiscoveryUrl")
157
- def oidc_discovery_url(self) -> pulumi.Input[str]:
158
- """
159
- `(string: <required>)` - The OIDC Discovery URL,
160
- without any .well-known component (base path).
161
- """
162
- return pulumi.get(self, "oidc_discovery_url")
163
-
164
- @oidc_discovery_url.setter
165
- def oidc_discovery_url(self, value: pulumi.Input[str]):
166
- pulumi.set(self, "oidc_discovery_url", value)
167
-
168
166
  @property
169
167
  @pulumi.getter(name="boundAudiences")
170
168
  def bound_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -178,12 +176,24 @@ class AclAuthMethodConfigArgs:
178
176
  def bound_audiences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
179
177
  pulumi.set(self, "bound_audiences", value)
180
178
 
179
+ @property
180
+ @pulumi.getter(name="boundIssuers")
181
+ def bound_issuers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
182
+ """
183
+ `([]string: <optional>)` - The value against which to match
184
+ the iss claim in a JWT.
185
+ """
186
+ return pulumi.get(self, "bound_issuers")
187
+
188
+ @bound_issuers.setter
189
+ def bound_issuers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
190
+ pulumi.set(self, "bound_issuers", value)
191
+
181
192
  @property
182
193
  @pulumi.getter(name="claimMappings")
183
194
  def claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
184
195
  """
185
- `(map[string]string: <optional>)` - Mappings of claims (key)
186
- that will be copied to a metadata field (value).
196
+ Mappings of claims (key) that will be copied to a metadata field (value).
187
197
  """
188
198
  return pulumi.get(self, "claim_mappings")
189
199
 
@@ -191,6 +201,19 @@ class AclAuthMethodConfigArgs:
191
201
  def claim_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
192
202
  pulumi.set(self, "claim_mappings", value)
193
203
 
204
+ @property
205
+ @pulumi.getter(name="clockSkewLeeway")
206
+ def clock_skew_leeway(self) -> Optional[pulumi.Input[str]]:
207
+ """
208
+ `(string: <optional>)` - Duration of leeway when validating
209
+ all claims in the form of a time duration such as "5m" or "1h".
210
+ """
211
+ return pulumi.get(self, "clock_skew_leeway")
212
+
213
+ @clock_skew_leeway.setter
214
+ def clock_skew_leeway(self, value: Optional[pulumi.Input[str]]):
215
+ pulumi.set(self, "clock_skew_leeway", value)
216
+
194
217
  @property
195
218
  @pulumi.getter(name="discoveryCaPems")
196
219
  def discovery_ca_pems(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -204,12 +227,63 @@ class AclAuthMethodConfigArgs:
204
227
  def discovery_ca_pems(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
205
228
  pulumi.set(self, "discovery_ca_pems", value)
206
229
 
230
+ @property
231
+ @pulumi.getter(name="expirationLeeway")
232
+ def expiration_leeway(self) -> Optional[pulumi.Input[str]]:
233
+ """
234
+ `(string: <optional>)` - Duration of leeway when validating
235
+ expiration of a JWT in the form of a time duration such as "5m" or "1h".
236
+ """
237
+ return pulumi.get(self, "expiration_leeway")
238
+
239
+ @expiration_leeway.setter
240
+ def expiration_leeway(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "expiration_leeway", value)
242
+
243
+ @property
244
+ @pulumi.getter(name="jwksCaCert")
245
+ def jwks_ca_cert(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ `(string: <optional>)` - PEM encoded CA cert for use by the
248
+ TLS client used to talk with the JWKS server.
249
+ """
250
+ return pulumi.get(self, "jwks_ca_cert")
251
+
252
+ @jwks_ca_cert.setter
253
+ def jwks_ca_cert(self, value: Optional[pulumi.Input[str]]):
254
+ pulumi.set(self, "jwks_ca_cert", value)
255
+
256
+ @property
257
+ @pulumi.getter(name="jwksUrl")
258
+ def jwks_url(self) -> Optional[pulumi.Input[str]]:
259
+ """
260
+ `(string: <optional>)` - JSON Web Key Sets url for authenticating
261
+ signatures.
262
+ """
263
+ return pulumi.get(self, "jwks_url")
264
+
265
+ @jwks_url.setter
266
+ def jwks_url(self, value: Optional[pulumi.Input[str]]):
267
+ pulumi.set(self, "jwks_url", value)
268
+
269
+ @property
270
+ @pulumi.getter(name="jwtValidationPubKeys")
271
+ def jwt_validation_pub_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
272
+ """
273
+ `([]string: <optional>)` - List of PEM-encoded
274
+ public keys to use to authenticate signatures locally.
275
+ """
276
+ return pulumi.get(self, "jwt_validation_pub_keys")
277
+
278
+ @jwt_validation_pub_keys.setter
279
+ def jwt_validation_pub_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
280
+ pulumi.set(self, "jwt_validation_pub_keys", value)
281
+
207
282
  @property
208
283
  @pulumi.getter(name="listClaimMappings")
209
284
  def list_claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
210
285
  """
211
- `(map[string]string: <optional>)` - Mappings of list
212
- claims (key) that will be copied to a metadata field (value).
286
+ Mappings of list claims (key) that will be copied to a metadata field (value).
213
287
  """
214
288
  return pulumi.get(self, "list_claim_mappings")
215
289
 
@@ -217,6 +291,45 @@ class AclAuthMethodConfigArgs:
217
291
  def list_claim_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
218
292
  pulumi.set(self, "list_claim_mappings", value)
219
293
 
294
+ @property
295
+ @pulumi.getter(name="notBeforeLeeway")
296
+ def not_before_leeway(self) -> Optional[pulumi.Input[str]]:
297
+ """
298
+ `(string: <optional>)` - Duration of leeway when validating
299
+ not before values of a token in the form of a time duration such as "5m" or "1h".
300
+ """
301
+ return pulumi.get(self, "not_before_leeway")
302
+
303
+ @not_before_leeway.setter
304
+ def not_before_leeway(self, value: Optional[pulumi.Input[str]]):
305
+ pulumi.set(self, "not_before_leeway", value)
306
+
307
+ @property
308
+ @pulumi.getter(name="oidcClientId")
309
+ def oidc_client_id(self) -> Optional[pulumi.Input[str]]:
310
+ """
311
+ `(string: <optional>)` - The OAuth Client ID configured
312
+ with the OIDC provider.
313
+ """
314
+ return pulumi.get(self, "oidc_client_id")
315
+
316
+ @oidc_client_id.setter
317
+ def oidc_client_id(self, value: Optional[pulumi.Input[str]]):
318
+ pulumi.set(self, "oidc_client_id", value)
319
+
320
+ @property
321
+ @pulumi.getter(name="oidcClientSecret")
322
+ def oidc_client_secret(self) -> Optional[pulumi.Input[str]]:
323
+ """
324
+ `(string: <optional>)` - The OAuth Client Secret
325
+ configured with the OIDC provider.
326
+ """
327
+ return pulumi.get(self, "oidc_client_secret")
328
+
329
+ @oidc_client_secret.setter
330
+ def oidc_client_secret(self, value: Optional[pulumi.Input[str]]):
331
+ pulumi.set(self, "oidc_client_secret", value)
332
+
220
333
  @property
221
334
  @pulumi.getter(name="oidcDisableUserinfo")
222
335
  def oidc_disable_userinfo(self) -> Optional[pulumi.Input[bool]]:
@@ -232,6 +345,19 @@ class AclAuthMethodConfigArgs:
232
345
  def oidc_disable_userinfo(self, value: Optional[pulumi.Input[bool]]):
233
346
  pulumi.set(self, "oidc_disable_userinfo", value)
234
347
 
348
+ @property
349
+ @pulumi.getter(name="oidcDiscoveryUrl")
350
+ def oidc_discovery_url(self) -> Optional[pulumi.Input[str]]:
351
+ """
352
+ `(string: <optional>)` - The OIDC Discovery URL,
353
+ without any .well-known component (base path).
354
+ """
355
+ return pulumi.get(self, "oidc_discovery_url")
356
+
357
+ @oidc_discovery_url.setter
358
+ def oidc_discovery_url(self, value: Optional[pulumi.Input[str]]):
359
+ pulumi.set(self, "oidc_discovery_url", value)
360
+
235
361
  @property
236
362
  @pulumi.getter(name="oidcScopes")
237
363
  def oidc_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -266,15 +392,10 @@ class AclPolicyJobAclArgs:
266
392
  namespace: Optional[pulumi.Input[str]] = None,
267
393
  task: Optional[pulumi.Input[str]] = None):
268
394
  """
269
- :param pulumi.Input[str] job_id: `(string: <optional>` - The job to attach the policy. Required if
270
- `group` is set.
271
- :param pulumi.Input[str] group: `(string: <optional>` - The group to attach the policy. Required if
272
- `task` is set.
273
- :param pulumi.Input[str] namespace: `(string: "default")` - The namespace to attach the policy.
274
- Required if `job_id` is set.
275
- :param pulumi.Input[str] task: `(string: <optional>` - The task to attach the policy.
276
-
277
- [nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
395
+ :param pulumi.Input[str] job_id: Job
396
+ :param pulumi.Input[str] group: Group
397
+ :param pulumi.Input[str] namespace: Namespace
398
+ :param pulumi.Input[str] task: Task
278
399
  """
279
400
  pulumi.set(__self__, "job_id", job_id)
280
401
  if group is not None:
@@ -288,8 +409,7 @@ class AclPolicyJobAclArgs:
288
409
  @pulumi.getter(name="jobId")
289
410
  def job_id(self) -> pulumi.Input[str]:
290
411
  """
291
- `(string: <optional>` - The job to attach the policy. Required if
292
- `group` is set.
412
+ Job
293
413
  """
294
414
  return pulumi.get(self, "job_id")
295
415
 
@@ -301,8 +421,7 @@ class AclPolicyJobAclArgs:
301
421
  @pulumi.getter
302
422
  def group(self) -> Optional[pulumi.Input[str]]:
303
423
  """
304
- `(string: <optional>` - The group to attach the policy. Required if
305
- `task` is set.
424
+ Group
306
425
  """
307
426
  return pulumi.get(self, "group")
308
427
 
@@ -314,8 +433,7 @@ class AclPolicyJobAclArgs:
314
433
  @pulumi.getter
315
434
  def namespace(self) -> Optional[pulumi.Input[str]]:
316
435
  """
317
- `(string: "default")` - The namespace to attach the policy.
318
- Required if `job_id` is set.
436
+ Namespace
319
437
  """
320
438
  return pulumi.get(self, "namespace")
321
439
 
@@ -327,9 +445,7 @@ class AclPolicyJobAclArgs:
327
445
  @pulumi.getter
328
446
  def task(self) -> Optional[pulumi.Input[str]]:
329
447
  """
330
- `(string: <optional>` - The task to attach the policy.
331
-
332
- [nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
448
+ Task
333
449
  """
334
450
  return pulumi.get(self, "task")
335
451
 
@@ -582,24 +698,12 @@ class CsiVolumeRegistrationMountOptionsArgs:
582
698
  class CsiVolumeRegistrationTopologyArgs:
583
699
  def __init__(__self__, *,
584
700
  segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
585
- """
586
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
587
-
588
- In addition to the above arguments, the following attributes are exported and
589
- can be referenced:
590
- """
591
701
  if segments is not None:
592
702
  pulumi.set(__self__, "segments", segments)
593
703
 
594
704
  @property
595
705
  @pulumi.getter
596
706
  def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
597
- """
598
- `(map[string]string)` - Define the attributes for the topology request.
599
-
600
- In addition to the above arguments, the following attributes are exported and
601
- can be referenced:
602
- """
603
707
  return pulumi.get(self, "segments")
604
708
 
605
709
  @segments.setter
@@ -635,7 +739,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
635
739
  def __init__(__self__, *,
636
740
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]):
637
741
  """
638
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
742
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
639
743
  """
640
744
  pulumi.set(__self__, "topologies", topologies)
641
745
 
@@ -643,7 +747,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
643
747
  @pulumi.getter
644
748
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]:
645
749
  """
646
- `(List of segments: <required>)` - Defines the location for the volume.
750
+ Defines the location for the volume.
647
751
  """
648
752
  return pulumi.get(self, "topologies")
649
753
 
@@ -657,10 +761,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
657
761
  def __init__(__self__, *,
658
762
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
659
763
  """
660
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
661
-
662
- In addition to the above arguments, the following attributes are exported and
663
- can be referenced:
764
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
664
765
  """
665
766
  pulumi.set(__self__, "segments", segments)
666
767
 
@@ -668,10 +769,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
668
769
  @pulumi.getter
669
770
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
670
771
  """
671
- `(map[string]string)` - Define the attributes for the topology request.
672
-
673
- In addition to the above arguments, the following attributes are exported and
674
- can be referenced:
772
+ Define attributes for the topology request.
675
773
  """
676
774
  return pulumi.get(self, "segments")
677
775
 
@@ -684,24 +782,12 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
684
782
  class CsiVolumeTopologyArgs:
685
783
  def __init__(__self__, *,
686
784
  segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
687
- """
688
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
689
-
690
- In addition to the above arguments, the following attributes are exported and
691
- can be referenced:
692
- """
693
785
  if segments is not None:
694
786
  pulumi.set(__self__, "segments", segments)
695
787
 
696
788
  @property
697
789
  @pulumi.getter
698
790
  def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
699
- """
700
- `(map[string]string)` - Define the attributes for the topology request.
701
-
702
- In addition to the above arguments, the following attributes are exported and
703
- can be referenced:
704
- """
705
791
  return pulumi.get(self, "segments")
706
792
 
707
793
  @segments.setter
@@ -753,7 +839,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
753
839
  def __init__(__self__, *,
754
840
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]):
755
841
  """
756
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
842
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
757
843
  """
758
844
  pulumi.set(__self__, "topologies", topologies)
759
845
 
@@ -761,7 +847,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
761
847
  @pulumi.getter
762
848
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]:
763
849
  """
764
- `(List of segments: <required>)` - Defines the location for the volume.
850
+ Defines the location for the volume.
765
851
  """
766
852
  return pulumi.get(self, "topologies")
767
853
 
@@ -775,10 +861,7 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
775
861
  def __init__(__self__, *,
776
862
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
777
863
  """
778
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
779
-
780
- In addition to the above arguments, the following attributes are exported and
781
- can be referenced:
864
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
782
865
  """
783
866
  pulumi.set(__self__, "segments", segments)
784
867
 
@@ -786,10 +869,7 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
786
869
  @pulumi.getter
787
870
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
788
871
  """
789
- `(map[string]string)` - Define the attributes for the topology request.
790
-
791
- In addition to the above arguments, the following attributes are exported and
792
- can be referenced:
872
+ Define the attributes for the topology request.
793
873
  """
794
874
  return pulumi.get(self, "segments")
795
875
 
@@ -803,7 +883,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
803
883
  def __init__(__self__, *,
804
884
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]):
805
885
  """
806
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
886
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
807
887
  """
808
888
  pulumi.set(__self__, "topologies", topologies)
809
889
 
@@ -811,7 +891,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
811
891
  @pulumi.getter
812
892
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]:
813
893
  """
814
- `(List of segments: <required>)` - Defines the location for the volume.
894
+ Defines the location for the volume.
815
895
  """
816
896
  return pulumi.get(self, "topologies")
817
897
 
@@ -825,10 +905,7 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
825
905
  def __init__(__self__, *,
826
906
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
827
907
  """
828
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
829
-
830
- In addition to the above arguments, the following attributes are exported and
831
- can be referenced:
908
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
832
909
  """
833
910
  pulumi.set(__self__, "segments", segments)
834
911
 
@@ -836,10 +913,7 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
836
913
  @pulumi.getter
837
914
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
838
915
  """
839
- `(map[string]string)` - Define the attributes for the topology request.
840
-
841
- In addition to the above arguments, the following attributes are exported and
842
- can be referenced:
916
+ Define the attributes for the topology request.
843
917
  """
844
918
  return pulumi.get(self, "segments")
845
919
 
@@ -942,24 +1016,12 @@ class ExternalVolumeMountOptionsArgs:
942
1016
  class ExternalVolumeTopologyArgs:
943
1017
  def __init__(__self__, *,
944
1018
  segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
945
- """
946
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
947
-
948
- In addition to the above arguments, the following attributes are exported and
949
- can be referenced:
950
- """
951
1019
  if segments is not None:
952
1020
  pulumi.set(__self__, "segments", segments)
953
1021
 
954
1022
  @property
955
1023
  @pulumi.getter
956
1024
  def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
957
- """
958
- `(map[string]string)` - Define the attributes for the topology request.
959
-
960
- In addition to the above arguments, the following attributes are exported and
961
- can be referenced:
962
- """
963
1025
  return pulumi.get(self, "segments")
964
1026
 
965
1027
  @segments.setter
@@ -1011,7 +1073,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
1011
1073
  def __init__(__self__, *,
1012
1074
  topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]):
1013
1075
  """
1014
- :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1076
+ :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
1015
1077
  """
1016
1078
  pulumi.set(__self__, "topologies", topologies)
1017
1079
 
@@ -1019,7 +1081,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
1019
1081
  @pulumi.getter
1020
1082
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]:
1021
1083
  """
1022
- `(List of segments: <required>)` - Defines the location for the volume.
1084
+ Defines the location for the volume.
1023
1085
  """
1024
1086
  return pulumi.get(self, "topologies")
1025
1087
 
@@ -1033,10 +1095,7 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
1033
1095
  def __init__(__self__, *,
1034
1096
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1035
1097
  """
1036
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
1037
-
1038
- In addition to the above arguments, the following attributes are exported and
1039
- can be referenced:
1098
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
1040
1099
  """
1041
1100
  pulumi.set(__self__, "segments", segments)
1042
1101
 
@@ -1044,10 +1103,7 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
1044
1103
  @pulumi.getter
1045
1104
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1046
1105
  """
1047
- `(map[string]string)` - Define the attributes for the topology request.
1048
-
1049
- In addition to the above arguments, the following attributes are exported and
1050
- can be referenced:
1106
+ Define the attributes for the topology request.
1051
1107
  """
1052
1108
  return pulumi.get(self, "segments")
1053
1109
 
@@ -1061,7 +1117,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
1061
1117
  def __init__(__self__, *,
1062
1118
  topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]):
1063
1119
  """
1064
- :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1120
+ :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
1065
1121
  """
1066
1122
  pulumi.set(__self__, "topologies", topologies)
1067
1123
 
@@ -1069,7 +1125,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
1069
1125
  @pulumi.getter
1070
1126
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]:
1071
1127
  """
1072
- `(List of segments: <required>)` - Defines the location for the volume.
1128
+ Defines the location for the volume.
1073
1129
  """
1074
1130
  return pulumi.get(self, "topologies")
1075
1131
 
@@ -1083,10 +1139,7 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
1083
1139
  def __init__(__self__, *,
1084
1140
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1085
1141
  """
1086
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
1087
-
1088
- In addition to the above arguments, the following attributes are exported and
1089
- can be referenced:
1142
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
1090
1143
  """
1091
1144
  pulumi.set(__self__, "segments", segments)
1092
1145
 
@@ -1094,10 +1147,7 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
1094
1147
  @pulumi.getter
1095
1148
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1096
1149
  """
1097
- `(map[string]string)` - Define the attributes for the topology request.
1098
-
1099
- In addition to the above arguments, the following attributes are exported and
1100
- can be referenced:
1150
+ Define the attributes for the topology request.
1101
1151
  """
1102
1152
  return pulumi.get(self, "segments")
1103
1153
 
@@ -1751,24 +1801,12 @@ class VolumeMountOptionsArgs:
1751
1801
  class VolumeTopologyArgs:
1752
1802
  def __init__(__self__, *,
1753
1803
  segments: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
1754
- """
1755
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
1756
-
1757
- In addition to the above arguments, the following attributes are exported and
1758
- can be referenced:
1759
- """
1760
1804
  if segments is not None:
1761
1805
  pulumi.set(__self__, "segments", segments)
1762
1806
 
1763
1807
  @property
1764
1808
  @pulumi.getter
1765
1809
  def segments(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1766
- """
1767
- `(map[string]string)` - Define the attributes for the topology request.
1768
-
1769
- In addition to the above arguments, the following attributes are exported and
1770
- can be referenced:
1771
- """
1772
1810
  return pulumi.get(self, "segments")
1773
1811
 
1774
1812
  @segments.setter
@@ -1804,7 +1842,7 @@ class VolumeTopologyRequestRequiredArgs:
1804
1842
  def __init__(__self__, *,
1805
1843
  topologies: pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]):
1806
1844
  """
1807
- :param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1845
+ :param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
1808
1846
  """
1809
1847
  pulumi.set(__self__, "topologies", topologies)
1810
1848
 
@@ -1812,7 +1850,7 @@ class VolumeTopologyRequestRequiredArgs:
1812
1850
  @pulumi.getter
1813
1851
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]:
1814
1852
  """
1815
- `(List of segments: <required>)` - Defines the location for the volume.
1853
+ Defines the location for the volume.
1816
1854
  """
1817
1855
  return pulumi.get(self, "topologies")
1818
1856
 
@@ -1826,10 +1864,7 @@ class VolumeTopologyRequestRequiredTopologyArgs:
1826
1864
  def __init__(__self__, *,
1827
1865
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1828
1866
  """
1829
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: `(map[string]string)` - Define the attributes for the topology request.
1830
-
1831
- In addition to the above arguments, the following attributes are exported and
1832
- can be referenced:
1867
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
1833
1868
  """
1834
1869
  pulumi.set(__self__, "segments", segments)
1835
1870
 
@@ -1837,10 +1872,7 @@ class VolumeTopologyRequestRequiredTopologyArgs:
1837
1872
  @pulumi.getter
1838
1873
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1839
1874
  """
1840
- `(map[string]string)` - Define the attributes for the topology request.
1841
-
1842
- In addition to the above arguments, the following attributes are exported and
1843
- can be referenced:
1875
+ Define attributes for the topology request.
1844
1876
  """
1845
1877
  return pulumi.get(self, "segments")
1846
1878