pulumi-nomad 2.3.0a1713561631__py3-none-any.whl → 2.3.0a1714110946__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.
- pulumi_nomad/_inputs.py +32 -126
- pulumi_nomad/acl_auth_method.py +0 -4
- pulumi_nomad/acl_token.py +0 -16
- pulumi_nomad/csi_volume.py +0 -72
- pulumi_nomad/csi_volume_registration.py +0 -72
- pulumi_nomad/external_volume.py +0 -76
- pulumi_nomad/get_acl_policies.py +0 -4
- pulumi_nomad/get_acl_policy.py +0 -4
- pulumi_nomad/get_acl_role.py +0 -4
- pulumi_nomad/get_acl_roles.py +0 -4
- pulumi_nomad/get_acl_token.py +0 -4
- pulumi_nomad/get_acl_tokens.py +0 -4
- pulumi_nomad/get_allocations.py +0 -4
- pulumi_nomad/get_datacenters.py +0 -4
- pulumi_nomad/get_deployments.py +0 -4
- pulumi_nomad/get_job.py +0 -4
- pulumi_nomad/get_namespace.py +0 -4
- pulumi_nomad/get_namespaces.py +0 -4
- pulumi_nomad/get_node_pool.py +0 -4
- pulumi_nomad/get_node_pools.py +0 -4
- pulumi_nomad/get_plugin.py +0 -4
- pulumi_nomad/get_plugins.py +0 -4
- pulumi_nomad/get_regions.py +0 -4
- pulumi_nomad/get_scaling_policies.py +0 -4
- pulumi_nomad/get_scaling_policy.py +0 -4
- pulumi_nomad/get_scheduler_policy.py +0 -4
- pulumi_nomad/get_variable.py +0 -4
- pulumi_nomad/get_volumes.py +0 -4
- pulumi_nomad/namespace.py +0 -8
- pulumi_nomad/node_pool.py +0 -4
- pulumi_nomad/outputs.py +32 -126
- pulumi_nomad/quote_specification.py +0 -4
- pulumi_nomad/scheduler_config.py +0 -4
- pulumi_nomad/sentinel_policy.py +0 -4
- pulumi_nomad/variable.py +0 -8
- pulumi_nomad/volume.py +0 -76
- {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1714110946.dist-info}/METADATA +1 -1
- pulumi_nomad-2.3.0a1714110946.dist-info/RECORD +54 -0
- pulumi_nomad-2.3.0a1713561631.dist-info/RECORD +0 -54
- {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1714110946.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1714110946.dist-info}/top_level.txt +0 -0
pulumi_nomad/csi_volume.py
CHANGED
@@ -261,23 +261,14 @@ 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)`
|
267
264
|
:param pulumi.Input[str] external_id: The ID of the physical volume from the storage provider.
|
268
265
|
:param pulumi.Input['CsiVolumeMountOptionsArgs'] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
269
266
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
270
267
|
: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)`
|
273
268
|
: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.
|
274
269
|
: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)`
|
278
270
|
: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.
|
279
271
|
: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)`
|
281
272
|
:param pulumi.Input['CsiVolumeTopologyRequestArgs'] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
282
273
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
283
274
|
"""
|
@@ -412,9 +403,6 @@ class _CsiVolumeState:
|
|
412
403
|
@property
|
413
404
|
@pulumi.getter(name="controllerRequired")
|
414
405
|
def controller_required(self) -> Optional[pulumi.Input[bool]]:
|
415
|
-
"""
|
416
|
-
`(boolean)`
|
417
|
-
"""
|
418
406
|
return pulumi.get(self, "controller_required")
|
419
407
|
|
420
408
|
@controller_required.setter
|
@@ -424,9 +412,6 @@ class _CsiVolumeState:
|
|
424
412
|
@property
|
425
413
|
@pulumi.getter(name="controllersExpected")
|
426
414
|
def controllers_expected(self) -> Optional[pulumi.Input[int]]:
|
427
|
-
"""
|
428
|
-
`(integer)`
|
429
|
-
"""
|
430
415
|
return pulumi.get(self, "controllers_expected")
|
431
416
|
|
432
417
|
@controllers_expected.setter
|
@@ -436,9 +421,6 @@ class _CsiVolumeState:
|
|
436
421
|
@property
|
437
422
|
@pulumi.getter(name="controllersHealthy")
|
438
423
|
def controllers_healthy(self) -> Optional[pulumi.Input[int]]:
|
439
|
-
"""
|
440
|
-
`(integer)`
|
441
|
-
"""
|
442
424
|
return pulumi.get(self, "controllers_healthy")
|
443
425
|
|
444
426
|
@controllers_healthy.setter
|
@@ -496,9 +478,6 @@ class _CsiVolumeState:
|
|
496
478
|
@property
|
497
479
|
@pulumi.getter(name="nodesExpected")
|
498
480
|
def nodes_expected(self) -> Optional[pulumi.Input[int]]:
|
499
|
-
"""
|
500
|
-
`(integer)`
|
501
|
-
"""
|
502
481
|
return pulumi.get(self, "nodes_expected")
|
503
482
|
|
504
483
|
@nodes_expected.setter
|
@@ -508,9 +487,6 @@ class _CsiVolumeState:
|
|
508
487
|
@property
|
509
488
|
@pulumi.getter(name="nodesHealthy")
|
510
489
|
def nodes_healthy(self) -> Optional[pulumi.Input[int]]:
|
511
|
-
"""
|
512
|
-
`(integer)`
|
513
|
-
"""
|
514
490
|
return pulumi.get(self, "nodes_healthy")
|
515
491
|
|
516
492
|
@nodes_healthy.setter
|
@@ -544,9 +520,6 @@ class _CsiVolumeState:
|
|
544
520
|
@property
|
545
521
|
@pulumi.getter(name="pluginProvider")
|
546
522
|
def plugin_provider(self) -> Optional[pulumi.Input[str]]:
|
547
|
-
"""
|
548
|
-
`(string)`
|
549
|
-
"""
|
550
523
|
return pulumi.get(self, "plugin_provider")
|
551
524
|
|
552
525
|
@plugin_provider.setter
|
@@ -556,9 +529,6 @@ class _CsiVolumeState:
|
|
556
529
|
@property
|
557
530
|
@pulumi.getter(name="pluginProviderVersion")
|
558
531
|
def plugin_provider_version(self) -> Optional[pulumi.Input[str]]:
|
559
|
-
"""
|
560
|
-
`(string)`
|
561
|
-
"""
|
562
532
|
return pulumi.get(self, "plugin_provider_version")
|
563
533
|
|
564
534
|
@plugin_provider_version.setter
|
@@ -568,9 +538,6 @@ class _CsiVolumeState:
|
|
568
538
|
@property
|
569
539
|
@pulumi.getter
|
570
540
|
def schedulable(self) -> Optional[pulumi.Input[bool]]:
|
571
|
-
"""
|
572
|
-
`(boolean)`
|
573
|
-
"""
|
574
541
|
return pulumi.get(self, "schedulable")
|
575
542
|
|
576
543
|
@schedulable.setter
|
@@ -604,9 +571,6 @@ class _CsiVolumeState:
|
|
604
571
|
@property
|
605
572
|
@pulumi.getter
|
606
573
|
def topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CsiVolumeTopologyArgs']]]]:
|
607
|
-
"""
|
608
|
-
`(List of topologies)`
|
609
|
-
"""
|
610
574
|
return pulumi.get(self, "topologies")
|
611
575
|
|
612
576
|
@topologies.setter
|
@@ -801,23 +765,14 @@ class CsiVolume(pulumi.CustomResource):
|
|
801
765
|
:param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
|
802
766
|
:param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
|
803
767
|
: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)`
|
807
768
|
:param pulumi.Input[str] external_id: The ID of the physical volume from the storage provider.
|
808
769
|
:param pulumi.Input[pulumi.InputType['CsiVolumeMountOptionsArgs']] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
809
770
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
810
771
|
: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)`
|
813
772
|
: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.
|
814
773
|
: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)`
|
818
774
|
: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.
|
819
775
|
: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)`
|
821
776
|
:param pulumi.Input[pulumi.InputType['CsiVolumeTopologyRequestArgs']] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
822
777
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
823
778
|
"""
|
@@ -903,25 +858,16 @@ class CsiVolume(pulumi.CustomResource):
|
|
903
858
|
@property
|
904
859
|
@pulumi.getter(name="controllerRequired")
|
905
860
|
def controller_required(self) -> pulumi.Output[bool]:
|
906
|
-
"""
|
907
|
-
`(boolean)`
|
908
|
-
"""
|
909
861
|
return pulumi.get(self, "controller_required")
|
910
862
|
|
911
863
|
@property
|
912
864
|
@pulumi.getter(name="controllersExpected")
|
913
865
|
def controllers_expected(self) -> pulumi.Output[int]:
|
914
|
-
"""
|
915
|
-
`(integer)`
|
916
|
-
"""
|
917
866
|
return pulumi.get(self, "controllers_expected")
|
918
867
|
|
919
868
|
@property
|
920
869
|
@pulumi.getter(name="controllersHealthy")
|
921
870
|
def controllers_healthy(self) -> pulumi.Output[int]:
|
922
|
-
"""
|
923
|
-
`(integer)`
|
924
|
-
"""
|
925
871
|
return pulumi.get(self, "controllers_healthy")
|
926
872
|
|
927
873
|
@property
|
@@ -959,17 +905,11 @@ class CsiVolume(pulumi.CustomResource):
|
|
959
905
|
@property
|
960
906
|
@pulumi.getter(name="nodesExpected")
|
961
907
|
def nodes_expected(self) -> pulumi.Output[int]:
|
962
|
-
"""
|
963
|
-
`(integer)`
|
964
|
-
"""
|
965
908
|
return pulumi.get(self, "nodes_expected")
|
966
909
|
|
967
910
|
@property
|
968
911
|
@pulumi.getter(name="nodesHealthy")
|
969
912
|
def nodes_healthy(self) -> pulumi.Output[int]:
|
970
|
-
"""
|
971
|
-
`(integer)`
|
972
|
-
"""
|
973
913
|
return pulumi.get(self, "nodes_healthy")
|
974
914
|
|
975
915
|
@property
|
@@ -991,25 +931,16 @@ class CsiVolume(pulumi.CustomResource):
|
|
991
931
|
@property
|
992
932
|
@pulumi.getter(name="pluginProvider")
|
993
933
|
def plugin_provider(self) -> pulumi.Output[str]:
|
994
|
-
"""
|
995
|
-
`(string)`
|
996
|
-
"""
|
997
934
|
return pulumi.get(self, "plugin_provider")
|
998
935
|
|
999
936
|
@property
|
1000
937
|
@pulumi.getter(name="pluginProviderVersion")
|
1001
938
|
def plugin_provider_version(self) -> pulumi.Output[str]:
|
1002
|
-
"""
|
1003
|
-
`(string)`
|
1004
|
-
"""
|
1005
939
|
return pulumi.get(self, "plugin_provider_version")
|
1006
940
|
|
1007
941
|
@property
|
1008
942
|
@pulumi.getter
|
1009
943
|
def schedulable(self) -> pulumi.Output[bool]:
|
1010
|
-
"""
|
1011
|
-
`(boolean)`
|
1012
|
-
"""
|
1013
944
|
return pulumi.get(self, "schedulable")
|
1014
945
|
|
1015
946
|
@property
|
@@ -1031,9 +962,6 @@ class CsiVolume(pulumi.CustomResource):
|
|
1031
962
|
@property
|
1032
963
|
@pulumi.getter
|
1033
964
|
def topologies(self) -> pulumi.Output[Sequence['outputs.CsiVolumeTopology']]:
|
1034
|
-
"""
|
1035
|
-
`(List of topologies)`
|
1036
|
-
"""
|
1037
965
|
return pulumi.get(self, "topologies")
|
1038
966
|
|
1039
967
|
@property
|
@@ -277,23 +277,14 @@ class _CsiVolumeRegistrationState:
|
|
277
277
|
:param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
|
278
278
|
:param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
|
279
279
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] context: `(map[string]string: <optional>)` - An optional key-value map of strings passed directly to the CSI plugin to validate the volume.
|
280
|
-
:param pulumi.Input[bool] controller_required: `(boolean)`
|
281
|
-
:param pulumi.Input[int] controllers_expected: `(integer)`
|
282
|
-
:param pulumi.Input[int] controllers_healthy: `(integer)`
|
283
280
|
:param pulumi.Input[bool] deregister_on_destroy: `(boolean: true)` - If true, the volume will be deregistered on destroy.
|
284
281
|
:param pulumi.Input[str] external_id: `(string: <required>)` - The ID of the physical volume from the storage provider.
|
285
282
|
:param pulumi.Input['CsiVolumeRegistrationMountOptionsArgs'] mount_options: `(block: <optional>)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
286
283
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
287
284
|
:param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
|
288
|
-
:param pulumi.Input[int] nodes_expected: `(integer)`
|
289
|
-
:param pulumi.Input[int] nodes_healthy: `(integer)`
|
290
285
|
: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.
|
291
286
|
:param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
|
292
|
-
:param pulumi.Input[str] plugin_provider: `(string)`
|
293
|
-
:param pulumi.Input[str] plugin_provider_version: `(string)`
|
294
|
-
:param pulumi.Input[bool] schedulable: `(boolean)`
|
295
287
|
: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.
|
296
|
-
:param pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyArgs']]] topologies: `(List of topologies)`
|
297
288
|
:param pulumi.Input['CsiVolumeRegistrationTopologyRequestArgs'] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
298
289
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
299
290
|
"""
|
@@ -428,9 +419,6 @@ class _CsiVolumeRegistrationState:
|
|
428
419
|
@property
|
429
420
|
@pulumi.getter(name="controllerRequired")
|
430
421
|
def controller_required(self) -> Optional[pulumi.Input[bool]]:
|
431
|
-
"""
|
432
|
-
`(boolean)`
|
433
|
-
"""
|
434
422
|
return pulumi.get(self, "controller_required")
|
435
423
|
|
436
424
|
@controller_required.setter
|
@@ -440,9 +428,6 @@ class _CsiVolumeRegistrationState:
|
|
440
428
|
@property
|
441
429
|
@pulumi.getter(name="controllersExpected")
|
442
430
|
def controllers_expected(self) -> Optional[pulumi.Input[int]]:
|
443
|
-
"""
|
444
|
-
`(integer)`
|
445
|
-
"""
|
446
431
|
return pulumi.get(self, "controllers_expected")
|
447
432
|
|
448
433
|
@controllers_expected.setter
|
@@ -452,9 +437,6 @@ class _CsiVolumeRegistrationState:
|
|
452
437
|
@property
|
453
438
|
@pulumi.getter(name="controllersHealthy")
|
454
439
|
def controllers_healthy(self) -> Optional[pulumi.Input[int]]:
|
455
|
-
"""
|
456
|
-
`(integer)`
|
457
|
-
"""
|
458
440
|
return pulumi.get(self, "controllers_healthy")
|
459
441
|
|
460
442
|
@controllers_healthy.setter
|
@@ -524,9 +506,6 @@ class _CsiVolumeRegistrationState:
|
|
524
506
|
@property
|
525
507
|
@pulumi.getter(name="nodesExpected")
|
526
508
|
def nodes_expected(self) -> Optional[pulumi.Input[int]]:
|
527
|
-
"""
|
528
|
-
`(integer)`
|
529
|
-
"""
|
530
509
|
return pulumi.get(self, "nodes_expected")
|
531
510
|
|
532
511
|
@nodes_expected.setter
|
@@ -536,9 +515,6 @@ class _CsiVolumeRegistrationState:
|
|
536
515
|
@property
|
537
516
|
@pulumi.getter(name="nodesHealthy")
|
538
517
|
def nodes_healthy(self) -> Optional[pulumi.Input[int]]:
|
539
|
-
"""
|
540
|
-
`(integer)`
|
541
|
-
"""
|
542
518
|
return pulumi.get(self, "nodes_healthy")
|
543
519
|
|
544
520
|
@nodes_healthy.setter
|
@@ -572,9 +548,6 @@ class _CsiVolumeRegistrationState:
|
|
572
548
|
@property
|
573
549
|
@pulumi.getter(name="pluginProvider")
|
574
550
|
def plugin_provider(self) -> Optional[pulumi.Input[str]]:
|
575
|
-
"""
|
576
|
-
`(string)`
|
577
|
-
"""
|
578
551
|
return pulumi.get(self, "plugin_provider")
|
579
552
|
|
580
553
|
@plugin_provider.setter
|
@@ -584,9 +557,6 @@ class _CsiVolumeRegistrationState:
|
|
584
557
|
@property
|
585
558
|
@pulumi.getter(name="pluginProviderVersion")
|
586
559
|
def plugin_provider_version(self) -> Optional[pulumi.Input[str]]:
|
587
|
-
"""
|
588
|
-
`(string)`
|
589
|
-
"""
|
590
560
|
return pulumi.get(self, "plugin_provider_version")
|
591
561
|
|
592
562
|
@plugin_provider_version.setter
|
@@ -596,9 +566,6 @@ class _CsiVolumeRegistrationState:
|
|
596
566
|
@property
|
597
567
|
@pulumi.getter
|
598
568
|
def schedulable(self) -> Optional[pulumi.Input[bool]]:
|
599
|
-
"""
|
600
|
-
`(boolean)`
|
601
|
-
"""
|
602
569
|
return pulumi.get(self, "schedulable")
|
603
570
|
|
604
571
|
@schedulable.setter
|
@@ -620,9 +587,6 @@ class _CsiVolumeRegistrationState:
|
|
620
587
|
@property
|
621
588
|
@pulumi.getter
|
622
589
|
def topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CsiVolumeRegistrationTopologyArgs']]]]:
|
623
|
-
"""
|
624
|
-
`(List of topologies)`
|
625
|
-
"""
|
626
590
|
return pulumi.get(self, "topologies")
|
627
591
|
|
628
592
|
@topologies.setter
|
@@ -820,23 +784,14 @@ class CsiVolumeRegistration(pulumi.CustomResource):
|
|
820
784
|
:param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
|
821
785
|
:param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
|
822
786
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] context: `(map[string]string: <optional>)` - An optional key-value map of strings passed directly to the CSI plugin to validate the volume.
|
823
|
-
:param pulumi.Input[bool] controller_required: `(boolean)`
|
824
|
-
:param pulumi.Input[int] controllers_expected: `(integer)`
|
825
|
-
:param pulumi.Input[int] controllers_healthy: `(integer)`
|
826
787
|
:param pulumi.Input[bool] deregister_on_destroy: `(boolean: true)` - If true, the volume will be deregistered on destroy.
|
827
788
|
:param pulumi.Input[str] external_id: `(string: <required>)` - The ID of the physical volume from the storage provider.
|
828
789
|
:param pulumi.Input[pulumi.InputType['CsiVolumeRegistrationMountOptionsArgs']] mount_options: `(block: <optional>)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
829
790
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
830
791
|
:param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
|
831
|
-
:param pulumi.Input[int] nodes_expected: `(integer)`
|
832
|
-
:param pulumi.Input[int] nodes_healthy: `(integer)`
|
833
792
|
: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.
|
834
793
|
:param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
|
835
|
-
:param pulumi.Input[str] plugin_provider: `(string)`
|
836
|
-
:param pulumi.Input[str] plugin_provider_version: `(string)`
|
837
|
-
:param pulumi.Input[bool] schedulable: `(boolean)`
|
838
794
|
: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.
|
839
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CsiVolumeRegistrationTopologyArgs']]]] topologies: `(List of topologies)`
|
840
795
|
:param pulumi.Input[pulumi.InputType['CsiVolumeRegistrationTopologyRequestArgs']] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
841
796
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
842
797
|
"""
|
@@ -922,25 +877,16 @@ class CsiVolumeRegistration(pulumi.CustomResource):
|
|
922
877
|
@property
|
923
878
|
@pulumi.getter(name="controllerRequired")
|
924
879
|
def controller_required(self) -> pulumi.Output[bool]:
|
925
|
-
"""
|
926
|
-
`(boolean)`
|
927
|
-
"""
|
928
880
|
return pulumi.get(self, "controller_required")
|
929
881
|
|
930
882
|
@property
|
931
883
|
@pulumi.getter(name="controllersExpected")
|
932
884
|
def controllers_expected(self) -> pulumi.Output[int]:
|
933
|
-
"""
|
934
|
-
`(integer)`
|
935
|
-
"""
|
936
885
|
return pulumi.get(self, "controllers_expected")
|
937
886
|
|
938
887
|
@property
|
939
888
|
@pulumi.getter(name="controllersHealthy")
|
940
889
|
def controllers_healthy(self) -> pulumi.Output[int]:
|
941
|
-
"""
|
942
|
-
`(integer)`
|
943
|
-
"""
|
944
890
|
return pulumi.get(self, "controllers_healthy")
|
945
891
|
|
946
892
|
@property
|
@@ -986,17 +932,11 @@ class CsiVolumeRegistration(pulumi.CustomResource):
|
|
986
932
|
@property
|
987
933
|
@pulumi.getter(name="nodesExpected")
|
988
934
|
def nodes_expected(self) -> pulumi.Output[int]:
|
989
|
-
"""
|
990
|
-
`(integer)`
|
991
|
-
"""
|
992
935
|
return pulumi.get(self, "nodes_expected")
|
993
936
|
|
994
937
|
@property
|
995
938
|
@pulumi.getter(name="nodesHealthy")
|
996
939
|
def nodes_healthy(self) -> pulumi.Output[int]:
|
997
|
-
"""
|
998
|
-
`(integer)`
|
999
|
-
"""
|
1000
940
|
return pulumi.get(self, "nodes_healthy")
|
1001
941
|
|
1002
942
|
@property
|
@@ -1018,25 +958,16 @@ class CsiVolumeRegistration(pulumi.CustomResource):
|
|
1018
958
|
@property
|
1019
959
|
@pulumi.getter(name="pluginProvider")
|
1020
960
|
def plugin_provider(self) -> pulumi.Output[str]:
|
1021
|
-
"""
|
1022
|
-
`(string)`
|
1023
|
-
"""
|
1024
961
|
return pulumi.get(self, "plugin_provider")
|
1025
962
|
|
1026
963
|
@property
|
1027
964
|
@pulumi.getter(name="pluginProviderVersion")
|
1028
965
|
def plugin_provider_version(self) -> pulumi.Output[str]:
|
1029
|
-
"""
|
1030
|
-
`(string)`
|
1031
|
-
"""
|
1032
966
|
return pulumi.get(self, "plugin_provider_version")
|
1033
967
|
|
1034
968
|
@property
|
1035
969
|
@pulumi.getter
|
1036
970
|
def schedulable(self) -> pulumi.Output[bool]:
|
1037
|
-
"""
|
1038
|
-
`(boolean)`
|
1039
|
-
"""
|
1040
971
|
return pulumi.get(self, "schedulable")
|
1041
972
|
|
1042
973
|
@property
|
@@ -1050,9 +981,6 @@ class CsiVolumeRegistration(pulumi.CustomResource):
|
|
1050
981
|
@property
|
1051
982
|
@pulumi.getter
|
1052
983
|
def topologies(self) -> pulumi.Output[Sequence['outputs.CsiVolumeRegistrationTopology']]:
|
1053
|
-
"""
|
1054
|
-
`(List of topologies)`
|
1055
|
-
"""
|
1056
984
|
return pulumi.get(self, "topologies")
|
1057
985
|
|
1058
986
|
@property
|
pulumi_nomad/external_volume.py
CHANGED
@@ -274,22 +274,13 @@ class _ExternalVolumeState:
|
|
274
274
|
:param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
|
275
275
|
:param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
|
276
276
|
: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`.
|
277
|
-
:param pulumi.Input[bool] controller_required: `(boolean)`
|
278
|
-
:param pulumi.Input[int] controllers_expected: `(integer)`
|
279
|
-
:param pulumi.Input[int] controllers_healthy: `(integer)`
|
280
277
|
:param pulumi.Input['ExternalVolumeMountOptionsArgs'] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
281
278
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
282
279
|
:param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
|
283
|
-
:param pulumi.Input[int] nodes_expected: `(integer)`
|
284
|
-
:param pulumi.Input[int] nodes_healthy: `(integer)`
|
285
280
|
: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.
|
286
281
|
:param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
|
287
|
-
:param pulumi.Input[str] plugin_provider: `(string)`
|
288
|
-
:param pulumi.Input[str] plugin_provider_version: `(string)`
|
289
|
-
:param pulumi.Input[bool] schedulable: `(boolean)`
|
290
282
|
: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.
|
291
283
|
: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`.
|
292
|
-
:param pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyArgs']]] topologies: `(List of topologies)`
|
293
284
|
:param pulumi.Input['ExternalVolumeTopologyRequestArgs'] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
294
285
|
:param pulumi.Input[str] type: `(string: <required>)` - The type of the volume. Currently, only `csi` is supported.
|
295
286
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
@@ -392,9 +383,6 @@ class _ExternalVolumeState:
|
|
392
383
|
@property
|
393
384
|
@pulumi.getter(name="controllerRequired")
|
394
385
|
def controller_required(self) -> Optional[pulumi.Input[bool]]:
|
395
|
-
"""
|
396
|
-
`(boolean)`
|
397
|
-
"""
|
398
386
|
return pulumi.get(self, "controller_required")
|
399
387
|
|
400
388
|
@controller_required.setter
|
@@ -404,9 +392,6 @@ class _ExternalVolumeState:
|
|
404
392
|
@property
|
405
393
|
@pulumi.getter(name="controllersExpected")
|
406
394
|
def controllers_expected(self) -> Optional[pulumi.Input[int]]:
|
407
|
-
"""
|
408
|
-
`(integer)`
|
409
|
-
"""
|
410
395
|
return pulumi.get(self, "controllers_expected")
|
411
396
|
|
412
397
|
@controllers_expected.setter
|
@@ -416,9 +401,6 @@ class _ExternalVolumeState:
|
|
416
401
|
@property
|
417
402
|
@pulumi.getter(name="controllersHealthy")
|
418
403
|
def controllers_healthy(self) -> Optional[pulumi.Input[int]]:
|
419
|
-
"""
|
420
|
-
`(integer)`
|
421
|
-
"""
|
422
404
|
return pulumi.get(self, "controllers_healthy")
|
423
405
|
|
424
406
|
@controllers_healthy.setter
|
@@ -464,9 +446,6 @@ class _ExternalVolumeState:
|
|
464
446
|
@property
|
465
447
|
@pulumi.getter(name="nodesExpected")
|
466
448
|
def nodes_expected(self) -> Optional[pulumi.Input[int]]:
|
467
|
-
"""
|
468
|
-
`(integer)`
|
469
|
-
"""
|
470
449
|
return pulumi.get(self, "nodes_expected")
|
471
450
|
|
472
451
|
@nodes_expected.setter
|
@@ -476,9 +455,6 @@ class _ExternalVolumeState:
|
|
476
455
|
@property
|
477
456
|
@pulumi.getter(name="nodesHealthy")
|
478
457
|
def nodes_healthy(self) -> Optional[pulumi.Input[int]]:
|
479
|
-
"""
|
480
|
-
`(integer)`
|
481
|
-
"""
|
482
458
|
return pulumi.get(self, "nodes_healthy")
|
483
459
|
|
484
460
|
@nodes_healthy.setter
|
@@ -512,9 +488,6 @@ class _ExternalVolumeState:
|
|
512
488
|
@property
|
513
489
|
@pulumi.getter(name="pluginProvider")
|
514
490
|
def plugin_provider(self) -> Optional[pulumi.Input[str]]:
|
515
|
-
"""
|
516
|
-
`(string)`
|
517
|
-
"""
|
518
491
|
return pulumi.get(self, "plugin_provider")
|
519
492
|
|
520
493
|
@plugin_provider.setter
|
@@ -524,9 +497,6 @@ class _ExternalVolumeState:
|
|
524
497
|
@property
|
525
498
|
@pulumi.getter(name="pluginProviderVersion")
|
526
499
|
def plugin_provider_version(self) -> Optional[pulumi.Input[str]]:
|
527
|
-
"""
|
528
|
-
`(string)`
|
529
|
-
"""
|
530
500
|
return pulumi.get(self, "plugin_provider_version")
|
531
501
|
|
532
502
|
@plugin_provider_version.setter
|
@@ -536,9 +506,6 @@ class _ExternalVolumeState:
|
|
536
506
|
@property
|
537
507
|
@pulumi.getter
|
538
508
|
def schedulable(self) -> Optional[pulumi.Input[bool]]:
|
539
|
-
"""
|
540
|
-
`(boolean)`
|
541
|
-
"""
|
542
509
|
return pulumi.get(self, "schedulable")
|
543
510
|
|
544
511
|
@schedulable.setter
|
@@ -572,9 +539,6 @@ class _ExternalVolumeState:
|
|
572
539
|
@property
|
573
540
|
@pulumi.getter
|
574
541
|
def topologies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExternalVolumeTopologyArgs']]]]:
|
575
|
-
"""
|
576
|
-
`(List of topologies)`
|
577
|
-
"""
|
578
542
|
return pulumi.get(self, "topologies")
|
579
543
|
|
580
544
|
@topologies.setter
|
@@ -643,7 +607,6 @@ class ExternalVolume(pulumi.CustomResource):
|
|
643
607
|
|
644
608
|
Creating a volume:
|
645
609
|
|
646
|
-
<!--Start PulumiCodeChooser -->
|
647
610
|
```python
|
648
611
|
import pulumi
|
649
612
|
import pulumi_nomad as nomad
|
@@ -684,7 +647,6 @@ class ExternalVolume(pulumi.CustomResource):
|
|
684
647
|
),
|
685
648
|
opts=pulumi.ResourceOptions(depends_on=[ebs]))
|
686
649
|
```
|
687
|
-
<!--End PulumiCodeChooser -->
|
688
650
|
|
689
651
|
:param str resource_name: The name of the resource.
|
690
652
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -714,7 +676,6 @@ class ExternalVolume(pulumi.CustomResource):
|
|
714
676
|
|
715
677
|
Creating a volume:
|
716
678
|
|
717
|
-
<!--Start PulumiCodeChooser -->
|
718
679
|
```python
|
719
680
|
import pulumi
|
720
681
|
import pulumi_nomad as nomad
|
@@ -755,7 +716,6 @@ class ExternalVolume(pulumi.CustomResource):
|
|
755
716
|
),
|
756
717
|
opts=pulumi.ResourceOptions(depends_on=[ebs]))
|
757
718
|
```
|
758
|
-
<!--End PulumiCodeChooser -->
|
759
719
|
|
760
720
|
:param str resource_name: The name of the resource.
|
761
721
|
:param ExternalVolumeArgs args: The arguments to use to populate this resource's properties.
|
@@ -870,22 +830,13 @@ class ExternalVolume(pulumi.CustomResource):
|
|
870
830
|
:param pulumi.Input[str] capacity_max: `(string: <optional>)` - Option to signal a maximum volume size. This may not be supported by all storage providers.
|
871
831
|
:param pulumi.Input[str] capacity_min: `(string: <optional>)` - Option to signal a minimum volume size. This may not be supported by all storage providers.
|
872
832
|
: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`.
|
873
|
-
:param pulumi.Input[bool] controller_required: `(boolean)`
|
874
|
-
:param pulumi.Input[int] controllers_expected: `(integer)`
|
875
|
-
:param pulumi.Input[int] controllers_healthy: `(integer)`
|
876
833
|
:param pulumi.Input[pulumi.InputType['ExternalVolumeMountOptionsArgs']] mount_options: `(block: optional)` Options for mounting `block-device` volumes without a pre-formatted file system.
|
877
834
|
:param pulumi.Input[str] name: `(string: <required>)` - The display name for the volume.
|
878
835
|
:param pulumi.Input[str] namespace: `(string: "default")` - The namespace in which to register the volume.
|
879
|
-
:param pulumi.Input[int] nodes_expected: `(integer)`
|
880
|
-
:param pulumi.Input[int] nodes_healthy: `(integer)`
|
881
836
|
: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.
|
882
837
|
:param pulumi.Input[str] plugin_id: `(string: <required>)` - The ID of the Nomad plugin for registering this volume.
|
883
|
-
:param pulumi.Input[str] plugin_provider: `(string)`
|
884
|
-
:param pulumi.Input[str] plugin_provider_version: `(string)`
|
885
|
-
:param pulumi.Input[bool] schedulable: `(boolean)`
|
886
838
|
: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.
|
887
839
|
: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`.
|
888
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExternalVolumeTopologyArgs']]]] topologies: `(List of topologies)`
|
889
840
|
:param pulumi.Input[pulumi.InputType['ExternalVolumeTopologyRequestArgs']] topology_request: `(``TopologyRequest``: <optional>)` - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
|
890
841
|
:param pulumi.Input[str] type: `(string: <required>)` - The type of the volume. Currently, only `csi` is supported.
|
891
842
|
:param pulumi.Input[str] volume_id: `(string: <required>)` - The unique ID of the volume.
|
@@ -954,25 +905,16 @@ class ExternalVolume(pulumi.CustomResource):
|
|
954
905
|
@property
|
955
906
|
@pulumi.getter(name="controllerRequired")
|
956
907
|
def controller_required(self) -> pulumi.Output[bool]:
|
957
|
-
"""
|
958
|
-
`(boolean)`
|
959
|
-
"""
|
960
908
|
return pulumi.get(self, "controller_required")
|
961
909
|
|
962
910
|
@property
|
963
911
|
@pulumi.getter(name="controllersExpected")
|
964
912
|
def controllers_expected(self) -> pulumi.Output[int]:
|
965
|
-
"""
|
966
|
-
`(integer)`
|
967
|
-
"""
|
968
913
|
return pulumi.get(self, "controllers_expected")
|
969
914
|
|
970
915
|
@property
|
971
916
|
@pulumi.getter(name="controllersHealthy")
|
972
917
|
def controllers_healthy(self) -> pulumi.Output[int]:
|
973
|
-
"""
|
974
|
-
`(integer)`
|
975
|
-
"""
|
976
918
|
return pulumi.get(self, "controllers_healthy")
|
977
919
|
|
978
920
|
@property
|
@@ -1002,17 +944,11 @@ class ExternalVolume(pulumi.CustomResource):
|
|
1002
944
|
@property
|
1003
945
|
@pulumi.getter(name="nodesExpected")
|
1004
946
|
def nodes_expected(self) -> pulumi.Output[int]:
|
1005
|
-
"""
|
1006
|
-
`(integer)`
|
1007
|
-
"""
|
1008
947
|
return pulumi.get(self, "nodes_expected")
|
1009
948
|
|
1010
949
|
@property
|
1011
950
|
@pulumi.getter(name="nodesHealthy")
|
1012
951
|
def nodes_healthy(self) -> pulumi.Output[int]:
|
1013
|
-
"""
|
1014
|
-
`(integer)`
|
1015
|
-
"""
|
1016
952
|
return pulumi.get(self, "nodes_healthy")
|
1017
953
|
|
1018
954
|
@property
|
@@ -1034,25 +970,16 @@ class ExternalVolume(pulumi.CustomResource):
|
|
1034
970
|
@property
|
1035
971
|
@pulumi.getter(name="pluginProvider")
|
1036
972
|
def plugin_provider(self) -> pulumi.Output[str]:
|
1037
|
-
"""
|
1038
|
-
`(string)`
|
1039
|
-
"""
|
1040
973
|
return pulumi.get(self, "plugin_provider")
|
1041
974
|
|
1042
975
|
@property
|
1043
976
|
@pulumi.getter(name="pluginProviderVersion")
|
1044
977
|
def plugin_provider_version(self) -> pulumi.Output[str]:
|
1045
|
-
"""
|
1046
|
-
`(string)`
|
1047
|
-
"""
|
1048
978
|
return pulumi.get(self, "plugin_provider_version")
|
1049
979
|
|
1050
980
|
@property
|
1051
981
|
@pulumi.getter
|
1052
982
|
def schedulable(self) -> pulumi.Output[bool]:
|
1053
|
-
"""
|
1054
|
-
`(boolean)`
|
1055
|
-
"""
|
1056
983
|
return pulumi.get(self, "schedulable")
|
1057
984
|
|
1058
985
|
@property
|
@@ -1074,9 +1001,6 @@ class ExternalVolume(pulumi.CustomResource):
|
|
1074
1001
|
@property
|
1075
1002
|
@pulumi.getter
|
1076
1003
|
def topologies(self) -> pulumi.Output[Sequence['outputs.ExternalVolumeTopology']]:
|
1077
|
-
"""
|
1078
|
-
`(List of topologies)`
|
1079
|
-
"""
|
1080
1004
|
return pulumi.get(self, "topologies")
|
1081
1005
|
|
1082
1006
|
@property
|