@pulumi/auth0 3.51.0-alpha.1786940924 → 3.51.0

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 (74) hide show
  1. package/clientCredentials.d.ts +12 -0
  2. package/clientCredentials.d.ts.map +1 -1
  3. package/clientCredentials.js +2 -0
  4. package/clientCredentials.js.map +1 -1
  5. package/connectionDirectory.d.ts +3 -3
  6. package/connectionDirectorySynchronizedGroups.d.ts +39 -15
  7. package/connectionDirectorySynchronizedGroups.d.ts.map +1 -1
  8. package/connectionDirectorySynchronizedGroups.js +13 -10
  9. package/connectionDirectorySynchronizedGroups.js.map +1 -1
  10. package/getClientGrantOrganizations.d.ts +68 -0
  11. package/getClientGrantOrganizations.d.ts.map +1 -0
  12. package/getClientGrantOrganizations.js +73 -0
  13. package/getClientGrantOrganizations.js.map +1 -0
  14. package/getConnectionDirectory.d.ts +1 -1
  15. package/getConnectionDirectorySynchronizedGroups.d.ts +23 -10
  16. package/getConnectionDirectorySynchronizedGroups.d.ts.map +1 -1
  17. package/getConnectionDirectorySynchronizedGroups.js +4 -6
  18. package/getConnectionDirectorySynchronizedGroups.js.map +1 -1
  19. package/getOrganization.d.ts +4 -0
  20. package/getOrganization.d.ts.map +1 -1
  21. package/getOrganization.js.map +1 -1
  22. package/getOrganizationClient.d.ts +105 -0
  23. package/getOrganizationClient.d.ts.map +1 -0
  24. package/getOrganizationClient.js +77 -0
  25. package/getOrganizationClient.js.map +1 -0
  26. package/getOrganizationClients.d.ts +68 -0
  27. package/getOrganizationClients.d.ts.map +1 -0
  28. package/getOrganizationClients.js +73 -0
  29. package/getOrganizationClients.js.map +1 -0
  30. package/getOrganizationRoleGroups.d.ts +84 -0
  31. package/getOrganizationRoleGroups.d.ts.map +1 -0
  32. package/getOrganizationRoleGroups.js +79 -0
  33. package/getOrganizationRoleGroups.js.map +1 -0
  34. package/getOrganizationRoleMembers.d.ts +84 -0
  35. package/getOrganizationRoleMembers.d.ts.map +1 -0
  36. package/getOrganizationRoleMembers.js +79 -0
  37. package/getOrganizationRoleMembers.js.map +1 -0
  38. package/getOrganizations.d.ts +76 -0
  39. package/getOrganizations.d.ts.map +1 -0
  40. package/getOrganizations.js +83 -0
  41. package/getOrganizations.js.map +1 -0
  42. package/getRole.d.ts +40 -0
  43. package/getRole.d.ts.map +1 -1
  44. package/getRole.js +20 -0
  45. package/getRole.js.map +1 -1
  46. package/getUserOrganizations.d.ts +68 -0
  47. package/getUserOrganizations.d.ts.map +1 -0
  48. package/getUserOrganizations.js +73 -0
  49. package/getUserOrganizations.js.map +1 -0
  50. package/index.d.ts +27 -0
  51. package/index.d.ts.map +1 -1
  52. package/index.js +35 -4
  53. package/index.js.map +1 -1
  54. package/organization.d.ts +12 -0
  55. package/organization.d.ts.map +1 -1
  56. package/organization.js +2 -0
  57. package/organization.js.map +1 -1
  58. package/organizationClient.d.ts +157 -0
  59. package/organizationClient.d.ts.map +1 -0
  60. package/organizationClient.js +130 -0
  61. package/organizationClient.js.map +1 -0
  62. package/organizationClients.d.ts +105 -0
  63. package/organizationClients.d.ts.map +1 -0
  64. package/organizationClients.js +122 -0
  65. package/organizationClients.js.map +1 -0
  66. package/package.json +2 -2
  67. package/role.d.ts +36 -0
  68. package/role.d.ts.map +1 -1
  69. package/role.js +16 -0
  70. package/role.js.map +1 -1
  71. package/types/input.d.ts +95 -1
  72. package/types/input.d.ts.map +1 -1
  73. package/types/output.d.ts +415 -3
  74. package/types/output.d.ts.map +1 -1
@@ -0,0 +1,105 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data source to retrieve a specific client (application) association for an organization, by `organizationId` and `clientId` (EA only).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as auth0 from "@pulumi/auth0";
10
+ *
11
+ * const myOrgClient = auth0.getOrganizationClient({
12
+ * organizationId: "org_XXXXX",
13
+ * clientId: "clientXXXXX",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getOrganizationClient(args: GetOrganizationClientArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationClientResult>;
18
+ /**
19
+ * A collection of arguments for invoking getOrganizationClient.
20
+ */
21
+ export interface GetOrganizationClientArgs {
22
+ /**
23
+ * The ID of the client (application) to associate with the organization.
24
+ */
25
+ clientId: string;
26
+ /**
27
+ * The ID of the organization to associate the client (application) with.
28
+ */
29
+ organizationId: string;
30
+ }
31
+ /**
32
+ * A collection of values returned by getOrganizationClient.
33
+ */
34
+ export interface GetOrganizationClientResult {
35
+ /**
36
+ * The type of the associated client application.
37
+ */
38
+ readonly appType: string;
39
+ /**
40
+ * The ID of the client (application) to associate with the organization.
41
+ */
42
+ readonly clientId: string;
43
+ /**
44
+ * The grant types enabled for the associated client.
45
+ */
46
+ readonly grantTypes: string[];
47
+ /**
48
+ * The provider-assigned unique ID for this managed resource.
49
+ */
50
+ readonly id: string;
51
+ /**
52
+ * Whether the associated client is a first-party client (`true`) or not (`false`).
53
+ */
54
+ readonly isFirstParty: boolean;
55
+ /**
56
+ * The URI of the associated client's logo.
57
+ */
58
+ readonly logoUri: string;
59
+ /**
60
+ * The name of the associated client.
61
+ */
62
+ readonly name: string;
63
+ /**
64
+ * The ID of the organization to associate the client (application) with.
65
+ */
66
+ readonly organizationId: string;
67
+ /**
68
+ * How the associated client handles organizations during authentication. Available values are `deny`, `allow` or `require`. This is a read-only reflection of the client's own `organizationUsage` setting and is managed on the `auth0.Client` resource, not here.
69
+ */
70
+ readonly organizationUsage: string;
71
+ /**
72
+ * Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly.
73
+ */
74
+ readonly useForMemberAccess: boolean;
75
+ }
76
+ /**
77
+ * Data source to retrieve a specific client (application) association for an organization, by `organizationId` and `clientId` (EA only).
78
+ *
79
+ * ## Example Usage
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as auth0 from "@pulumi/auth0";
84
+ *
85
+ * const myOrgClient = auth0.getOrganizationClient({
86
+ * organizationId: "org_XXXXX",
87
+ * clientId: "clientXXXXX",
88
+ * });
89
+ * ```
90
+ */
91
+ export declare function getOrganizationClientOutput(args: GetOrganizationClientOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationClientResult>;
92
+ /**
93
+ * A collection of arguments for invoking getOrganizationClient.
94
+ */
95
+ export interface GetOrganizationClientOutputArgs {
96
+ /**
97
+ * The ID of the client (application) to associate with the organization.
98
+ */
99
+ clientId: pulumi.Input<string>;
100
+ /**
101
+ * The ID of the organization to associate the client (application) with.
102
+ */
103
+ organizationId: pulumi.Input<string>;
104
+ }
105
+ //# sourceMappingURL=getOrganizationClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationClient.d.ts","sourceRoot":"","sources":["../getOrganizationClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAMxI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;CACxC;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAMhK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getOrganizationClientOutput = exports.getOrganizationClient = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Data source to retrieve a specific client (application) association for an organization, by `organizationId` and `clientId` (EA only).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as auth0 from "@pulumi/auth0";
39
+ *
40
+ * const myOrgClient = auth0.getOrganizationClient({
41
+ * organizationId: "org_XXXXX",
42
+ * clientId: "clientXXXXX",
43
+ * });
44
+ * ```
45
+ */
46
+ function getOrganizationClient(args, opts) {
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invoke("auth0:index/getOrganizationClient:getOrganizationClient", {
49
+ "clientId": args.clientId,
50
+ "organizationId": args.organizationId,
51
+ }, opts);
52
+ }
53
+ exports.getOrganizationClient = getOrganizationClient;
54
+ /**
55
+ * Data source to retrieve a specific client (application) association for an organization, by `organizationId` and `clientId` (EA only).
56
+ *
57
+ * ## Example Usage
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as auth0 from "@pulumi/auth0";
62
+ *
63
+ * const myOrgClient = auth0.getOrganizationClient({
64
+ * organizationId: "org_XXXXX",
65
+ * clientId: "clientXXXXX",
66
+ * });
67
+ * ```
68
+ */
69
+ function getOrganizationClientOutput(args, opts) {
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
71
+ return pulumi.runtime.invokeOutput("auth0:index/getOrganizationClient:getOrganizationClient", {
72
+ "clientId": args.clientId,
73
+ "organizationId": args.organizationId,
74
+ }, opts);
75
+ }
76
+ exports.getOrganizationClientOutput = getOrganizationClientOutput;
77
+ //# sourceMappingURL=getOrganizationClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationClient.js","sourceRoot":"","sources":["../getOrganizationClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA6DD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yDAAyD,EAAE;QAC1F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Data source to retrieve all client (application) associations for a specific organization (EA only).
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * const myOrgClients = auth0.getOrganizationClients({
13
+ * organizationId: "org_XXXXX",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getOrganizationClients(args: GetOrganizationClientsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationClientsResult>;
18
+ /**
19
+ * A collection of arguments for invoking getOrganizationClients.
20
+ */
21
+ export interface GetOrganizationClientsArgs {
22
+ /**
23
+ * The ID of the organization to retrieve the client associations for.
24
+ */
25
+ organizationId: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getOrganizationClients.
29
+ */
30
+ export interface GetOrganizationClientsResult {
31
+ /**
32
+ * The list of clients (applications) associated with the organization.
33
+ */
34
+ readonly clients: outputs.GetOrganizationClientsClient[];
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ /**
40
+ * The ID of the organization to retrieve the client associations for.
41
+ */
42
+ readonly organizationId: string;
43
+ }
44
+ /**
45
+ * Data source to retrieve all client (application) associations for a specific organization (EA only).
46
+ *
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as auth0 from "@pulumi/auth0";
52
+ *
53
+ * const myOrgClients = auth0.getOrganizationClients({
54
+ * organizationId: "org_XXXXX",
55
+ * });
56
+ * ```
57
+ */
58
+ export declare function getOrganizationClientsOutput(args: GetOrganizationClientsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationClientsResult>;
59
+ /**
60
+ * A collection of arguments for invoking getOrganizationClients.
61
+ */
62
+ export interface GetOrganizationClientsOutputArgs {
63
+ /**
64
+ * The ID of the organization to retrieve the client associations for.
65
+ */
66
+ organizationId: pulumi.Input<string>;
67
+ }
68
+ //# sourceMappingURL=getOrganizationClients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationClients.d.ts","sourceRoot":"","sources":["../getOrganizationClients.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAK3I;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,4BAA4B,EAAE,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAKnK;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getOrganizationClientsOutput = exports.getOrganizationClients = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Data source to retrieve all client (application) associations for a specific organization (EA only).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as auth0 from "@pulumi/auth0";
39
+ *
40
+ * const myOrgClients = auth0.getOrganizationClients({
41
+ * organizationId: "org_XXXXX",
42
+ * });
43
+ * ```
44
+ */
45
+ function getOrganizationClients(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invoke("auth0:index/getOrganizationClients:getOrganizationClients", {
48
+ "organizationId": args.organizationId,
49
+ }, opts);
50
+ }
51
+ exports.getOrganizationClients = getOrganizationClients;
52
+ /**
53
+ * Data source to retrieve all client (application) associations for a specific organization (EA only).
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as auth0 from "@pulumi/auth0";
60
+ *
61
+ * const myOrgClients = auth0.getOrganizationClients({
62
+ * organizationId: "org_XXXXX",
63
+ * });
64
+ * ```
65
+ */
66
+ function getOrganizationClientsOutput(args, opts) {
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invokeOutput("auth0:index/getOrganizationClients:getOrganizationClients", {
69
+ "organizationId": args.organizationId,
70
+ }, opts);
71
+ }
72
+ exports.getOrganizationClientsOutput = getOrganizationClientsOutput;
73
+ //# sourceMappingURL=getOrganizationClients.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationClients.js","sourceRoot":"","sources":["../getOrganizationClients.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2DAA2D,EAAE;QAC5F,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oEAKC"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only)
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * // The groups assigned to an organization-level role.
13
+ * const myRoleGroups = auth0.getOrganizationRoleGroups({
14
+ * organizationId: "org_abcdefghkijklmn",
15
+ * roleId: "rol_abcdefghkijklmn",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getOrganizationRoleGroups(args: GetOrganizationRoleGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRoleGroupsResult>;
20
+ /**
21
+ * A collection of arguments for invoking getOrganizationRoleGroups.
22
+ */
23
+ export interface GetOrganizationRoleGroupsArgs {
24
+ /**
25
+ * The ID of the organization.
26
+ */
27
+ organizationId: string;
28
+ /**
29
+ * The ID of the role to retrieve the assigned groups for.
30
+ */
31
+ roleId: string;
32
+ }
33
+ /**
34
+ * A collection of values returned by getOrganizationRoleGroups.
35
+ */
36
+ export interface GetOrganizationRoleGroupsResult {
37
+ /**
38
+ * The groups assigned to the role.
39
+ */
40
+ readonly groups: outputs.GetOrganizationRoleGroupsGroup[];
41
+ /**
42
+ * The provider-assigned unique ID for this managed resource.
43
+ */
44
+ readonly id: string;
45
+ /**
46
+ * The ID of the organization.
47
+ */
48
+ readonly organizationId: string;
49
+ /**
50
+ * The ID of the role to retrieve the assigned groups for.
51
+ */
52
+ readonly roleId: string;
53
+ }
54
+ /**
55
+ * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only)
56
+ *
57
+ * ## Example Usage
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as auth0 from "@pulumi/auth0";
62
+ *
63
+ * // The groups assigned to an organization-level role.
64
+ * const myRoleGroups = auth0.getOrganizationRoleGroups({
65
+ * organizationId: "org_abcdefghkijklmn",
66
+ * roleId: "rol_abcdefghkijklmn",
67
+ * });
68
+ * ```
69
+ */
70
+ export declare function getOrganizationRoleGroupsOutput(args: GetOrganizationRoleGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRoleGroupsResult>;
71
+ /**
72
+ * A collection of arguments for invoking getOrganizationRoleGroups.
73
+ */
74
+ export interface GetOrganizationRoleGroupsOutputArgs {
75
+ /**
76
+ * The ID of the organization.
77
+ */
78
+ organizationId: pulumi.Input<string>;
79
+ /**
80
+ * The ID of the role to retrieve the assigned groups for.
81
+ */
82
+ roleId: pulumi.Input<string>;
83
+ }
84
+ //# sourceMappingURL=getOrganizationRoleGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationRoleGroups.d.ts","sourceRoot":"","sources":["../getOrganizationRoleGroups.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAMpJ;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,8BAA8B,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAM5K;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getOrganizationRoleGroupsOutput = exports.getOrganizationRoleGroups = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only)
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as auth0 from "@pulumi/auth0";
39
+ *
40
+ * // The groups assigned to an organization-level role.
41
+ * const myRoleGroups = auth0.getOrganizationRoleGroups({
42
+ * organizationId: "org_abcdefghkijklmn",
43
+ * roleId: "rol_abcdefghkijklmn",
44
+ * });
45
+ * ```
46
+ */
47
+ function getOrganizationRoleGroups(args, opts) {
48
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
49
+ return pulumi.runtime.invoke("auth0:index/getOrganizationRoleGroups:getOrganizationRoleGroups", {
50
+ "organizationId": args.organizationId,
51
+ "roleId": args.roleId,
52
+ }, opts);
53
+ }
54
+ exports.getOrganizationRoleGroups = getOrganizationRoleGroups;
55
+ /**
56
+ * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only)
57
+ *
58
+ * ## Example Usage
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as auth0 from "@pulumi/auth0";
63
+ *
64
+ * // The groups assigned to an organization-level role.
65
+ * const myRoleGroups = auth0.getOrganizationRoleGroups({
66
+ * organizationId: "org_abcdefghkijklmn",
67
+ * roleId: "rol_abcdefghkijklmn",
68
+ * });
69
+ * ```
70
+ */
71
+ function getOrganizationRoleGroupsOutput(args, opts) {
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
73
+ return pulumi.runtime.invokeOutput("auth0:index/getOrganizationRoleGroups:getOrganizationRoleGroups", {
74
+ "organizationId": args.organizationId,
75
+ "roleId": args.roleId,
76
+ }, opts);
77
+ }
78
+ exports.getOrganizationRoleGroupsOutput = getOrganizationRoleGroupsOutput;
79
+ //# sourceMappingURL=getOrganizationRoleGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationRoleGroups.js","sourceRoot":"","sources":["../getOrganizationRoleGroups.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iEAAiE,EAAE;QAClG,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Data source to retrieve the organization members assigned a specific role within the context of an organization. Only members with a direct role assignment are returned; for the groups assigned to the role, use `auth0.getOrganizationRoleGroups`. (EA only)
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as auth0 from "@pulumi/auth0";
11
+ *
12
+ * // The organization members with a direct assignment of an organization-level role.
13
+ * const myRoleMembers = auth0.getOrganizationRoleMembers({
14
+ * organizationId: "org_abcdefghkijklmn",
15
+ * roleId: "rol_abcdefghkijklmn",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getOrganizationRoleMembers(args: GetOrganizationRoleMembersArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRoleMembersResult>;
20
+ /**
21
+ * A collection of arguments for invoking getOrganizationRoleMembers.
22
+ */
23
+ export interface GetOrganizationRoleMembersArgs {
24
+ /**
25
+ * The ID of the organization.
26
+ */
27
+ organizationId: string;
28
+ /**
29
+ * The ID of the role to retrieve the assigned members for.
30
+ */
31
+ roleId: string;
32
+ }
33
+ /**
34
+ * A collection of values returned by getOrganizationRoleMembers.
35
+ */
36
+ export interface GetOrganizationRoleMembersResult {
37
+ /**
38
+ * The provider-assigned unique ID for this managed resource.
39
+ */
40
+ readonly id: string;
41
+ /**
42
+ * The organization members assigned to the role.
43
+ */
44
+ readonly members: outputs.GetOrganizationRoleMembersMember[];
45
+ /**
46
+ * The ID of the organization.
47
+ */
48
+ readonly organizationId: string;
49
+ /**
50
+ * The ID of the role to retrieve the assigned members for.
51
+ */
52
+ readonly roleId: string;
53
+ }
54
+ /**
55
+ * Data source to retrieve the organization members assigned a specific role within the context of an organization. Only members with a direct role assignment are returned; for the groups assigned to the role, use `auth0.getOrganizationRoleGroups`. (EA only)
56
+ *
57
+ * ## Example Usage
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as auth0 from "@pulumi/auth0";
62
+ *
63
+ * // The organization members with a direct assignment of an organization-level role.
64
+ * const myRoleMembers = auth0.getOrganizationRoleMembers({
65
+ * organizationId: "org_abcdefghkijklmn",
66
+ * roleId: "rol_abcdefghkijklmn",
67
+ * });
68
+ * ```
69
+ */
70
+ export declare function getOrganizationRoleMembersOutput(args: GetOrganizationRoleMembersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRoleMembersResult>;
71
+ /**
72
+ * A collection of arguments for invoking getOrganizationRoleMembers.
73
+ */
74
+ export interface GetOrganizationRoleMembersOutputArgs {
75
+ /**
76
+ * The ID of the organization.
77
+ */
78
+ organizationId: pulumi.Input<string>;
79
+ /**
80
+ * The ID of the role to retrieve the assigned members for.
81
+ */
82
+ roleId: pulumi.Input<string>;
83
+ }
84
+ //# sourceMappingURL=getOrganizationRoleMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationRoleMembers.d.ts","sourceRoot":"","sources":["../getOrganizationRoleMembers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAMvJ;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,gCAAgC,EAAE,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAM/K;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}