@pulumi/random 4.17.0-alpha.1713337644 → 4.17.0-alpha.1713354512
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.
- package/package.json +1 -1
- package/randomBytes.d.ts +4 -2
- package/randomBytes.js +2 -0
- package/randomBytes.js.map +1 -1
- package/randomPassword.d.ts +6 -6
- package/randomShuffle.d.ts +4 -2
- package/randomShuffle.js.map +1 -1
- package/randomString.d.ts +6 -6
package/package.json
CHANGED
package/randomBytes.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* The resource `random.RandomBytes` generates random bytes that are intended to be used as a secret, or key. Use this in preference to `random.RandomId` when the output is considered sensitive, and should not be displayed in the CLI.
|
|
4
4
|
*
|
|
5
|
+
* This resource *does* use a cryptographic random number generator.
|
|
6
|
+
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
7
9
|
* <!--Start PulumiCodeChooser -->
|
|
@@ -47,7 +49,7 @@ export declare class RandomBytes extends pulumi.CustomResource {
|
|
|
47
49
|
*/
|
|
48
50
|
readonly base64: pulumi.Output<string>;
|
|
49
51
|
/**
|
|
50
|
-
* The generated bytes presented in
|
|
52
|
+
* The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
|
|
51
53
|
*/
|
|
52
54
|
readonly hex: pulumi.Output<string>;
|
|
53
55
|
/**
|
|
@@ -78,7 +80,7 @@ export interface RandomBytesState {
|
|
|
78
80
|
*/
|
|
79
81
|
base64?: pulumi.Input<string>;
|
|
80
82
|
/**
|
|
81
|
-
* The generated bytes presented in
|
|
83
|
+
* The generated bytes presented in lowercase hexadecimal string format. The length of the encoded string is exactly twice the `length` parameter.
|
|
82
84
|
*/
|
|
83
85
|
hex?: pulumi.Input<string>;
|
|
84
86
|
/**
|
package/randomBytes.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* The resource `random.RandomBytes` generates random bytes that are intended to be used as a secret, or key. Use this in preference to `random.RandomId` when the output is considered sensitive, and should not be displayed in the CLI.
|
|
10
10
|
*
|
|
11
|
+
* This resource *does* use a cryptographic random number generator.
|
|
12
|
+
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
13
15
|
* <!--Start PulumiCodeChooser -->
|
package/randomBytes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomBytes.js","sourceRoot":"","sources":["../randomBytes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"randomBytes.js","sourceRoot":"","sources":["../randomBytes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB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CAAC,EAAE,CAAC;QAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5EL,kCA6EC;AA/DG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/randomPassword.d.ts
CHANGED
|
@@ -82,13 +82,13 @@ export declare class RandomPassword extends pulumi.CustomResource {
|
|
|
82
82
|
*/
|
|
83
83
|
readonly minUpper: pulumi.Output<number>;
|
|
84
84
|
/**
|
|
85
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
85
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
86
86
|
*
|
|
87
87
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
88
88
|
*/
|
|
89
89
|
readonly number: pulumi.Output<boolean>;
|
|
90
90
|
/**
|
|
91
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
91
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
92
92
|
*/
|
|
93
93
|
readonly numeric: pulumi.Output<boolean>;
|
|
94
94
|
/**
|
|
@@ -155,13 +155,13 @@ export interface RandomPasswordState {
|
|
|
155
155
|
*/
|
|
156
156
|
minUpper?: pulumi.Input<number>;
|
|
157
157
|
/**
|
|
158
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
158
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
159
159
|
*
|
|
160
160
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
161
161
|
*/
|
|
162
162
|
number?: pulumi.Input<boolean>;
|
|
163
163
|
/**
|
|
164
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
164
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
165
165
|
*/
|
|
166
166
|
numeric?: pulumi.Input<boolean>;
|
|
167
167
|
/**
|
|
@@ -216,13 +216,13 @@ export interface RandomPasswordArgs {
|
|
|
216
216
|
*/
|
|
217
217
|
minUpper?: pulumi.Input<number>;
|
|
218
218
|
/**
|
|
219
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
219
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
220
220
|
*
|
|
221
221
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
222
222
|
*/
|
|
223
223
|
number?: pulumi.Input<boolean>;
|
|
224
224
|
/**
|
|
225
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
225
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
226
226
|
*/
|
|
227
227
|
numeric?: pulumi.Input<boolean>;
|
|
228
228
|
/**
|
package/randomShuffle.d.ts
CHANGED
|
@@ -55,7 +55,8 @@ export declare class RandomShuffle extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly resultCount: pulumi.Output<number | undefined>;
|
|
57
57
|
/**
|
|
58
|
-
* Random permutation of the list of strings given in `input`.
|
|
58
|
+
* Random permutation of the list of strings given in `input`. The number of elements is determined by `result_count` if
|
|
59
|
+
* set, or the number of elements in `input`.
|
|
59
60
|
*/
|
|
60
61
|
readonly results: pulumi.Output<string[]>;
|
|
61
62
|
/**
|
|
@@ -90,7 +91,8 @@ export interface RandomShuffleState {
|
|
|
90
91
|
*/
|
|
91
92
|
resultCount?: pulumi.Input<number>;
|
|
92
93
|
/**
|
|
93
|
-
* Random permutation of the list of strings given in `input`.
|
|
94
|
+
* Random permutation of the list of strings given in `input`. The number of elements is determined by `result_count` if
|
|
95
|
+
* set, or the number of elements in `input`.
|
|
94
96
|
*/
|
|
95
97
|
results?: pulumi.Input<pulumi.Input<string>[]>;
|
|
96
98
|
/**
|
package/randomShuffle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomShuffle.js","sourceRoot":"","sources":["../randomShuffle.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"randomShuffle.js","sourceRoot":"","sources":["../randomShuffle.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY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,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAjFL,sCAkFC;AApEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/randomString.d.ts
CHANGED
|
@@ -72,13 +72,13 @@ export declare class RandomString extends pulumi.CustomResource {
|
|
|
72
72
|
*/
|
|
73
73
|
readonly minUpper: pulumi.Output<number>;
|
|
74
74
|
/**
|
|
75
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
75
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
76
76
|
*
|
|
77
77
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
78
78
|
*/
|
|
79
79
|
readonly number: pulumi.Output<boolean>;
|
|
80
80
|
/**
|
|
81
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
81
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
82
82
|
*/
|
|
83
83
|
readonly numeric: pulumi.Output<boolean>;
|
|
84
84
|
/**
|
|
@@ -141,13 +141,13 @@ export interface RandomStringState {
|
|
|
141
141
|
*/
|
|
142
142
|
minUpper?: pulumi.Input<number>;
|
|
143
143
|
/**
|
|
144
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
144
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
145
145
|
*
|
|
146
146
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
147
147
|
*/
|
|
148
148
|
number?: pulumi.Input<boolean>;
|
|
149
149
|
/**
|
|
150
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
150
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
151
151
|
*/
|
|
152
152
|
numeric?: pulumi.Input<boolean>;
|
|
153
153
|
/**
|
|
@@ -202,13 +202,13 @@ export interface RandomStringArgs {
|
|
|
202
202
|
*/
|
|
203
203
|
minUpper?: pulumi.Input<number>;
|
|
204
204
|
/**
|
|
205
|
-
* Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
205
|
+
* Include numeric characters in the result. Default value is `true`. If `number`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`. **NOTE**: This is deprecated, use `numeric` instead.
|
|
206
206
|
*
|
|
207
207
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
208
208
|
*/
|
|
209
209
|
number?: pulumi.Input<boolean>;
|
|
210
210
|
/**
|
|
211
|
-
* Include numeric characters in the result. Default value is `true`.
|
|
211
|
+
* Include numeric characters in the result. Default value is `true`. If `numeric`, `upper`, `lower`, and `special` are all configured, at least one of them must be set to `true`.
|
|
212
212
|
*/
|
|
213
213
|
numeric?: pulumi.Input<boolean>;
|
|
214
214
|
/**
|