@pulumi/auth0 2.16.0 → 2.17.0-alpha.1677662776

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 (48) hide show
  1. package/connection.d.ts +8 -12
  2. package/connection.js +2 -4
  3. package/connection.js.map +1 -1
  4. package/getAttackProtection.d.ts +36 -0
  5. package/getAttackProtection.js +25 -0
  6. package/getAttackProtection.js.map +1 -0
  7. package/getBranding.d.ts +44 -0
  8. package/getBranding.js +25 -0
  9. package/getBranding.js.map +1 -0
  10. package/getBrandingTheme.d.ts +33 -0
  11. package/getBrandingTheme.js +25 -0
  12. package/getBrandingTheme.js.map +1 -0
  13. package/getClient.d.ts +2 -2
  14. package/getClient.js +2 -2
  15. package/getConnection.d.ts +115 -0
  16. package/getConnection.js +55 -0
  17. package/getConnection.js.map +1 -0
  18. package/getGlobalClient.d.ts +1 -1
  19. package/getGlobalClient.js +1 -1
  20. package/getOrganization.d.ts +96 -0
  21. package/getOrganization.js +55 -0
  22. package/getOrganization.js.map +1 -0
  23. package/getResourceServer.d.ts +131 -0
  24. package/getResourceServer.js +55 -0
  25. package/getResourceServer.js.map +1 -0
  26. package/getRole.d.ts +89 -0
  27. package/getRole.js +55 -0
  28. package/getRole.js.map +1 -0
  29. package/getTenant.d.ts +73 -0
  30. package/getTenant.js.map +1 -1
  31. package/getUser.d.ts +130 -0
  32. package/getUser.js +47 -0
  33. package/getUser.js.map +1 -0
  34. package/index.d.ts +21 -0
  35. package/index.js +22 -1
  36. package/index.js.map +1 -1
  37. package/organizationMember.d.ts +1 -1
  38. package/organizationMember.js +1 -1
  39. package/package.json +2 -2
  40. package/package.json.dev +2 -2
  41. package/promptCustomText.d.ts +12 -12
  42. package/promptCustomText.js +6 -6
  43. package/role.d.ts +1 -1
  44. package/role.js +1 -1
  45. package/types/input.d.ts +3 -1
  46. package/types/output.d.ts +336 -1
  47. package/user.d.ts +1 -1
  48. package/user.js +1 -1
package/connection.d.ts CHANGED
@@ -357,6 +357,10 @@ export declare class Connection extends pulumi.CustomResource {
357
357
  * Name used in login screen.
358
358
  */
359
359
  readonly displayName: pulumi.Output<string | undefined>;
360
+ /**
361
+ * IDs of the clients for which the connection is enabled.
362
+ */
363
+ readonly enabledClients: pulumi.Output<string[]>;
360
364
  /**
361
365
  * Indicates whether the connection is domain level.
362
366
  */
@@ -387,10 +391,6 @@ export declare class Connection extends pulumi.CustomResource {
387
391
  * Type of the connection, which indicates the identity provider.
388
392
  */
389
393
  readonly strategy: pulumi.Output<string>;
390
- readonly strategyVersion: pulumi.Output<string>;
391
- readonly validation: pulumi.Output<{
392
- [key: string]: string;
393
- } | undefined>;
394
394
  /**
395
395
  * Create a Connection resource with the given unique name, arguments, and options.
396
396
  *
@@ -408,6 +408,10 @@ export interface ConnectionState {
408
408
  * Name used in login screen.
409
409
  */
410
410
  displayName?: pulumi.Input<string>;
411
+ /**
412
+ * IDs of the clients for which the connection is enabled.
413
+ */
414
+ enabledClients?: pulumi.Input<pulumi.Input<string>[]>;
411
415
  /**
412
416
  * Indicates whether the connection is domain level.
413
417
  */
@@ -438,10 +442,6 @@ export interface ConnectionState {
438
442
  * Type of the connection, which indicates the identity provider.
439
443
  */
440
444
  strategy?: pulumi.Input<string>;
441
- strategyVersion?: pulumi.Input<string>;
442
- validation?: pulumi.Input<{
443
- [key: string]: pulumi.Input<string>;
444
- }>;
445
445
  }
446
446
  /**
447
447
  * The set of arguments for constructing a Connection resource.
@@ -481,8 +481,4 @@ export interface ConnectionArgs {
481
481
  * Type of the connection, which indicates the identity provider.
482
482
  */
483
483
  strategy: pulumi.Input<string>;
484
- strategyVersion?: pulumi.Input<string>;
485
- validation?: pulumi.Input<{
486
- [key: string]: pulumi.Input<string>;
487
- }>;
488
484
  }
package/connection.js CHANGED
@@ -370,6 +370,7 @@ class Connection extends pulumi.CustomResource {
370
370
  if (opts.id) {
371
371
  const state = argsOrState;
372
372
  resourceInputs["displayName"] = state ? state.displayName : undefined;
373
+ resourceInputs["enabledClients"] = state ? state.enabledClients : undefined;
373
374
  resourceInputs["isDomainConnection"] = state ? state.isDomainConnection : undefined;
374
375
  resourceInputs["metadata"] = state ? state.metadata : undefined;
375
376
  resourceInputs["name"] = state ? state.name : undefined;
@@ -377,8 +378,6 @@ class Connection extends pulumi.CustomResource {
377
378
  resourceInputs["realms"] = state ? state.realms : undefined;
378
379
  resourceInputs["showAsButton"] = state ? state.showAsButton : undefined;
379
380
  resourceInputs["strategy"] = state ? state.strategy : undefined;
380
- resourceInputs["strategyVersion"] = state ? state.strategyVersion : undefined;
381
- resourceInputs["validation"] = state ? state.validation : undefined;
382
381
  }
383
382
  else {
384
383
  const args = argsOrState;
@@ -393,8 +392,7 @@ class Connection extends pulumi.CustomResource {
393
392
  resourceInputs["realms"] = args ? args.realms : undefined;
394
393
  resourceInputs["showAsButton"] = args ? args.showAsButton : undefined;
395
394
  resourceInputs["strategy"] = args ? args.strategy : undefined;
396
- resourceInputs["strategyVersion"] = args ? args.strategyVersion : undefined;
397
- resourceInputs["validation"] = args ? args.validation : undefined;
395
+ resourceInputs["enabledClients"] = undefined /*out*/;
398
396
  }
399
397
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
400
398
  super(Connection.__pulumiType, name, resourceInputs, opts);
package/connection.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,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,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxGL,gCAyGC;AA3FG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Use this data source to access information about the tenant's attack protection settings.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const myProtection = auth0.getAttackProtection({});
13
+ * ```
14
+ */
15
+ export declare function getAttackProtection(opts?: pulumi.InvokeOptions): Promise<GetAttackProtectionResult>;
16
+ /**
17
+ * A collection of values returned by getAttackProtection.
18
+ */
19
+ export interface GetAttackProtectionResult {
20
+ /**
21
+ * Breached password detection protects your applications from bad actors logging in with stolen credentials.
22
+ */
23
+ readonly breachedPasswordDetections: outputs.GetAttackProtectionBreachedPasswordDetection[];
24
+ /**
25
+ * Brute-force protection safeguards against a single IP address attacking a single user account.
26
+ */
27
+ readonly bruteForceProtections: outputs.GetAttackProtectionBruteForceProtection[];
28
+ /**
29
+ * The provider-assigned unique ID for this managed resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
34
+ */
35
+ readonly suspiciousIpThrottlings: outputs.GetAttackProtectionSuspiciousIpThrottling[];
36
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAttackProtection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about the tenant's attack protection settings.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as auth0 from "@pulumi/auth0";
16
+ *
17
+ * const myProtection = auth0.getAttackProtection({});
18
+ * ```
19
+ */
20
+ function getAttackProtection(opts) {
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("auth0:index/getAttackProtection:getAttackProtection", {}, opts);
23
+ }
24
+ exports.getAttackProtection = getAttackProtection;
25
+ //# sourceMappingURL=getAttackProtection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAttackProtection.js","sourceRoot":"","sources":["../getAttackProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAE3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,44 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Use this data source to access information about the tenant's branding settings.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const myBranding = auth0.getBranding({});
13
+ * ```
14
+ */
15
+ export declare function getBranding(opts?: pulumi.InvokeOptions): Promise<GetBrandingResult>;
16
+ /**
17
+ * A collection of values returned by getBranding.
18
+ */
19
+ export interface GetBrandingResult {
20
+ /**
21
+ * Configuration settings for colors for branding.
22
+ */
23
+ readonly colors: outputs.GetBrandingColor[];
24
+ /**
25
+ * URL for the favicon.
26
+ */
27
+ readonly faviconUrl: string;
28
+ /**
29
+ * Configuration settings to customize the font.
30
+ */
31
+ readonly fonts: outputs.GetBrandingFont[];
32
+ /**
33
+ * The provider-assigned unique ID for this managed resource.
34
+ */
35
+ readonly id: string;
36
+ /**
37
+ * URL of logo for branding.
38
+ */
39
+ readonly logoUrl: string;
40
+ /**
41
+ * Configuration settings for Universal Login.
42
+ */
43
+ readonly universalLogins: outputs.GetBrandingUniversalLogin[];
44
+ }
package/getBranding.js ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getBranding = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about the tenant's branding settings.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as auth0 from "@pulumi/auth0";
16
+ *
17
+ * const myBranding = auth0.getBranding({});
18
+ * ```
19
+ */
20
+ function getBranding(opts) {
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("auth0:index/getBranding:getBranding", {}, opts);
23
+ }
24
+ exports.getBranding = getBranding;
25
+ //# sourceMappingURL=getBranding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBranding.js","sourceRoot":"","sources":["../getBranding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IAEnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC"}
@@ -0,0 +1,33 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Use this data source to access information about the tenant's branding theme settings.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const myBrandingTheme = auth0.getBrandingTheme({});
13
+ * ```
14
+ */
15
+ export declare function getBrandingTheme(opts?: pulumi.InvokeOptions): Promise<GetBrandingThemeResult>;
16
+ /**
17
+ * A collection of values returned by getBrandingTheme.
18
+ */
19
+ export interface GetBrandingThemeResult {
20
+ readonly borders: outputs.GetBrandingThemeBorder[];
21
+ readonly colors: outputs.GetBrandingThemeColor[];
22
+ /**
23
+ * The display name for the branding theme.
24
+ */
25
+ readonly displayName: string;
26
+ readonly fonts: outputs.GetBrandingThemeFont[];
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ readonly pageBackgrounds: outputs.GetBrandingThemePageBackground[];
32
+ readonly widgets: outputs.GetBrandingThemeWidget[];
33
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getBrandingTheme = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about the tenant's branding theme settings.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as auth0 from "@pulumi/auth0";
16
+ *
17
+ * const myBrandingTheme = auth0.getBrandingTheme({});
18
+ * ```
19
+ */
20
+ function getBrandingTheme(opts) {
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("auth0:index/getBrandingTheme:getBrandingTheme", {}, opts);
23
+ }
24
+ exports.getBrandingTheme = getBrandingTheme;
25
+ //# sourceMappingURL=getBrandingTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBrandingTheme.js","sourceRoot":"","sources":["../getBrandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IAExD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
package/getClient.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
4
+ * Data source to retrieve a specific Auth0 application client by `clientId` or `name`.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -184,7 +184,7 @@ export interface GetClientResult {
184
184
  readonly webOrigins: string[];
185
185
  }
186
186
  /**
187
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
187
+ * Data source to retrieve a specific Auth0 application client by `clientId` or `name`.
188
188
  *
189
189
  * ## Example Usage
190
190
  *
package/getClient.js CHANGED
@@ -6,7 +6,7 @@ exports.getClientOutput = exports.getClient = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
9
+ * Data source to retrieve a specific Auth0 application client by `clientId` or `name`.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -32,7 +32,7 @@ function getClient(args, opts) {
32
32
  }
33
33
  exports.getClient = getClient;
34
34
  /**
35
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
35
+ * Data source to retrieve a specific Auth0 application client by `clientId` or `name`.
36
36
  *
37
37
  * ## Example Usage
38
38
  *
@@ -0,0 +1,115 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const some-connection-by-name = auth0.getConnection({
13
+ * name: "Acceptance-Test-Connection-{{.testName}}",
14
+ * });
15
+ * const some-connection-by-id = auth0.getConnection({
16
+ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getConnection(args?: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
21
+ /**
22
+ * A collection of arguments for invoking getConnection.
23
+ */
24
+ export interface GetConnectionArgs {
25
+ /**
26
+ * The ID of the connection. If not provided, `name` must be set.
27
+ */
28
+ connectionId?: string;
29
+ /**
30
+ * The name of the connection. If not provided, `connectionId` must be set.
31
+ */
32
+ name?: string;
33
+ }
34
+ /**
35
+ * A collection of values returned by getConnection.
36
+ */
37
+ export interface GetConnectionResult {
38
+ /**
39
+ * The ID of the connection. If not provided, `name` must be set.
40
+ */
41
+ readonly connectionId?: string;
42
+ /**
43
+ * Name used in login screen.
44
+ */
45
+ readonly displayName: string;
46
+ /**
47
+ * IDs of the clients for which the connection is enabled.
48
+ */
49
+ readonly enabledClients: string[];
50
+ /**
51
+ * The provider-assigned unique ID for this managed resource.
52
+ */
53
+ readonly id: string;
54
+ /**
55
+ * Indicates whether the connection is domain level.
56
+ */
57
+ readonly isDomainConnection: boolean;
58
+ /**
59
+ * Metadata associated with the connection, in the form of a map of string values (max 255 chars). Maximum of 10 metadata properties allowed.
60
+ */
61
+ readonly metadata: {
62
+ [key: string]: string;
63
+ };
64
+ /**
65
+ * The name of the connection. If not provided, `connectionId` must be set.
66
+ */
67
+ readonly name?: string;
68
+ /**
69
+ * Configuration settings for connection options.
70
+ */
71
+ readonly options: outputs.GetConnectionOption[];
72
+ /**
73
+ * Defines the realms for which the connection will be used (e.g., email domains). If not specified, the connection name is added as the realm.
74
+ */
75
+ readonly realms: string[];
76
+ /**
77
+ * Display connection as a button. Only available on enterprise connections.
78
+ */
79
+ readonly showAsButton: boolean;
80
+ /**
81
+ * Type of the connection, which indicates the identity provider.
82
+ */
83
+ readonly strategy: string;
84
+ }
85
+ /**
86
+ * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`.
87
+ *
88
+ * ## Example Usage
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as auth0 from "@pulumi/auth0";
93
+ *
94
+ * const some-connection-by-name = auth0.getConnection({
95
+ * name: "Acceptance-Test-Connection-{{.testName}}",
96
+ * });
97
+ * const some-connection-by-id = auth0.getConnection({
98
+ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
99
+ * });
100
+ * ```
101
+ */
102
+ export declare function getConnectionOutput(args?: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionResult>;
103
+ /**
104
+ * A collection of arguments for invoking getConnection.
105
+ */
106
+ export interface GetConnectionOutputArgs {
107
+ /**
108
+ * The ID of the connection. If not provided, `name` must be set.
109
+ */
110
+ connectionId?: pulumi.Input<string>;
111
+ /**
112
+ * The name of the connection. If not provided, `connectionId` must be set.
113
+ */
114
+ name?: pulumi.Input<string>;
115
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getConnectionOutput = exports.getConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as auth0 from "@pulumi/auth0";
16
+ *
17
+ * const some-connection-by-name = auth0.getConnection({
18
+ * name: "Acceptance-Test-Connection-{{.testName}}",
19
+ * });
20
+ * const some-connection-by-id = auth0.getConnection({
21
+ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
22
+ * });
23
+ * ```
24
+ */
25
+ function getConnection(args, opts) {
26
+ args = args || {};
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invoke("auth0:index/getConnection:getConnection", {
29
+ "connectionId": args.connectionId,
30
+ "name": args.name,
31
+ }, opts);
32
+ }
33
+ exports.getConnection = getConnection;
34
+ /**
35
+ * Data source to retrieve a specific Auth0 connection by `connectionId` or `name`.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as auth0 from "@pulumi/auth0";
42
+ *
43
+ * const some-connection-by-name = auth0.getConnection({
44
+ * name: "Acceptance-Test-Connection-{{.testName}}",
45
+ * });
46
+ * const some-connection-by-id = auth0.getConnection({
47
+ * connectionId: "con_abcdefghkijklmnopqrstuvwxyz0123456789",
48
+ * });
49
+ * ```
50
+ */
51
+ function getConnectionOutput(args, opts) {
52
+ return pulumi.output(args).apply((a) => getConnection(a, opts));
53
+ }
54
+ exports.getConnectionOutput = getConnectionOutput;
55
+ //# sourceMappingURL=getConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;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;;;;;;;;;;;;;;;;GAgBG;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,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * Retrieves a tenant's global Auth0 Application client.
4
+ * Retrieve a tenant's global Auth0 application client.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -6,7 +6,7 @@ exports.getGlobalClient = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Retrieves a tenant's global Auth0 Application client.
9
+ * Retrieve a tenant's global Auth0 application client.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -0,0 +1,96 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Data source to retrieve a specific Auth0 organization by `organizationId` or `name`.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const some-organization-by-name = auth0.getOrganization({
13
+ * name: "my-org",
14
+ * });
15
+ * const some-organization-by-id = auth0.getOrganization({
16
+ * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
21
+ /**
22
+ * A collection of arguments for invoking getOrganization.
23
+ */
24
+ export interface GetOrganizationArgs {
25
+ /**
26
+ * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible.
27
+ */
28
+ name?: string;
29
+ /**
30
+ * The ID of the organization. If not provided, `name` must be set.
31
+ */
32
+ organizationId?: string;
33
+ }
34
+ /**
35
+ * A collection of values returned by getOrganization.
36
+ */
37
+ export interface GetOrganizationResult {
38
+ /**
39
+ * Defines how to style the login pages.
40
+ */
41
+ readonly brandings: outputs.GetOrganizationBranding[];
42
+ readonly connections: outputs.GetOrganizationConnection[];
43
+ /**
44
+ * Friendly name of this organization.
45
+ */
46
+ readonly displayName: string;
47
+ /**
48
+ * The provider-assigned unique ID for this managed resource.
49
+ */
50
+ readonly id: string;
51
+ /**
52
+ * Metadata associated with the organization. Maximum of 10 metadata properties allowed.
53
+ */
54
+ readonly metadata: {
55
+ [key: string]: string;
56
+ };
57
+ /**
58
+ * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible.
59
+ */
60
+ readonly name?: string;
61
+ /**
62
+ * The ID of the organization. If not provided, `name` must be set.
63
+ */
64
+ readonly organizationId?: string;
65
+ }
66
+ /**
67
+ * Data source to retrieve a specific Auth0 organization by `organizationId` or `name`.
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as auth0 from "@pulumi/auth0";
74
+ *
75
+ * const some-organization-by-name = auth0.getOrganization({
76
+ * name: "my-org",
77
+ * });
78
+ * const some-organization-by-id = auth0.getOrganization({
79
+ * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789",
80
+ * });
81
+ * ```
82
+ */
83
+ export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
84
+ /**
85
+ * A collection of arguments for invoking getOrganization.
86
+ */
87
+ export interface GetOrganizationOutputArgs {
88
+ /**
89
+ * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible.
90
+ */
91
+ name?: pulumi.Input<string>;
92
+ /**
93
+ * The ID of the organization. If not provided, `name` must be set.
94
+ */
95
+ organizationId?: pulumi.Input<string>;
96
+ }