@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.
- package/clientCredentials.d.ts +12 -0
- package/clientCredentials.d.ts.map +1 -1
- package/clientCredentials.js +2 -0
- package/clientCredentials.js.map +1 -1
- package/connectionDirectory.d.ts +3 -3
- package/connectionDirectorySynchronizedGroups.d.ts +39 -15
- package/connectionDirectorySynchronizedGroups.d.ts.map +1 -1
- package/connectionDirectorySynchronizedGroups.js +13 -10
- package/connectionDirectorySynchronizedGroups.js.map +1 -1
- package/getClientGrantOrganizations.d.ts +68 -0
- package/getClientGrantOrganizations.d.ts.map +1 -0
- package/getClientGrantOrganizations.js +73 -0
- package/getClientGrantOrganizations.js.map +1 -0
- package/getConnectionDirectory.d.ts +1 -1
- package/getConnectionDirectorySynchronizedGroups.d.ts +23 -10
- package/getConnectionDirectorySynchronizedGroups.d.ts.map +1 -1
- package/getConnectionDirectorySynchronizedGroups.js +4 -6
- package/getConnectionDirectorySynchronizedGroups.js.map +1 -1
- package/getOrganization.d.ts +4 -0
- package/getOrganization.d.ts.map +1 -1
- package/getOrganization.js.map +1 -1
- package/getOrganizationClient.d.ts +105 -0
- package/getOrganizationClient.d.ts.map +1 -0
- package/getOrganizationClient.js +77 -0
- package/getOrganizationClient.js.map +1 -0
- package/getOrganizationClients.d.ts +68 -0
- package/getOrganizationClients.d.ts.map +1 -0
- package/getOrganizationClients.js +73 -0
- package/getOrganizationClients.js.map +1 -0
- package/getOrganizationRoleGroups.d.ts +84 -0
- package/getOrganizationRoleGroups.d.ts.map +1 -0
- package/getOrganizationRoleGroups.js +79 -0
- package/getOrganizationRoleGroups.js.map +1 -0
- package/getOrganizationRoleMembers.d.ts +84 -0
- package/getOrganizationRoleMembers.d.ts.map +1 -0
- package/getOrganizationRoleMembers.js +79 -0
- package/getOrganizationRoleMembers.js.map +1 -0
- package/getOrganizations.d.ts +76 -0
- package/getOrganizations.d.ts.map +1 -0
- package/getOrganizations.js +83 -0
- package/getOrganizations.js.map +1 -0
- package/getRole.d.ts +40 -0
- package/getRole.d.ts.map +1 -1
- package/getRole.js +20 -0
- package/getRole.js.map +1 -1
- package/getUserOrganizations.d.ts +68 -0
- package/getUserOrganizations.d.ts.map +1 -0
- package/getUserOrganizations.js +73 -0
- package/getUserOrganizations.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -1
- package/index.js +35 -4
- package/index.js.map +1 -1
- package/organization.d.ts +12 -0
- package/organization.d.ts.map +1 -1
- package/organization.js +2 -0
- package/organization.js.map +1 -1
- package/organizationClient.d.ts +157 -0
- package/organizationClient.d.ts.map +1 -0
- package/organizationClient.js +130 -0
- package/organizationClient.js.map +1 -0
- package/organizationClients.d.ts +105 -0
- package/organizationClients.d.ts.map +1 -0
- package/organizationClients.js +122 -0
- package/organizationClients.js.map +1 -0
- package/package.json +2 -2
- package/role.d.ts +36 -0
- package/role.d.ts.map +1 -1
- package/role.js +16 -0
- package/role.js.map +1 -1
- package/types/input.d.ts +95 -1
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +415 -3
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
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.OrganizationClient = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* With this resource, you can manage the association between an organization and an application (client), controlling that application's entitlement to the organization (EA only). This is distinct from `auth0.OrganizationClientGrant`, which associates an organization with a `clientGrant` (a client/audience/scopes triple used for client-credentials exchanges).
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
39
|
+
*
|
|
40
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
41
|
+
* name: "my-organization",
|
|
42
|
+
* displayName: "My Organization",
|
|
43
|
+
* });
|
|
44
|
+
* const myClient = new auth0.Client("my_client", {name: "My Application"});
|
|
45
|
+
* // Entitle the application to the organization (EA only). This is distinct
|
|
46
|
+
* // from `auth0_organization_client_grant`, which associates the organization
|
|
47
|
+
* // with a client_grant instead of an application.
|
|
48
|
+
* const myOrgClient = new auth0.OrganizationClient("my_org_client", {
|
|
49
|
+
* organizationId: myOrganization.id,
|
|
50
|
+
* clientId: myClient.id,
|
|
51
|
+
* useForMemberAccess: true,
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* ## Import
|
|
56
|
+
*
|
|
57
|
+
* This resource can be imported by specifying the
|
|
58
|
+
* organization ID and client ID separated by "::" (note the double colon)
|
|
59
|
+
* <organizationID>::<clientID>
|
|
60
|
+
*
|
|
61
|
+
* Example:
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import auth0:index/organizationClient:OrganizationClient my_org_client "org_XXXXX::clientXXXXX"
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
class OrganizationClient extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing OrganizationClient resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new OrganizationClient(name, state, { ...opts, id: id });
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
static __pulumiType = 'auth0:index/organizationClient:OrganizationClient';
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of OrganizationClient. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === OrganizationClient.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["appType"] = state?.appType;
|
|
98
|
+
resourceInputs["clientId"] = state?.clientId;
|
|
99
|
+
resourceInputs["grantTypes"] = state?.grantTypes;
|
|
100
|
+
resourceInputs["isFirstParty"] = state?.isFirstParty;
|
|
101
|
+
resourceInputs["logoUri"] = state?.logoUri;
|
|
102
|
+
resourceInputs["name"] = state?.name;
|
|
103
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
104
|
+
resourceInputs["organizationUsage"] = state?.organizationUsage;
|
|
105
|
+
resourceInputs["useForMemberAccess"] = state?.useForMemberAccess;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
const args = argsOrState;
|
|
109
|
+
if (args?.clientId === undefined && !opts.urn) {
|
|
110
|
+
throw new Error("Missing required property 'clientId'");
|
|
111
|
+
}
|
|
112
|
+
if (args?.organizationId === undefined && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'organizationId'");
|
|
114
|
+
}
|
|
115
|
+
resourceInputs["clientId"] = args?.clientId;
|
|
116
|
+
resourceInputs["organizationId"] = args?.organizationId;
|
|
117
|
+
resourceInputs["useForMemberAccess"] = args?.useForMemberAccess;
|
|
118
|
+
resourceInputs["appType"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["grantTypes"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["isFirstParty"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["logoUri"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["organizationUsage"] = undefined /*out*/;
|
|
124
|
+
}
|
|
125
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
126
|
+
super(OrganizationClient.__pulumiType, name, resourceInputs, opts);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.OrganizationClient = OrganizationClient;
|
|
130
|
+
//# sourceMappingURL=organizationClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationClient.js","sourceRoot":"","sources":["../organizationClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mDAAmD,CAAC;IAE1F;;;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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,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AAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA3GL,gDA4GC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* With this resource, you can manage all of the client (application) associations of an organization, controlling those applications' entitlement to the organization (EA only). This resource is authoritative: it manages the full set of associations, so it must not be used together with the `auth0.OrganizationClient` resource on the same organization. An organization accepts up to 100 associated clients.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
*
|
|
13
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
14
|
+
* name: "my-organization",
|
|
15
|
+
* displayName: "My Organization",
|
|
16
|
+
* });
|
|
17
|
+
* const myClient = new auth0.Client("my_client", {name: "My Application"});
|
|
18
|
+
* const myOtherClient = new auth0.Client("my_other_client", {name: "My Other Application"});
|
|
19
|
+
* // Entitle both applications to the organization in one authoritative resource (EA only).
|
|
20
|
+
* // Use this instead of auth0_organization_client when you want Terraform to own the full
|
|
21
|
+
* // set of associations; do not use both resources on the same organization.
|
|
22
|
+
* const myOrgClients = new auth0.OrganizationClients("my_org_clients", {
|
|
23
|
+
* organizationId: myOrganization.id,
|
|
24
|
+
* clients: [
|
|
25
|
+
* {
|
|
26
|
+
* clientId: myClient.id,
|
|
27
|
+
* useForMemberAccess: true,
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* clientId: myOtherClient.id,
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* This resource can be imported by specifying the organization ID.
|
|
39
|
+
*
|
|
40
|
+
* Example:
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import auth0:index/organizationClients:OrganizationClients my_org_clients "org_XXXXX"
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class OrganizationClients extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing OrganizationClients resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationClientsState, opts?: pulumi.CustomResourceOptions): OrganizationClients;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of OrganizationClients. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is OrganizationClients;
|
|
62
|
+
/**
|
|
63
|
+
* The clients (applications) associated with the organization.
|
|
64
|
+
*/
|
|
65
|
+
readonly clients: pulumi.Output<outputs.OrganizationClientsClient[]>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the organization to associate the clients (applications) with.
|
|
68
|
+
*/
|
|
69
|
+
readonly organizationId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a OrganizationClients resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: OrganizationClientsArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering OrganizationClients resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface OrganizationClientsState {
|
|
83
|
+
/**
|
|
84
|
+
* The clients (applications) associated with the organization.
|
|
85
|
+
*/
|
|
86
|
+
clients?: pulumi.Input<pulumi.Input<inputs.OrganizationClientsClient>[] | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the organization to associate the clients (applications) with.
|
|
89
|
+
*/
|
|
90
|
+
organizationId?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a OrganizationClients resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface OrganizationClientsArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The clients (applications) associated with the organization.
|
|
98
|
+
*/
|
|
99
|
+
clients: pulumi.Input<pulumi.Input<inputs.OrganizationClientsClient>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the organization to associate the clients (applications) with.
|
|
102
|
+
*/
|
|
103
|
+
organizationId: pulumi.Input<string>;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=organizationClients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationClients.d.ts","sourceRoot":"","sources":["../organizationClients.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB/F;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAC;IACxE;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.OrganizationClients = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* With this resource, you can manage all of the client (application) associations of an organization, controlling those applications' entitlement to the organization (EA only). This resource is authoritative: it manages the full set of associations, so it must not be used together with the `auth0.OrganizationClient` resource on the same organization. An organization accepts up to 100 associated clients.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
39
|
+
*
|
|
40
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
41
|
+
* name: "my-organization",
|
|
42
|
+
* displayName: "My Organization",
|
|
43
|
+
* });
|
|
44
|
+
* const myClient = new auth0.Client("my_client", {name: "My Application"});
|
|
45
|
+
* const myOtherClient = new auth0.Client("my_other_client", {name: "My Other Application"});
|
|
46
|
+
* // Entitle both applications to the organization in one authoritative resource (EA only).
|
|
47
|
+
* // Use this instead of auth0_organization_client when you want Terraform to own the full
|
|
48
|
+
* // set of associations; do not use both resources on the same organization.
|
|
49
|
+
* const myOrgClients = new auth0.OrganizationClients("my_org_clients", {
|
|
50
|
+
* organizationId: myOrganization.id,
|
|
51
|
+
* clients: [
|
|
52
|
+
* {
|
|
53
|
+
* clientId: myClient.id,
|
|
54
|
+
* useForMemberAccess: true,
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
57
|
+
* clientId: myOtherClient.id,
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* This resource can be imported by specifying the organization ID.
|
|
66
|
+
*
|
|
67
|
+
* Example:
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import auth0:index/organizationClients:OrganizationClients my_org_clients "org_XXXXX"
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
class OrganizationClients extends pulumi.CustomResource {
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing OrganizationClients resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new OrganizationClients(name, state, { ...opts, id: id });
|
|
85
|
+
}
|
|
86
|
+
/** @internal */
|
|
87
|
+
static __pulumiType = 'auth0:index/organizationClients:OrganizationClients';
|
|
88
|
+
/**
|
|
89
|
+
* Returns true if the given object is an instance of OrganizationClients. This is designed to work even
|
|
90
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
91
|
+
*/
|
|
92
|
+
static isInstance(obj) {
|
|
93
|
+
if (obj === undefined || obj === null) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
return obj['__pulumiType'] === OrganizationClients.__pulumiType;
|
|
97
|
+
}
|
|
98
|
+
constructor(name, argsOrState, opts) {
|
|
99
|
+
let resourceInputs = {};
|
|
100
|
+
opts = opts || {};
|
|
101
|
+
if (opts.id) {
|
|
102
|
+
const state = argsOrState;
|
|
103
|
+
resourceInputs["clients"] = state?.clients;
|
|
104
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const args = argsOrState;
|
|
108
|
+
if (args?.clients === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'clients'");
|
|
110
|
+
}
|
|
111
|
+
if (args?.organizationId === undefined && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'organizationId'");
|
|
113
|
+
}
|
|
114
|
+
resourceInputs["clients"] = args?.clients;
|
|
115
|
+
resourceInputs["organizationId"] = args?.organizationId;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
super(OrganizationClients.__pulumiType, name, resourceInputs, opts);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.OrganizationClients = OrganizationClients;
|
|
122
|
+
//# sourceMappingURL=organizationClients.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationClients.js","sourceRoot":"","sources":["../organizationClients.ts"],"names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AI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,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;;AAjEL,kDAkEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "3.51.0
|
|
3
|
+
"version": "3.51.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "auth0",
|
|
26
|
-
"version": "3.51.0
|
|
26
|
+
"version": "3.51.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/role.d.ts
CHANGED
|
@@ -12,6 +12,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "My Role - (Managed by Terraform)",
|
|
13
13
|
* description: "Role Description...",
|
|
14
14
|
* });
|
|
15
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
16
|
+
* name: "my-organization",
|
|
17
|
+
* displayName: "My Organization",
|
|
18
|
+
* });
|
|
19
|
+
* // A role scoped to a single organization. Changing type or owner_id afterwards
|
|
20
|
+
* // replaces the role, as neither can be updated. (EA only)
|
|
21
|
+
* const myOrganizationRole = new auth0.Role("my_organization_role", {
|
|
22
|
+
* name: "My Organization Role - (Managed by Terraform)",
|
|
23
|
+
* description: "Organization Role Description...",
|
|
24
|
+
* type: "organization",
|
|
25
|
+
* ownerId: myOrganization.id,
|
|
26
|
+
* });
|
|
15
27
|
* ```
|
|
16
28
|
*
|
|
17
29
|
* ## Import
|
|
@@ -48,6 +60,14 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
48
60
|
* The name of the role.
|
|
49
61
|
*/
|
|
50
62
|
readonly name: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of the organization owning the role. Only applicable when `type` is `organization`, and required in that case. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
65
|
+
*/
|
|
66
|
+
readonly ownerId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The type of the role. Defaults to `tenant`, for a role available across the whole tenant. Set to `organization` to scope the role to a single organization, in which case `ownerId` must also be set. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
69
|
+
*/
|
|
70
|
+
readonly type: pulumi.Output<string>;
|
|
51
71
|
/**
|
|
52
72
|
* Create a Role resource with the given unique name, arguments, and options.
|
|
53
73
|
*
|
|
@@ -69,6 +89,14 @@ export interface RoleState {
|
|
|
69
89
|
* The name of the role.
|
|
70
90
|
*/
|
|
71
91
|
name?: pulumi.Input<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the organization owning the role. Only applicable when `type` is `organization`, and required in that case. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
94
|
+
*/
|
|
95
|
+
ownerId?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* The type of the role. Defaults to `tenant`, for a role available across the whole tenant. Set to `organization` to scope the role to a single organization, in which case `ownerId` must also be set. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
98
|
+
*/
|
|
99
|
+
type?: pulumi.Input<string | undefined>;
|
|
72
100
|
}
|
|
73
101
|
/**
|
|
74
102
|
* The set of arguments for constructing a Role resource.
|
|
@@ -82,5 +110,13 @@ export interface RoleArgs {
|
|
|
82
110
|
* The name of the role.
|
|
83
111
|
*/
|
|
84
112
|
name?: pulumi.Input<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the organization owning the role. Only applicable when `type` is `organization`, and required in that case. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
115
|
+
*/
|
|
116
|
+
ownerId?: pulumi.Input<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* The type of the role. Defaults to `tenant`, for a role available across the whole tenant. Set to `organization` to scope the role to a single organization, in which case `ownerId` must also be set. The Management API only accepts this field on creation, so changing it forces a new role to be created. (EA only)
|
|
119
|
+
*/
|
|
120
|
+
type?: pulumi.Input<string | undefined>;
|
|
85
121
|
}
|
|
86
122
|
//# sourceMappingURL=role.d.ts.map
|
package/role.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAO1H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,S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CAC3C"}
|
package/role.js
CHANGED
|
@@ -41,6 +41,18 @@ const utilities = __importStar(require("./utilities"));
|
|
|
41
41
|
* name: "My Role - (Managed by Terraform)",
|
|
42
42
|
* description: "Role Description...",
|
|
43
43
|
* });
|
|
44
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
45
|
+
* name: "my-organization",
|
|
46
|
+
* displayName: "My Organization",
|
|
47
|
+
* });
|
|
48
|
+
* // A role scoped to a single organization. Changing type or owner_id afterwards
|
|
49
|
+
* // replaces the role, as neither can be updated. (EA only)
|
|
50
|
+
* const myOrganizationRole = new auth0.Role("my_organization_role", {
|
|
51
|
+
* name: "My Organization Role - (Managed by Terraform)",
|
|
52
|
+
* description: "Organization Role Description...",
|
|
53
|
+
* type: "organization",
|
|
54
|
+
* ownerId: myOrganization.id,
|
|
55
|
+
* });
|
|
44
56
|
* ```
|
|
45
57
|
*
|
|
46
58
|
* ## Import
|
|
@@ -85,11 +97,15 @@ class Role extends pulumi.CustomResource {
|
|
|
85
97
|
const state = argsOrState;
|
|
86
98
|
resourceInputs["description"] = state?.description;
|
|
87
99
|
resourceInputs["name"] = state?.name;
|
|
100
|
+
resourceInputs["ownerId"] = state?.ownerId;
|
|
101
|
+
resourceInputs["type"] = state?.type;
|
|
88
102
|
}
|
|
89
103
|
else {
|
|
90
104
|
const args = argsOrState;
|
|
91
105
|
resourceInputs["description"] = (args?.description) ?? "Managed by Pulumi";
|
|
92
106
|
resourceInputs["name"] = args?.name;
|
|
107
|
+
resourceInputs["ownerId"] = args?.ownerId;
|
|
108
|
+
resourceInputs["type"] = args?.type;
|
|
93
109
|
}
|
|
94
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
111
|
super(Role.__pulumiType, name, resourceInputs, opts);
|
package/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAi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AC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,mBAAmB,CAAC;YAC3E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;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;;AAvEL,oBAwEC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1475,6 +1475,72 @@ export interface ClientCredentialsTlsClientAuthCredential {
|
|
|
1475
1475
|
*/
|
|
1476
1476
|
updatedAt?: pulumi.Input<string | undefined>;
|
|
1477
1477
|
}
|
|
1478
|
+
export interface ClientCredentialsTokenVaultPrivilegedAccess {
|
|
1479
|
+
/**
|
|
1480
|
+
* Credentials the privileged worker may authenticate with. A maximum of 2 client credentials can be set.
|
|
1481
|
+
*/
|
|
1482
|
+
credentials: pulumi.Input<pulumi.Input<inputs.ClientCredentialsTokenVaultPrivilegedAccessCredential>[]>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Pins the connections, and the scopes within them, that the privileged worker may request tokens for. A maximum of 5 grants can be set, with a maximum of 20 scopes in total across all of them. Omit every `grants` block to clear the grants already configured.
|
|
1485
|
+
*/
|
|
1486
|
+
grants?: pulumi.Input<pulumi.Input<inputs.ClientCredentialsTokenVaultPrivilegedAccessGrant>[] | undefined>;
|
|
1487
|
+
/**
|
|
1488
|
+
* Permitted IPv4 or IPv6 addresses, or CIDR ranges, from which the privileged worker may request tokens. A maximum of 10 entries can be set. Set to `[]` to clear the entries already configured.
|
|
1489
|
+
*/
|
|
1490
|
+
ipAllowlists: pulumi.Input<pulumi.Input<string>[]>;
|
|
1491
|
+
}
|
|
1492
|
+
export interface ClientCredentialsTokenVaultPrivilegedAccessCredential {
|
|
1493
|
+
/**
|
|
1494
|
+
* Algorithm which will be used with the credential. Can be one of `RS256`, `RS384`, `PS256`. If not specified, `RS256` will be used.
|
|
1495
|
+
*/
|
|
1496
|
+
algorithm?: pulumi.Input<string | undefined>;
|
|
1497
|
+
/**
|
|
1498
|
+
* The ISO 8601 formatted date the credential was created.
|
|
1499
|
+
*/
|
|
1500
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
1501
|
+
/**
|
|
1502
|
+
* Credential type. Supported types: `publicKey`.
|
|
1503
|
+
*/
|
|
1504
|
+
credentialType: pulumi.Input<string>;
|
|
1505
|
+
/**
|
|
1506
|
+
* The ISO 8601 formatted date representing the expiration of the credential. It is not possible to set this to never expire after it has been set. Recreate the certificate if needed.
|
|
1507
|
+
*/
|
|
1508
|
+
expiresAt?: pulumi.Input<string | undefined>;
|
|
1509
|
+
/**
|
|
1510
|
+
* The ID of the client credential.
|
|
1511
|
+
*/
|
|
1512
|
+
id?: pulumi.Input<string | undefined>;
|
|
1513
|
+
/**
|
|
1514
|
+
* The key identifier of the credential, generated on creation.
|
|
1515
|
+
*/
|
|
1516
|
+
keyId?: pulumi.Input<string | undefined>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Friendly name for a credential.
|
|
1519
|
+
*/
|
|
1520
|
+
name?: pulumi.Input<string | undefined>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. If also the `expiresAt` is set the credential expiry will be set to the explicit `expiresAt` value.
|
|
1523
|
+
*/
|
|
1524
|
+
parseExpiryFromCert?: pulumi.Input<boolean | undefined>;
|
|
1525
|
+
/**
|
|
1526
|
+
* PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
|
|
1527
|
+
*/
|
|
1528
|
+
pem: pulumi.Input<string>;
|
|
1529
|
+
/**
|
|
1530
|
+
* The ISO 8601 formatted date the credential was updated.
|
|
1531
|
+
*/
|
|
1532
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
1533
|
+
}
|
|
1534
|
+
export interface ClientCredentialsTokenVaultPrivilegedAccessGrant {
|
|
1535
|
+
/**
|
|
1536
|
+
* Name of the connection the grant applies to. The connection does not need to exist when the grant is configured; it is validated at runtime.
|
|
1537
|
+
*/
|
|
1538
|
+
connection: pulumi.Input<string>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Scopes the privileged worker may request on the connection.
|
|
1541
|
+
*/
|
|
1542
|
+
scopes: pulumi.Input<pulumi.Input<string>[]>;
|
|
1543
|
+
}
|
|
1478
1544
|
export interface ClientDefaultOrganization {
|
|
1479
1545
|
/**
|
|
1480
1546
|
* If set, the `defaultOrganization` will be removed.
|
|
@@ -1787,6 +1853,24 @@ export interface ConnectionDirectoryMapping {
|
|
|
1787
1853
|
*/
|
|
1788
1854
|
idp: pulumi.Input<string>;
|
|
1789
1855
|
}
|
|
1856
|
+
export interface ConnectionDirectorySynchronizedGroupsGroup {
|
|
1857
|
+
/**
|
|
1858
|
+
* Number of direct members in the Google Workspace Directory group.
|
|
1859
|
+
*/
|
|
1860
|
+
directMembersCount?: pulumi.Input<number | undefined>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Google Workspace Directory group email.
|
|
1863
|
+
*/
|
|
1864
|
+
email?: pulumi.Input<string | undefined>;
|
|
1865
|
+
/**
|
|
1866
|
+
* Google Workspace Directory group ID.
|
|
1867
|
+
*/
|
|
1868
|
+
id: pulumi.Input<string>;
|
|
1869
|
+
/**
|
|
1870
|
+
* Google Workspace Directory group name.
|
|
1871
|
+
*/
|
|
1872
|
+
name?: pulumi.Input<string | undefined>;
|
|
1873
|
+
}
|
|
1790
1874
|
export interface ConnectionOptions {
|
|
1791
1875
|
/**
|
|
1792
1876
|
* URL used to exchange a user-authorized request token for an access token.
|
|
@@ -2249,7 +2333,7 @@ export interface ConnectionOptions {
|
|
|
2249
2333
|
*/
|
|
2250
2334
|
useKerberos?: pulumi.Input<boolean | undefined>;
|
|
2251
2335
|
/**
|
|
2252
|
-
*
|
|
2336
|
+
* Enabling this when using the connectionScope parameter, uses space as a delimiter for scopes when calling the IdP's API.
|
|
2253
2337
|
*/
|
|
2254
2338
|
useOauthSpecScope?: pulumi.Input<boolean | undefined>;
|
|
2255
2339
|
/**
|
|
@@ -3708,6 +3792,16 @@ export interface OrganizationBranding {
|
|
|
3708
3792
|
*/
|
|
3709
3793
|
logoUrl?: pulumi.Input<string | undefined>;
|
|
3710
3794
|
}
|
|
3795
|
+
export interface OrganizationClientsClient {
|
|
3796
|
+
/**
|
|
3797
|
+
* The ID of the client (application) to associate with the organization.
|
|
3798
|
+
*/
|
|
3799
|
+
clientId: pulumi.Input<string>;
|
|
3800
|
+
/**
|
|
3801
|
+
* Whether this client is used for member access to the organization.
|
|
3802
|
+
*/
|
|
3803
|
+
useForMemberAccess?: pulumi.Input<boolean | undefined>;
|
|
3804
|
+
}
|
|
3711
3805
|
export interface OrganizationConnectionsEnabledConnection {
|
|
3712
3806
|
/**
|
|
3713
3807
|
* When `true`, all users that log in with this connection will be automatically granted membership in the organization. When `false`, users must be granted membership in the organization before logging in with this connection.
|