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
@@ -32,8 +32,8 @@ class AclAuthMethodArgs:
32
32
  :param pulumi.Input[str] token_locality: `(string: <required>)` - Defines whether the ACL Auth Method
33
33
  creates a local or global token when performing SSO login. This field must be
34
34
  set to either `local` or `global`.
35
- :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
36
- are `OIDC` and `JWT`.
35
+ :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
36
+ the only supported type is `OIDC`.
37
37
  :param pulumi.Input[bool] default: `(bool: false)` - Defines whether this ACL Auth Method is to be set
38
38
  as default.
39
39
  :param pulumi.Input[str] name: `(string: <required>)` - The identifier of the ACL Auth Method.
@@ -96,8 +96,8 @@ class AclAuthMethodArgs:
96
96
  @pulumi.getter
97
97
  def type(self) -> pulumi.Input[str]:
98
98
  """
99
- `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
100
- are `OIDC` and `JWT`.
99
+ `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
100
+ the only supported type is `OIDC`.
101
101
  """
102
102
  return pulumi.get(self, "type")
103
103
 
@@ -170,8 +170,8 @@ class _AclAuthMethodState:
170
170
  :param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
171
171
  Defines the token name format for the generated tokens This can be lightly
172
172
  templated using HIL '${foo}' syntax.
173
- :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
174
- are `OIDC` and `JWT`.
173
+ :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
174
+ the only supported type is `OIDC`.
175
175
  """
176
176
  if config is not None:
177
177
  pulumi.set(__self__, "config", config)
@@ -271,8 +271,8 @@ class _AclAuthMethodState:
271
271
  @pulumi.getter
272
272
  def type(self) -> Optional[pulumi.Input[str]]:
273
273
  """
274
- `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
275
- are `OIDC` and `JWT`.
274
+ `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
275
+ the only supported type is `OIDC`.
276
276
  """
277
277
  return pulumi.get(self, "type")
278
278
 
@@ -301,12 +301,12 @@ class AclAuthMethod(pulumi.CustomResource):
301
301
 
302
302
  Creating an ALC Auth Method:
303
303
 
304
+ <!--Start PulumiCodeChooser -->
304
305
  ```python
305
306
  import pulumi
306
307
  import pulumi_nomad as nomad
307
308
 
308
- my_nomad_acl_auth_method = nomad.AclAuthMethod("my_nomad_acl_auth_method",
309
- name="my-nomad-acl-auth-method",
309
+ my_nomad_acl_auth_method = nomad.AclAuthMethod("myNomadAclAuthMethod",
310
310
  type="OIDC",
311
311
  token_locality="global",
312
312
  max_token_ttl="10m0s",
@@ -326,6 +326,7 @@ class AclAuthMethod(pulumi.CustomResource):
326
326
  },
327
327
  ))
328
328
  ```
329
+ <!--End PulumiCodeChooser -->
329
330
 
330
331
  :param str resource_name: The name of the resource.
331
332
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -342,8 +343,8 @@ class AclAuthMethod(pulumi.CustomResource):
342
343
  :param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
343
344
  Defines the token name format for the generated tokens This can be lightly
344
345
  templated using HIL '${foo}' syntax.
345
- :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
346
- are `OIDC` and `JWT`.
346
+ :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
347
+ the only supported type is `OIDC`.
347
348
  """
348
349
  ...
349
350
  @overload
@@ -358,12 +359,12 @@ class AclAuthMethod(pulumi.CustomResource):
358
359
 
359
360
  Creating an ALC Auth Method:
360
361
 
362
+ <!--Start PulumiCodeChooser -->
361
363
  ```python
362
364
  import pulumi
363
365
  import pulumi_nomad as nomad
364
366
 
365
- my_nomad_acl_auth_method = nomad.AclAuthMethod("my_nomad_acl_auth_method",
366
- name="my-nomad-acl-auth-method",
367
+ my_nomad_acl_auth_method = nomad.AclAuthMethod("myNomadAclAuthMethod",
367
368
  type="OIDC",
368
369
  token_locality="global",
369
370
  max_token_ttl="10m0s",
@@ -383,6 +384,7 @@ class AclAuthMethod(pulumi.CustomResource):
383
384
  },
384
385
  ))
385
386
  ```
387
+ <!--End PulumiCodeChooser -->
386
388
 
387
389
  :param str resource_name: The name of the resource.
388
390
  :param AclAuthMethodArgs args: The arguments to use to populate this resource's properties.
@@ -467,8 +469,8 @@ class AclAuthMethod(pulumi.CustomResource):
467
469
  :param pulumi.Input[str] token_name_format: `(string: "${auth_method_type}-${auth_method_name}")` -
468
470
  Defines the token name format for the generated tokens This can be lightly
469
471
  templated using HIL '${foo}' syntax.
470
- :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
471
- are `OIDC` and `JWT`.
472
+ :param pulumi.Input[str] type: `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
473
+ the only supported type is `OIDC`.
472
474
  """
473
475
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
474
476
 
@@ -542,8 +544,8 @@ class AclAuthMethod(pulumi.CustomResource):
542
544
  @pulumi.getter
543
545
  def type(self) -> pulumi.Output[str]:
544
546
  """
545
- `(string: <required>)` - ACL Auth Method SSO workflow type. Valid values,
546
- are `OIDC` and `JWT`.
547
+ `(string: <required>)` - ACL Auth Method SSO workflow type. Currently,
548
+ the only supported type is `OIDC`.
547
549
  """
548
550
  return pulumi.get(self, "type")
549
551
 
@@ -173,6 +173,38 @@ class AclPolicy(pulumi.CustomResource):
173
173
  """
174
174
  Manages an ACL policy registered in Nomad.
175
175
 
176
+ ## Example Usage
177
+
178
+ Registering a policy from a HCL file:
179
+
180
+ <!--Start PulumiCodeChooser -->
181
+ ```python
182
+ import pulumi
183
+ import pulumi_nomad as nomad
184
+
185
+ dev = nomad.AclPolicy("dev",
186
+ description="Submit jobs to the dev environment.",
187
+ rules_hcl=(lambda path: open(path).read())(f"{path['module']}/dev.hcl"))
188
+ ```
189
+ <!--End PulumiCodeChooser -->
190
+
191
+ Registering a policy from inline HCL:
192
+
193
+ <!--Start PulumiCodeChooser -->
194
+ ```python
195
+ import pulumi
196
+ import pulumi_nomad as nomad
197
+
198
+ dev = nomad.AclPolicy("dev",
199
+ description="Submit jobs to the dev environment.",
200
+ rules_hcl=\"\"\"namespace "dev" {
201
+ policy = "write"
202
+ }
203
+
204
+ \"\"\")
205
+ ```
206
+ <!--End PulumiCodeChooser -->
207
+
176
208
  :param str resource_name: The name of the resource.
177
209
  :param pulumi.ResourceOptions opts: Options for the resource.
178
210
  :param pulumi.Input[str] description: `(string: "")` - A description of the policy.
@@ -190,6 +222,38 @@ class AclPolicy(pulumi.CustomResource):
190
222
  """
191
223
  Manages an ACL policy registered in Nomad.
192
224
 
225
+ ## Example Usage
226
+
227
+ Registering a policy from a HCL file:
228
+
229
+ <!--Start PulumiCodeChooser -->
230
+ ```python
231
+ import pulumi
232
+ import pulumi_nomad as nomad
233
+
234
+ dev = nomad.AclPolicy("dev",
235
+ description="Submit jobs to the dev environment.",
236
+ rules_hcl=(lambda path: open(path).read())(f"{path['module']}/dev.hcl"))
237
+ ```
238
+ <!--End PulumiCodeChooser -->
239
+
240
+ Registering a policy from inline HCL:
241
+
242
+ <!--Start PulumiCodeChooser -->
243
+ ```python
244
+ import pulumi
245
+ import pulumi_nomad as nomad
246
+
247
+ dev = nomad.AclPolicy("dev",
248
+ description="Submit jobs to the dev environment.",
249
+ rules_hcl=\"\"\"namespace "dev" {
250
+ policy = "write"
251
+ }
252
+
253
+ \"\"\")
254
+ ```
255
+ <!--End PulumiCodeChooser -->
256
+
193
257
  :param str resource_name: The name of the resource.
194
258
  :param AclPolicyArgs args: The arguments to use to populate this resource's properties.
195
259
  :param pulumi.ResourceOptions opts: Options for the resource.
pulumi_nomad/acl_token.py CHANGED
@@ -351,48 +351,51 @@ class AclToken(pulumi.CustomResource):
351
351
 
352
352
  Creating a token with limited policies:
353
353
 
354
+ <!--Start PulumiCodeChooser -->
354
355
  ```python
355
356
  import pulumi
356
357
  import pulumi_nomad as nomad
357
358
 
358
359
  dakota = nomad.AclToken("dakota",
359
- name="Dakota",
360
- type="client",
361
360
  policies=[
362
361
  "dev",
363
362
  "qa",
364
- ])
363
+ ],
364
+ type="client")
365
365
  ```
366
+ <!--End PulumiCodeChooser -->
366
367
 
367
368
  Creating a global token that will be replicated to all regions:
368
369
 
370
+ <!--Start PulumiCodeChooser -->
369
371
  ```python
370
372
  import pulumi
371
373
  import pulumi_nomad as nomad
372
374
 
373
375
  dakota = nomad.AclToken("dakota",
374
- name="Dakota",
375
- type="client",
376
+ global_=True,
376
377
  policies=[
377
378
  "dev",
378
379
  "qa",
379
380
  ],
380
- global_=True)
381
+ type="client")
381
382
  ```
383
+ <!--End PulumiCodeChooser -->
382
384
 
383
385
  Creating a token with full access to the cluster:
384
386
 
387
+ <!--Start PulumiCodeChooser -->
385
388
  ```python
386
389
  import pulumi
387
390
  import pulumi_nomad as nomad
388
391
 
389
- iman = nomad.AclToken("iman",
390
- name="Iman",
391
- type="management")
392
+ iman = nomad.AclToken("iman", type="management")
392
393
  ```
394
+ <!--End PulumiCodeChooser -->
393
395
 
394
396
  Accessing the token:
395
397
 
398
+ <!--Start PulumiCodeChooser -->
396
399
  ```python
397
400
  import pulumi
398
401
  import pulumi_nomad as nomad
@@ -402,6 +405,7 @@ class AclToken(pulumi.CustomResource):
402
405
  policies=["dev"])
403
406
  pulumi.export("nomadToken", token.secret_id)
404
407
  ```
408
+ <!--End PulumiCodeChooser -->
405
409
 
406
410
  :param str resource_name: The name of the resource.
407
411
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -434,48 +438,51 @@ class AclToken(pulumi.CustomResource):
434
438
 
435
439
  Creating a token with limited policies:
436
440
 
441
+ <!--Start PulumiCodeChooser -->
437
442
  ```python
438
443
  import pulumi
439
444
  import pulumi_nomad as nomad
440
445
 
441
446
  dakota = nomad.AclToken("dakota",
442
- name="Dakota",
443
- type="client",
444
447
  policies=[
445
448
  "dev",
446
449
  "qa",
447
- ])
450
+ ],
451
+ type="client")
448
452
  ```
453
+ <!--End PulumiCodeChooser -->
449
454
 
450
455
  Creating a global token that will be replicated to all regions:
451
456
 
457
+ <!--Start PulumiCodeChooser -->
452
458
  ```python
453
459
  import pulumi
454
460
  import pulumi_nomad as nomad
455
461
 
456
462
  dakota = nomad.AclToken("dakota",
457
- name="Dakota",
458
- type="client",
463
+ global_=True,
459
464
  policies=[
460
465
  "dev",
461
466
  "qa",
462
467
  ],
463
- global_=True)
468
+ type="client")
464
469
  ```
470
+ <!--End PulumiCodeChooser -->
465
471
 
466
472
  Creating a token with full access to the cluster:
467
473
 
474
+ <!--Start PulumiCodeChooser -->
468
475
  ```python
469
476
  import pulumi
470
477
  import pulumi_nomad as nomad
471
478
 
472
- iman = nomad.AclToken("iman",
473
- name="Iman",
474
- type="management")
479
+ iman = nomad.AclToken("iman", type="management")
475
480
  ```
481
+ <!--End PulumiCodeChooser -->
476
482
 
477
483
  Accessing the token:
478
484
 
485
+ <!--Start PulumiCodeChooser -->
479
486
  ```python
480
487
  import pulumi
481
488
  import pulumi_nomad as nomad
@@ -485,6 +492,7 @@ class AclToken(pulumi.CustomResource):
485
492
  policies=["dev"])
486
493
  pulumi.export("nomadToken", token.secret_id)
487
494
  ```
495
+ <!--End PulumiCodeChooser -->
488
496
 
489
497
  :param str resource_name: The name of the resource.
490
498
  :param AclTokenArgs args: The arguments to use to populate this resource's properties.
@@ -261,14 +261,23 @@ class _CsiVolumeState:
261
261
  :param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
262
262
  :param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
263
263
  :param pulumi.Input[str] clone_id: `(string: <optional>)` - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with `snapshot_id`.
264
+ :param pulumi.Input[bool] controller_required: `(boolean)`
265
+ :param pulumi.Input[int] controllers_expected: `(integer)`
266
+ :param pulumi.Input[int] controllers_healthy: `(integer)`
264
267
  :param pulumi.Input[str] external_id: The ID of the physical volume from the storage provider.
265
268
  :param pulumi.Input['CsiVolumeMountOptionsArgs'] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
266
269
  :param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
267
270
  :param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
271
+ :param pulumi.Input[int] nodes_expected: `(integer)`
272
+ :param pulumi.Input[int] nodes_healthy: `(integer)`
268
273
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: `(map[string]string: optional)` An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
269
274
  :param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
275
+ :param pulumi.Input[str] plugin_provider: `(string)`
276
+ :param pulumi.Input[str] plugin_provider_version: `(string)`
277
+ :param pulumi.Input[bool] schedulable: `(boolean)`
270
278
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secrets: `(map[string]string: optional)` An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
271
279
  :param pulumi.Input[str] snapshot_id: `(string: <optional>)` - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with `clone_id`.
280
+ :param pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyArgs']]] topologies: `(List of topologies)`
272
281
  :param pulumi.Input['CsiVolumeTopologyRequestArgs'] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
273
282
  :param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
274
283
  """
@@ -403,6 +412,9 @@ class _CsiVolumeState:
403
412
  @property
404
413
  @pulumi.getter(name="controllerRequired")
405
414
  def controller_required(self) -> Optional[pulumi.Input[bool]]:
415
+ """
416
+ `(boolean)`
417
+ """
406
418
  return pulumi.get(self, "controller_required")
407
419
 
408
420
  @controller_required.setter
@@ -412,6 +424,9 @@ class _CsiVolumeState:
412
424
  @property
413
425
  @pulumi.getter(name="controllersExpected")
414
426
  def controllers_expected(self) -> Optional[pulumi.Input[int]]:
427
+ """
428
+ `(integer)`
429
+ """
415
430
  return pulumi.get(self, "controllers_expected")
416
431
 
417
432
  @controllers_expected.setter
@@ -421,6 +436,9 @@ class _CsiVolumeState:
421
436
  @property
422
437
  @pulumi.getter(name="controllersHealthy")
423
438
  def controllers_healthy(self) -> Optional[pulumi.Input[int]]:
439
+ """
440
+ `(integer)`
441
+ """
424
442
  return pulumi.get(self, "controllers_healthy")
425
443
 
426
444
  @controllers_healthy.setter
@@ -478,6 +496,9 @@ class _CsiVolumeState:
478
496
  @property
479
497
  @pulumi.getter(name="nodesExpected")
480
498
  def nodes_expected(self) -> Optional[pulumi.Input[int]]:
499
+ """
500
+ `(integer)`
501
+ """
481
502
  return pulumi.get(self, "nodes_expected")
482
503
 
483
504
  @nodes_expected.setter
@@ -487,6 +508,9 @@ class _CsiVolumeState:
487
508
  @property
488
509
  @pulumi.getter(name="nodesHealthy")
489
510
  def nodes_healthy(self) -> Optional[pulumi.Input[int]]:
511
+ """
512
+ `(integer)`
513
+ """
490
514
  return pulumi.get(self, "nodes_healthy")
491
515
 
492
516
  @nodes_healthy.setter
@@ -520,6 +544,9 @@ class _CsiVolumeState:
520
544
  @property
521
545
  @pulumi.getter(name="pluginProvider")
522
546
  def plugin_provider(self) -> Optional[pulumi.Input[str]]:
547
+ """
548
+ `(string)`
549
+ """
523
550
  return pulumi.get(self, "plugin_provider")
524
551
 
525
552
  @plugin_provider.setter
@@ -529,6 +556,9 @@ class _CsiVolumeState:
529
556
  @property
530
557
  @pulumi.getter(name="pluginProviderVersion")
531
558
  def plugin_provider_version(self) -> Optional[pulumi.Input[str]]:
559
+ """
560
+ `(string)`
561
+ """
532
562
  return pulumi.get(self, "plugin_provider_version")
533
563
 
534
564
  @plugin_provider_version.setter
@@ -538,6 +568,9 @@ class _CsiVolumeState:
538
568
  @property
539
569
  @pulumi.getter
540
570
  def schedulable(self) -> Optional[pulumi.Input[bool]]:
571
+ """
572
+ `(boolean)`
573
+ """
541
574
  return pulumi.get(self, "schedulable")
542
575
 
543
576
  @schedulable.setter
@@ -571,6 +604,9 @@ class _CsiVolumeState:
571
604
  @property
572
605
  @pulumi.getter
573
606
  def topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyArgs']]]]:
607
+ """
608
+ `(List of topologies)`
609
+ """
574
610
  return pulumi.get(self, "topologies")
575
611
 
576
612
  @topologies.setter
@@ -765,14 +801,23 @@ class CsiVolume(pulumi.CustomResource):
765
801
  :param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
766
802
  :param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
767
803
  :param pulumi.Input[str] clone_id: `(string: <optional>)` - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with `snapshot_id`.
804
+ :param pulumi.Input[bool] controller_required: `(boolean)`
805
+ :param pulumi.Input[int] controllers_expected: `(integer)`
806
+ :param pulumi.Input[int] controllers_healthy: `(integer)`
768
807
  :param pulumi.Input[str] external_id: The ID of the physical volume from the storage provider.
769
808
  :param pulumi.Input[pulumi.InputType['CsiVolumeMountOptionsArgs']] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
770
809
  :param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
771
810
  :param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
811
+ :param pulumi.Input[int] nodes_expected: `(integer)`
812
+ :param pulumi.Input[int] nodes_healthy: `(integer)`
772
813
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: `(map[string]string: optional)` An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
773
814
  :param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
815
+ :param pulumi.Input[str] plugin_provider: `(string)`
816
+ :param pulumi.Input[str] plugin_provider_version: `(string)`
817
+ :param pulumi.Input[bool] schedulable: `(boolean)`
774
818
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secrets: `(map[string]string: optional)` An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
775
819
  :param pulumi.Input[str] snapshot_id: `(string: <optional>)` - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with `clone_id`.
820
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CsiVolumeTopologyArgs']]]] topologies: `(List of topologies)`
776
821
  :param pulumi.Input[pulumi.InputType['CsiVolumeTopologyRequestArgs']] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
777
822
  :param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
778
823
  """
@@ -858,16 +903,25 @@ class CsiVolume(pulumi.CustomResource):
858
903
  @property
859
904
  @pulumi.getter(name="controllerRequired")
860
905
  def controller_required(self) -> pulumi.Output[bool]:
906
+ """
907
+ `(boolean)`
908
+ """
861
909
  return pulumi.get(self, "controller_required")
862
910
 
863
911
  @property
864
912
  @pulumi.getter(name="controllersExpected")
865
913
  def controllers_expected(self) -> pulumi.Output[int]:
914
+ """
915
+ `(integer)`
916
+ """
866
917
  return pulumi.get(self, "controllers_expected")
867
918
 
868
919
  @property
869
920
  @pulumi.getter(name="controllersHealthy")
870
921
  def controllers_healthy(self) -> pulumi.Output[int]:
922
+ """
923
+ `(integer)`
924
+ """
871
925
  return pulumi.get(self, "controllers_healthy")
872
926
 
873
927
  @property
@@ -905,11 +959,17 @@ class CsiVolume(pulumi.CustomResource):
905
959
  @property
906
960
  @pulumi.getter(name="nodesExpected")
907
961
  def nodes_expected(self) -> pulumi.Output[int]:
962
+ """
963
+ `(integer)`
964
+ """
908
965
  return pulumi.get(self, "nodes_expected")
909
966
 
910
967
  @property
911
968
  @pulumi.getter(name="nodesHealthy")
912
969
  def nodes_healthy(self) -> pulumi.Output[int]:
970
+ """
971
+ `(integer)`
972
+ """
913
973
  return pulumi.get(self, "nodes_healthy")
914
974
 
915
975
  @property
@@ -931,16 +991,25 @@ class CsiVolume(pulumi.CustomResource):
931
991
  @property
932
992
  @pulumi.getter(name="pluginProvider")
933
993
  def plugin_provider(self) -> pulumi.Output[str]:
994
+ """
995
+ `(string)`
996
+ """
934
997
  return pulumi.get(self, "plugin_provider")
935
998
 
936
999
  @property
937
1000
  @pulumi.getter(name="pluginProviderVersion")
938
1001
  def plugin_provider_version(self) -> pulumi.Output[str]:
1002
+ """
1003
+ `(string)`
1004
+ """
939
1005
  return pulumi.get(self, "plugin_provider_version")
940
1006
 
941
1007
  @property
942
1008
  @pulumi.getter
943
1009
  def schedulable(self) -> pulumi.Output[bool]:
1010
+ """
1011
+ `(boolean)`
1012
+ """
944
1013
  return pulumi.get(self, "schedulable")
945
1014
 
946
1015
  @property
@@ -962,6 +1031,9 @@ class CsiVolume(pulumi.CustomResource):
962
1031
  @property
963
1032
  @pulumi.getter
964
1033
  def topologies(self) -> pulumi.Output[Sequence['outputs.CsiVolumeTopology']]:
1034
+ """
1035
+ `(List of topologies)`
1036
+ """
965
1037
  return pulumi.get(self, "topologies")
966
1038
 
967
1039
  @property