pulumi-nomad 2.3.0a1710996104__py3-none-any.whl → 2.3.0a1711519512__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/job.py CHANGED
@@ -74,8 +74,8 @@ class JobArgs:
74
74
  if purge_on_destroy is not None:
75
75
  pulumi.set(__self__, "purge_on_destroy", purge_on_destroy)
76
76
  if read_allocation_ids is not None:
77
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
78
- pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
77
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
78
+ pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
79
79
  if read_allocation_ids is not None:
80
80
  pulumi.set(__self__, "read_allocation_ids", read_allocation_ids)
81
81
  if rerun_if_dead is not None:
@@ -214,8 +214,8 @@ class JobArgs:
214
214
  @property
215
215
  @pulumi.getter(name="readAllocationIds")
216
216
  def read_allocation_ids(self) -> Optional[pulumi.Input[bool]]:
217
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
218
- pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
217
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
218
+ pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
219
219
 
220
220
  return pulumi.get(self, "read_allocation_ids")
221
221
 
@@ -313,8 +313,8 @@ class _JobState:
313
313
  Will fallback to the value declared in Nomad provider configuration, if any.
314
314
  """
315
315
  if allocation_ids is not None:
316
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
317
- pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
316
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
317
+ pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
318
318
  if allocation_ids is not None:
319
319
  pulumi.set(__self__, "allocation_ids", allocation_ids)
320
320
  if consul_token is not None:
@@ -350,8 +350,8 @@ class _JobState:
350
350
  if purge_on_destroy is not None:
351
351
  pulumi.set(__self__, "purge_on_destroy", purge_on_destroy)
352
352
  if read_allocation_ids is not None:
353
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
354
- pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
353
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
354
+ pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
355
355
  if read_allocation_ids is not None:
356
356
  pulumi.set(__self__, "read_allocation_ids", read_allocation_ids)
357
357
  if region is not None:
@@ -373,8 +373,8 @@ class _JobState:
373
373
  """
374
374
  The IDs for allocations associated with this job.
375
375
  """
376
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
377
- pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
376
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
377
+ pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
378
378
 
379
379
  return pulumi.get(self, "allocation_ids")
380
380
 
@@ -585,8 +585,8 @@ class _JobState:
585
585
  @property
586
586
  @pulumi.getter(name="readAllocationIds")
587
587
  def read_allocation_ids(self) -> Optional[pulumi.Input[bool]]:
588
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
589
- pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
588
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
589
+ pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
590
590
 
591
591
  return pulumi.get(self, "read_allocation_ids")
592
592
 
@@ -895,8 +895,8 @@ class Job(pulumi.CustomResource):
895
895
  """
896
896
  The IDs for allocations associated with this job.
897
897
  """
898
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
899
- pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
898
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
899
+ pulumi.log.warn("""allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
900
900
 
901
901
  return pulumi.get(self, "allocation_ids")
902
902
 
@@ -1039,8 +1039,8 @@ class Job(pulumi.CustomResource):
1039
1039
  @property
1040
1040
  @pulumi.getter(name="readAllocationIds")
1041
1041
  def read_allocation_ids(self) -> pulumi.Output[Optional[bool]]:
1042
- warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""", DeprecationWarning)
1043
- pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the nomad_allocations data source instead.""")
1042
+ warnings.warn("""Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""", DeprecationWarning)
1043
+ pulumi.log.warn("""read_allocation_ids is deprecated: Retrieving allocation IDs from the job resource is deprecated and will be removed in a future release. Use the get_allocations data source instead.""")
1044
1044
 
1045
1045
  return pulumi.get(self, "read_allocation_ids")
1046
1046
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_nomad
3
- Version: 2.3.0a1710996104
3
+ Version: 2.3.0a1711519512
4
4
  Summary: A Pulumi package for creating and managing nomad cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -32,7 +32,7 @@ pulumi_nomad/get_scaling_policy.py,sha256=kDGLWYiZ2N2Pif6YlOfWheVJD7GpADPdPStQSI
32
32
  pulumi_nomad/get_scheduler_policy.py,sha256=jCMlDXQZvCnS76XMLWmeUZUW0Rm2psNVA7n2ZHRT50w,4686
33
33
  pulumi_nomad/get_variable.py,sha256=dGzWoEhOnqQF2dL9ZGVG52DzLIIKKknC9TjzGtggVCg,4253
34
34
  pulumi_nomad/get_volumes.py,sha256=ecBvniqg-ltQ_XvLsYTb4_g3Se3MneS0LQwDbbZl_5w,5560
35
- pulumi_nomad/job.py,sha256=YMuoAetXRNpQCt4NF15_aIjKIIj9Do9AoSFphqddxzw,51983
35
+ pulumi_nomad/job.py,sha256=DJ525lS2XkxkgKd3-TkIJCrTLba-NhWPjdo8KwKIgRk,51951
36
36
  pulumi_nomad/namespace.py,sha256=uLt6-h0CGTntslI-BVRxy4Gwfhz-I_1lE_hf2_vKID8,20661
37
37
  pulumi_nomad/node_pool.py,sha256=gElsf_T0PTUZzUVp4C9m94h_LKkqTWW-zjaow5PUsNA,13234
38
38
  pulumi_nomad/outputs.py,sha256=Ye8Vi1txnZ4bnTdX_wu0kVGChgM-wza7yBnTUxqY6nM,100555
@@ -48,7 +48,7 @@ pulumi_nomad/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi0
48
48
  pulumi_nomad/config/__init__.pyi,sha256=xqQrj9Co22MZN1IMoQwefoce6b6zI5nQfuA4L_uqw3Q,1865
49
49
  pulumi_nomad/config/outputs.py,sha256=EJXQtJx8CPqK4-XlVBLC4rbjzI1AVUBUrOjFgyxwtuk,1003
50
50
  pulumi_nomad/config/vars.py,sha256=pNNlDdaVJeMKr6TPOOJ4wW-_KPneYFizgpPjUIxa9rU,3432
51
- pulumi_nomad-2.3.0a1710996104.dist-info/METADATA,sha256=yMAURIJL496e4mxmNx3hUIXig1cPW7NlH0VfZMyfcnU,4730
52
- pulumi_nomad-2.3.0a1710996104.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
- pulumi_nomad-2.3.0a1710996104.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
54
- pulumi_nomad-2.3.0a1710996104.dist-info/RECORD,,
51
+ pulumi_nomad-2.3.0a1711519512.dist-info/METADATA,sha256=FljNCUdHaZqzFTZimoYSYz-1sISy2iZE-V9FeZxYvCw,4730
52
+ pulumi_nomad-2.3.0a1711519512.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
+ pulumi_nomad-2.3.0a1711519512.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
54
+ pulumi_nomad-2.3.0a1711519512.dist-info/RECORD,,