@pulumi/random 4.16.0 → 4.16.1
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 +6 -2
- package/randomBytes.js +4 -0
- package/randomBytes.js.map +1 -1
- package/randomId.d.ts +6 -4
- package/randomId.js +6 -4
- package/randomId.js.map +1 -1
- package/randomInteger.d.ts +5 -3
- package/randomInteger.js +5 -3
- package/randomInteger.js.map +1 -1
- package/randomPassword.d.ts +9 -13
- package/randomPassword.js +3 -7
- package/randomPassword.js.map +1 -1
- package/randomPet.d.ts +2 -0
- package/randomPet.js +2 -0
- package/randomPet.js.map +1 -1
- package/randomShuffle.d.ts +6 -2
- package/randomShuffle.js +2 -0
- package/randomShuffle.js.map +1 -1
- package/randomString.d.ts +8 -14
- package/randomString.js +2 -8
- package/randomString.js.map +1 -1
- package/randomUuid.d.ts +4 -2
- package/randomUuid.js +4 -2
- package/randomUuid.js.map +1 -1
package/package.json
CHANGED
package/randomBytes.d.ts
CHANGED
|
@@ -2,8 +2,11 @@ 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
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
10
|
* ```typescript
|
|
8
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
12
|
* import * as azure from "@pulumi/azure";
|
|
@@ -15,6 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
18
|
* value: jwtSecretRandomBytes.base64,
|
|
16
19
|
* });
|
|
17
20
|
* ```
|
|
21
|
+
* <!--End PulumiCodeChooser -->
|
|
18
22
|
*
|
|
19
23
|
* ## Import
|
|
20
24
|
*
|
|
@@ -45,7 +49,7 @@ export declare class RandomBytes extends pulumi.CustomResource {
|
|
|
45
49
|
*/
|
|
46
50
|
readonly base64: pulumi.Output<string>;
|
|
47
51
|
/**
|
|
48
|
-
* 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.
|
|
49
53
|
*/
|
|
50
54
|
readonly hex: pulumi.Output<string>;
|
|
51
55
|
/**
|
|
@@ -76,7 +80,7 @@ export interface RandomBytesState {
|
|
|
76
80
|
*/
|
|
77
81
|
base64?: pulumi.Input<string>;
|
|
78
82
|
/**
|
|
79
|
-
* 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.
|
|
80
84
|
*/
|
|
81
85
|
hex?: pulumi.Input<string>;
|
|
82
86
|
/**
|
package/randomBytes.js
CHANGED
|
@@ -8,8 +8,11 @@ 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
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
16
|
* ```typescript
|
|
14
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
18
|
* import * as azure from "@pulumi/azure";
|
|
@@ -21,6 +24,7 @@ const utilities = require("./utilities");
|
|
|
21
24
|
* value: jwtSecretRandomBytes.base64,
|
|
22
25
|
* });
|
|
23
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
24
28
|
*
|
|
25
29
|
* ## Import
|
|
26
30
|
*
|
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,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CA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17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
19
|
*
|
|
20
|
+
* <!--Start PulumiCodeChooser -->
|
|
20
21
|
* ```typescript
|
|
21
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
23
|
* import * as aws from "@pulumi/aws";
|
|
@@ -38,22 +39,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
39
|
* });
|
|
39
40
|
* // ... (other aws_instance arguments) ...
|
|
40
41
|
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
41
43
|
*
|
|
42
44
|
* ## Import
|
|
43
45
|
*
|
|
44
46
|
* Random IDs can be imported using the b64_url with an optional prefix. This
|
|
45
47
|
*
|
|
46
|
-
*
|
|
48
|
+
* can be used to replace a config value with a value interpolated from the
|
|
47
49
|
*
|
|
48
|
-
*
|
|
50
|
+
* random provider without experiencing diffs.
|
|
49
51
|
*
|
|
50
|
-
*
|
|
52
|
+
* Example with no prefix:
|
|
51
53
|
*
|
|
52
54
|
* ```sh
|
|
53
55
|
* $ pulumi import random:index/randomId:RandomId server p-9hUg
|
|
54
56
|
* ```
|
|
55
57
|
*
|
|
56
|
-
*
|
|
58
|
+
* Example with prefix (prefix is separated by a ,):
|
|
57
59
|
*
|
|
58
60
|
* ```sh
|
|
59
61
|
* $ pulumi import random:index/randomId:RandomId server my-prefix-,p-9hUg
|
package/randomId.js
CHANGED
|
@@ -23,6 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
*
|
|
24
24
|
* ## Example Usage
|
|
25
25
|
*
|
|
26
|
+
* <!--Start PulumiCodeChooser -->
|
|
26
27
|
* ```typescript
|
|
27
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
29
|
* import * as aws from "@pulumi/aws";
|
|
@@ -44,22 +45,23 @@ const utilities = require("./utilities");
|
|
|
44
45
|
* });
|
|
45
46
|
* // ... (other aws_instance arguments) ...
|
|
46
47
|
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
47
49
|
*
|
|
48
50
|
* ## Import
|
|
49
51
|
*
|
|
50
52
|
* Random IDs can be imported using the b64_url with an optional prefix. This
|
|
51
53
|
*
|
|
52
|
-
*
|
|
54
|
+
* can be used to replace a config value with a value interpolated from the
|
|
53
55
|
*
|
|
54
|
-
*
|
|
56
|
+
* random provider without experiencing diffs.
|
|
55
57
|
*
|
|
56
|
-
*
|
|
58
|
+
* Example with no prefix:
|
|
57
59
|
*
|
|
58
60
|
* ```sh
|
|
59
61
|
* $ pulumi import random:index/randomId:RandomId server p-9hUg
|
|
60
62
|
* ```
|
|
61
63
|
*
|
|
62
|
-
*
|
|
64
|
+
* Example with prefix (prefix is separated by a ,):
|
|
63
65
|
*
|
|
64
66
|
* ```sh
|
|
65
67
|
* $ pulumi import random:index/randomId:RandomId server my-prefix-,p-9hUg
|
package/randomId.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomId.js","sourceRoot":"","sources":["../randomId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"randomId.js","sourceRoot":"","sources":["../randomId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5FL,4BA6FC;AA/EG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/randomInteger.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as aws from "@pulumi/aws";
|
|
@@ -30,16 +31,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
31
|
* });
|
|
31
32
|
* // ... (other aws_alb_listener_rule arguments) ...
|
|
32
33
|
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
33
35
|
*
|
|
34
36
|
* ## Import
|
|
35
37
|
*
|
|
36
38
|
* Random integers can be imported using the result, min, and max, with an
|
|
37
39
|
*
|
|
38
|
-
*
|
|
40
|
+
* optional seed. This can be used to replace a config value with a value
|
|
39
41
|
*
|
|
40
|
-
*
|
|
42
|
+
* interpolated from the random provider without experiencing diffs.
|
|
41
43
|
*
|
|
42
|
-
*
|
|
44
|
+
* Example (values are separated by a ,):
|
|
43
45
|
*
|
|
44
46
|
* ```sh
|
|
45
47
|
* $ pulumi import random:index/randomInteger:RandomInteger priority 15390,1,50000
|
package/randomInteger.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as aws from "@pulumi/aws";
|
|
@@ -36,16 +37,17 @@ const utilities = require("./utilities");
|
|
|
36
37
|
* });
|
|
37
38
|
* // ... (other aws_alb_listener_rule arguments) ...
|
|
38
39
|
* ```
|
|
40
|
+
* <!--End PulumiCodeChooser -->
|
|
39
41
|
*
|
|
40
42
|
* ## Import
|
|
41
43
|
*
|
|
42
44
|
* Random integers can be imported using the result, min, and max, with an
|
|
43
45
|
*
|
|
44
|
-
*
|
|
46
|
+
* optional seed. This can be used to replace a config value with a value
|
|
45
47
|
*
|
|
46
|
-
*
|
|
48
|
+
* interpolated from the random provider without experiencing diffs.
|
|
47
49
|
*
|
|
48
|
-
*
|
|
50
|
+
* Example (values are separated by a ,):
|
|
49
51
|
*
|
|
50
52
|
* ```sh
|
|
51
53
|
* $ pulumi import random:index/randomInteger:RandomInteger priority 15390,1,50000
|
package/randomInteger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomInteger.js","sourceRoot":"","sources":["../randomInteger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"randomInteger.js","sourceRoot":"","sources":["../randomInteger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;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;IA+BD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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O,CAAC;SAChD;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;;AAnFL,sCAoFC;AAtEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/randomPassword.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as aws from "@pulumi/aws";
|
|
@@ -17,23 +18,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
18
|
* overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
|
|
18
19
|
* });
|
|
19
20
|
* const example = new aws.rds.Instance("example", {
|
|
20
|
-
* instanceClass:
|
|
21
|
+
* instanceClass: aws.rds.InstanceType.T3_Micro,
|
|
21
22
|
* allocatedStorage: 64,
|
|
22
23
|
* engine: "mysql",
|
|
23
24
|
* username: "someone",
|
|
24
25
|
* password: password.result,
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*
|
|
28
30
|
* ## Import
|
|
29
31
|
*
|
|
30
32
|
* You can import external passwords into your Pulumi programs as follows:
|
|
31
|
-
*
|
|
32
|
-
* ```sh
|
|
33
|
-
* $ import random:index/randomPassword:RandomPassword newPassword supersecret
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* This command will encode the `supersecret` token in Pulumi state and generate a code suggestion to include a new RandomPassword resource in your Pulumi program. Include the suggested code and do a `pulumi up`. Your secret password is now securely stored in Pulumi, and you can reference it in your Pulumi program as `newPassword.result`.
|
|
37
33
|
*/
|
|
38
34
|
export declare class RandomPassword extends pulumi.CustomResource {
|
|
39
35
|
/**
|
|
@@ -86,13 +82,13 @@ export declare class RandomPassword extends pulumi.CustomResource {
|
|
|
86
82
|
*/
|
|
87
83
|
readonly minUpper: pulumi.Output<number>;
|
|
88
84
|
/**
|
|
89
|
-
* 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.
|
|
90
86
|
*
|
|
91
87
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
92
88
|
*/
|
|
93
89
|
readonly number: pulumi.Output<boolean>;
|
|
94
90
|
/**
|
|
95
|
-
* 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`.
|
|
96
92
|
*/
|
|
97
93
|
readonly numeric: pulumi.Output<boolean>;
|
|
98
94
|
/**
|
|
@@ -159,13 +155,13 @@ export interface RandomPasswordState {
|
|
|
159
155
|
*/
|
|
160
156
|
minUpper?: pulumi.Input<number>;
|
|
161
157
|
/**
|
|
162
|
-
* 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.
|
|
163
159
|
*
|
|
164
160
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
165
161
|
*/
|
|
166
162
|
number?: pulumi.Input<boolean>;
|
|
167
163
|
/**
|
|
168
|
-
* 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`.
|
|
169
165
|
*/
|
|
170
166
|
numeric?: pulumi.Input<boolean>;
|
|
171
167
|
/**
|
|
@@ -220,13 +216,13 @@ export interface RandomPasswordArgs {
|
|
|
220
216
|
*/
|
|
221
217
|
minUpper?: pulumi.Input<number>;
|
|
222
218
|
/**
|
|
223
|
-
* 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.
|
|
224
220
|
*
|
|
225
221
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
226
222
|
*/
|
|
227
223
|
number?: pulumi.Input<boolean>;
|
|
228
224
|
/**
|
|
229
|
-
* 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`.
|
|
230
226
|
*/
|
|
231
227
|
numeric?: pulumi.Input<boolean>;
|
|
232
228
|
/**
|
package/randomPassword.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as aws from "@pulumi/aws";
|
|
@@ -23,23 +24,18 @@ const utilities = require("./utilities");
|
|
|
23
24
|
* overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
|
|
24
25
|
* });
|
|
25
26
|
* const example = new aws.rds.Instance("example", {
|
|
26
|
-
* instanceClass:
|
|
27
|
+
* instanceClass: aws.rds.InstanceType.T3_Micro,
|
|
27
28
|
* allocatedStorage: 64,
|
|
28
29
|
* engine: "mysql",
|
|
29
30
|
* username: "someone",
|
|
30
31
|
* password: password.result,
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
33
35
|
*
|
|
34
36
|
* ## Import
|
|
35
37
|
*
|
|
36
38
|
* You can import external passwords into your Pulumi programs as follows:
|
|
37
|
-
*
|
|
38
|
-
* ```sh
|
|
39
|
-
* $ import random:index/randomPassword:RandomPassword newPassword supersecret
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* This command will encode the `supersecret` token in Pulumi state and generate a code suggestion to include a new RandomPassword resource in your Pulumi program. Include the suggested code and do a `pulumi up`. Your secret password is now securely stored in Pulumi, and you can reference it in your Pulumi program as `newPassword.result`.
|
|
43
39
|
*/
|
|
44
40
|
class RandomPassword extends pulumi.CustomResource {
|
|
45
41
|
/**
|
package/randomPassword.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomPassword.js","sourceRoot":"","sources":["../randomPassword.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"randomPassword.js","sourceRoot":"","sources":["../randomPassword.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,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,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1IL,wCA2IC;AA7HG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/randomPet.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as aws from "@pulumi/aws";
|
|
@@ -25,6 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
26
|
* });
|
|
26
27
|
* // ... (other aws_instance arguments) ...
|
|
27
28
|
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
28
30
|
*/
|
|
29
31
|
export declare class RandomPet extends pulumi.CustomResource {
|
|
30
32
|
/**
|
package/randomPet.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as aws from "@pulumi/aws";
|
|
@@ -31,6 +32,7 @@ const utilities = require("./utilities");
|
|
|
31
32
|
* });
|
|
32
33
|
* // ... (other aws_instance arguments) ...
|
|
33
34
|
* ```
|
|
35
|
+
* <!--End PulumiCodeChooser -->
|
|
34
36
|
*/
|
|
35
37
|
class RandomPet extends pulumi.CustomResource {
|
|
36
38
|
/**
|
package/randomPet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomPet.js","sourceRoot":"","sources":["../randomPet.ts"],"names":[],"mappings":";AAAA,wFAAwF;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C5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAvEL,8BAwEC;AA1DG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/randomShuffle.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as aws from "@pulumi/aws";
|
|
@@ -21,6 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
22
|
* const example = new aws.elb.LoadBalancer("example", {availabilityZones: az.results});
|
|
22
23
|
* // ... and other aws_elb arguments ...
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
24
26
|
*/
|
|
25
27
|
export declare class RandomShuffle extends pulumi.CustomResource {
|
|
26
28
|
/**
|
|
@@ -53,7 +55,8 @@ export declare class RandomShuffle extends pulumi.CustomResource {
|
|
|
53
55
|
*/
|
|
54
56
|
readonly resultCount: pulumi.Output<number | undefined>;
|
|
55
57
|
/**
|
|
56
|
-
* 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`.
|
|
57
60
|
*/
|
|
58
61
|
readonly results: pulumi.Output<string[]>;
|
|
59
62
|
/**
|
|
@@ -88,7 +91,8 @@ export interface RandomShuffleState {
|
|
|
88
91
|
*/
|
|
89
92
|
resultCount?: pulumi.Input<number>;
|
|
90
93
|
/**
|
|
91
|
-
* 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`.
|
|
92
96
|
*/
|
|
93
97
|
results?: pulumi.Input<pulumi.Input<string>[]>;
|
|
94
98
|
/**
|
package/randomShuffle.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as aws from "@pulumi/aws";
|
|
@@ -27,6 +28,7 @@ const utilities = require("./utilities");
|
|
|
27
28
|
* const example = new aws.elb.LoadBalancer("example", {availabilityZones: az.results});
|
|
28
29
|
* // ... and other aws_elb arguments ...
|
|
29
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
30
32
|
*/
|
|
31
33
|
class RandomShuffle extends pulumi.CustomResource {
|
|
32
34
|
/**
|
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
|
|
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;IAgCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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c,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAjFL,sCAkFC;AApEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/randomString.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as random from "@pulumi/random";
|
|
@@ -18,18 +19,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
19
|
* special: true,
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
21
23
|
*
|
|
22
24
|
* ## Import
|
|
23
25
|
*
|
|
24
26
|
* You can import external strings into your Pulumi programs as RandomString resources as follows:
|
|
25
|
-
*
|
|
26
|
-
* ```sh
|
|
27
|
-
* $ import random:index/randomString:RandomString newString myspecialdata
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* This command will encode the `myspecialdata` token in Pulumi state and generate a code suggestion to include a new RandomString resource in your Pulumi program. Include the suggested code and do a `pulumi up`. Your data is now stored in Pulumi, and you can reference it in your Pulumi program as `newString.result`.
|
|
31
|
-
*
|
|
32
|
-
* If the data needs to be stored securily as a secret, consider using the RandomPassword resource instead.
|
|
33
27
|
*/
|
|
34
28
|
export declare class RandomString extends pulumi.CustomResource {
|
|
35
29
|
/**
|
|
@@ -78,13 +72,13 @@ export declare class RandomString extends pulumi.CustomResource {
|
|
|
78
72
|
*/
|
|
79
73
|
readonly minUpper: pulumi.Output<number>;
|
|
80
74
|
/**
|
|
81
|
-
* 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.
|
|
82
76
|
*
|
|
83
77
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
84
78
|
*/
|
|
85
79
|
readonly number: pulumi.Output<boolean>;
|
|
86
80
|
/**
|
|
87
|
-
* 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`.
|
|
88
82
|
*/
|
|
89
83
|
readonly numeric: pulumi.Output<boolean>;
|
|
90
84
|
/**
|
|
@@ -147,13 +141,13 @@ export interface RandomStringState {
|
|
|
147
141
|
*/
|
|
148
142
|
minUpper?: pulumi.Input<number>;
|
|
149
143
|
/**
|
|
150
|
-
* 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.
|
|
151
145
|
*
|
|
152
146
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
153
147
|
*/
|
|
154
148
|
number?: pulumi.Input<boolean>;
|
|
155
149
|
/**
|
|
156
|
-
* 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`.
|
|
157
151
|
*/
|
|
158
152
|
numeric?: pulumi.Input<boolean>;
|
|
159
153
|
/**
|
|
@@ -208,13 +202,13 @@ export interface RandomStringArgs {
|
|
|
208
202
|
*/
|
|
209
203
|
minUpper?: pulumi.Input<number>;
|
|
210
204
|
/**
|
|
211
|
-
* 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.
|
|
212
206
|
*
|
|
213
207
|
* @deprecated **NOTE**: This is deprecated, use `numeric` instead.
|
|
214
208
|
*/
|
|
215
209
|
number?: pulumi.Input<boolean>;
|
|
216
210
|
/**
|
|
217
|
-
* 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`.
|
|
218
212
|
*/
|
|
219
213
|
numeric?: pulumi.Input<boolean>;
|
|
220
214
|
/**
|
package/randomString.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as random from "@pulumi/random";
|
|
@@ -24,18 +25,11 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* special: true,
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*
|
|
28
30
|
* ## Import
|
|
29
31
|
*
|
|
30
32
|
* You can import external strings into your Pulumi programs as RandomString resources as follows:
|
|
31
|
-
*
|
|
32
|
-
* ```sh
|
|
33
|
-
* $ import random:index/randomString:RandomString newString myspecialdata
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* This command will encode the `myspecialdata` token in Pulumi state and generate a code suggestion to include a new RandomString resource in your Pulumi program. Include the suggested code and do a `pulumi up`. Your data is now stored in Pulumi, and you can reference it in your Pulumi program as `newString.result`.
|
|
37
|
-
*
|
|
38
|
-
* If the data needs to be stored securily as a secret, consider using the RandomPassword resource instead.
|
|
39
33
|
*/
|
|
40
34
|
class RandomString extends pulumi.CustomResource {
|
|
41
35
|
/**
|
package/randomString.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomString.js","sourceRoot":"","sources":["../rand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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlIL,oCAmIC;AArHG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
package/randomUuid.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* <!--Start PulumiCodeChooser -->
|
|
5
6
|
* ```typescript
|
|
6
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
8
|
* import * as azure from "@pulumi/azure";
|
|
@@ -10,14 +11,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
11
|
* const testRandomUuid = new random.RandomUuid("testRandomUuid", {});
|
|
11
12
|
* const testResourceGroup = new azure.core.ResourceGroup("testResourceGroup", {location: "Central US"});
|
|
12
13
|
* ```
|
|
14
|
+
* <!--End PulumiCodeChooser -->
|
|
13
15
|
*
|
|
14
16
|
* ## Import
|
|
15
17
|
*
|
|
16
18
|
* Random UUID's can be imported. This can be used to replace a config
|
|
17
19
|
*
|
|
18
|
-
*
|
|
20
|
+
* value with a value interpolated from the random provider without
|
|
19
21
|
*
|
|
20
|
-
*
|
|
22
|
+
* experiencing diffs.
|
|
21
23
|
*
|
|
22
24
|
* ```sh
|
|
23
25
|
* $ pulumi import random:index/randomUuid:RandomUuid main aabbccdd-eeff-0011-2233-445566778899
|
package/randomUuid.js
CHANGED
|
@@ -8,6 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as azure from "@pulumi/azure";
|
|
@@ -16,14 +17,15 @@ const utilities = require("./utilities");
|
|
|
16
17
|
* const testRandomUuid = new random.RandomUuid("testRandomUuid", {});
|
|
17
18
|
* const testResourceGroup = new azure.core.ResourceGroup("testResourceGroup", {location: "Central US"});
|
|
18
19
|
* ```
|
|
20
|
+
* <!--End PulumiCodeChooser -->
|
|
19
21
|
*
|
|
20
22
|
* ## Import
|
|
21
23
|
*
|
|
22
24
|
* Random UUID's can be imported. This can be used to replace a config
|
|
23
25
|
*
|
|
24
|
-
*
|
|
26
|
+
* value with a value interpolated from the random provider without
|
|
25
27
|
*
|
|
26
|
-
*
|
|
28
|
+
* experiencing diffs.
|
|
27
29
|
*
|
|
28
30
|
* ```sh
|
|
29
31
|
* $ pulumi import random:index/randomUuid:RandomUuid main aabbccdd-eeff-0011-2233-445566778899
|
package/randomUuid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomUuid.js","sourceRoot":"","sources":["../randomUuid.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"randomUuid.js","sourceRoot":"","sources":["../randomUuid.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;I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