@pulumi/auth0 3.3.0 → 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 (132) hide show
  1. package/action.d.ts +6 -6
  2. package/action.js +3 -3
  3. package/attackProtection.d.ts +20 -20
  4. package/attackProtection.js +20 -20
  5. package/branding.d.ts +3 -22
  6. package/branding.js +3 -22
  7. package/branding.js.map +1 -1
  8. package/brandingTheme.d.ts +1 -82
  9. package/brandingTheme.js +1 -82
  10. package/brandingTheme.js.map +1 -1
  11. package/client.d.ts +48 -48
  12. package/client.js +43 -43
  13. package/clientCredentials.d.ts +3 -73
  14. package/clientCredentials.js +3 -55
  15. package/clientCredentials.js.map +1 -1
  16. package/clientGrant.d.ts +2 -2
  17. package/clientGrant.js +2 -2
  18. package/connection.d.ts +467 -91
  19. package/connection.js +464 -88
  20. package/connection.js.map +1 -1
  21. package/connectionClient.d.ts +9 -6
  22. package/connectionClient.js +9 -6
  23. package/connectionClient.js.map +1 -1
  24. package/connectionClients.d.ts +8 -5
  25. package/connectionClients.js +8 -5
  26. package/connectionClients.js.map +1 -1
  27. package/customDomain.d.ts +4 -4
  28. package/customDomain.js +4 -4
  29. package/customDomainVerification.d.ts +1 -9
  30. package/customDomainVerification.js +1 -1
  31. package/customDomainVerification.js.map +1 -1
  32. package/emailProvider.d.ts +3 -39
  33. package/emailProvider.js +3 -39
  34. package/emailProvider.js.map +1 -1
  35. package/emailTemplate.d.ts +9 -8
  36. package/emailTemplate.js +9 -8
  37. package/emailTemplate.js.map +1 -1
  38. package/getClient.d.ts +16 -0
  39. package/getClient.js +4 -0
  40. package/getClient.js.map +1 -1
  41. package/getConnection.d.ts +10 -0
  42. package/getConnection.js +4 -0
  43. package/getConnection.js.map +1 -1
  44. package/getOrganization.d.ts +4 -0
  45. package/getOrganization.js +4 -0
  46. package/getOrganization.js.map +1 -1
  47. package/getResourceServer.d.ts +4 -0
  48. package/getResourceServer.js +4 -0
  49. package/getResourceServer.js.map +1 -1
  50. package/getRole.d.ts +10 -0
  51. package/getRole.js +4 -0
  52. package/getRole.js.map +1 -1
  53. package/getUser.d.ts +2 -0
  54. package/getUser.js +2 -0
  55. package/getUser.js.map +1 -1
  56. package/guardian.d.ts +20 -20
  57. package/guardian.js +20 -20
  58. package/hook.d.ts +8 -8
  59. package/hook.js +8 -8
  60. package/logStream.d.ts +13 -11
  61. package/logStream.js +13 -11
  62. package/logStream.js.map +1 -1
  63. package/organization.d.ts +6 -5
  64. package/organization.js +6 -5
  65. package/organization.js.map +1 -1
  66. package/organizationConnection.d.ts +12 -6
  67. package/organizationConnection.js +12 -6
  68. package/organizationConnection.js.map +1 -1
  69. package/organizationConnections.d.ts +13 -4
  70. package/organizationConnections.js +13 -4
  71. package/organizationConnections.js.map +1 -1
  72. package/organizationMember.d.ts +8 -5
  73. package/organizationMember.js +8 -5
  74. package/organizationMember.js.map +1 -1
  75. package/organizationMemberRole.d.ts +10 -7
  76. package/organizationMemberRole.js +10 -7
  77. package/organizationMemberRole.js.map +1 -1
  78. package/organizationMemberRoles.d.ts +11 -8
  79. package/organizationMemberRoles.js +11 -8
  80. package/organizationMemberRoles.js.map +1 -1
  81. package/organizationMembers.d.ts +8 -5
  82. package/organizationMembers.js +8 -5
  83. package/organizationMembers.js.map +1 -1
  84. package/package.json +1 -1
  85. package/pages.d.ts +12 -12
  86. package/pages.js +12 -12
  87. package/prompt.d.ts +5 -5
  88. package/prompt.js +5 -5
  89. package/promptCustomText.d.ts +3 -3
  90. package/promptCustomText.js +3 -3
  91. package/promptPartials.d.ts +6 -6
  92. package/promptPartials.js +6 -6
  93. package/provider.d.ts +4 -4
  94. package/resourceServer.d.ts +5 -4
  95. package/resourceServer.js +5 -4
  96. package/resourceServer.js.map +1 -1
  97. package/resourceServerScope.d.ts +9 -6
  98. package/resourceServerScope.js +9 -6
  99. package/resourceServerScope.js.map +1 -1
  100. package/resourceServerScopes.d.ts +6 -3
  101. package/resourceServerScopes.js +6 -3
  102. package/resourceServerScopes.js.map +1 -1
  103. package/role.d.ts +5 -2
  104. package/role.js +5 -2
  105. package/role.js.map +1 -1
  106. package/rule.d.ts +4 -4
  107. package/rule.js +4 -4
  108. package/ruleConfig.d.ts +5 -5
  109. package/ruleConfig.js +5 -5
  110. package/tenant.d.ts +14 -14
  111. package/tenant.js +14 -14
  112. package/triggerAction.d.ts +6 -5
  113. package/triggerAction.js +6 -5
  114. package/triggerAction.js.map +1 -1
  115. package/triggerActions.d.ts +6 -4
  116. package/triggerActions.js +6 -4
  117. package/triggerActions.js.map +1 -1
  118. package/types/input.d.ts +30 -39
  119. package/types/output.d.ts +30 -39
  120. package/user.d.ts +5 -4
  121. package/user.js +5 -4
  122. package/user.js.map +1 -1
  123. package/userPermission.d.ts +3 -3
  124. package/userPermission.js +3 -3
  125. package/userPermissions.d.ts +1 -1
  126. package/userPermissions.js +1 -1
  127. package/userRole.d.ts +9 -5
  128. package/userRole.js +9 -5
  129. package/userRole.js.map +1 -1
  130. package/userRoles.d.ts +7 -3
  131. package/userRoles.js +7 -3
  132. package/userRoles.js.map +1 -1
package/pages.d.ts CHANGED
@@ -10,23 +10,23 @@ import * as outputs from "./types/output";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as auth0 from "@pulumi/auth0";
12
12
  *
13
- * const myPages = new auth0.Pages("myPages", {
13
+ * const myPages = new auth0.Pages("my_pages", {
14
+ * login: {
15
+ * enabled: true,
16
+ * html: "<html><body>My Custom Login Page</body></html>",
17
+ * },
14
18
  * changePassword: {
15
19
  * enabled: true,
16
20
  * html: "<html><body>My Custom Reset Password Page</body></html>",
17
21
  * },
18
- * error: {
19
- * html: "<html><body>My Custom Error Page</body></html>",
20
- * showLogLink: true,
21
- * url: "https://example.com",
22
- * },
23
22
  * guardianMfa: {
24
23
  * enabled: true,
25
24
  * html: "<html><body>My Custom MFA Page</body></html>",
26
25
  * },
27
- * login: {
28
- * enabled: true,
29
- * html: "<html><body>My Custom Login Page</body></html>",
26
+ * error: {
27
+ * showLogLink: true,
28
+ * html: "<html><body>My Custom Error Page</body></html>",
29
+ * url: "https://example.com",
30
30
  * },
31
31
  * });
32
32
  * ```
@@ -35,15 +35,15 @@ import * as outputs from "./types/output";
35
35
  *
36
36
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
37
37
  *
38
- * pages can be imported using a random string.
38
+ * pages can be imported using a random string.
39
39
  *
40
40
  * #
41
41
  *
42
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
42
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
43
43
  *
44
44
  * #
45
45
  *
46
- * Example:
46
+ * Example:
47
47
  *
48
48
  * ```sh
49
49
  * $ pulumi import auth0:index/pages:Pages my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4"
package/pages.js CHANGED
@@ -14,23 +14,23 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myPages = new auth0.Pages("myPages", {
17
+ * const myPages = new auth0.Pages("my_pages", {
18
+ * login: {
19
+ * enabled: true,
20
+ * html: "<html><body>My Custom Login Page</body></html>",
21
+ * },
18
22
  * changePassword: {
19
23
  * enabled: true,
20
24
  * html: "<html><body>My Custom Reset Password Page</body></html>",
21
25
  * },
22
- * error: {
23
- * html: "<html><body>My Custom Error Page</body></html>",
24
- * showLogLink: true,
25
- * url: "https://example.com",
26
- * },
27
26
  * guardianMfa: {
28
27
  * enabled: true,
29
28
  * html: "<html><body>My Custom MFA Page</body></html>",
30
29
  * },
31
- * login: {
32
- * enabled: true,
33
- * html: "<html><body>My Custom Login Page</body></html>",
30
+ * error: {
31
+ * showLogLink: true,
32
+ * html: "<html><body>My Custom Error Page</body></html>",
33
+ * url: "https://example.com",
34
34
  * },
35
35
  * });
36
36
  * ```
@@ -39,15 +39,15 @@ const utilities = require("./utilities");
39
39
  *
40
40
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
41
41
  *
42
- * pages can be imported using a random string.
42
+ * pages can be imported using a random string.
43
43
  *
44
44
  * #
45
45
  *
46
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
46
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
47
47
  *
48
48
  * #
49
49
  *
50
- * Example:
50
+ * Example:
51
51
  *
52
52
  * ```sh
53
53
  * $ pulumi import auth0:index/pages:Pages my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4"
package/prompt.d.ts CHANGED
@@ -8,9 +8,9 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
- * const myPrompt = new auth0.Prompt("myPrompt", {
12
- * identifierFirst: false,
11
+ * const myPrompt = new auth0.Prompt("my_prompt", {
13
12
  * universalLoginExperience: "new",
13
+ * identifierFirst: false,
14
14
  * webauthnPlatformFirstFactor: true,
15
15
  * });
16
16
  * ```
@@ -19,15 +19,15 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  *
20
20
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
21
21
  *
22
- * prompts can be imported using a random string.
22
+ * prompts can be imported using a random string.
23
23
  *
24
24
  * #
25
25
  *
26
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
26
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
27
27
  *
28
28
  * #
29
29
  *
30
- * Example:
30
+ * Example:
31
31
  *
32
32
  * ```sh
33
33
  * $ pulumi import auth0:index/prompt:Prompt my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4"
package/prompt.js CHANGED
@@ -14,9 +14,9 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myPrompt = new auth0.Prompt("myPrompt", {
18
- * identifierFirst: false,
17
+ * const myPrompt = new auth0.Prompt("my_prompt", {
19
18
  * universalLoginExperience: "new",
19
+ * identifierFirst: false,
20
20
  * webauthnPlatformFirstFactor: true,
21
21
  * });
22
22
  * ```
@@ -25,15 +25,15 @@ const utilities = require("./utilities");
25
25
  *
26
26
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
27
27
  *
28
- * prompts can be imported using a random string.
28
+ * prompts can be imported using a random string.
29
29
  *
30
30
  * #
31
31
  *
32
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
32
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
33
33
  *
34
34
  * #
35
35
  *
36
- * Example:
36
+ * Example:
37
37
  *
38
38
  * ```sh
39
39
  * $ pulumi import auth0:index/prompt:Prompt my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4"
@@ -41,13 +41,13 @@ import * as pulumi from "@pulumi/pulumi";
41
41
  *
42
42
  * This resource can be imported by specifying the
43
43
  *
44
- * prompt and language separated by "::" (note the double colon)
44
+ * prompt and language separated by "::" (note the double colon)
45
45
  *
46
- * <prompt>::<language>
46
+ * <prompt>::<language>
47
47
  *
48
48
  * #
49
49
  *
50
- * Example
50
+ * Example
51
51
  *
52
52
  * ```sh
53
53
  * $ pulumi import auth0:index/promptCustomText:PromptCustomText example "login::en"
@@ -47,13 +47,13 @@ const utilities = require("./utilities");
47
47
  *
48
48
  * This resource can be imported by specifying the
49
49
  *
50
- * prompt and language separated by "::" (note the double colon)
50
+ * prompt and language separated by "::" (note the double colon)
51
51
  *
52
- * <prompt>::<language>
52
+ * <prompt>::<language>
53
53
  *
54
54
  * #
55
55
  *
56
- * Example
56
+ * Example
57
57
  *
58
58
  * ```sh
59
59
  * $ pulumi import auth0:index/promptCustomText:PromptCustomText example "login::en"
@@ -8,14 +8,14 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
- * const myLoginPromptPartials = new auth0.PromptPartials("myLoginPromptPartials", {
12
- * formContentEnd: "<div>Updated Form Content End</div>",
11
+ * const myLoginPromptPartials = new auth0.PromptPartials("my_login_prompt_partials", {
12
+ * prompt: "login",
13
13
  * formContentStart: "<div>Updated Form Content Start</div>",
14
- * formFooterEnd: "<div>Updated Footer End</div>",
14
+ * formContentEnd: "<div>Updated Form Content End</div>",
15
15
  * formFooterStart: "<div>Updated Footer Start</div>",
16
- * prompt: "login",
17
- * secondaryActionsEnd: "<div>Updated Secondary Actions End</div>",
16
+ * formFooterEnd: "<div>Updated Footer End</div>",
18
17
  * secondaryActionsStart: "<div>Updated Secondary Actions Start</div>",
18
+ * secondaryActionsEnd: "<div>Updated Secondary Actions End</div>",
19
19
  * });
20
20
  * ```
21
21
  *
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
25
25
  *
26
26
  * #
27
27
  *
28
- * Example:
28
+ * Example:
29
29
  *
30
30
  * ```sh
31
31
  * $ pulumi import auth0:index/promptPartials:PromptPartials my_login_prompt_partials "login"
package/promptPartials.js CHANGED
@@ -14,14 +14,14 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myLoginPromptPartials = new auth0.PromptPartials("myLoginPromptPartials", {
18
- * formContentEnd: "<div>Updated Form Content End</div>",
17
+ * const myLoginPromptPartials = new auth0.PromptPartials("my_login_prompt_partials", {
18
+ * prompt: "login",
19
19
  * formContentStart: "<div>Updated Form Content Start</div>",
20
- * formFooterEnd: "<div>Updated Footer End</div>",
20
+ * formContentEnd: "<div>Updated Form Content End</div>",
21
21
  * formFooterStart: "<div>Updated Footer Start</div>",
22
- * prompt: "login",
23
- * secondaryActionsEnd: "<div>Updated Secondary Actions End</div>",
22
+ * formFooterEnd: "<div>Updated Footer End</div>",
24
23
  * secondaryActionsStart: "<div>Updated Secondary Actions Start</div>",
24
+ * secondaryActionsEnd: "<div>Updated Secondary Actions End</div>",
25
25
  * });
26
26
  * ```
27
27
  *
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
31
31
  *
32
32
  * #
33
33
  *
34
- * Example:
34
+ * Example:
35
35
  *
36
36
  * ```sh
37
37
  * $ pulumi import auth0:index/promptPartials:PromptPartials my_login_prompt_partials "login"
package/provider.d.ts CHANGED
@@ -14,8 +14,8 @@ export declare class Provider extends pulumi.ProviderResource {
14
14
  /**
15
15
  * Your Auth0 [management api access
16
16
  * token](https://auth0.com/docs/security/tokens/access-tokens/management-api-access-tokens). It can also be sourced from
17
- * the `AUTH0_API_TOKEN` environment variable. It can be used instead of `client_id` + `client_secret`. If both are
18
- * specified, `api_token` will be used over `client_id` + `client_secret` fields.
17
+ * the `AUTH0_API_TOKEN` environment variable. It can be used instead of `clientId` + `clientSecret`. If both are
18
+ * specified, `apiToken` will be used over `clientId` + `clientSecret` fields.
19
19
  */
20
20
  readonly apiToken: pulumi.Output<string | undefined>;
21
21
  /**
@@ -50,8 +50,8 @@ export interface ProviderArgs {
50
50
  /**
51
51
  * Your Auth0 [management api access
52
52
  * token](https://auth0.com/docs/security/tokens/access-tokens/management-api-access-tokens). It can also be sourced from
53
- * the `AUTH0_API_TOKEN` environment variable. It can be used instead of `client_id` + `client_secret`. If both are
54
- * specified, `api_token` will be used over `client_id` + `client_secret` fields.
53
+ * the `AUTH0_API_TOKEN` environment variable. It can be used instead of `clientId` + `clientSecret`. If both are
54
+ * specified, `apiToken` will be used over `clientId` + `clientSecret` fields.
55
55
  */
56
56
  apiToken?: pulumi.Input<string>;
57
57
  /**
@@ -8,12 +8,13 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
- * const myResourceServer = new auth0.ResourceServer("myResourceServer", {
12
- * allowOfflineAccess: true,
11
+ * const myResourceServer = new auth0.ResourceServer("my_resource_server", {
12
+ * name: "Example Resource Server (Managed by Terraform)",
13
13
  * identifier: "https://api.example.com",
14
14
  * signingAlg: "RS256",
15
- * skipConsentForVerifiableFirstPartyClients: true,
15
+ * allowOfflineAccess: true,
16
16
  * tokenLifetime: 8600,
17
+ * skipConsentForVerifiableFirstPartyClients: true,
17
18
  * });
18
19
  * ```
19
20
  *
@@ -23,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
23
24
  *
24
25
  * #
25
26
  *
26
- * Example:
27
+ * Example:
27
28
  *
28
29
  * ```sh
29
30
  * $ pulumi import auth0:index/resourceServer:ResourceServer my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX"
package/resourceServer.js CHANGED
@@ -14,12 +14,13 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myResourceServer = new auth0.ResourceServer("myResourceServer", {
18
- * allowOfflineAccess: true,
17
+ * const myResourceServer = new auth0.ResourceServer("my_resource_server", {
18
+ * name: "Example Resource Server (Managed by Terraform)",
19
19
  * identifier: "https://api.example.com",
20
20
  * signingAlg: "RS256",
21
- * skipConsentForVerifiableFirstPartyClients: true,
21
+ * allowOfflineAccess: true,
22
22
  * tokenLifetime: 8600,
23
+ * skipConsentForVerifiableFirstPartyClients: true,
23
24
  * });
24
25
  * ```
25
26
  *
@@ -29,7 +30,7 @@ const utilities = require("./utilities");
29
30
  *
30
31
  * #
31
32
  *
32
- * Example:
33
+ * Example:
33
34
  *
34
35
  * ```sh
35
36
  * $ pulumi import auth0:index/resourceServer:ResourceServer my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX"
@@ -1 +1 @@
1
- {"version":3,"file":"resourceServer.js","sourceRoot":"","sources":["../resourceServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG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AAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,2CAA2C,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChI,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AApHL,wCAqHC;AAvGG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
@@ -12,12 +12,15 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as auth0 from "@pulumi/auth0";
14
14
  *
15
- * const resourceServer = new auth0.ResourceServer("resourceServer", {identifier: "https://api.example.com"});
16
- * const readPosts = new auth0.ResourceServerScope("readPosts", {
15
+ * const resourceServer = new auth0.ResourceServer("resource_server", {
16
+ * name: "Example Resource Server (Managed by Terraform)",
17
+ * identifier: "https://api.example.com",
18
+ * });
19
+ * const readPosts = new auth0.ResourceServerScope("read_posts", {
17
20
  * resourceServerIdentifier: resourceServer.identifier,
18
21
  * scope: "read:posts",
19
22
  * });
20
- * const writePosts = new auth0.ResourceServerScope("writePosts", {
23
+ * const writePosts = new auth0.ResourceServerScope("write_posts", {
21
24
  * resourceServerIdentifier: resourceServer.identifier,
22
25
  * scope: "write:posts",
23
26
  * });
@@ -27,13 +30,13 @@ import * as pulumi from "@pulumi/pulumi";
27
30
  *
28
31
  * This resource can be imported by specifying the
29
32
  *
30
- * resource identifier and scope name separated by "::" (note the double colon)
33
+ * resource identifier and scope name separated by "::" (note the double colon)
31
34
  *
32
- * <resourceServerIdentifier>::<scope>
35
+ * <resourceServerIdentifier>::<scope>
33
36
  *
34
37
  * #
35
38
  *
36
- * Example:
39
+ * Example:
37
40
  *
38
41
  * ```sh
39
42
  * $ pulumi import auth0:index/resourceServerScope:ResourceServerScope scope "https://api.travel0.com/v1::read:posts"
@@ -18,12 +18,15 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as auth0 from "@pulumi/auth0";
20
20
  *
21
- * const resourceServer = new auth0.ResourceServer("resourceServer", {identifier: "https://api.example.com"});
22
- * const readPosts = new auth0.ResourceServerScope("readPosts", {
21
+ * const resourceServer = new auth0.ResourceServer("resource_server", {
22
+ * name: "Example Resource Server (Managed by Terraform)",
23
+ * identifier: "https://api.example.com",
24
+ * });
25
+ * const readPosts = new auth0.ResourceServerScope("read_posts", {
23
26
  * resourceServerIdentifier: resourceServer.identifier,
24
27
  * scope: "read:posts",
25
28
  * });
26
- * const writePosts = new auth0.ResourceServerScope("writePosts", {
29
+ * const writePosts = new auth0.ResourceServerScope("write_posts", {
27
30
  * resourceServerIdentifier: resourceServer.identifier,
28
31
  * scope: "write:posts",
29
32
  * });
@@ -33,13 +36,13 @@ const utilities = require("./utilities");
33
36
  *
34
37
  * This resource can be imported by specifying the
35
38
  *
36
- * resource identifier and scope name separated by "::" (note the double colon)
39
+ * resource identifier and scope name separated by "::" (note the double colon)
37
40
  *
38
- * <resourceServerIdentifier>::<scope>
41
+ * <resourceServerIdentifier>::<scope>
39
42
  *
40
43
  * #
41
44
  *
42
- * Example:
45
+ * Example:
43
46
  *
44
47
  * ```sh
45
48
  * $ pulumi import auth0:index/resourceServerScope:ResourceServerScope scope "https://api.travel0.com/v1::read:posts"
@@ -1 +1 @@
1
- {"version":3,"file":"resourceServerScope.js","sourceRoot":"","sources":["../resourceServerScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAA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,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,wBAAwB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrE,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAvEL,kDAwEC;AA1DG,gBAAgB;AACO,gCAAY,GAAG,qDAAqD,CAAC"}
@@ -15,8 +15,11 @@ import * as outputs from "./types/output";
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as auth0 from "@pulumi/auth0";
17
17
  *
18
- * const myApi = new auth0.ResourceServer("myApi", {identifier: "https://api.example.com"});
19
- * const myApiScopes = new auth0.ResourceServerScopes("myApiScopes", {
18
+ * const myApi = new auth0.ResourceServer("my_api", {
19
+ * name: "Example Resource Server (Managed by Terraform)",
20
+ * identifier: "https://api.example.com",
21
+ * });
22
+ * const myApiScopes = new auth0.ResourceServerScopes("my_api_scopes", {
20
23
  * resourceServerIdentifier: myApi.identifier,
21
24
  * scopes: [
22
25
  * {
@@ -37,7 +40,7 @@ import * as outputs from "./types/output";
37
40
  *
38
41
  * #
39
42
  *
40
- * Example:
43
+ * Example:
41
44
  *
42
45
  * ```sh
43
46
  * $ pulumi import auth0:index/resourceServerScopes:ResourceServerScopes my_api_scopes "https://api.travel0.com/v1"
@@ -19,8 +19,11 @@ const utilities = require("./utilities");
19
19
  * import * as pulumi from "@pulumi/pulumi";
20
20
  * import * as auth0 from "@pulumi/auth0";
21
21
  *
22
- * const myApi = new auth0.ResourceServer("myApi", {identifier: "https://api.example.com"});
23
- * const myApiScopes = new auth0.ResourceServerScopes("myApiScopes", {
22
+ * const myApi = new auth0.ResourceServer("my_api", {
23
+ * name: "Example Resource Server (Managed by Terraform)",
24
+ * identifier: "https://api.example.com",
25
+ * });
26
+ * const myApiScopes = new auth0.ResourceServerScopes("my_api_scopes", {
24
27
  * resourceServerIdentifier: myApi.identifier,
25
28
  * scopes: [
26
29
  * {
@@ -41,7 +44,7 @@ const utilities = require("./utilities");
41
44
  *
42
45
  * #
43
46
  *
44
- * Example:
47
+ * Example:
45
48
  *
46
49
  * ```sh
47
50
  * $ pulumi import auth0:index/resourceServerScopes:ResourceServerScopes my_api_scopes "https://api.travel0.com/v1"
@@ -1 +1 @@
1
- {"version":3,"file":"resourceServerScopes.js","sourceRoot":"","sources":["../resourceServerScopes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,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AuD,CAAC"}
package/role.d.ts CHANGED
@@ -8,7 +8,10 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
- * const myRole = new auth0.Role("myRole", {description: "Role Description..."});
11
+ * const myRole = new auth0.Role("my_role", {
12
+ * name: "My Role - (Managed by Terraform)",
13
+ * description: "Role Description...",
14
+ * });
12
15
  * ```
13
16
  *
14
17
  * ## Import
@@ -17,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
17
20
  *
18
21
  * #
19
22
  *
20
- * Example:
23
+ * Example:
21
24
  *
22
25
  * ```sh
23
26
  * $ pulumi import auth0:index/role:Role my_role "XXXXXXXXXXXXXXXXXXXXXXX"
package/role.js CHANGED
@@ -14,7 +14,10 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myRole = new auth0.Role("myRole", {description: "Role Description..."});
17
+ * const myRole = new auth0.Role("my_role", {
18
+ * name: "My Role - (Managed by Terraform)",
19
+ * description: "Role Description...",
20
+ * });
18
21
  * ```
19
22
  *
20
23
  * ## Import
@@ -23,7 +26,7 @@ const utilities = require("./utilities");
23
26
  *
24
27
  * #
25
28
  *
26
- * Example:
29
+ * Example:
27
30
  *
28
31
  * ```sh
29
32
  * $ pulumi import auth0:index/role:Role my_role "XXXXXXXXXXXXXXXXXXXXXXX"
package/role.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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AAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,mBAAmB,CAAC;YAC7F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3DL,oBA4DC;AA9CG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
package/rule.d.ts CHANGED
@@ -10,13 +10,13 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as auth0 from "@pulumi/auth0";
12
12
  *
13
- * const myRule = new auth0.Rule("myRule", {
14
- * enabled: true,
13
+ * const myRule = new auth0.Rule("my_rule", {
14
+ * name: "empty-rule",
15
15
  * script: ` function (user, context, callback) {
16
16
  * callback(null, user, context);
17
17
  * }
18
- *
19
18
  * `,
19
+ * enabled: true,
20
20
  * });
21
21
  * ```
22
22
  *
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  *
27
27
  * #
28
28
  *
29
- * Example:
29
+ * Example:
30
30
  *
31
31
  * ```sh
32
32
  * $ pulumi import auth0:index/rule:Rule my_rule "rul_XXXXXXXXXXXXX"
package/rule.js CHANGED
@@ -16,13 +16,13 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as auth0 from "@pulumi/auth0";
18
18
  *
19
- * const myRule = new auth0.Rule("myRule", {
20
- * enabled: true,
19
+ * const myRule = new auth0.Rule("my_rule", {
20
+ * name: "empty-rule",
21
21
  * script: ` function (user, context, callback) {
22
22
  * callback(null, user, context);
23
23
  * }
24
- *
25
24
  * `,
25
+ * enabled: true,
26
26
  * });
27
27
  * ```
28
28
  *
@@ -32,7 +32,7 @@ const utilities = require("./utilities");
32
32
  *
33
33
  * #
34
34
  *
35
- * Example:
35
+ * Example:
36
36
  *
37
37
  * ```sh
38
38
  * $ pulumi import auth0:index/rule:Rule my_rule "rul_XXXXXXXXXXXXX"
package/ruleConfig.d.ts CHANGED
@@ -8,15 +8,15 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
- * const myRule = new auth0.Rule("myRule", {
12
- * enabled: true,
11
+ * const myRule = new auth0.Rule("my_rule", {
12
+ * name: "empty-rule",
13
13
  * script: ` function (user, context, callback) {
14
14
  * callback(null, user, context);
15
15
  * }
16
- *
17
16
  * `,
17
+ * enabled: true,
18
18
  * });
19
- * const myRuleConfig = new auth0.RuleConfig("myRuleConfig", {
19
+ * const myRuleConfig = new auth0.RuleConfig("my_rule_config", {
20
20
  * key: "foo",
21
21
  * value: "bar",
22
22
  * });
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  *
29
29
  * #
30
30
  *
31
- * Example:
31
+ * Example:
32
32
  *
33
33
  * ```sh
34
34
  * $ pulumi import auth0:index/ruleConfig:RuleConfig my_rule_config "foo"