pulumi-null 0.1.0a1747203486__py3-none-any.whl → 0.1.0a1764888286__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.

Potentially problematic release.


This version of pulumi-null might be problematic. Click here for more details.

pulumi_null/__init__.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
5
+ import builtins as _builtins
6
6
  from . import _utilities
7
7
  import typing
8
8
  # Export this package's modules as members:
pulumi_null/_utilities.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
 
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -44,42 +43,42 @@ class GetDataSourceResult:
44
43
  raise TypeError("Expected argument 'random' to be a str")
45
44
  pulumi.set(__self__, "random", random)
46
45
 
47
- @property
46
+ @_builtins.property
48
47
  @pulumi.getter(name="hasComputedDefault")
49
- def has_computed_default(self) -> builtins.str:
48
+ def has_computed_default(self) -> _builtins.str:
50
49
  """
51
50
  If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
52
51
  """
53
52
  return pulumi.get(self, "has_computed_default")
54
53
 
55
- @property
54
+ @_builtins.property
56
55
  @pulumi.getter
57
56
  @_utilities.deprecated("""This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.""")
58
- def id(self) -> builtins.str:
57
+ def id(self) -> _builtins.str:
59
58
  """
60
59
  This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.
61
60
  """
62
61
  return pulumi.get(self, "id")
63
62
 
64
- @property
63
+ @_builtins.property
65
64
  @pulumi.getter
66
- def inputs(self) -> Optional[Mapping[str, builtins.str]]:
65
+ def inputs(self) -> Optional[Mapping[str, _builtins.str]]:
67
66
  """
68
67
  A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
69
68
  """
70
69
  return pulumi.get(self, "inputs")
71
70
 
72
- @property
71
+ @_builtins.property
73
72
  @pulumi.getter
74
- def outputs(self) -> Mapping[str, builtins.str]:
73
+ def outputs(self) -> Mapping[str, _builtins.str]:
75
74
  """
76
75
  After the data source is "read", a copy of the `inputs` map.
77
76
  """
78
77
  return pulumi.get(self, "outputs")
79
78
 
80
- @property
79
+ @_builtins.property
81
80
  @pulumi.getter
82
- def random(self) -> builtins.str:
81
+ def random(self) -> _builtins.str:
83
82
  return pulumi.get(self, "random")
84
83
 
85
84
 
@@ -96,15 +95,15 @@ class AwaitableGetDataSourceResult(GetDataSourceResult):
96
95
  random=self.random)
97
96
 
98
97
 
99
- def get_data_source(has_computed_default: Optional[builtins.str] = None,
100
- inputs: Optional[Mapping[str, builtins.str]] = None,
98
+ def get_data_source(has_computed_default: Optional[_builtins.str] = None,
99
+ inputs: Optional[Mapping[str, _builtins.str]] = None,
101
100
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDataSourceResult:
102
101
  """
103
102
  ## Example Usage
104
103
 
105
104
 
106
- :param builtins.str has_computed_default: If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
107
- :param Mapping[str, builtins.str] inputs: A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
105
+ :param _builtins.str has_computed_default: If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
106
+ :param Mapping[str, _builtins.str] inputs: A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
108
107
  """
109
108
  __args__ = dict()
110
109
  __args__['hasComputedDefault'] = has_computed_default
@@ -118,15 +117,15 @@ def get_data_source(has_computed_default: Optional[builtins.str] = None,
118
117
  inputs=pulumi.get(__ret__, 'inputs'),
119
118
  outputs=pulumi.get(__ret__, 'outputs'),
120
119
  random=pulumi.get(__ret__, 'random'))
121
- def get_data_source_output(has_computed_default: Optional[pulumi.Input[Optional[builtins.str]]] = None,
122
- inputs: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
120
+ def get_data_source_output(has_computed_default: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
121
+ inputs: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
123
122
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDataSourceResult]:
124
123
  """
125
124
  ## Example Usage
126
125
 
127
126
 
128
- :param builtins.str has_computed_default: If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
129
- :param Mapping[str, builtins.str] inputs: A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
127
+ :param _builtins.str has_computed_default: If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
128
+ :param Mapping[str, _builtins.str] inputs: A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
130
129
  """
131
130
  __args__ = dict()
132
131
  __args__['hasComputedDefault'] = has_computed_default
pulumi_null/provider.py CHANGED
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -91,7 +90,7 @@ class Provider(pulumi.ProviderResource):
91
90
  raise TypeError("Expected argument 'result' to be a dict")
92
91
  pulumi.set(__self__, "result", result)
93
92
 
94
- @property
93
+ @_builtins.property
95
94
  @pulumi.getter
96
95
  def result(self) -> Mapping[str, Any]:
97
96
  return pulumi.get(self, "result")
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "null",
4
- "version": "0.1.0-alpha.1747203486"
4
+ "version": "0.1.0-alpha.1764888286"
5
5
  }
pulumi_null/resource.py CHANGED
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,48 +19,48 @@ __all__ = ['ResourceArgs', 'Resource']
20
19
  @pulumi.input_type
21
20
  class ResourceArgs:
22
21
  def __init__(__self__, *,
23
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
22
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
24
23
  """
25
24
  The set of arguments for constructing a Resource resource.
26
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
25
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
27
26
  """
28
27
  if triggers is not None:
29
28
  pulumi.set(__self__, "triggers", triggers)
30
29
 
31
- @property
30
+ @_builtins.property
32
31
  @pulumi.getter
33
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
32
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
34
33
  """
35
34
  A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
36
35
  """
37
36
  return pulumi.get(self, "triggers")
38
37
 
39
38
  @triggers.setter
40
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
39
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
41
40
  pulumi.set(self, "triggers", value)
42
41
 
43
42
 
44
43
  @pulumi.input_type
45
44
  class _ResourceState:
46
45
  def __init__(__self__, *,
47
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
46
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
48
47
  """
49
48
  Input properties used for looking up and filtering Resource resources.
50
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
49
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
51
50
  """
52
51
  if triggers is not None:
53
52
  pulumi.set(__self__, "triggers", triggers)
54
53
 
55
- @property
54
+ @_builtins.property
56
55
  @pulumi.getter
57
- def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
56
+ def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
58
57
  """
59
58
  A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
60
59
  """
61
60
  return pulumi.get(self, "triggers")
62
61
 
63
62
  @triggers.setter
64
- def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
63
+ def triggers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
65
64
  pulumi.set(self, "triggers", value)
66
65
 
67
66
 
@@ -71,7 +70,7 @@ class Resource(pulumi.CustomResource):
71
70
  def __init__(__self__,
72
71
  resource_name: str,
73
72
  opts: Optional[pulumi.ResourceOptions] = None,
74
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
73
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
75
74
  __props__=None):
76
75
  """
77
76
  ## Example Usage
@@ -103,7 +102,7 @@ class Resource(pulumi.CustomResource):
103
102
 
104
103
  :param str resource_name: The name of the resource.
105
104
  :param pulumi.ResourceOptions opts: Options for the resource.
106
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
105
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
107
106
  """
108
107
  ...
109
108
  @overload
@@ -154,7 +153,7 @@ class Resource(pulumi.CustomResource):
154
153
  def _internal_init(__self__,
155
154
  resource_name: str,
156
155
  opts: Optional[pulumi.ResourceOptions] = None,
157
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
156
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
158
157
  __props__=None):
159
158
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
160
159
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -175,7 +174,7 @@ class Resource(pulumi.CustomResource):
175
174
  def get(resource_name: str,
176
175
  id: pulumi.Input[str],
177
176
  opts: Optional[pulumi.ResourceOptions] = None,
178
- triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None) -> 'Resource':
177
+ triggers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'Resource':
179
178
  """
180
179
  Get an existing Resource resource's state with the given name, id, and optional extra
181
180
  properties used to qualify the lookup.
@@ -183,7 +182,7 @@ class Resource(pulumi.CustomResource):
183
182
  :param str resource_name: The unique name of the resulting resource.
184
183
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
185
184
  :param pulumi.ResourceOptions opts: Options for the resource.
186
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
185
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] triggers: A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
187
186
  """
188
187
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
189
188
 
@@ -192,9 +191,9 @@ class Resource(pulumi.CustomResource):
192
191
  __props__.__dict__["triggers"] = triggers
193
192
  return Resource(resource_name, opts=opts, __props__=__props__)
194
193
 
195
- @property
194
+ @_builtins.property
196
195
  @pulumi.getter
197
- def triggers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
196
+ def triggers(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
198
197
  """
199
198
  A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
200
199
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_null
3
- Version: 0.1.0a1747203486
3
+ Version: 0.1.0a1764888286
4
4
  Summary: A Pulumi package for creating and managing Null cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com/
@@ -0,0 +1,11 @@
1
+ pulumi_null/__init__.py,sha256=HYNelOMnfTSGbICYcmSO1lcoOz8qAjNBmc_xsQ10SNA,693
2
+ pulumi_null/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
3
+ pulumi_null/get_data_source.py,sha256=8Pn0V4K64SfeOvFbz6NtRua2SZ_F2dwTtO4RkgCNklM,6376
4
+ pulumi_null/provider.py,sha256=WlyqTT91PNblT8Ggy-ZdCMzX1Pvp6gz4cP-gKr0JDAk,4508
5
+ pulumi_null/pulumi-plugin.json,sha256=VMkgPyk30TczQv7KkfoijSfQ2BYWCaZsPD__PiXadZ0,80
6
+ pulumi_null/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ pulumi_null/resource.py,sha256=xcM0mCy6-fI_wzjWJ6-pYYo5vMWhGuzISBIjBH12aRE,9034
8
+ pulumi_null-0.1.0a1764888286.dist-info/METADATA,sha256=c-mSkcC3GGdegU_L_FFlyp_0iMq-4w1nBQwrcbA06RI,2840
9
+ pulumi_null-0.1.0a1764888286.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ pulumi_null-0.1.0a1764888286.dist-info/top_level.txt,sha256=Ru9dJEzD8mCrozV4N2VCSavoQqMS9aa8gq-PLsirmtc,12
11
+ pulumi_null-0.1.0a1764888286.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,11 +0,0 @@
1
- pulumi_null/__init__.py,sha256=4eNWeCA8WQCE6_BVW7U8wgd-U7kGQ2RDrGcBRgj671s,698
2
- pulumi_null/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
3
- pulumi_null/get_data_source.py,sha256=Zq7bf-8Ox4FPbSaN7GhNrwdGq3Q1WEqPxZ7iHy4LhXg,6330
4
- pulumi_null/provider.py,sha256=N-IzVq228O_uCIE_tM62fBKSjxRxjZ3mxZyMUtjavyY,4515
5
- pulumi_null/pulumi-plugin.json,sha256=DEZNrrO6n6c8mn3w2qGWe3oLjDMpBSyYDJTiQffylVU,80
6
- pulumi_null/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- pulumi_null/resource.py,sha256=xG68FnvwK8wQEqK6C-JKswLmhg7x4jKxQx5ClIR0oMQ,9007
8
- pulumi_null-0.1.0a1747203486.dist-info/METADATA,sha256=Fn0qHQZqOmj3qf0QXBQNqCLZP12pARt6kjWgaB49BH8,2840
9
- pulumi_null-0.1.0a1747203486.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
10
- pulumi_null-0.1.0a1747203486.dist-info/top_level.txt,sha256=Ru9dJEzD8mCrozV4N2VCSavoQqMS9aa8gq-PLsirmtc,12
11
- pulumi_null-0.1.0a1747203486.dist-info/RECORD,,