pulumi-nomad 2.2.0a1710332982__py3-none-any.whl → 2.2.1__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 +4 -6
- pulumi_nomad/acl_policy.py +0 -64
- pulumi_nomad/acl_token.py +18 -26
- pulumi_nomad/csi_volume.py +0 -72
- pulumi_nomad/csi_volume_registration.py +0 -72
- pulumi_nomad/external_volume.py +6 -78
- 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 +4 -8
- pulumi_nomad/get_deployments.py +0 -4
- pulumi_nomad/get_job.py +0 -4
- pulumi_nomad/get_job_parser.py +0 -24
- pulumi_nomad/get_namespace.py +0 -4
- pulumi_nomad/get_namespaces.py +2 -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 +34 -0
- 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/job.py +16 -16
- pulumi_nomad/namespace.py +14 -16
- pulumi_nomad/node_pool.py +2 -4
- pulumi_nomad/outputs.py +32 -126
- pulumi_nomad/quote_specification.py +4 -6
- pulumi_nomad/scheduler_config.py +6 -10
- pulumi_nomad/sentinel_policy.py +6 -10
- pulumi_nomad/variable.py +14 -18
- pulumi_nomad/volume.py +8 -80
- {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.2.1.dist-info}/METADATA +1 -1
- pulumi_nomad-2.2.1.dist-info/RECORD +54 -0
- pulumi_nomad-2.2.0a1710332982.dist-info/RECORD +0 -54
- {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.2.1.dist-info}/WHEEL +0 -0
- {pulumi_nomad-2.2.0a1710332982.dist-info → pulumi_nomad-2.2.1.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
|