@pulumi/auth0 2.10.0 → 2.12.0-alpha.1660228844
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/action.d.ts +1 -1
- package/action.js +1 -1
- package/client.d.ts +3 -3
- package/connection.d.ts +0 -37
- package/connection.js +0 -37
- package/connection.js.map +1 -1
- package/emailTemplate.d.ts +13 -0
- package/emailTemplate.js +3 -0
- package/emailTemplate.js.map +1 -1
- package/guardian.d.ts +122 -5
- package/guardian.js +39 -2
- package/guardian.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +10 -0
- package/index.js.map +1 -1
- package/organization.d.ts +6 -0
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +112 -0
- package/organizationConnection.js +87 -0
- package/organizationConnection.js.map +1 -0
- package/organizationMember.d.ts +96 -0
- package/organizationMember.js +83 -0
- package/organizationMember.js.map +1 -0
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/prompt.d.ts +16 -6
- package/prompt.js +3 -0
- package/prompt.js.map +1 -1
- package/tenant.d.ts +16 -1
- package/tenant.js +6 -1
- package/tenant.js.map +1 -1
- package/types/input.d.ts +91 -0
- package/types/output.d.ts +106 -15
package/organization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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IAAI,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;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAjFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAmFC;AArEG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* With this resource, you can manage enabled connections on an organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
10
|
+
*
|
|
11
|
+
* const example = new auth0.OrganizationConnection("example", {
|
|
12
|
+
* assignMembershipOnLogin: true,
|
|
13
|
+
* connectionId: "con_XXXXXXXXXX",
|
|
14
|
+
* organizationId: "org_XXXXXXXXXX",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, organization_connection can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection example 11f4a21b-011a-312d-9217-e291caca36c4
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class OrganizationConnection extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing OrganizationConnection resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationConnectionState, opts?: pulumi.CustomResourceOptions): OrganizationConnection;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of OrganizationConnection. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is OrganizationConnection;
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
readonly assignMembershipOnLogin: pulumi.Output<boolean | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the connection to enable for the organization.
|
|
48
|
+
*/
|
|
49
|
+
readonly connectionId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the enabled connection.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the organization to enable the connection for.
|
|
56
|
+
*/
|
|
57
|
+
readonly organizationId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The strategy of the enabled connection.
|
|
60
|
+
*/
|
|
61
|
+
readonly strategy: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a OrganizationConnection resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: OrganizationConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering OrganizationConnection resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface OrganizationConnectionState {
|
|
75
|
+
/**
|
|
76
|
+
* 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.
|
|
77
|
+
*/
|
|
78
|
+
assignMembershipOnLogin?: pulumi.Input<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the connection to enable for the organization.
|
|
81
|
+
*/
|
|
82
|
+
connectionId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the enabled connection.
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the organization to enable the connection for.
|
|
89
|
+
*/
|
|
90
|
+
organizationId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The strategy of the enabled connection.
|
|
93
|
+
*/
|
|
94
|
+
strategy?: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a OrganizationConnection resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface OrganizationConnectionArgs {
|
|
100
|
+
/**
|
|
101
|
+
* 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.
|
|
102
|
+
*/
|
|
103
|
+
assignMembershipOnLogin?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the connection to enable for the organization.
|
|
106
|
+
*/
|
|
107
|
+
connectionId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of the organization to enable the connection for.
|
|
110
|
+
*/
|
|
111
|
+
organizationId: pulumi.Input<string>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.OrganizationConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* With this resource, you can manage enabled connections on an organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const example = new auth0.OrganizationConnection("example", {
|
|
18
|
+
* assignMembershipOnLogin: true,
|
|
19
|
+
* connectionId: "con_XXXXXXXXXX",
|
|
20
|
+
* organizationId: "org_XXXXXXXXXX",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, organization_connection can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection example 11f4a21b-011a-312d-9217-e291caca36c4
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class OrganizationConnection extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let resourceInputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
resourceInputs["assignMembershipOnLogin"] = state ? state.assignMembershipOnLogin : undefined;
|
|
39
|
+
resourceInputs["connectionId"] = state ? state.connectionId : undefined;
|
|
40
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
41
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
42
|
+
resourceInputs["strategy"] = state ? state.strategy : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.connectionId === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'connectionId'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.organizationId === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'organizationId'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["assignMembershipOnLogin"] = args ? args.assignMembershipOnLogin : undefined;
|
|
53
|
+
resourceInputs["connectionId"] = args ? args.connectionId : undefined;
|
|
54
|
+
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
55
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["strategy"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(OrganizationConnection.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing OrganizationConnection resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new OrganizationConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of OrganizationConnection. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === OrganizationConnection.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.OrganizationConnection = OrganizationConnection;
|
|
85
|
+
/** @internal */
|
|
86
|
+
OrganizationConnection.__pulumiType = 'auth0:index/organizationConnection:OrganizationConnection';
|
|
87
|
+
//# sourceMappingURL=organizationConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationConnection.js","sourceRoot":"","sources":["../organizationConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAyD7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,c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C,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDAoFC;AAtEG,gBAAgB;AACO,mCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource is used to manage the assignment of members and their roles within an organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
10
|
+
*
|
|
11
|
+
* const acmeAdmin = new auth0.OrganizationMember("acmeAdmin", {
|
|
12
|
+
* organizationId: auth0_organization.acme.id,
|
|
13
|
+
* userId: auth0_user.acme_user.id,
|
|
14
|
+
* roles: [auth0_role.admin.id],
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, organization_connection can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import auth0:index/organizationMember:OrganizationMember acme_admin 11f4a21b-011a-312d-9217-e291caca36c5
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class OrganizationMember extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing OrganizationMember resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationMemberState, opts?: pulumi.CustomResourceOptions): OrganizationMember;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of OrganizationMember. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is OrganizationMember;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the organization
|
|
44
|
+
*/
|
|
45
|
+
readonly organizationId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Set(string). List of role IDs to assign to member.
|
|
48
|
+
*/
|
|
49
|
+
readonly roles: pulumi.Output<string[] | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The user ID of the member
|
|
52
|
+
*/
|
|
53
|
+
readonly userId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a OrganizationMember resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: OrganizationMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering OrganizationMember resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface OrganizationMemberState {
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the organization
|
|
69
|
+
*/
|
|
70
|
+
organizationId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Set(string). List of role IDs to assign to member.
|
|
73
|
+
*/
|
|
74
|
+
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The user ID of the member
|
|
77
|
+
*/
|
|
78
|
+
userId?: pulumi.Input<string>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The set of arguments for constructing a OrganizationMember resource.
|
|
82
|
+
*/
|
|
83
|
+
export interface OrganizationMemberArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the organization
|
|
86
|
+
*/
|
|
87
|
+
organizationId: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Set(string). List of role IDs to assign to member.
|
|
90
|
+
*/
|
|
91
|
+
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
|
+
/**
|
|
93
|
+
* The user ID of the member
|
|
94
|
+
*/
|
|
95
|
+
userId: pulumi.Input<string>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.OrganizationMember = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource is used to manage the assignment of members and their roles within an organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const acmeAdmin = new auth0.OrganizationMember("acmeAdmin", {
|
|
18
|
+
* organizationId: auth0_organization.acme.id,
|
|
19
|
+
* userId: auth0_user.acme_user.id,
|
|
20
|
+
* roles: [auth0_role.admin.id],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, organization_connection can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import auth0:index/organizationMember:OrganizationMember acme_admin 11f4a21b-011a-312d-9217-e291caca36c5
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class OrganizationMember extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let resourceInputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
39
|
+
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
40
|
+
resourceInputs["userId"] = state ? state.userId : undefined;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const args = argsOrState;
|
|
44
|
+
if ((!args || args.organizationId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'organizationId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.userId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'userId'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
51
|
+
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
52
|
+
resourceInputs["userId"] = args ? args.userId : undefined;
|
|
53
|
+
}
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
55
|
+
super(OrganizationMember.__pulumiType, name, resourceInputs, opts);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing OrganizationMember resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name, id, state, opts) {
|
|
67
|
+
return new OrganizationMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of OrganizationMember. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === OrganizationMember.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.OrganizationMember = OrganizationMember;
|
|
81
|
+
/** @internal */
|
|
82
|
+
OrganizationMember.__pulumiType = 'auth0:index/organizationMember:OrganizationMember';
|
|
83
|
+
//# sourceMappingURL=organizationMember.js.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C,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,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;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAwEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,mDAAmD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.12.0-alpha.1660228844+7262f1d2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.12.0-alpha.1660228844+7262f1d2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "auth0"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/package.json.bak
CHANGED
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.12.0-alpha.1660228844+7262f1d2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.12.0-alpha.1660228844+7262f1d2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "auth0"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/prompt.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* const example = new auth0.Prompt("example", {
|
|
12
12
|
* identifierFirst: false,
|
|
13
13
|
* universalLoginExperience: "classic",
|
|
14
|
+
* webauthnPlatformFirstFactor: true,
|
|
14
15
|
* });
|
|
15
16
|
* ```
|
|
16
17
|
*
|
|
@@ -39,14 +40,17 @@ export declare class Prompt extends pulumi.CustomResource {
|
|
|
39
40
|
*/
|
|
40
41
|
static isInstance(obj: any): obj is Prompt;
|
|
41
42
|
/**
|
|
42
|
-
* Boolean. Indicates whether the identifier first is used when using the new universal
|
|
43
|
-
* login experience.
|
|
43
|
+
* Boolean. Indicates whether the identifier first is used when using the new universal login experience.
|
|
44
44
|
*/
|
|
45
45
|
readonly identifierFirst: pulumi.Output<boolean | undefined>;
|
|
46
46
|
/**
|
|
47
47
|
* Which login experience to use. Options include `classic` and `new`.
|
|
48
48
|
*/
|
|
49
49
|
readonly universalLoginExperience: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* Boolean. Determines if the login screen uses identifier and biometrics first.
|
|
52
|
+
*/
|
|
53
|
+
readonly webauthnPlatformFirstFactor: pulumi.Output<boolean | undefined>;
|
|
50
54
|
/**
|
|
51
55
|
* Create a Prompt resource with the given unique name, arguments, and options.
|
|
52
56
|
*
|
|
@@ -61,26 +65,32 @@ export declare class Prompt extends pulumi.CustomResource {
|
|
|
61
65
|
*/
|
|
62
66
|
export interface PromptState {
|
|
63
67
|
/**
|
|
64
|
-
* Boolean. Indicates whether the identifier first is used when using the new universal
|
|
65
|
-
* login experience.
|
|
68
|
+
* Boolean. Indicates whether the identifier first is used when using the new universal login experience.
|
|
66
69
|
*/
|
|
67
70
|
identifierFirst?: pulumi.Input<boolean>;
|
|
68
71
|
/**
|
|
69
72
|
* Which login experience to use. Options include `classic` and `new`.
|
|
70
73
|
*/
|
|
71
74
|
universalLoginExperience?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Boolean. Determines if the login screen uses identifier and biometrics first.
|
|
77
|
+
*/
|
|
78
|
+
webauthnPlatformFirstFactor?: pulumi.Input<boolean>;
|
|
72
79
|
}
|
|
73
80
|
/**
|
|
74
81
|
* The set of arguments for constructing a Prompt resource.
|
|
75
82
|
*/
|
|
76
83
|
export interface PromptArgs {
|
|
77
84
|
/**
|
|
78
|
-
* Boolean. Indicates whether the identifier first is used when using the new universal
|
|
79
|
-
* login experience.
|
|
85
|
+
* Boolean. Indicates whether the identifier first is used when using the new universal login experience.
|
|
80
86
|
*/
|
|
81
87
|
identifierFirst?: pulumi.Input<boolean>;
|
|
82
88
|
/**
|
|
83
89
|
* Which login experience to use. Options include `classic` and `new`.
|
|
84
90
|
*/
|
|
85
91
|
universalLoginExperience?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Boolean. Determines if the login screen uses identifier and biometrics first.
|
|
94
|
+
*/
|
|
95
|
+
webauthnPlatformFirstFactor?: pulumi.Input<boolean>;
|
|
86
96
|
}
|
package/prompt.js
CHANGED
|
@@ -17,6 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* const example = new auth0.Prompt("example", {
|
|
18
18
|
* identifierFirst: false,
|
|
19
19
|
* universalLoginExperience: "classic",
|
|
20
|
+
* webauthnPlatformFirstFactor: true,
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
22
23
|
*
|
|
@@ -36,11 +37,13 @@ class Prompt extends pulumi.CustomResource {
|
|
|
36
37
|
const state = argsOrState;
|
|
37
38
|
resourceInputs["identifierFirst"] = state ? state.identifierFirst : undefined;
|
|
38
39
|
resourceInputs["universalLoginExperience"] = state ? state.universalLoginExperience : undefined;
|
|
40
|
+
resourceInputs["webauthnPlatformFirstFactor"] = state ? state.webauthnPlatformFirstFactor : undefined;
|
|
39
41
|
}
|
|
40
42
|
else {
|
|
41
43
|
const args = argsOrState;
|
|
42
44
|
resourceInputs["identifierFirst"] = args ? args.identifierFirst : undefined;
|
|
43
45
|
resourceInputs["universalLoginExperience"] = args ? args.universalLoginExperience : undefined;
|
|
46
|
+
resourceInputs["webauthnPlatformFirstFactor"] = args ? args.webauthnPlatformFirstFactor : undefined;
|
|
44
47
|
}
|
|
45
48
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
46
49
|
super(Prompt.__pulumiType, name, resourceInputs, opts);
|
package/prompt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../prompt.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../prompt.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAiD7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;SACzG;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;SACvG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAkEC;AApDG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
package/tenant.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as auth0 from "@pulumi/auth0";
|
|
18
|
-
* import * from "fs";
|
|
18
|
+
* import * as fs from "fs";
|
|
19
19
|
*
|
|
20
20
|
* const tenant = new auth0.Tenant("tenant", {
|
|
21
21
|
* changePassword: {
|
|
@@ -40,6 +40,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
40
40
|
* allowedLogoutUrls: ["http://mysite/logout"],
|
|
41
41
|
* sessionLifetime: 46000,
|
|
42
42
|
* sandboxVersion: "8",
|
|
43
|
+
* sessionCookie: {
|
|
44
|
+
* mode: "non-persistent",
|
|
45
|
+
* },
|
|
43
46
|
* });
|
|
44
47
|
* ```
|
|
45
48
|
*
|
|
@@ -119,6 +122,10 @@ export declare class Tenant extends pulumi.CustomResource {
|
|
|
119
122
|
* String. Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
|
|
120
123
|
*/
|
|
121
124
|
readonly sandboxVersion: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* List(Resource). Alters behavior of tenant's session cookie. Contains a single `mode` property that accepts two values: `"persistent"` or `"non-persistent"`.
|
|
127
|
+
*/
|
|
128
|
+
readonly sessionCookie: pulumi.Output<outputs.TenantSessionCookie>;
|
|
122
129
|
/**
|
|
123
130
|
* Integer. Number of hours during which a session will stay valid.
|
|
124
131
|
*/
|
|
@@ -200,6 +207,10 @@ export interface TenantState {
|
|
|
200
207
|
* String. Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
|
|
201
208
|
*/
|
|
202
209
|
sandboxVersion?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* List(Resource). Alters behavior of tenant's session cookie. Contains a single `mode` property that accepts two values: `"persistent"` or `"non-persistent"`.
|
|
212
|
+
*/
|
|
213
|
+
sessionCookie?: pulumi.Input<inputs.TenantSessionCookie>;
|
|
203
214
|
/**
|
|
204
215
|
* Integer. Number of hours during which a session will stay valid.
|
|
205
216
|
*/
|
|
@@ -273,6 +284,10 @@ export interface TenantArgs {
|
|
|
273
284
|
* String. Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
|
|
274
285
|
*/
|
|
275
286
|
sandboxVersion?: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* List(Resource). Alters behavior of tenant's session cookie. Contains a single `mode` property that accepts two values: `"persistent"` or `"non-persistent"`.
|
|
289
|
+
*/
|
|
290
|
+
sessionCookie?: pulumi.Input<inputs.TenantSessionCookie>;
|
|
276
291
|
/**
|
|
277
292
|
* Integer. Number of hours during which a session will stay valid.
|
|
278
293
|
*/
|
package/tenant.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* ```typescript
|
|
21
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
22
|
* import * as auth0 from "@pulumi/auth0";
|
|
23
|
-
* import * from "fs";
|
|
23
|
+
* import * as fs from "fs";
|
|
24
24
|
*
|
|
25
25
|
* const tenant = new auth0.Tenant("tenant", {
|
|
26
26
|
* changePassword: {
|
|
@@ -45,6 +45,9 @@ const utilities = require("./utilities");
|
|
|
45
45
|
* allowedLogoutUrls: ["http://mysite/logout"],
|
|
46
46
|
* sessionLifetime: 46000,
|
|
47
47
|
* sandboxVersion: "8",
|
|
48
|
+
* sessionCookie: {
|
|
49
|
+
* mode: "non-persistent",
|
|
50
|
+
* },
|
|
48
51
|
* });
|
|
49
52
|
* ```
|
|
50
53
|
*
|
|
@@ -75,6 +78,7 @@ class Tenant extends pulumi.CustomResource {
|
|
|
75
78
|
resourceInputs["idleSessionLifetime"] = state ? state.idleSessionLifetime : undefined;
|
|
76
79
|
resourceInputs["pictureUrl"] = state ? state.pictureUrl : undefined;
|
|
77
80
|
resourceInputs["sandboxVersion"] = state ? state.sandboxVersion : undefined;
|
|
81
|
+
resourceInputs["sessionCookie"] = state ? state.sessionCookie : undefined;
|
|
78
82
|
resourceInputs["sessionLifetime"] = state ? state.sessionLifetime : undefined;
|
|
79
83
|
resourceInputs["supportEmail"] = state ? state.supportEmail : undefined;
|
|
80
84
|
resourceInputs["supportUrl"] = state ? state.supportUrl : undefined;
|
|
@@ -95,6 +99,7 @@ class Tenant extends pulumi.CustomResource {
|
|
|
95
99
|
resourceInputs["idleSessionLifetime"] = args ? args.idleSessionLifetime : undefined;
|
|
96
100
|
resourceInputs["pictureUrl"] = args ? args.pictureUrl : undefined;
|
|
97
101
|
resourceInputs["sandboxVersion"] = args ? args.sandboxVersion : undefined;
|
|
102
|
+
resourceInputs["sessionCookie"] = args ? args.sessionCookie : undefined;
|
|
98
103
|
resourceInputs["sessionLifetime"] = args ? args.sessionLifetime : undefined;
|
|
99
104
|
resourceInputs["supportEmail"] = args ? args.supportEmail : undefined;
|
|
100
105
|
resourceInputs["supportUrl"] = args ? args.supportUrl : undefined;
|