pulumi-nomad 2.3.0__py3-none-any.whl → 2.3.0a1710918439__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 +0 -1
  2. pulumi_nomad/_inputs.py +189 -221
  3. pulumi_nomad/acl_auth_method.py +20 -18
  4. pulumi_nomad/acl_policy.py +64 -0
  5. pulumi_nomad/acl_token.py +26 -18
  6. pulumi_nomad/csi_volume.py +72 -0
  7. pulumi_nomad/csi_volume_registration.py +72 -0
  8. pulumi_nomad/external_volume.py +78 -6
  9. pulumi_nomad/get_acl_policies.py +4 -0
  10. pulumi_nomad/get_acl_policy.py +4 -0
  11. pulumi_nomad/get_acl_role.py +4 -0
  12. pulumi_nomad/get_acl_roles.py +4 -0
  13. pulumi_nomad/get_acl_token.py +4 -0
  14. pulumi_nomad/get_acl_tokens.py +4 -0
  15. pulumi_nomad/get_allocations.py +4 -0
  16. pulumi_nomad/get_datacenters.py +8 -4
  17. pulumi_nomad/get_deployments.py +4 -5
  18. pulumi_nomad/get_job.py +4 -0
  19. pulumi_nomad/get_job_parser.py +24 -0
  20. pulumi_nomad/get_namespace.py +4 -0
  21. pulumi_nomad/get_namespaces.py +4 -2
  22. pulumi_nomad/get_node_pool.py +4 -0
  23. pulumi_nomad/get_node_pools.py +4 -0
  24. pulumi_nomad/get_plugin.py +4 -0
  25. pulumi_nomad/get_plugins.py +4 -0
  26. pulumi_nomad/get_regions.py +0 -34
  27. pulumi_nomad/get_scaling_policies.py +4 -0
  28. pulumi_nomad/get_scaling_policy.py +4 -0
  29. pulumi_nomad/get_scheduler_policy.py +4 -0
  30. pulumi_nomad/get_variable.py +4 -0
  31. pulumi_nomad/get_volumes.py +4 -0
  32. pulumi_nomad/job.py +16 -16
  33. pulumi_nomad/namespace.py +16 -14
  34. pulumi_nomad/node_pool.py +4 -2
  35. pulumi_nomad/outputs.py +182 -274
  36. pulumi_nomad/pulumi-plugin.json +1 -2
  37. pulumi_nomad/quote_specification.py +6 -4
  38. pulumi_nomad/scheduler_config.py +10 -6
  39. pulumi_nomad/sentinel_policy.py +10 -6
  40. pulumi_nomad/variable.py +18 -14
  41. pulumi_nomad/volume.py +80 -8
  42. {pulumi_nomad-2.3.0.dist-info → pulumi_nomad-2.3.0a1710918439.dist-info}/METADATA +1 -1
  43. pulumi_nomad-2.3.0a1710918439.dist-info/RECORD +54 -0
  44. pulumi_nomad/get_jwks.py +0 -116
  45. pulumi_nomad-2.3.0.dist-info/RECORD +0 -55
  46. {pulumi_nomad-2.3.0.dist-info → pulumi_nomad-2.3.0a1710918439.dist-info}/WHEEL +0 -0
  47. {pulumi_nomad-2.3.0.dist-info → pulumi_nomad-2.3.0a1710918439.dist-info}/top_level.txt +0 -0
pulumi_nomad/_inputs.py CHANGED
@@ -58,93 +58,56 @@ __all__ = [
58
58
  @pulumi.input_type
59
59
  class AclAuthMethodConfigArgs:
60
60
  def __init__(__self__, *,
61
- allowed_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
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],
62
65
  bound_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
63
- bound_issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
64
66
  claim_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
65
- clock_skew_leeway: Optional[pulumi.Input[str]] = None,
66
67
  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,
71
68
  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,
75
69
  oidc_disable_userinfo: Optional[pulumi.Input[bool]] = None,
76
- oidc_discovery_url: Optional[pulumi.Input[str]] = None,
77
70
  oidc_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
78
71
  signing_algs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
79
72
  """
80
73
  :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_redirect_uris: `([]string: <optional>)` - A list of allowed values
81
74
  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).
82
81
  :param pulumi.Input[Sequence[pulumi.Input[str]]] bound_audiences: `([]string: <optional>)` - List of auth claims that are
83
82
  valid for login.
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".
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).
89
85
  :param pulumi.Input[Sequence[pulumi.Input[str]]] discovery_ca_pems: `([]string: <optional>)` - PEM encoded CA certs for use
90
86
  by the TLS client used to talk with the OIDC Discovery URL.
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.
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).
106
89
  :param pulumi.Input[bool] oidc_disable_userinfo: `(bool: false)` - When set to `true`, Nomad will
107
90
  not make a request to the identity provider to get OIDC `UserInfo`.
108
91
  You may wish to set this if your identity provider doesn't send any
109
92
  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).
112
93
  :param pulumi.Input[Sequence[pulumi.Input[str]]] oidc_scopes: `([]string: <optional>)` - List of OIDC scopes.
113
94
  :param pulumi.Input[Sequence[pulumi.Input[str]]] signing_algs: `([]string: <optional>)` - A list of supported signing
114
95
  algorithms.
115
96
  """
116
- if allowed_redirect_uris is not None:
117
- pulumi.set(__self__, "allowed_redirect_uris", allowed_redirect_uris)
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)
118
101
  if bound_audiences is not None:
119
102
  pulumi.set(__self__, "bound_audiences", bound_audiences)
120
- if bound_issuers is not None:
121
- pulumi.set(__self__, "bound_issuers", bound_issuers)
122
103
  if claim_mappings is not None:
123
104
  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)
126
105
  if discovery_ca_pems is not None:
127
106
  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)
136
107
  if list_claim_mappings is not None:
137
108
  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)
144
109
  if oidc_disable_userinfo is not None:
145
110
  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)
148
111
  if oidc_scopes is not None:
149
112
  pulumi.set(__self__, "oidc_scopes", oidc_scopes)
150
113
  if signing_algs is not None:
@@ -152,7 +115,7 @@ class AclAuthMethodConfigArgs:
152
115
 
153
116
  @property
154
117
  @pulumi.getter(name="allowedRedirectUris")
155
- def allowed_redirect_uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
118
+ def allowed_redirect_uris(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
156
119
  """
157
120
  `([]string: <optional>)` - A list of allowed values
158
121
  that can be used for the redirect URI.
@@ -160,9 +123,48 @@ class AclAuthMethodConfigArgs:
160
123
  return pulumi.get(self, "allowed_redirect_uris")
161
124
 
162
125
  @allowed_redirect_uris.setter
163
- def allowed_redirect_uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
126
+ def allowed_redirect_uris(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
164
127
  pulumi.set(self, "allowed_redirect_uris", value)
165
128
 
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
+
166
168
  @property
167
169
  @pulumi.getter(name="boundAudiences")
168
170
  def bound_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -176,24 +178,12 @@ class AclAuthMethodConfigArgs:
176
178
  def bound_audiences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
177
179
  pulumi.set(self, "bound_audiences", value)
178
180
 
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
-
192
181
  @property
193
182
  @pulumi.getter(name="claimMappings")
194
183
  def claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
195
184
  """
196
- Mappings of claims (key) that will be copied to a metadata field (value).
185
+ `(map[string]string: <optional>)` - Mappings of claims (key)
186
+ that will be copied to a metadata field (value).
197
187
  """
198
188
  return pulumi.get(self, "claim_mappings")
199
189
 
@@ -201,19 +191,6 @@ class AclAuthMethodConfigArgs:
201
191
  def claim_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
202
192
  pulumi.set(self, "claim_mappings", value)
203
193
 
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
-
217
194
  @property
218
195
  @pulumi.getter(name="discoveryCaPems")
219
196
  def discovery_ca_pems(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -227,63 +204,12 @@ class AclAuthMethodConfigArgs:
227
204
  def discovery_ca_pems(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
228
205
  pulumi.set(self, "discovery_ca_pems", value)
229
206
 
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
-
282
207
  @property
283
208
  @pulumi.getter(name="listClaimMappings")
284
209
  def list_claim_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
285
210
  """
286
- Mappings of list claims (key) that will be copied to a metadata field (value).
211
+ `(map[string]string: <optional>)` - Mappings of list
212
+ claims (key) that will be copied to a metadata field (value).
287
213
  """
288
214
  return pulumi.get(self, "list_claim_mappings")
289
215
 
@@ -291,45 +217,6 @@ class AclAuthMethodConfigArgs:
291
217
  def list_claim_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
292
218
  pulumi.set(self, "list_claim_mappings", value)
293
219
 
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
-
333
220
  @property
334
221
  @pulumi.getter(name="oidcDisableUserinfo")
335
222
  def oidc_disable_userinfo(self) -> Optional[pulumi.Input[bool]]:
@@ -345,19 +232,6 @@ class AclAuthMethodConfigArgs:
345
232
  def oidc_disable_userinfo(self, value: Optional[pulumi.Input[bool]]):
346
233
  pulumi.set(self, "oidc_disable_userinfo", value)
347
234
 
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
-
361
235
  @property
362
236
  @pulumi.getter(name="oidcScopes")
363
237
  def oidc_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -392,10 +266,15 @@ class AclPolicyJobAclArgs:
392
266
  namespace: Optional[pulumi.Input[str]] = None,
393
267
  task: Optional[pulumi.Input[str]] = None):
394
268
  """
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
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
399
278
  """
400
279
  pulumi.set(__self__, "job_id", job_id)
401
280
  if group is not None:
@@ -409,7 +288,8 @@ class AclPolicyJobAclArgs:
409
288
  @pulumi.getter(name="jobId")
410
289
  def job_id(self) -> pulumi.Input[str]:
411
290
  """
412
- Job
291
+ `(string: <optional>` - The job to attach the policy. Required if
292
+ `group` is set.
413
293
  """
414
294
  return pulumi.get(self, "job_id")
415
295
 
@@ -421,7 +301,8 @@ class AclPolicyJobAclArgs:
421
301
  @pulumi.getter
422
302
  def group(self) -> Optional[pulumi.Input[str]]:
423
303
  """
424
- Group
304
+ `(string: <optional>` - The group to attach the policy. Required if
305
+ `task` is set.
425
306
  """
426
307
  return pulumi.get(self, "group")
427
308
 
@@ -433,7 +314,8 @@ class AclPolicyJobAclArgs:
433
314
  @pulumi.getter
434
315
  def namespace(self) -> Optional[pulumi.Input[str]]:
435
316
  """
436
- Namespace
317
+ `(string: "default")` - The namespace to attach the policy.
318
+ Required if `job_id` is set.
437
319
  """
438
320
  return pulumi.get(self, "namespace")
439
321
 
@@ -445,7 +327,9 @@ class AclPolicyJobAclArgs:
445
327
  @pulumi.getter
446
328
  def task(self) -> Optional[pulumi.Input[str]]:
447
329
  """
448
- Task
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
449
333
  """
450
334
  return pulumi.get(self, "task")
451
335
 
@@ -698,12 +582,24 @@ class CsiVolumeRegistrationMountOptionsArgs:
698
582
  class CsiVolumeRegistrationTopologyArgs:
699
583
  def __init__(__self__, *,
700
584
  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
+ """
701
591
  if segments is not None:
702
592
  pulumi.set(__self__, "segments", segments)
703
593
 
704
594
  @property
705
595
  @pulumi.getter
706
596
  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
+ """
707
603
  return pulumi.get(self, "segments")
708
604
 
709
605
  @segments.setter
@@ -739,7 +635,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
739
635
  def __init__(__self__, *,
740
636
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]):
741
637
  """
742
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
638
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
743
639
  """
744
640
  pulumi.set(__self__, "topologies", topologies)
745
641
 
@@ -747,7 +643,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredArgs:
747
643
  @pulumi.getter
748
644
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs']]]:
749
645
  """
750
- Defines the location for the volume.
646
+ `(List of segments: <required>)` - Defines the location for the volume.
751
647
  """
752
648
  return pulumi.get(self, "topologies")
753
649
 
@@ -761,7 +657,10 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
761
657
  def __init__(__self__, *,
762
658
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
763
659
  """
764
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
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:
765
664
  """
766
665
  pulumi.set(__self__, "segments", segments)
767
666
 
@@ -769,7 +668,10 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
769
668
  @pulumi.getter
770
669
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
771
670
  """
772
- Define attributes for the topology request.
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:
773
675
  """
774
676
  return pulumi.get(self, "segments")
775
677
 
@@ -782,12 +684,24 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs:
782
684
  class CsiVolumeTopologyArgs:
783
685
  def __init__(__self__, *,
784
686
  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
+ """
785
693
  if segments is not None:
786
694
  pulumi.set(__self__, "segments", segments)
787
695
 
788
696
  @property
789
697
  @pulumi.getter
790
698
  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
+ """
791
705
  return pulumi.get(self, "segments")
792
706
 
793
707
  @segments.setter
@@ -839,7 +753,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
839
753
  def __init__(__self__, *,
840
754
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]):
841
755
  """
842
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
756
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
843
757
  """
844
758
  pulumi.set(__self__, "topologies", topologies)
845
759
 
@@ -847,7 +761,7 @@ class CsiVolumeTopologyRequestPreferredArgs:
847
761
  @pulumi.getter
848
762
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestPreferredTopologyArgs']]]:
849
763
  """
850
- Defines the location for the volume.
764
+ `(List of segments: <required>)` - Defines the location for the volume.
851
765
  """
852
766
  return pulumi.get(self, "topologies")
853
767
 
@@ -861,7 +775,10 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
861
775
  def __init__(__self__, *,
862
776
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
863
777
  """
864
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
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:
865
782
  """
866
783
  pulumi.set(__self__, "segments", segments)
867
784
 
@@ -869,7 +786,10 @@ class CsiVolumeTopologyRequestPreferredTopologyArgs:
869
786
  @pulumi.getter
870
787
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
871
788
  """
872
- Define the attributes for the topology request.
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:
873
793
  """
874
794
  return pulumi.get(self, "segments")
875
795
 
@@ -883,7 +803,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
883
803
  def __init__(__self__, *,
884
804
  topologies: pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]):
885
805
  """
886
- :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
806
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
887
807
  """
888
808
  pulumi.set(__self__, "topologies", topologies)
889
809
 
@@ -891,7 +811,7 @@ class CsiVolumeTopologyRequestRequiredArgs:
891
811
  @pulumi.getter
892
812
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyRequestRequiredTopologyArgs']]]:
893
813
  """
894
- Defines the location for the volume.
814
+ `(List of segments: <required>)` - Defines the location for the volume.
895
815
  """
896
816
  return pulumi.get(self, "topologies")
897
817
 
@@ -905,7 +825,10 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
905
825
  def __init__(__self__, *,
906
826
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
907
827
  """
908
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
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:
909
832
  """
910
833
  pulumi.set(__self__, "segments", segments)
911
834
 
@@ -913,7 +836,10 @@ class CsiVolumeTopologyRequestRequiredTopologyArgs:
913
836
  @pulumi.getter
914
837
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
915
838
  """
916
- Define the attributes for the topology request.
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:
917
843
  """
918
844
  return pulumi.get(self, "segments")
919
845
 
@@ -1016,12 +942,24 @@ class ExternalVolumeMountOptionsArgs:
1016
942
  class ExternalVolumeTopologyArgs:
1017
943
  def __init__(__self__, *,
1018
944
  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
+ """
1019
951
  if segments is not None:
1020
952
  pulumi.set(__self__, "segments", segments)
1021
953
 
1022
954
  @property
1023
955
  @pulumi.getter
1024
956
  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
+ """
1025
963
  return pulumi.get(self, "segments")
1026
964
 
1027
965
  @segments.setter
@@ -1073,7 +1011,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
1073
1011
  def __init__(__self__, *,
1074
1012
  topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]):
1075
1013
  """
1076
- :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies: Defines the location for the volume.
1014
+ :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1077
1015
  """
1078
1016
  pulumi.set(__self__, "topologies", topologies)
1079
1017
 
@@ -1081,7 +1019,7 @@ class ExternalVolumeTopologyRequestPreferredArgs:
1081
1019
  @pulumi.getter
1082
1020
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestPreferredTopologyArgs']]]:
1083
1021
  """
1084
- Defines the location for the volume.
1022
+ `(List of segments: <required>)` - Defines the location for the volume.
1085
1023
  """
1086
1024
  return pulumi.get(self, "topologies")
1087
1025
 
@@ -1095,7 +1033,10 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
1095
1033
  def __init__(__self__, *,
1096
1034
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1097
1035
  """
1098
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
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:
1099
1040
  """
1100
1041
  pulumi.set(__self__, "segments", segments)
1101
1042
 
@@ -1103,7 +1044,10 @@ class ExternalVolumeTopologyRequestPreferredTopologyArgs:
1103
1044
  @pulumi.getter
1104
1045
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1105
1046
  """
1106
- Define the attributes for the topology request.
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:
1107
1051
  """
1108
1052
  return pulumi.get(self, "segments")
1109
1053
 
@@ -1117,7 +1061,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
1117
1061
  def __init__(__self__, *,
1118
1062
  topologies: pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]):
1119
1063
  """
1120
- :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
1064
+ :param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1121
1065
  """
1122
1066
  pulumi.set(__self__, "topologies", topologies)
1123
1067
 
@@ -1125,7 +1069,7 @@ class ExternalVolumeTopologyRequestRequiredArgs:
1125
1069
  @pulumi.getter
1126
1070
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyRequestRequiredTopologyArgs']]]:
1127
1071
  """
1128
- Defines the location for the volume.
1072
+ `(List of segments: <required>)` - Defines the location for the volume.
1129
1073
  """
1130
1074
  return pulumi.get(self, "topologies")
1131
1075
 
@@ -1139,7 +1083,10 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
1139
1083
  def __init__(__self__, *,
1140
1084
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1141
1085
  """
1142
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define the attributes for the topology request.
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:
1143
1090
  """
1144
1091
  pulumi.set(__self__, "segments", segments)
1145
1092
 
@@ -1147,7 +1094,10 @@ class ExternalVolumeTopologyRequestRequiredTopologyArgs:
1147
1094
  @pulumi.getter
1148
1095
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1149
1096
  """
1150
- Define the attributes for the topology request.
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:
1151
1101
  """
1152
1102
  return pulumi.get(self, "segments")
1153
1103
 
@@ -1801,12 +1751,24 @@ class VolumeMountOptionsArgs:
1801
1751
  class VolumeTopologyArgs:
1802
1752
  def __init__(__self__, *,
1803
1753
  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
+ """
1804
1760
  if segments is not None:
1805
1761
  pulumi.set(__self__, "segments", segments)
1806
1762
 
1807
1763
  @property
1808
1764
  @pulumi.getter
1809
1765
  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
+ """
1810
1772
  return pulumi.get(self, "segments")
1811
1773
 
1812
1774
  @segments.setter
@@ -1842,7 +1804,7 @@ class VolumeTopologyRequestRequiredArgs:
1842
1804
  def __init__(__self__, *,
1843
1805
  topologies: pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]):
1844
1806
  """
1845
- :param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies: Defines the location for the volume.
1807
+ :param pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1846
1808
  """
1847
1809
  pulumi.set(__self__, "topologies", topologies)
1848
1810
 
@@ -1850,7 +1812,7 @@ class VolumeTopologyRequestRequiredArgs:
1850
1812
  @pulumi.getter
1851
1813
  def topologies(self) -> pulumi.Input[Sequence[pulumi.Input['VolumeTopologyRequestRequiredTopologyArgs']]]:
1852
1814
  """
1853
- Defines the location for the volume.
1815
+ `(List of segments: <required>)` - Defines the location for the volume.
1854
1816
  """
1855
1817
  return pulumi.get(self, "topologies")
1856
1818
 
@@ -1864,7 +1826,10 @@ class VolumeTopologyRequestRequiredTopologyArgs:
1864
1826
  def __init__(__self__, *,
1865
1827
  segments: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
1866
1828
  """
1867
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] segments: Define attributes for the topology request.
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:
1868
1833
  """
1869
1834
  pulumi.set(__self__, "segments", segments)
1870
1835
 
@@ -1872,7 +1837,10 @@ class VolumeTopologyRequestRequiredTopologyArgs:
1872
1837
  @pulumi.getter
1873
1838
  def segments(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
1874
1839
  """
1875
- Define attributes for the topology request.
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:
1876
1844
  """
1877
1845
  return pulumi.get(self, "segments")
1878
1846