pulumi-random 4.19.0a1752820599__tar.gz → 4.19.0a1768284769__tar.gz

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 (22) hide show
  1. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/PKG-INFO +1 -1
  2. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/__init__.py +1 -1
  3. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/provider.py +2 -3
  4. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/pulumi-plugin.json +1 -1
  5. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_bytes.py +53 -54
  6. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_id.py +94 -95
  7. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_integer.py +88 -89
  8. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_password.py +231 -232
  9. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_pet.py +75 -76
  10. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_shuffle.py +82 -87
  11. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_string.py +214 -215
  12. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/random_uuid.py +27 -28
  13. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random.egg-info/PKG-INFO +1 -1
  14. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pyproject.toml +1 -1
  15. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/README.md +0 -0
  16. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/_utilities.py +0 -0
  17. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random/py.typed +0 -0
  18. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random.egg-info/SOURCES.txt +0 -0
  19. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random.egg-info/dependency_links.txt +0 -0
  20. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random.egg-info/requires.txt +0 -0
  21. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/pulumi_random.egg-info/top_level.txt +0 -0
  22. {pulumi_random-4.19.0a1752820599 → pulumi_random-4.19.0a1768284769}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_random
3
- Version: 4.19.0a1752820599
3
+ Version: 4.19.0a1768284769
4
4
  Summary: A Pulumi package to safely use randomness in Pulumi programs.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -2,7 +2,7 @@
2
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:
@@ -2,8 +2,7 @@
2
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": "random",
4
- "version": "4.19.0-alpha.1752820599"
4
+ "version": "4.19.0-alpha.1768284769"
5
5
  }
@@ -2,8 +2,7 @@
2
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,55 +19,55 @@ __all__ = ['RandomBytesArgs', 'RandomBytes']
20
19
  @pulumi.input_type
21
20
  class RandomBytesArgs:
22
21
  def __init__(__self__, *,
23
- length: pulumi.Input[builtins.int],
24
- keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
22
+ length: pulumi.Input[_builtins.int],
23
+ keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
25
24
  """
26
25
  The set of arguments for constructing a RandomBytes resource.
27
- :param pulumi.Input[builtins.int] length: The number of bytes requested. The minimum value for length is 1.
28
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
26
+ :param pulumi.Input[_builtins.int] length: The number of bytes requested. The minimum value for length is 1.
27
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
29
28
  """
30
29
  pulumi.set(__self__, "length", length)
31
30
  if keepers is not None:
32
31
  pulumi.set(__self__, "keepers", keepers)
33
32
 
34
- @property
33
+ @_builtins.property
35
34
  @pulumi.getter
36
- def length(self) -> pulumi.Input[builtins.int]:
35
+ def length(self) -> pulumi.Input[_builtins.int]:
37
36
  """
38
37
  The number of bytes requested. The minimum value for length is 1.
39
38
  """
40
39
  return pulumi.get(self, "length")
41
40
 
42
41
  @length.setter
43
- def length(self, value: pulumi.Input[builtins.int]):
42
+ def length(self, value: pulumi.Input[_builtins.int]):
44
43
  pulumi.set(self, "length", value)
45
44
 
46
- @property
45
+ @_builtins.property
47
46
  @pulumi.getter
48
- def keepers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
47
+ def keepers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
49
48
  """
50
49
  Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
51
50
  """
52
51
  return pulumi.get(self, "keepers")
53
52
 
54
53
  @keepers.setter
55
- def keepers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
54
+ def keepers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
56
55
  pulumi.set(self, "keepers", value)
57
56
 
58
57
 
59
58
  @pulumi.input_type
60
59
  class _RandomBytesState:
61
60
  def __init__(__self__, *,
62
- base64: Optional[pulumi.Input[builtins.str]] = None,
63
- hex: Optional[pulumi.Input[builtins.str]] = None,
64
- keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
65
- length: Optional[pulumi.Input[builtins.int]] = None):
61
+ base64: Optional[pulumi.Input[_builtins.str]] = None,
62
+ hex: Optional[pulumi.Input[_builtins.str]] = None,
63
+ keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
64
+ length: Optional[pulumi.Input[_builtins.int]] = None):
66
65
  """
67
66
  Input properties used for looking up and filtering RandomBytes resources.
68
- :param pulumi.Input[builtins.str] base64: The generated bytes presented in base64 string format.
69
- :param pulumi.Input[builtins.str] hex: The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
70
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
71
- :param pulumi.Input[builtins.int] length: The number of bytes requested. The minimum value for length is 1.
67
+ :param pulumi.Input[_builtins.str] base64: The generated bytes presented in base64 string format.
68
+ :param pulumi.Input[_builtins.str] hex: The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
69
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
70
+ :param pulumi.Input[_builtins.int] length: The number of bytes requested. The minimum value for length is 1.
72
71
  """
73
72
  if base64 is not None:
74
73
  pulumi.set(__self__, "base64", base64)
@@ -79,52 +78,52 @@ class _RandomBytesState:
79
78
  if length is not None:
80
79
  pulumi.set(__self__, "length", length)
81
80
 
82
- @property
81
+ @_builtins.property
83
82
  @pulumi.getter
84
- def base64(self) -> Optional[pulumi.Input[builtins.str]]:
83
+ def base64(self) -> Optional[pulumi.Input[_builtins.str]]:
85
84
  """
86
85
  The generated bytes presented in base64 string format.
87
86
  """
88
87
  return pulumi.get(self, "base64")
89
88
 
90
89
  @base64.setter
91
- def base64(self, value: Optional[pulumi.Input[builtins.str]]):
90
+ def base64(self, value: Optional[pulumi.Input[_builtins.str]]):
92
91
  pulumi.set(self, "base64", value)
93
92
 
94
- @property
93
+ @_builtins.property
95
94
  @pulumi.getter
96
- def hex(self) -> Optional[pulumi.Input[builtins.str]]:
95
+ def hex(self) -> Optional[pulumi.Input[_builtins.str]]:
97
96
  """
98
97
  The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
99
98
  """
100
99
  return pulumi.get(self, "hex")
101
100
 
102
101
  @hex.setter
103
- def hex(self, value: Optional[pulumi.Input[builtins.str]]):
102
+ def hex(self, value: Optional[pulumi.Input[_builtins.str]]):
104
103
  pulumi.set(self, "hex", value)
105
104
 
106
- @property
105
+ @_builtins.property
107
106
  @pulumi.getter
108
- def keepers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
107
+ def keepers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
109
108
  """
110
109
  Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
111
110
  """
112
111
  return pulumi.get(self, "keepers")
113
112
 
114
113
  @keepers.setter
115
- def keepers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
114
+ def keepers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
116
115
  pulumi.set(self, "keepers", value)
117
116
 
118
- @property
117
+ @_builtins.property
119
118
  @pulumi.getter
120
- def length(self) -> Optional[pulumi.Input[builtins.int]]:
119
+ def length(self) -> Optional[pulumi.Input[_builtins.int]]:
121
120
  """
122
121
  The number of bytes requested. The minimum value for length is 1.
123
122
  """
124
123
  return pulumi.get(self, "length")
125
124
 
126
125
  @length.setter
127
- def length(self, value: Optional[pulumi.Input[builtins.int]]):
126
+ def length(self, value: Optional[pulumi.Input[_builtins.int]]):
128
127
  pulumi.set(self, "length", value)
129
128
 
130
129
 
@@ -134,8 +133,8 @@ class RandomBytes(pulumi.CustomResource):
134
133
  def __init__(__self__,
135
134
  resource_name: str,
136
135
  opts: Optional[pulumi.ResourceOptions] = None,
137
- keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
138
- length: Optional[pulumi.Input[builtins.int]] = None,
136
+ keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
137
+ length: Optional[pulumi.Input[_builtins.int]] = None,
139
138
  __props__=None):
140
139
  """
141
140
  The resource `RandomBytes` generates random bytes that are intended to be used as a secret, or key. Use this in preference to `RandomId` when the output is considered sensitive, and should not be displayed in the CLI.
@@ -166,8 +165,8 @@ class RandomBytes(pulumi.CustomResource):
166
165
 
167
166
  :param str resource_name: The name of the resource.
168
167
  :param pulumi.ResourceOptions opts: Options for the resource.
169
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
170
- :param pulumi.Input[builtins.int] length: The number of bytes requested. The minimum value for length is 1.
168
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
169
+ :param pulumi.Input[_builtins.int] length: The number of bytes requested. The minimum value for length is 1.
171
170
  """
172
171
  ...
173
172
  @overload
@@ -217,8 +216,8 @@ class RandomBytes(pulumi.CustomResource):
217
216
  def _internal_init(__self__,
218
217
  resource_name: str,
219
218
  opts: Optional[pulumi.ResourceOptions] = None,
220
- keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
221
- length: Optional[pulumi.Input[builtins.int]] = None,
219
+ keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
220
+ length: Optional[pulumi.Input[_builtins.int]] = None,
222
221
  __props__=None):
223
222
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
224
223
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -246,10 +245,10 @@ class RandomBytes(pulumi.CustomResource):
246
245
  def get(resource_name: str,
247
246
  id: pulumi.Input[str],
248
247
  opts: Optional[pulumi.ResourceOptions] = None,
249
- base64: Optional[pulumi.Input[builtins.str]] = None,
250
- hex: Optional[pulumi.Input[builtins.str]] = None,
251
- keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
252
- length: Optional[pulumi.Input[builtins.int]] = None) -> 'RandomBytes':
248
+ base64: Optional[pulumi.Input[_builtins.str]] = None,
249
+ hex: Optional[pulumi.Input[_builtins.str]] = None,
250
+ keepers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
251
+ length: Optional[pulumi.Input[_builtins.int]] = None) -> 'RandomBytes':
253
252
  """
254
253
  Get an existing RandomBytes resource's state with the given name, id, and optional extra
255
254
  properties used to qualify the lookup.
@@ -257,10 +256,10 @@ class RandomBytes(pulumi.CustomResource):
257
256
  :param str resource_name: The unique name of the resulting resource.
258
257
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
259
258
  :param pulumi.ResourceOptions opts: Options for the resource.
260
- :param pulumi.Input[builtins.str] base64: The generated bytes presented in base64 string format.
261
- :param pulumi.Input[builtins.str] hex: The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
262
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
263
- :param pulumi.Input[builtins.int] length: The number of bytes requested. The minimum value for length is 1.
259
+ :param pulumi.Input[_builtins.str] base64: The generated bytes presented in base64 string format.
260
+ :param pulumi.Input[_builtins.str] hex: The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
261
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] keepers: Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
262
+ :param pulumi.Input[_builtins.int] length: The number of bytes requested. The minimum value for length is 1.
264
263
  """
265
264
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
266
265
 
@@ -272,33 +271,33 @@ class RandomBytes(pulumi.CustomResource):
272
271
  __props__.__dict__["length"] = length
273
272
  return RandomBytes(resource_name, opts=opts, __props__=__props__)
274
273
 
275
- @property
274
+ @_builtins.property
276
275
  @pulumi.getter
277
- def base64(self) -> pulumi.Output[builtins.str]:
276
+ def base64(self) -> pulumi.Output[_builtins.str]:
278
277
  """
279
278
  The generated bytes presented in base64 string format.
280
279
  """
281
280
  return pulumi.get(self, "base64")
282
281
 
283
- @property
282
+ @_builtins.property
284
283
  @pulumi.getter
285
- def hex(self) -> pulumi.Output[builtins.str]:
284
+ def hex(self) -> pulumi.Output[_builtins.str]:
286
285
  """
287
286
  The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
288
287
  """
289
288
  return pulumi.get(self, "hex")
290
289
 
291
- @property
290
+ @_builtins.property
292
291
  @pulumi.getter
293
- def keepers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
292
+ def keepers(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
294
293
  """
295
294
  Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
296
295
  """
297
296
  return pulumi.get(self, "keepers")
298
297
 
299
- @property
298
+ @_builtins.property
300
299
  @pulumi.getter
301
- def length(self) -> pulumi.Output[builtins.int]:
300
+ def length(self) -> pulumi.Output[_builtins.int]:
302
301
  """
303
302
  The number of bytes requested. The minimum value for length is 1.
304
303
  """