pulumi-nomad 2.3.0a1713561631__py3-none-any.whl → 2.3.0a1713899842__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 (41) hide show
  1. pulumi_nomad/_inputs.py +32 -126
  2. pulumi_nomad/acl_auth_method.py +0 -4
  3. pulumi_nomad/acl_token.py +0 -16
  4. pulumi_nomad/csi_volume.py +0 -72
  5. pulumi_nomad/csi_volume_registration.py +0 -72
  6. pulumi_nomad/external_volume.py +0 -76
  7. pulumi_nomad/get_acl_policies.py +0 -4
  8. pulumi_nomad/get_acl_policy.py +0 -4
  9. pulumi_nomad/get_acl_role.py +0 -4
  10. pulumi_nomad/get_acl_roles.py +0 -4
  11. pulumi_nomad/get_acl_token.py +0 -4
  12. pulumi_nomad/get_acl_tokens.py +0 -4
  13. pulumi_nomad/get_allocations.py +0 -4
  14. pulumi_nomad/get_datacenters.py +0 -4
  15. pulumi_nomad/get_deployments.py +0 -4
  16. pulumi_nomad/get_job.py +0 -4
  17. pulumi_nomad/get_namespace.py +0 -4
  18. pulumi_nomad/get_namespaces.py +0 -4
  19. pulumi_nomad/get_node_pool.py +0 -4
  20. pulumi_nomad/get_node_pools.py +0 -4
  21. pulumi_nomad/get_plugin.py +0 -4
  22. pulumi_nomad/get_plugins.py +0 -4
  23. pulumi_nomad/get_regions.py +0 -4
  24. pulumi_nomad/get_scaling_policies.py +0 -4
  25. pulumi_nomad/get_scaling_policy.py +0 -4
  26. pulumi_nomad/get_scheduler_policy.py +0 -4
  27. pulumi_nomad/get_variable.py +0 -4
  28. pulumi_nomad/get_volumes.py +0 -4
  29. pulumi_nomad/namespace.py +0 -8
  30. pulumi_nomad/node_pool.py +0 -4
  31. pulumi_nomad/outputs.py +32 -126
  32. pulumi_nomad/quote_specification.py +0 -4
  33. pulumi_nomad/scheduler_config.py +0 -4
  34. pulumi_nomad/sentinel_policy.py +0 -4
  35. pulumi_nomad/variable.py +0 -8
  36. pulumi_nomad/volume.py +0 -76
  37. {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1713899842.dist-info}/METADATA +1 -1
  38. pulumi_nomad-2.3.0a1713899842.dist-info/RECORD +54 -0
  39. pulumi_nomad-2.3.0a1713561631.dist-info/RECORD +0 -54
  40. {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1713899842.dist-info}/WHEEL +0 -0
  41. {pulumi_nomad-2.3.0a1713561631.dist-info → pulumi_nomad-2.3.0a1713899842.dist-info}/top_level.txt +0 -0
pulumi_nomad/namespace.py CHANGED
@@ -249,7 +249,6 @@ class Namespace(pulumi.CustomResource):
249
249
 
250
250
  Registering a namespace:
251
251
 
252
- <!--Start PulumiCodeChooser -->
253
252
  ```python
254
253
  import pulumi
255
254
  import pulumi_nomad as nomad
@@ -263,11 +262,9 @@ class Namespace(pulumi.CustomResource):
263
262
  "foo": "bar",
264
263
  })
265
264
  ```
266
- <!--End PulumiCodeChooser -->
267
265
 
268
266
  Registering a namespace with a quota:
269
267
 
270
- <!--Start PulumiCodeChooser -->
271
268
  ```python
272
269
  import pulumi
273
270
  import pulumi_nomad as nomad
@@ -287,7 +284,6 @@ class Namespace(pulumi.CustomResource):
287
284
  description="Web team production environment.",
288
285
  quota=web_team.name)
289
286
  ```
290
- <!--End PulumiCodeChooser -->
291
287
 
292
288
  :param str resource_name: The name of the resource.
293
289
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -317,7 +313,6 @@ class Namespace(pulumi.CustomResource):
317
313
 
318
314
  Registering a namespace:
319
315
 
320
- <!--Start PulumiCodeChooser -->
321
316
  ```python
322
317
  import pulumi
323
318
  import pulumi_nomad as nomad
@@ -331,11 +326,9 @@ class Namespace(pulumi.CustomResource):
331
326
  "foo": "bar",
332
327
  })
333
328
  ```
334
- <!--End PulumiCodeChooser -->
335
329
 
336
330
  Registering a namespace with a quota:
337
331
 
338
- <!--Start PulumiCodeChooser -->
339
332
  ```python
340
333
  import pulumi
341
334
  import pulumi_nomad as nomad
@@ -355,7 +348,6 @@ class Namespace(pulumi.CustomResource):
355
348
  description="Web team production environment.",
356
349
  quota=web_team.name)
357
350
  ```
358
- <!--End PulumiCodeChooser -->
359
351
 
360
352
  :param str resource_name: The name of the resource.
361
353
  :param NamespaceArgs args: The arguments to use to populate this resource's properties.
pulumi_nomad/node_pool.py CHANGED
@@ -178,7 +178,6 @@ class NodePool(pulumi.CustomResource):
178
178
 
179
179
  Registering a node pool:
180
180
 
181
- <!--Start PulumiCodeChooser -->
182
181
  ```python
183
182
  import pulumi
184
183
  import pulumi_nomad as nomad
@@ -191,7 +190,6 @@ class NodePool(pulumi.CustomResource):
191
190
  "env": "dev",
192
191
  })
193
192
  ```
194
- <!--End PulumiCodeChooser -->
195
193
 
196
194
  :param str resource_name: The name of the resource.
197
195
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -214,7 +212,6 @@ class NodePool(pulumi.CustomResource):
214
212
 
215
213
  Registering a node pool:
216
214
 
217
- <!--Start PulumiCodeChooser -->
218
215
  ```python
219
216
  import pulumi
220
217
  import pulumi_nomad as nomad
@@ -227,7 +224,6 @@ class NodePool(pulumi.CustomResource):
227
224
  "env": "dev",
228
225
  })
229
226
  ```
230
- <!--End PulumiCodeChooser -->
231
227
 
232
228
  :param str resource_name: The name of the resource.
233
229
  :param NodePoolArgs args: The arguments to use to populate this resource's properties.
pulumi_nomad/outputs.py CHANGED
@@ -297,15 +297,10 @@ class AclPolicyJobAcl(dict):
297
297
  namespace: Optional[str] = None,
298
298
  task: Optional[str] = None):
299
299
  """
300
- :param str job_id: `(string: <optional>` - The job to attach the policy. Required if
301
- `group` is set.
302
- :param str group: `(string: <optional>` - The group to attach the policy. Required if
303
- `task` is set.
304
- :param str namespace: `(string: "default")` - The namespace to attach the policy.
305
- Required if `job_id` is set.
306
- :param str task: `(string: <optional>` - The task to attach the policy.
307
-
308
- [nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
300
+ :param str job_id: Job
301
+ :param str group: Group
302
+ :param str namespace: Namespace
303
+ :param str task: Task
309
304
  """
310
305
  pulumi.set(__self__, "job_id", job_id)
311
306
  if group is not None:
@@ -319,8 +314,7 @@ class AclPolicyJobAcl(dict):
319
314
  @pulumi.getter(name="jobId")
320
315
  def job_id(self) -> str:
321
316
  """
322
- `(string: <optional>` - The job to attach the policy. Required if
323
- `group` is set.
317
+ Job
324
318
  """
325
319
  return pulumi.get(self, "job_id")
326
320
 
@@ -328,8 +322,7 @@ class AclPolicyJobAcl(dict):
328
322
  @pulumi.getter
329
323
  def group(self) -> Optional[str]:
330
324
  """
331
- `(string: <optional>` - The group to attach the policy. Required if
332
- `task` is set.
325
+ Group
333
326
  """
334
327
  return pulumi.get(self, "group")
335
328
 
@@ -337,8 +330,7 @@ class AclPolicyJobAcl(dict):
337
330
  @pulumi.getter
338
331
  def namespace(self) -> Optional[str]:
339
332
  """
340
- `(string: "default")` - The namespace to attach the policy.
341
- Required if `job_id` is set.
333
+ Namespace
342
334
  """
343
335
  return pulumi.get(self, "namespace")
344
336
 
@@ -346,9 +338,7 @@ class AclPolicyJobAcl(dict):
346
338
  @pulumi.getter
347
339
  def task(self) -> Optional[str]:
348
340
  """
349
- `(string: <optional>` - The task to attach the policy.
350
-
351
- [nomad_docs_wi]: https://www.nomadproject.io/docs/concepts/workload-identity#workload-associated-acl-policies
341
+ Task
352
342
  """
353
343
  return pulumi.get(self, "task")
354
344
 
@@ -629,24 +619,12 @@ class CsiVolumeRegistrationMountOptions(dict):
629
619
  class CsiVolumeRegistrationTopology(dict):
630
620
  def __init__(__self__, *,
631
621
  segments: Optional[Mapping[str, str]] = None):
632
- """
633
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
634
-
635
- In addition to the above arguments, the following attributes are exported and
636
- can be referenced:
637
- """
638
622
  if segments is not None:
639
623
  pulumi.set(__self__, "segments", segments)
640
624
 
641
625
  @property
642
626
  @pulumi.getter
643
627
  def segments(self) -> Optional[Mapping[str, str]]:
644
- """
645
- `(map[string]string)` - Define the attributes for the topology request.
646
-
647
- In addition to the above arguments, the following attributes are exported and
648
- can be referenced:
649
- """
650
628
  return pulumi.get(self, "segments")
651
629
 
652
630
 
@@ -674,7 +652,7 @@ class CsiVolumeRegistrationTopologyRequestRequired(dict):
674
652
  def __init__(__self__, *,
675
653
  topologies: Sequence['outputs.CsiVolumeRegistrationTopologyRequestRequiredTopology']):
676
654
  """
677
- :param Sequence['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
655
+ :param Sequence['CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs'] topologies: Defines the location for the volume.
678
656
  """
679
657
  pulumi.set(__self__, "topologies", topologies)
680
658
 
@@ -682,7 +660,7 @@ class CsiVolumeRegistrationTopologyRequestRequired(dict):
682
660
  @pulumi.getter
683
661
  def topologies(self) -> Sequence['outputs.CsiVolumeRegistrationTopologyRequestRequiredTopology']:
684
662
  """
685
- `(List of segments: <required>)` - Defines the location for the volume.
663
+ Defines the location for the volume.
686
664
  """
687
665
  return pulumi.get(self, "topologies")
688
666
 
@@ -692,10 +670,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopology(dict):
692
670
  def __init__(__self__, *,
693
671
  segments: Mapping[str, str]):
694
672
  """
695
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
696
-
697
- In addition to the above arguments, the following attributes are exported and
698
- can be referenced:
673
+ :param Mapping[str, str] segments: Define attributes for the topology request.
699
674
  """
700
675
  pulumi.set(__self__, "segments", segments)
701
676
 
@@ -703,10 +678,7 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopology(dict):
703
678
  @pulumi.getter
704
679
  def segments(self) -> Mapping[str, str]:
705
680
  """
706
- `(map[string]string)` - Define the attributes for the topology request.
707
-
708
- In addition to the above arguments, the following attributes are exported and
709
- can be referenced:
681
+ Define attributes for the topology request.
710
682
  """
711
683
  return pulumi.get(self, "segments")
712
684
 
@@ -715,24 +687,12 @@ class CsiVolumeRegistrationTopologyRequestRequiredTopology(dict):
715
687
  class CsiVolumeTopology(dict):
716
688
  def __init__(__self__, *,
717
689
  segments: Optional[Mapping[str, str]] = None):
718
- """
719
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
720
-
721
- In addition to the above arguments, the following attributes are exported and
722
- can be referenced:
723
- """
724
690
  if segments is not None:
725
691
  pulumi.set(__self__, "segments", segments)
726
692
 
727
693
  @property
728
694
  @pulumi.getter
729
695
  def segments(self) -> Optional[Mapping[str, str]]:
730
- """
731
- `(map[string]string)` - Define the attributes for the topology request.
732
-
733
- In addition to the above arguments, the following attributes are exported and
734
- can be referenced:
735
- """
736
696
  return pulumi.get(self, "segments")
737
697
 
738
698
 
@@ -772,7 +732,7 @@ class CsiVolumeTopologyRequestPreferred(dict):
772
732
  def __init__(__self__, *,
773
733
  topologies: Sequence['outputs.CsiVolumeTopologyRequestPreferredTopology']):
774
734
  """
775
- :param Sequence['CsiVolumeTopologyRequestPreferredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
735
+ :param Sequence['CsiVolumeTopologyRequestPreferredTopologyArgs'] topologies: Defines the location for the volume.
776
736
  """
777
737
  pulumi.set(__self__, "topologies", topologies)
778
738
 
@@ -780,7 +740,7 @@ class CsiVolumeTopologyRequestPreferred(dict):
780
740
  @pulumi.getter
781
741
  def topologies(self) -> Sequence['outputs.CsiVolumeTopologyRequestPreferredTopology']:
782
742
  """
783
- `(List of segments: <required>)` - Defines the location for the volume.
743
+ Defines the location for the volume.
784
744
  """
785
745
  return pulumi.get(self, "topologies")
786
746
 
@@ -790,10 +750,7 @@ class CsiVolumeTopologyRequestPreferredTopology(dict):
790
750
  def __init__(__self__, *,
791
751
  segments: Mapping[str, str]):
792
752
  """
793
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
794
-
795
- In addition to the above arguments, the following attributes are exported and
796
- can be referenced:
753
+ :param Mapping[str, str] segments: Define the attributes for the topology request.
797
754
  """
798
755
  pulumi.set(__self__, "segments", segments)
799
756
 
@@ -801,10 +758,7 @@ class CsiVolumeTopologyRequestPreferredTopology(dict):
801
758
  @pulumi.getter
802
759
  def segments(self) -> Mapping[str, str]:
803
760
  """
804
- `(map[string]string)` - Define the attributes for the topology request.
805
-
806
- In addition to the above arguments, the following attributes are exported and
807
- can be referenced:
761
+ Define the attributes for the topology request.
808
762
  """
809
763
  return pulumi.get(self, "segments")
810
764
 
@@ -814,7 +768,7 @@ class CsiVolumeTopologyRequestRequired(dict):
814
768
  def __init__(__self__, *,
815
769
  topologies: Sequence['outputs.CsiVolumeTopologyRequestRequiredTopology']):
816
770
  """
817
- :param Sequence['CsiVolumeTopologyRequestRequiredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
771
+ :param Sequence['CsiVolumeTopologyRequestRequiredTopologyArgs'] topologies: Defines the location for the volume.
818
772
  """
819
773
  pulumi.set(__self__, "topologies", topologies)
820
774
 
@@ -822,7 +776,7 @@ class CsiVolumeTopologyRequestRequired(dict):
822
776
  @pulumi.getter
823
777
  def topologies(self) -> Sequence['outputs.CsiVolumeTopologyRequestRequiredTopology']:
824
778
  """
825
- `(List of segments: <required>)` - Defines the location for the volume.
779
+ Defines the location for the volume.
826
780
  """
827
781
  return pulumi.get(self, "topologies")
828
782
 
@@ -832,10 +786,7 @@ class CsiVolumeTopologyRequestRequiredTopology(dict):
832
786
  def __init__(__self__, *,
833
787
  segments: Mapping[str, str]):
834
788
  """
835
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
836
-
837
- In addition to the above arguments, the following attributes are exported and
838
- can be referenced:
789
+ :param Mapping[str, str] segments: Define the attributes for the topology request.
839
790
  """
840
791
  pulumi.set(__self__, "segments", segments)
841
792
 
@@ -843,10 +794,7 @@ class CsiVolumeTopologyRequestRequiredTopology(dict):
843
794
  @pulumi.getter
844
795
  def segments(self) -> Mapping[str, str]:
845
796
  """
846
- `(map[string]string)` - Define the attributes for the topology request.
847
-
848
- In addition to the above arguments, the following attributes are exported and
849
- can be referenced:
797
+ Define the attributes for the topology request.
850
798
  """
851
799
  return pulumi.get(self, "segments")
852
800
 
@@ -967,24 +915,12 @@ class ExternalVolumeMountOptions(dict):
967
915
  class ExternalVolumeTopology(dict):
968
916
  def __init__(__self__, *,
969
917
  segments: Optional[Mapping[str, str]] = None):
970
- """
971
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
972
-
973
- In addition to the above arguments, the following attributes are exported and
974
- can be referenced:
975
- """
976
918
  if segments is not None:
977
919
  pulumi.set(__self__, "segments", segments)
978
920
 
979
921
  @property
980
922
  @pulumi.getter
981
923
  def segments(self) -> Optional[Mapping[str, str]]:
982
- """
983
- `(map[string]string)` - Define the attributes for the topology request.
984
-
985
- In addition to the above arguments, the following attributes are exported and
986
- can be referenced:
987
- """
988
924
  return pulumi.get(self, "segments")
989
925
 
990
926
 
@@ -1024,7 +960,7 @@ class ExternalVolumeTopologyRequestPreferred(dict):
1024
960
  def __init__(__self__, *,
1025
961
  topologies: Sequence['outputs.ExternalVolumeTopologyRequestPreferredTopology']):
1026
962
  """
1027
- :param Sequence['ExternalVolumeTopologyRequestPreferredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
963
+ :param Sequence['ExternalVolumeTopologyRequestPreferredTopologyArgs'] topologies: Defines the location for the volume.
1028
964
  """
1029
965
  pulumi.set(__self__, "topologies", topologies)
1030
966
 
@@ -1032,7 +968,7 @@ class ExternalVolumeTopologyRequestPreferred(dict):
1032
968
  @pulumi.getter
1033
969
  def topologies(self) -> Sequence['outputs.ExternalVolumeTopologyRequestPreferredTopology']:
1034
970
  """
1035
- `(List of segments: <required>)` - Defines the location for the volume.
971
+ Defines the location for the volume.
1036
972
  """
1037
973
  return pulumi.get(self, "topologies")
1038
974
 
@@ -1042,10 +978,7 @@ class ExternalVolumeTopologyRequestPreferredTopology(dict):
1042
978
  def __init__(__self__, *,
1043
979
  segments: Mapping[str, str]):
1044
980
  """
1045
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
1046
-
1047
- In addition to the above arguments, the following attributes are exported and
1048
- can be referenced:
981
+ :param Mapping[str, str] segments: Define the attributes for the topology request.
1049
982
  """
1050
983
  pulumi.set(__self__, "segments", segments)
1051
984
 
@@ -1053,10 +986,7 @@ class ExternalVolumeTopologyRequestPreferredTopology(dict):
1053
986
  @pulumi.getter
1054
987
  def segments(self) -> Mapping[str, str]:
1055
988
  """
1056
- `(map[string]string)` - Define the attributes for the topology request.
1057
-
1058
- In addition to the above arguments, the following attributes are exported and
1059
- can be referenced:
989
+ Define the attributes for the topology request.
1060
990
  """
1061
991
  return pulumi.get(self, "segments")
1062
992
 
@@ -1066,7 +996,7 @@ class ExternalVolumeTopologyRequestRequired(dict):
1066
996
  def __init__(__self__, *,
1067
997
  topologies: Sequence['outputs.ExternalVolumeTopologyRequestRequiredTopology']):
1068
998
  """
1069
- :param Sequence['ExternalVolumeTopologyRequestRequiredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
999
+ :param Sequence['ExternalVolumeTopologyRequestRequiredTopologyArgs'] topologies: Defines the location for the volume.
1070
1000
  """
1071
1001
  pulumi.set(__self__, "topologies", topologies)
1072
1002
 
@@ -1074,7 +1004,7 @@ class ExternalVolumeTopologyRequestRequired(dict):
1074
1004
  @pulumi.getter
1075
1005
  def topologies(self) -> Sequence['outputs.ExternalVolumeTopologyRequestRequiredTopology']:
1076
1006
  """
1077
- `(List of segments: <required>)` - Defines the location for the volume.
1007
+ Defines the location for the volume.
1078
1008
  """
1079
1009
  return pulumi.get(self, "topologies")
1080
1010
 
@@ -1084,10 +1014,7 @@ class ExternalVolumeTopologyRequestRequiredTopology(dict):
1084
1014
  def __init__(__self__, *,
1085
1015
  segments: Mapping[str, str]):
1086
1016
  """
1087
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
1088
-
1089
- In addition to the above arguments, the following attributes are exported and
1090
- can be referenced:
1017
+ :param Mapping[str, str] segments: Define the attributes for the topology request.
1091
1018
  """
1092
1019
  pulumi.set(__self__, "segments", segments)
1093
1020
 
@@ -1095,10 +1022,7 @@ class ExternalVolumeTopologyRequestRequiredTopology(dict):
1095
1022
  @pulumi.getter
1096
1023
  def segments(self) -> Mapping[str, str]:
1097
1024
  """
1098
- `(map[string]string)` - Define the attributes for the topology request.
1099
-
1100
- In addition to the above arguments, the following attributes are exported and
1101
- can be referenced:
1025
+ Define the attributes for the topology request.
1102
1026
  """
1103
1027
  return pulumi.get(self, "segments")
1104
1028
 
@@ -1750,24 +1674,12 @@ class VolumeMountOptions(dict):
1750
1674
  class VolumeTopology(dict):
1751
1675
  def __init__(__self__, *,
1752
1676
  segments: Optional[Mapping[str, str]] = None):
1753
- """
1754
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
1755
-
1756
- In addition to the above arguments, the following attributes are exported and
1757
- can be referenced:
1758
- """
1759
1677
  if segments is not None:
1760
1678
  pulumi.set(__self__, "segments", segments)
1761
1679
 
1762
1680
  @property
1763
1681
  @pulumi.getter
1764
1682
  def segments(self) -> Optional[Mapping[str, str]]:
1765
- """
1766
- `(map[string]string)` - Define the attributes for the topology request.
1767
-
1768
- In addition to the above arguments, the following attributes are exported and
1769
- can be referenced:
1770
- """
1771
1683
  return pulumi.get(self, "segments")
1772
1684
 
1773
1685
 
@@ -1795,7 +1707,7 @@ class VolumeTopologyRequestRequired(dict):
1795
1707
  def __init__(__self__, *,
1796
1708
  topologies: Sequence['outputs.VolumeTopologyRequestRequiredTopology']):
1797
1709
  """
1798
- :param Sequence['VolumeTopologyRequestRequiredTopologyArgs'] topologies: `(List of segments: <required>)` - Defines the location for the volume.
1710
+ :param Sequence['VolumeTopologyRequestRequiredTopologyArgs'] topologies: Defines the location for the volume.
1799
1711
  """
1800
1712
  pulumi.set(__self__, "topologies", topologies)
1801
1713
 
@@ -1803,7 +1715,7 @@ class VolumeTopologyRequestRequired(dict):
1803
1715
  @pulumi.getter
1804
1716
  def topologies(self) -> Sequence['outputs.VolumeTopologyRequestRequiredTopology']:
1805
1717
  """
1806
- `(List of segments: <required>)` - Defines the location for the volume.
1718
+ Defines the location for the volume.
1807
1719
  """
1808
1720
  return pulumi.get(self, "topologies")
1809
1721
 
@@ -1813,10 +1725,7 @@ class VolumeTopologyRequestRequiredTopology(dict):
1813
1725
  def __init__(__self__, *,
1814
1726
  segments: Mapping[str, str]):
1815
1727
  """
1816
- :param Mapping[str, str] segments: `(map[string]string)` - Define the attributes for the topology request.
1817
-
1818
- In addition to the above arguments, the following attributes are exported and
1819
- can be referenced:
1728
+ :param Mapping[str, str] segments: Define attributes for the topology request.
1820
1729
  """
1821
1730
  pulumi.set(__self__, "segments", segments)
1822
1731
 
@@ -1824,10 +1733,7 @@ class VolumeTopologyRequestRequiredTopology(dict):
1824
1733
  @pulumi.getter
1825
1734
  def segments(self) -> Mapping[str, str]:
1826
1735
  """
1827
- `(map[string]string)` - Define the attributes for the topology request.
1828
-
1829
- In addition to the above arguments, the following attributes are exported and
1830
- can be referenced:
1736
+ Define attributes for the topology request.
1831
1737
  """
1832
1738
  return pulumi.get(self, "segments")
1833
1739
 
@@ -144,7 +144,6 @@ class QuoteSpecification(pulumi.CustomResource):
144
144
 
145
145
  Registering a quota specification:
146
146
 
147
- <!--Start PulumiCodeChooser -->
148
147
  ```python
149
148
  import pulumi
150
149
  import pulumi_nomad as nomad
@@ -160,7 +159,6 @@ class QuoteSpecification(pulumi.CustomResource):
160
159
  ),
161
160
  )])
162
161
  ```
163
- <!--End PulumiCodeChooser -->
164
162
 
165
163
  :param str resource_name: The name of the resource.
166
164
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -182,7 +180,6 @@ class QuoteSpecification(pulumi.CustomResource):
182
180
 
183
181
  Registering a quota specification:
184
182
 
185
- <!--Start PulumiCodeChooser -->
186
183
  ```python
187
184
  import pulumi
188
185
  import pulumi_nomad as nomad
@@ -198,7 +195,6 @@ class QuoteSpecification(pulumi.CustomResource):
198
195
  ),
199
196
  )])
200
197
  ```
201
- <!--End PulumiCodeChooser -->
202
198
 
203
199
  :param str resource_name: The name of the resource.
204
200
  :param QuoteSpecificationArgs args: The arguments to use to populate this resource's properties.
@@ -144,7 +144,6 @@ class SchedulerConfig(pulumi.CustomResource):
144
144
 
145
145
  Set cluster scheduler configuration:
146
146
 
147
- <!--Start PulumiCodeChooser -->
148
147
  ```python
149
148
  import pulumi
150
149
  import pulumi_nomad as nomad
@@ -159,7 +158,6 @@ class SchedulerConfig(pulumi.CustomResource):
159
158
  "sysbatch_scheduler_enabled": True,
160
159
  })
161
160
  ```
162
- <!--End PulumiCodeChooser -->
163
161
 
164
162
  :param str resource_name: The name of the resource.
165
163
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -185,7 +183,6 @@ class SchedulerConfig(pulumi.CustomResource):
185
183
 
186
184
  Set cluster scheduler configuration:
187
185
 
188
- <!--Start PulumiCodeChooser -->
189
186
  ```python
190
187
  import pulumi
191
188
  import pulumi_nomad as nomad
@@ -200,7 +197,6 @@ class SchedulerConfig(pulumi.CustomResource):
200
197
  "sysbatch_scheduler_enabled": True,
201
198
  })
202
199
  ```
203
- <!--End PulumiCodeChooser -->
204
200
 
205
201
  :param str resource_name: The name of the resource.
206
202
  :param SchedulerConfigArgs args: The arguments to use to populate this resource's properties.
@@ -219,7 +219,6 @@ class SentinelPolicy(pulumi.CustomResource):
219
219
 
220
220
  ## Example Usage
221
221
 
222
- <!--Start PulumiCodeChooser -->
223
222
  ```python
224
223
  import pulumi
225
224
  import pulumi_nomad as nomad
@@ -241,7 +240,6 @@ class SentinelPolicy(pulumi.CustomResource):
241
240
  scope="submit-job",
242
241
  enforcement_level="soft-mandatory")
243
242
  ```
244
- <!--End PulumiCodeChooser -->
245
243
 
246
244
  :param str resource_name: The name of the resource.
247
245
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -269,7 +267,6 @@ class SentinelPolicy(pulumi.CustomResource):
269
267
 
270
268
  ## Example Usage
271
269
 
272
- <!--Start PulumiCodeChooser -->
273
270
  ```python
274
271
  import pulumi
275
272
  import pulumi_nomad as nomad
@@ -291,7 +288,6 @@ class SentinelPolicy(pulumi.CustomResource):
291
288
  scope="submit-job",
292
289
  enforcement_level="soft-mandatory")
293
290
  ```
294
- <!--End PulumiCodeChooser -->
295
291
 
296
292
  :param str resource_name: The name of the resource.
297
293
  :param SentinelPolicyArgs args: The arguments to use to populate this resource's properties.
pulumi_nomad/variable.py CHANGED
@@ -135,7 +135,6 @@ class Variable(pulumi.CustomResource):
135
135
 
136
136
  Creating a variable in the default namespace:
137
137
 
138
- <!--Start PulumiCodeChooser -->
139
138
  ```python
140
139
  import pulumi
141
140
  import pulumi_nomad as nomad
@@ -146,11 +145,9 @@ class Variable(pulumi.CustomResource):
146
145
  "example_key": "example_value",
147
146
  })
148
147
  ```
149
- <!--End PulumiCodeChooser -->
150
148
 
151
149
  Creating a variable in a custom namespace:
152
150
 
153
- <!--Start PulumiCodeChooser -->
154
151
  ```python
155
152
  import pulumi
156
153
  import pulumi_nomad as nomad
@@ -165,7 +162,6 @@ class Variable(pulumi.CustomResource):
165
162
  "example_key": "example_value",
166
163
  })
167
164
  ```
168
- <!--End PulumiCodeChooser -->
169
165
 
170
166
  :param str resource_name: The name of the resource.
171
167
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -184,7 +180,6 @@ class Variable(pulumi.CustomResource):
184
180
 
185
181
  Creating a variable in the default namespace:
186
182
 
187
- <!--Start PulumiCodeChooser -->
188
183
  ```python
189
184
  import pulumi
190
185
  import pulumi_nomad as nomad
@@ -195,11 +190,9 @@ class Variable(pulumi.CustomResource):
195
190
  "example_key": "example_value",
196
191
  })
197
192
  ```
198
- <!--End PulumiCodeChooser -->
199
193
 
200
194
  Creating a variable in a custom namespace:
201
195
 
202
- <!--Start PulumiCodeChooser -->
203
196
  ```python
204
197
  import pulumi
205
198
  import pulumi_nomad as nomad
@@ -214,7 +207,6 @@ class Variable(pulumi.CustomResource):
214
207
  "example_key": "example_value",
215
208
  })
216
209
  ```
217
- <!--End PulumiCodeChooser -->
218
210
 
219
211
  :param str resource_name: The name of the resource.
220
212
  :param VariableArgs args: The arguments to use to populate this resource's properties.