@pulumi/auth0 3.3.1 → 3.3.2

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 (147) hide show
  1. package/action.d.ts +3 -3
  2. package/attackProtection.d.ts +17 -19
  3. package/attackProtection.js +17 -19
  4. package/attackProtection.js.map +1 -1
  5. package/branding.d.ts +0 -21
  6. package/branding.js +0 -21
  7. package/branding.js.map +1 -1
  8. package/brandingTheme.d.ts +0 -83
  9. package/brandingTheme.js +0 -83
  10. package/brandingTheme.js.map +1 -1
  11. package/client.d.ts +47 -49
  12. package/client.js +42 -44
  13. package/client.js.map +1 -1
  14. package/clientCredentials.d.ts +0 -72
  15. package/clientCredentials.js +0 -54
  16. package/clientCredentials.js.map +1 -1
  17. package/connection.d.ts +457 -111
  18. package/connection.js +454 -108
  19. package/connection.js.map +1 -1
  20. package/connectionClient.d.ts +6 -5
  21. package/connectionClient.js +6 -5
  22. package/connectionClient.js.map +1 -1
  23. package/connectionClients.d.ts +7 -6
  24. package/connectionClients.js +7 -6
  25. package/connectionClients.js.map +1 -1
  26. package/customDomain.d.ts +1 -3
  27. package/customDomain.js +1 -3
  28. package/customDomain.js.map +1 -1
  29. package/customDomainVerification.d.ts +0 -8
  30. package/customDomainVerification.js.map +1 -1
  31. package/emailProvider.d.ts +0 -38
  32. package/emailProvider.js +0 -38
  33. package/emailProvider.js.map +1 -1
  34. package/emailTemplate.d.ts +3 -4
  35. package/emailTemplate.js +3 -4
  36. package/emailTemplate.js.map +1 -1
  37. package/getAttackProtection.d.ts +0 -4
  38. package/getAttackProtection.js +0 -4
  39. package/getAttackProtection.js.map +1 -1
  40. package/getBranding.d.ts +0 -4
  41. package/getBranding.js +0 -4
  42. package/getBranding.js.map +1 -1
  43. package/getBrandingTheme.d.ts +0 -4
  44. package/getBrandingTheme.js +0 -4
  45. package/getBrandingTheme.js.map +1 -1
  46. package/getClient.d.ts +16 -4
  47. package/getClient.js +4 -4
  48. package/getClient.js.map +1 -1
  49. package/getConnection.d.ts +10 -4
  50. package/getConnection.js +4 -4
  51. package/getConnection.js.map +1 -1
  52. package/getOrganization.d.ts +4 -4
  53. package/getOrganization.js +4 -4
  54. package/getPages.d.ts +0 -4
  55. package/getPages.js +0 -4
  56. package/getPages.js.map +1 -1
  57. package/getResourceServer.d.ts +4 -4
  58. package/getResourceServer.js +4 -4
  59. package/getRole.d.ts +10 -4
  60. package/getRole.js +4 -4
  61. package/getRole.js.map +1 -1
  62. package/getTenant.d.ts +0 -4
  63. package/getTenant.js +0 -4
  64. package/getTenant.js.map +1 -1
  65. package/getUser.d.ts +2 -4
  66. package/getUser.js +2 -4
  67. package/getUser.js.map +1 -1
  68. package/guardian.d.ts +17 -19
  69. package/guardian.js +17 -19
  70. package/guardian.js.map +1 -1
  71. package/hook.d.ts +7 -9
  72. package/hook.js +7 -9
  73. package/hook.js.map +1 -1
  74. package/logStream.d.ts +12 -12
  75. package/logStream.js +12 -12
  76. package/organization.d.ts +5 -6
  77. package/organization.js +5 -6
  78. package/organization.js.map +1 -1
  79. package/organizationConnection.d.ts +9 -5
  80. package/organizationConnection.js +9 -5
  81. package/organizationConnection.js.map +1 -1
  82. package/organizationConnections.d.ts +12 -5
  83. package/organizationConnections.js +12 -5
  84. package/organizationConnections.js.map +1 -1
  85. package/organizationMember.d.ts +5 -4
  86. package/organizationMember.js +5 -4
  87. package/organizationMember.js.map +1 -1
  88. package/organizationMemberRole.d.ts +7 -6
  89. package/organizationMemberRole.js +7 -6
  90. package/organizationMemberRole.js.map +1 -1
  91. package/organizationMemberRoles.d.ts +8 -7
  92. package/organizationMemberRoles.js +8 -7
  93. package/organizationMemberRoles.js.map +1 -1
  94. package/organizationMembers.d.ts +7 -6
  95. package/organizationMembers.js +7 -6
  96. package/organizationMembers.js.map +1 -1
  97. package/package.json +1 -1
  98. package/pages.d.ts +9 -11
  99. package/pages.js +9 -11
  100. package/pages.js.map +1 -1
  101. package/prompt.d.ts +2 -4
  102. package/prompt.js +2 -4
  103. package/prompt.js.map +1 -1
  104. package/promptCustomText.d.ts +0 -2
  105. package/promptCustomText.js +0 -2
  106. package/promptCustomText.js.map +1 -1
  107. package/promptPartials.d.ts +5 -7
  108. package/promptPartials.js +5 -7
  109. package/promptPartials.js.map +1 -1
  110. package/provider.d.ts +4 -4
  111. package/resourceServer.d.ts +4 -5
  112. package/resourceServer.js +4 -5
  113. package/resourceServer.js.map +1 -1
  114. package/resourceServerScope.d.ts +6 -5
  115. package/resourceServerScope.js +6 -5
  116. package/resourceServerScope.js.map +1 -1
  117. package/resourceServerScopes.d.ts +5 -4
  118. package/resourceServerScopes.js +5 -4
  119. package/resourceServerScopes.js.map +1 -1
  120. package/role.d.ts +4 -3
  121. package/role.js +4 -3
  122. package/role.js.map +1 -1
  123. package/rule.d.ts +3 -5
  124. package/rule.js +3 -5
  125. package/rule.js.map +1 -1
  126. package/ruleConfig.d.ts +4 -6
  127. package/ruleConfig.js +4 -6
  128. package/ruleConfig.js.map +1 -1
  129. package/tenant.d.ts +11 -13
  130. package/tenant.js +11 -13
  131. package/tenant.js.map +1 -1
  132. package/triggerAction.d.ts +3 -4
  133. package/triggerAction.js +3 -4
  134. package/triggerAction.js.map +1 -1
  135. package/triggerActions.d.ts +5 -5
  136. package/triggerActions.js +5 -5
  137. package/types/input.d.ts +30 -39
  138. package/types/output.d.ts +30 -39
  139. package/user.d.ts +4 -5
  140. package/user.js +4 -5
  141. package/user.js.map +1 -1
  142. package/userRole.d.ts +6 -4
  143. package/userRole.js +6 -4
  144. package/userRole.js.map +1 -1
  145. package/userRoles.d.ts +6 -4
  146. package/userRoles.js +6 -4
  147. package/userRoles.js.map +1 -1
package/getClient.d.ts CHANGED
@@ -5,26 +5,32 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
12
+ * // An Auth0 Client loaded using its name.
13
13
  * const some-client-by-name = auth0.getClient({
14
14
  * name: "Name of my Application",
15
15
  * });
16
+ * // An Auth0 Client loaded using its ID.
16
17
  * const some-client-by-id = auth0.getClient({
17
18
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  */
22
22
  export declare function getClient(args?: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>;
23
23
  /**
24
24
  * A collection of arguments for invoking getClient.
25
25
  */
26
26
  export interface GetClientArgs {
27
+ /**
28
+ * The ID of the client. If not provided, `name` must be set.
29
+ */
27
30
  clientId?: string;
31
+ /**
32
+ * The name of the client. If not provided, `clientId` must be set.
33
+ */
28
34
  name?: string;
29
35
  }
30
36
  /**
@@ -192,25 +198,31 @@ export interface GetClientResult {
192
198
  *
193
199
  * ## Example Usage
194
200
  *
195
- * <!--Start PulumiCodeChooser -->
196
201
  * ```typescript
197
202
  * import * as pulumi from "@pulumi/pulumi";
198
203
  * import * as auth0 from "@pulumi/auth0";
199
204
  *
205
+ * // An Auth0 Client loaded using its name.
200
206
  * const some-client-by-name = auth0.getClient({
201
207
  * name: "Name of my Application",
202
208
  * });
209
+ * // An Auth0 Client loaded using its ID.
203
210
  * const some-client-by-id = auth0.getClient({
204
211
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
205
212
  * });
206
213
  * ```
207
- * <!--End PulumiCodeChooser -->
208
214
  */
209
215
  export declare function getClientOutput(args?: GetClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientResult>;
210
216
  /**
211
217
  * A collection of arguments for invoking getClient.
212
218
  */
213
219
  export interface GetClientOutputArgs {
220
+ /**
221
+ * The ID of the client. If not provided, `name` must be set.
222
+ */
214
223
  clientId?: pulumi.Input<string>;
224
+ /**
225
+ * The name of the client. If not provided, `clientId` must be set.
226
+ */
215
227
  name?: pulumi.Input<string>;
216
228
  }
package/getClient.js CHANGED
@@ -10,19 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
17
+ * // An Auth0 Client loaded using its name.
18
18
  * const some-client-by-name = auth0.getClient({
19
19
  * name: "Name of my Application",
20
20
  * });
21
+ * // An Auth0 Client loaded using its ID.
21
22
  * const some-client-by-id = auth0.getClient({
22
23
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
23
24
  * });
24
25
  * ```
25
- * <!--End PulumiCodeChooser -->
26
26
  */
27
27
  function getClient(args, opts) {
28
28
  args = args || {};
@@ -38,19 +38,19 @@ exports.getClient = getClient;
38
38
  *
39
39
  * ## Example Usage
40
40
  *
41
- * <!--Start PulumiCodeChooser -->
42
41
  * ```typescript
43
42
  * import * as pulumi from "@pulumi/pulumi";
44
43
  * import * as auth0 from "@pulumi/auth0";
45
44
  *
45
+ * // An Auth0 Client loaded using its name.
46
46
  * const some-client-by-name = auth0.getClient({
47
47
  * name: "Name of my Application",
48
48
  * });
49
+ * // An Auth0 Client loaded using its ID.
49
50
  * const some-client-by-id = auth0.getClient({
50
51
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
51
52
  * });
52
53
  * ```
53
- * <!--End PulumiCodeChooser -->
54
54
  */
55
55
  function getClientOutput(args, opts) {
56
56
  return pulumi.output(args).apply((a) => getClient(a, opts));
package/getClient.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getClient.js","sourceRoot":"","sources":["../getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAoKD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getClient.js","sourceRoot":"","sources":["../getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA0KD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -5,19 +5,19 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
12
+ * // An Auth0 Connection loaded using its name.
13
13
  * const some-connection-by-name = auth0.getConnection({
14
14
  * name: "Acceptance-Test-Connection-{{.testName}}",
15
15
  * });
16
+ * // An Auth0 Connection loaded using its ID.
16
17
  * const some-connection-by-id = auth0.getConnection({
17
18
  * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  */
22
22
  export declare function getConnection(args?: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
23
23
  /**
@@ -28,6 +28,9 @@ export interface GetConnectionArgs {
28
28
  * The ID of the connection. If not provided, `name` must be set.
29
29
  */
30
30
  connectionId?: string;
31
+ /**
32
+ * The name of the connection. If not provided, `connectionId` must be set.
33
+ */
31
34
  name?: string;
32
35
  }
33
36
  /**
@@ -86,19 +89,19 @@ export interface GetConnectionResult {
86
89
  *
87
90
  * ## Example Usage
88
91
  *
89
- * <!--Start PulumiCodeChooser -->
90
92
  * ```typescript
91
93
  * import * as pulumi from "@pulumi/pulumi";
92
94
  * import * as auth0 from "@pulumi/auth0";
93
95
  *
96
+ * // An Auth0 Connection loaded using its name.
94
97
  * const some-connection-by-name = auth0.getConnection({
95
98
  * name: "Acceptance-Test-Connection-{{.testName}}",
96
99
  * });
100
+ * // An Auth0 Connection loaded using its ID.
97
101
  * const some-connection-by-id = auth0.getConnection({
98
102
  * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
99
103
  * });
100
104
  * ```
101
- * <!--End PulumiCodeChooser -->
102
105
  */
103
106
  export declare function getConnectionOutput(args?: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionResult>;
104
107
  /**
@@ -109,5 +112,8 @@ export interface GetConnectionOutputArgs {
109
112
  * The ID of the connection. If not provided, `name` must be set.
110
113
  */
111
114
  connectionId?: pulumi.Input<string>;
115
+ /**
116
+ * The name of the connection. If not provided, `connectionId` must be set.
117
+ */
112
118
  name?: pulumi.Input<string>;
113
119
  }
package/getConnection.js CHANGED
@@ -10,19 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
17
+ * // An Auth0 Connection loaded using its name.
18
18
  * const some-connection-by-name = auth0.getConnection({
19
19
  * name: "Acceptance-Test-Connection-{{.testName}}",
20
20
  * });
21
+ * // An Auth0 Connection loaded using its ID.
21
22
  * const some-connection-by-id = auth0.getConnection({
22
23
  * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
23
24
  * });
24
25
  * ```
25
- * <!--End PulumiCodeChooser -->
26
26
  */
27
27
  function getConnection(args, opts) {
28
28
  args = args || {};
@@ -38,19 +38,19 @@ exports.getConnection = getConnection;
38
38
  *
39
39
  * ## Example Usage
40
40
  *
41
- * <!--Start PulumiCodeChooser -->
42
41
  * ```typescript
43
42
  * import * as pulumi from "@pulumi/pulumi";
44
43
  * import * as auth0 from "@pulumi/auth0";
45
44
  *
45
+ * // An Auth0 Connection loaded using its name.
46
46
  * const some-connection-by-name = auth0.getConnection({
47
47
  * name: "Acceptance-Test-Connection-{{.testName}}",
48
48
  * });
49
+ * // An Auth0 Connection loaded using its ID.
49
50
  * const some-connection-by-id = auth0.getConnection({
50
51
  * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
51
52
  * });
52
53
  * ```
53
- * <!--End PulumiCodeChooser -->
54
54
  */
55
55
  function getConnectionOutput(args, opts) {
56
56
  return pulumi.output(args).apply((a) => getConnection(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AA8DD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAiED;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -5,19 +5,19 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
12
+ * // An Auth0 Organization loaded using its name.
13
13
  * const some-organization-by-name = auth0.getOrganization({
14
14
  * name: "my-org",
15
15
  * });
16
+ * // An Auth0 Organization loaded using its ID.
16
17
  * const some-organization-by-id = auth0.getOrganization({
17
18
  * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  */
22
22
  export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
23
23
  /**
@@ -74,19 +74,19 @@ export interface GetOrganizationResult {
74
74
  *
75
75
  * ## Example Usage
76
76
  *
77
- * <!--Start PulumiCodeChooser -->
78
77
  * ```typescript
79
78
  * import * as pulumi from "@pulumi/pulumi";
80
79
  * import * as auth0 from "@pulumi/auth0";
81
80
  *
81
+ * // An Auth0 Organization loaded using its name.
82
82
  * const some-organization-by-name = auth0.getOrganization({
83
83
  * name: "my-org",
84
84
  * });
85
+ * // An Auth0 Organization loaded using its ID.
85
86
  * const some-organization-by-id = auth0.getOrganization({
86
87
  * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
87
88
  * });
88
89
  * ```
89
- * <!--End PulumiCodeChooser -->
90
90
  */
91
91
  export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
92
92
  /**
@@ -10,19 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
17
+ * // An Auth0 Organization loaded using its name.
18
18
  * const some-organization-by-name = auth0.getOrganization({
19
19
  * name: "my-org",
20
20
  * });
21
+ * // An Auth0 Organization loaded using its ID.
21
22
  * const some-organization-by-id = auth0.getOrganization({
22
23
  * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
23
24
  * });
24
25
  * ```
25
- * <!--End PulumiCodeChooser -->
26
26
  */
27
27
  function getOrganization(args, opts) {
28
28
  args = args || {};
@@ -38,19 +38,19 @@ exports.getOrganization = getOrganization;
38
38
  *
39
39
  * ## Example Usage
40
40
  *
41
- * <!--Start PulumiCodeChooser -->
42
41
  * ```typescript
43
42
  * import * as pulumi from "@pulumi/pulumi";
44
43
  * import * as auth0 from "@pulumi/auth0";
45
44
  *
45
+ * // An Auth0 Organization loaded using its name.
46
46
  * const some-organization-by-name = auth0.getOrganization({
47
47
  * name: "my-org",
48
48
  * });
49
+ * // An Auth0 Organization loaded using its ID.
49
50
  * const some-organization-by-id = auth0.getOrganization({
50
51
  * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
51
52
  * });
52
53
  * ```
53
- * <!--End PulumiCodeChooser -->
54
54
  */
55
55
  function getOrganizationOutput(args, opts) {
56
56
  return pulumi.output(args).apply((a) => getOrganization(a, opts));
package/getPages.d.ts CHANGED
@@ -5,14 +5,12 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
13
12
  * const myPages = auth0.getPages({});
14
13
  * ```
15
- * <!--End PulumiCodeChooser -->
16
14
  */
17
15
  export declare function getPages(opts?: pulumi.InvokeOptions): Promise<GetPagesResult>;
18
16
  /**
@@ -45,13 +43,11 @@ export interface GetPagesResult {
45
43
  *
46
44
  * ## Example Usage
47
45
  *
48
- * <!--Start PulumiCodeChooser -->
49
46
  * ```typescript
50
47
  * import * as pulumi from "@pulumi/pulumi";
51
48
  * import * as auth0 from "@pulumi/auth0";
52
49
  *
53
50
  * const myPages = auth0.getPages({});
54
51
  * ```
55
- * <!--End PulumiCodeChooser -->
56
52
  */
57
53
  export declare function getPagesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetPagesResult>;
package/getPages.js CHANGED
@@ -10,14 +10,12 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
18
17
  * const myPages = auth0.getPages({});
19
18
  * ```
20
- * <!--End PulumiCodeChooser -->
21
19
  */
22
20
  function getPages(opts) {
23
21
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -29,14 +27,12 @@ exports.getPages = getPages;
29
27
  *
30
28
  * ## Example Usage
31
29
  *
32
- * <!--Start PulumiCodeChooser -->
33
30
  * ```typescript
34
31
  * import * as pulumi from "@pulumi/pulumi";
35
32
  * import * as auth0 from "@pulumi/auth0";
36
33
  *
37
34
  * const myPages = auth0.getPages({});
38
35
  * ```
39
- * <!--End PulumiCodeChooser -->
40
36
  */
41
37
  function getPagesOutput(opts) {
42
38
  return pulumi.output(getPages(opts));
package/getPages.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getPages.js","sourceRoot":"","sources":["../getPages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAEhD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AA2BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getPages.js","sourceRoot":"","sources":["../getPages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAEhD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AA2BD;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"}
@@ -5,19 +5,19 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
12
+ * // An Auth0 Resource Server loaded using its identifier.
13
13
  * const some-resource-server-by-identifier = auth0.getResourceServer({
14
14
  * identifier: "https://my-api.com/v1",
15
15
  * });
16
+ * // An Auth0 Resource Server loaded using its ID.
16
17
  * const some-resource-server-by-id = auth0.getResourceServer({
17
18
  * resourceServerId: "abcdefghkijklmnopqrstuvwxyz0123456789",
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  */
22
22
  export declare function getResourceServer(args?: GetResourceServerArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceServerResult>;
23
23
  /**
@@ -99,19 +99,19 @@ export interface GetResourceServerResult {
99
99
  *
100
100
  * ## Example Usage
101
101
  *
102
- * <!--Start PulumiCodeChooser -->
103
102
  * ```typescript
104
103
  * import * as pulumi from "@pulumi/pulumi";
105
104
  * import * as auth0 from "@pulumi/auth0";
106
105
  *
106
+ * // An Auth0 Resource Server loaded using its identifier.
107
107
  * const some-resource-server-by-identifier = auth0.getResourceServer({
108
108
  * identifier: "https://my-api.com/v1",
109
109
  * });
110
+ * // An Auth0 Resource Server loaded using its ID.
110
111
  * const some-resource-server-by-id = auth0.getResourceServer({
111
112
  * resourceServerId: "abcdefghkijklmnopqrstuvwxyz0123456789",
112
113
  * });
113
114
  * ```
114
- * <!--End PulumiCodeChooser -->
115
115
  */
116
116
  export declare function getResourceServerOutput(args?: GetResourceServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourceServerResult>;
117
117
  /**
@@ -10,19 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
17
+ * // An Auth0 Resource Server loaded using its identifier.
18
18
  * const some-resource-server-by-identifier = auth0.getResourceServer({
19
19
  * identifier: "https://my-api.com/v1",
20
20
  * });
21
+ * // An Auth0 Resource Server loaded using its ID.
21
22
  * const some-resource-server-by-id = auth0.getResourceServer({
22
23
  * resourceServerId: "abcdefghkijklmnopqrstuvwxyz0123456789",
23
24
  * });
24
25
  * ```
25
- * <!--End PulumiCodeChooser -->
26
26
  */
27
27
  function getResourceServer(args, opts) {
28
28
  args = args || {};
@@ -38,19 +38,19 @@ exports.getResourceServer = getResourceServer;
38
38
  *
39
39
  * ## Example Usage
40
40
  *
41
- * <!--Start PulumiCodeChooser -->
42
41
  * ```typescript
43
42
  * import * as pulumi from "@pulumi/pulumi";
44
43
  * import * as auth0 from "@pulumi/auth0";
45
44
  *
45
+ * // An Auth0 Resource Server loaded using its identifier.
46
46
  * const some-resource-server-by-identifier = auth0.getResourceServer({
47
47
  * identifier: "https://my-api.com/v1",
48
48
  * });
49
+ * // An Auth0 Resource Server loaded using its ID.
49
50
  * const some-resource-server-by-id = auth0.getResourceServer({
50
51
  * resourceServerId: "abcdefghkijklmnopqrstuvwxyz0123456789",
51
52
  * });
52
53
  * ```
53
- * <!--End PulumiCodeChooser -->
54
54
  */
55
55
  function getResourceServerOutput(args, opts) {
56
56
  return pulumi.output(args).apply((a) => getResourceServer(a, opts));
package/getRole.d.ts CHANGED
@@ -5,25 +5,28 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
12
+ * // An Auth0 Role loaded using its name.
13
13
  * const some-role-by-name = auth0.getRole({
14
14
  * name: "my-role",
15
15
  * });
16
+ * // An Auth0 Role loaded using its ID.
16
17
  * const some-role-by-id = auth0.getRole({
17
18
  * roleId: "abcdefghkijklmnopqrstuvwxyz0123456789",
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  */
22
22
  export declare function getRole(args?: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
23
23
  /**
24
24
  * A collection of arguments for invoking getRole.
25
25
  */
26
26
  export interface GetRoleArgs {
27
+ /**
28
+ * The name of the role. If not provided, `roleId` must be set.
29
+ */
27
30
  name?: string;
28
31
  /**
29
32
  * The ID of the role. If not provided, `name` must be set.
@@ -64,25 +67,28 @@ export interface GetRoleResult {
64
67
  *
65
68
  * ## Example Usage
66
69
  *
67
- * <!--Start PulumiCodeChooser -->
68
70
  * ```typescript
69
71
  * import * as pulumi from "@pulumi/pulumi";
70
72
  * import * as auth0 from "@pulumi/auth0";
71
73
  *
74
+ * // An Auth0 Role loaded using its name.
72
75
  * const some-role-by-name = auth0.getRole({
73
76
  * name: "my-role",
74
77
  * });
78
+ * // An Auth0 Role loaded using its ID.
75
79
  * const some-role-by-id = auth0.getRole({
76
80
  * roleId: "abcdefghkijklmnopqrstuvwxyz0123456789",
77
81
  * });
78
82
  * ```
79
- * <!--End PulumiCodeChooser -->
80
83
  */
81
84
  export declare function getRoleOutput(args?: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleResult>;
82
85
  /**
83
86
  * A collection of arguments for invoking getRole.
84
87
  */
85
88
  export interface GetRoleOutputArgs {
89
+ /**
90
+ * The name of the role. If not provided, `roleId` must be set.
91
+ */
86
92
  name?: pulumi.Input<string>;
87
93
  /**
88
94
  * The ID of the role. If not provided, `name` must be set.
package/getRole.js CHANGED
@@ -10,19 +10,19 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
17
+ * // An Auth0 Role loaded using its name.
18
18
  * const some-role-by-name = auth0.getRole({
19
19
  * name: "my-role",
20
20
  * });
21
+ * // An Auth0 Role loaded using its ID.
21
22
  * const some-role-by-id = auth0.getRole({
22
23
  * roleId: "abcdefghkijklmnopqrstuvwxyz0123456789",
23
24
  * });
24
25
  * ```
25
- * <!--End PulumiCodeChooser -->
26
26
  */
27
27
  function getRole(args, opts) {
28
28
  args = args || {};
@@ -38,19 +38,19 @@ exports.getRole = getRole;
38
38
  *
39
39
  * ## Example Usage
40
40
  *
41
- * <!--Start PulumiCodeChooser -->
42
41
  * ```typescript
43
42
  * import * as pulumi from "@pulumi/pulumi";
44
43
  * import * as auth0 from "@pulumi/auth0";
45
44
  *
45
+ * // An Auth0 Role loaded using its name.
46
46
  * const some-role-by-name = auth0.getRole({
47
47
  * name: "my-role",
48
48
  * });
49
+ * // An Auth0 Role loaded using its ID.
49
50
  * const some-role-by-id = auth0.getRole({
50
51
  * roleId: "abcdefghkijklmnopqrstuvwxyz0123456789",
51
52
  * });
52
53
  * ```
53
- * <!--End PulumiCodeChooser -->
54
54
  */
55
55
  function getRoleOutput(args, opts) {
56
56
  return pulumi.output(args).apply((a) => getRole(a, opts));
package/getRole.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA0CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
package/getTenant.d.ts CHANGED
@@ -5,14 +5,12 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ## Example Usage
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as auth0 from "@pulumi/auth0";
12
11
  *
13
12
  * const myTenant = auth0.getTenant({});
14
13
  * ```
15
- * <!--End PulumiCodeChooser -->
16
14
  */
17
15
  export declare function getTenant(opts?: pulumi.InvokeOptions): Promise<GetTenantResult>;
18
16
  /**
@@ -105,13 +103,11 @@ export interface GetTenantResult {
105
103
  *
106
104
  * ## Example Usage
107
105
  *
108
- * <!--Start PulumiCodeChooser -->
109
106
  * ```typescript
110
107
  * import * as pulumi from "@pulumi/pulumi";
111
108
  * import * as auth0 from "@pulumi/auth0";
112
109
  *
113
110
  * const myTenant = auth0.getTenant({});
114
111
  * ```
115
- * <!--End PulumiCodeChooser -->
116
112
  */
117
113
  export declare function getTenantOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetTenantResult>;
package/getTenant.js CHANGED
@@ -10,14 +10,12 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as auth0 from "@pulumi/auth0";
17
16
  *
18
17
  * const myTenant = auth0.getTenant({});
19
18
  * ```
20
- * <!--End PulumiCodeChooser -->
21
19
  */
22
20
  function getTenant(opts) {
23
21
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -29,14 +27,12 @@ exports.getTenant = getTenant;
29
27
  *
30
28
  * ## Example Usage
31
29
  *
32
- * <!--Start PulumiCodeChooser -->
33
30
  * ```typescript
34
31
  * import * as pulumi from "@pulumi/pulumi";
35
32
  * import * as auth0 from "@pulumi/auth0";
36
33
  *
37
34
  * const myTenant = auth0.getTenant({});
38
35
  * ```
39
- * <!--End PulumiCodeChooser -->
40
36
  */
41
37
  function getTenantOutput(opts) {
42
38
  return pulumi.output(getTenant(opts));
package/getTenant.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTenant.js","sourceRoot":"","sources":["../getTenant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAA2B;IAEjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE,EAC/D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAuFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AACzC,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getTenant.js","sourceRoot":"","sources":["../getTenant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,SAAS,CAAC,IAA2B;IAEjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE,EAC/D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAuFD;;;;;;;;;;;GAWG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AACzC,CAAC;AAFD,0CAEC"}