@pulumi/okta 5.3.0-alpha.1759905974 → 6.0.0-alpha.1759958808

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 (99) hide show
  1. package/campaign.d.ts +179 -0
  2. package/campaign.js +87 -0
  3. package/campaign.js.map +1 -0
  4. package/endUserMyRequests.d.ts +77 -0
  5. package/endUserMyRequests.js +63 -0
  6. package/endUserMyRequests.js.map +1 -0
  7. package/entitlement.d.ts +155 -0
  8. package/entitlement.js +92 -0
  9. package/entitlement.js.map +1 -0
  10. package/entitlementBundle.d.ts +128 -0
  11. package/entitlementBundle.js +77 -0
  12. package/entitlementBundle.js.map +1 -0
  13. package/getCampaign.d.ts +91 -0
  14. package/getCampaign.js +68 -0
  15. package/getCampaign.js.map +1 -0
  16. package/getCatalogEntryDefault.d.ts +86 -0
  17. package/getCatalogEntryDefault.js +50 -0
  18. package/getCatalogEntryDefault.js.map +1 -0
  19. package/getCatalogEntryUserAccessRequestFields.d.ts +30 -0
  20. package/getCatalogEntryUserAccessRequestFields.js +26 -0
  21. package/getCatalogEntryUserAccessRequestFields.js.map +1 -0
  22. package/getEndUserMyRequests.d.ts +183 -0
  23. package/getEndUserMyRequests.js +134 -0
  24. package/getEndUserMyRequests.js.map +1 -0
  25. package/getEntitlement.d.ts +71 -0
  26. package/getEntitlement.js +54 -0
  27. package/getEntitlement.js.map +1 -0
  28. package/getEntitlementBundle.d.ts +116 -0
  29. package/getEntitlementBundle.js +54 -0
  30. package/getEntitlementBundle.js.map +1 -0
  31. package/getPrincipalEntitlements.d.ts +63 -0
  32. package/getPrincipalEntitlements.js +34 -0
  33. package/getPrincipalEntitlements.js.map +1 -0
  34. package/getPrincipalRateLimits.d.ts +91 -0
  35. package/getPrincipalRateLimits.js +50 -0
  36. package/getPrincipalRateLimits.js.map +1 -0
  37. package/getRateLimitAdminNotificationSettings.d.ts +40 -0
  38. package/getRateLimitAdminNotificationSettings.js +42 -0
  39. package/getRateLimitAdminNotificationSettings.js.map +1 -0
  40. package/getRateLimitWarningThresholdPercentage.d.ts +40 -0
  41. package/getRateLimitWarningThresholdPercentage.js +42 -0
  42. package/getRateLimitWarningThresholdPercentage.js.map +1 -0
  43. package/getRequestCondition.d.ts +108 -0
  44. package/getRequestCondition.js +58 -0
  45. package/getRequestCondition.js.map +1 -0
  46. package/getRequestSequence.d.ts +88 -0
  47. package/getRequestSequence.js +54 -0
  48. package/getRequestSequence.js.map +1 -0
  49. package/getRequestSettingOrganization.d.ts +51 -0
  50. package/getRequestSettingOrganization.js +48 -0
  51. package/getRequestSettingOrganization.js.map +1 -0
  52. package/getRequestSettingResource.d.ts +98 -0
  53. package/getRequestSettingResource.js +38 -0
  54. package/getRequestSettingResource.js.map +1 -0
  55. package/getRequestV2.d.ts +37 -0
  56. package/getRequestV2.js +28 -0
  57. package/getRequestV2.js.map +1 -0
  58. package/getReview.d.ts +154 -0
  59. package/getReview.js +84 -0
  60. package/getReview.js.map +1 -0
  61. package/index.d.ts +87 -0
  62. package/index.js +117 -3
  63. package/index.js.map +1 -1
  64. package/package.json +3 -3
  65. package/principalRateLimits.d.ts +124 -0
  66. package/principalRateLimits.js +71 -0
  67. package/principalRateLimits.js.map +1 -0
  68. package/rateLimitAdminNotificationSettings.d.ts +66 -0
  69. package/rateLimitAdminNotificationSettings.js +70 -0
  70. package/rateLimitAdminNotificationSettings.js.map +1 -0
  71. package/rateLimitWarningThresholdPercentage.d.ts +65 -0
  72. package/rateLimitWarningThresholdPercentage.js +69 -0
  73. package/rateLimitWarningThresholdPercentage.js.map +1 -0
  74. package/rateLimiting.d.ts +11 -43
  75. package/rateLimiting.js +6 -24
  76. package/rateLimiting.js.map +1 -1
  77. package/realm.d.ts +3 -3
  78. package/realm.js +0 -3
  79. package/realm.js.map +1 -1
  80. package/requestCondition.d.ts +165 -0
  81. package/requestCondition.js +88 -0
  82. package/requestCondition.js.map +1 -0
  83. package/requestSequence.d.ts +113 -0
  84. package/requestSequence.js +86 -0
  85. package/requestSequence.js.map +1 -0
  86. package/requestSettingOrganization.d.ts +69 -0
  87. package/requestSettingOrganization.js +63 -0
  88. package/requestSettingOrganization.js.map +1 -0
  89. package/requestSettingResource.d.ts +83 -0
  90. package/requestSettingResource.js +65 -0
  91. package/requestSettingResource.js.map +1 -0
  92. package/requestV2.d.ts +170 -0
  93. package/requestV2.js +77 -0
  94. package/requestV2.js.map +1 -0
  95. package/review.d.ts +172 -0
  96. package/review.js +109 -0
  97. package/review.js.map +1 -0
  98. package/types/input.d.ts +2156 -147
  99. package/types/output.d.ts +1263 -2
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/updateOrgRequestSettingsV2).
4
+ *
5
+ * ## Import
6
+ *
7
+ * ```sh
8
+ * $ pulumi import okta:index/requestSettingOrganization:RequestSettingOrganization example "default"
9
+ * ```
10
+ */
11
+ export declare class RequestSettingOrganization extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing RequestSettingOrganization resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RequestSettingOrganizationState, opts?: pulumi.CustomResourceOptions): RequestSettingOrganization;
22
+ /**
23
+ * Returns true if the given object is an instance of RequestSettingOrganization. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is RequestSettingOrganization;
27
+ /**
28
+ * Request condition id.
29
+ */
30
+ readonly idProperty: pulumi.Output<string>;
31
+ /**
32
+ * Whether a customer has acknowledged Access Requests subprocessors.
33
+ */
34
+ readonly subprocessorsAcknowledged: pulumi.Output<boolean>;
35
+ /**
36
+ * Create a RequestSettingOrganization resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: RequestSettingOrganizationArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering RequestSettingOrganization resources.
46
+ */
47
+ export interface RequestSettingOrganizationState {
48
+ /**
49
+ * Request condition id.
50
+ */
51
+ idProperty?: pulumi.Input<string>;
52
+ /**
53
+ * Whether a customer has acknowledged Access Requests subprocessors.
54
+ */
55
+ subprocessorsAcknowledged?: pulumi.Input<boolean>;
56
+ }
57
+ /**
58
+ * The set of arguments for constructing a RequestSettingOrganization resource.
59
+ */
60
+ export interface RequestSettingOrganizationArgs {
61
+ /**
62
+ * Request condition id.
63
+ */
64
+ idProperty: pulumi.Input<string>;
65
+ /**
66
+ * Whether a customer has acknowledged Access Requests subprocessors.
67
+ */
68
+ subprocessorsAcknowledged?: pulumi.Input<boolean>;
69
+ }
@@ -0,0 +1,63 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RequestSettingOrganization = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/updateOrgRequestSettingsV2).
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import okta:index/requestSettingOrganization:RequestSettingOrganization example "default"
15
+ * ```
16
+ */
17
+ class RequestSettingOrganization extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing RequestSettingOrganization resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new RequestSettingOrganization(name, state, { ...opts, id: id });
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of RequestSettingOrganization. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === RequestSettingOrganization.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["idProperty"] = state?.idProperty;
46
+ resourceInputs["subprocessorsAcknowledged"] = state?.subprocessorsAcknowledged;
47
+ }
48
+ else {
49
+ const args = argsOrState;
50
+ if (args?.idProperty === undefined && !opts.urn) {
51
+ throw new Error("Missing required property 'idProperty'");
52
+ }
53
+ resourceInputs["idProperty"] = args?.idProperty;
54
+ resourceInputs["subprocessorsAcknowledged"] = args?.subprocessorsAcknowledged;
55
+ }
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
57
+ super(RequestSettingOrganization.__pulumiType, name, resourceInputs, opts);
58
+ }
59
+ }
60
+ exports.RequestSettingOrganization = RequestSettingOrganization;
61
+ /** @internal */
62
+ RequestSettingOrganization.__pulumiType = 'okta:index/requestSettingOrganization:RequestSettingOrganization';
63
+ //# sourceMappingURL=requestSettingOrganization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requestSettingOrganization.js","sourceRoot":"","sources":["../requestSettingOrganization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA9DL,gEA+DC;AAjDG,gBAAgB;AACO,uCAAY,GAAG,kEAAkE,CAAC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/getRequestSettingsV2).
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import okta:index/requestSettingResource:RequestSettingResource example "<resource_id>"
11
+ * ```
12
+ */
13
+ export declare class RequestSettingResource extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing RequestSettingResource resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RequestSettingResourceState, opts?: pulumi.CustomResourceOptions): RequestSettingResource;
24
+ /**
25
+ * Returns true if the given object is an instance of RequestSettingResource. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is RequestSettingResource;
29
+ /**
30
+ * The id of the resource in Okta ID format.
31
+ */
32
+ readonly idProperty: pulumi.Output<string>;
33
+ /**
34
+ * Specifies if and for whom a requester may request the resource for.
35
+ */
36
+ readonly requestOnBehalfOfSettings: pulumi.Output<outputs.RequestSettingResourceRequestOnBehalfOfSettings | undefined>;
37
+ /**
38
+ * Risk settings for the resource.
39
+ */
40
+ readonly riskSettings: pulumi.Output<outputs.RequestSettingResourceRiskSettings | undefined>;
41
+ /**
42
+ * Create a RequestSettingResource resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: RequestSettingResourceArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * Input properties used for looking up and filtering RequestSettingResource resources.
52
+ */
53
+ export interface RequestSettingResourceState {
54
+ /**
55
+ * The id of the resource in Okta ID format.
56
+ */
57
+ idProperty?: pulumi.Input<string>;
58
+ /**
59
+ * Specifies if and for whom a requester may request the resource for.
60
+ */
61
+ requestOnBehalfOfSettings?: pulumi.Input<inputs.RequestSettingResourceRequestOnBehalfOfSettings>;
62
+ /**
63
+ * Risk settings for the resource.
64
+ */
65
+ riskSettings?: pulumi.Input<inputs.RequestSettingResourceRiskSettings>;
66
+ }
67
+ /**
68
+ * The set of arguments for constructing a RequestSettingResource resource.
69
+ */
70
+ export interface RequestSettingResourceArgs {
71
+ /**
72
+ * The id of the resource in Okta ID format.
73
+ */
74
+ idProperty: pulumi.Input<string>;
75
+ /**
76
+ * Specifies if and for whom a requester may request the resource for.
77
+ */
78
+ requestOnBehalfOfSettings?: pulumi.Input<inputs.RequestSettingResourceRequestOnBehalfOfSettings>;
79
+ /**
80
+ * Risk settings for the resource.
81
+ */
82
+ riskSettings?: pulumi.Input<inputs.RequestSettingResourceRiskSettings>;
83
+ }
@@ -0,0 +1,65 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RequestSettingResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/getRequestSettingsV2).
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import okta:index/requestSettingResource:RequestSettingResource example "<resource_id>"
15
+ * ```
16
+ */
17
+ class RequestSettingResource extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing RequestSettingResource resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new RequestSettingResource(name, state, { ...opts, id: id });
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of RequestSettingResource. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === RequestSettingResource.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["idProperty"] = state?.idProperty;
46
+ resourceInputs["requestOnBehalfOfSettings"] = state?.requestOnBehalfOfSettings;
47
+ resourceInputs["riskSettings"] = state?.riskSettings;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if (args?.idProperty === undefined && !opts.urn) {
52
+ throw new Error("Missing required property 'idProperty'");
53
+ }
54
+ resourceInputs["idProperty"] = args?.idProperty;
55
+ resourceInputs["requestOnBehalfOfSettings"] = args?.requestOnBehalfOfSettings;
56
+ resourceInputs["riskSettings"] = args?.riskSettings;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(RequestSettingResource.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.RequestSettingResource = RequestSettingResource;
63
+ /** @internal */
64
+ RequestSettingResource.__pulumiType = 'okta:index/requestSettingResource:RequestSettingResource';
65
+ //# sourceMappingURL=requestSettingResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requestSettingResource.js","sourceRoot":"","sources":["../requestSettingResource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAuBD,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,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,EAAE,yBAAyB,CAAC;YAC/E,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;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;;AApEL,wDAqEC;AAvDG,gBAAgB;AACO,mCAAY,GAAG,0DAA0D,CAAC"}
package/requestV2.d.ts ADDED
@@ -0,0 +1,170 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class RequestV2 extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing RequestV2 resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RequestV2State, opts?: pulumi.CustomResourceOptions): RequestV2;
15
+ /**
16
+ * Returns true if the given object is an instance of RequestV2. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is RequestV2;
20
+ /**
21
+ * How long the requester retains access after their request is approved and fulfilled.
22
+ */
23
+ readonly accessDuration: pulumi.Output<string>;
24
+ /**
25
+ * The ISO 8601 formatted date and time when the resource was created.
26
+ */
27
+ readonly created: pulumi.Output<string>;
28
+ /**
29
+ * The user who created the resource.
30
+ */
31
+ readonly createdBy: pulumi.Output<string>;
32
+ /**
33
+ * The status of the granted access request.
34
+ */
35
+ readonly grantStatus: pulumi.Output<string>;
36
+ /**
37
+ * The date the approved access was granted. Only set if request.status is APPROVED.
38
+ */
39
+ readonly granted: pulumi.Output<string>;
40
+ /**
41
+ * The ISO 8601 formatted date and time when the resource was last updated.
42
+ */
43
+ readonly lastUpdated: pulumi.Output<string>;
44
+ /**
45
+ * The user who last updated the resource.
46
+ */
47
+ readonly lastUpdatedBy: pulumi.Output<string>;
48
+ /**
49
+ * A representation of a resource that can be requested for access.
50
+ */
51
+ readonly requested: pulumi.Output<outputs.RequestV2Requested | undefined>;
52
+ /**
53
+ * A representation of a principal.
54
+ */
55
+ readonly requestedFor: pulumi.Output<outputs.RequestV2RequestedFor | undefined>;
56
+ /**
57
+ * The requester input fields required by the approval system.
58
+ */
59
+ readonly requesterFieldValues: pulumi.Output<outputs.RequestV2RequesterFieldValue[] | undefined>;
60
+ /**
61
+ * The date the request was resolved.
62
+ */
63
+ readonly resolved: pulumi.Output<string>;
64
+ /**
65
+ * The date the granted access is scheduled for revocation.
66
+ */
67
+ readonly revocationScheduled: pulumi.Output<string>;
68
+ /**
69
+ * The revocation status of the request.
70
+ */
71
+ readonly revocationStatus: pulumi.Output<string>;
72
+ /**
73
+ * The date the granted access was revoked.
74
+ */
75
+ readonly revoked: pulumi.Output<string>;
76
+ /**
77
+ * The status of the request.
78
+ */
79
+ readonly status: pulumi.Output<string>;
80
+ /**
81
+ * Create a RequestV2 resource with the given unique name, arguments, and options.
82
+ *
83
+ * @param name The _unique_ name of the resource.
84
+ * @param args The arguments to use to populate this resource's properties.
85
+ * @param opts A bag of options that control this resource's behavior.
86
+ */
87
+ constructor(name: string, args?: RequestV2Args, opts?: pulumi.CustomResourceOptions);
88
+ }
89
+ /**
90
+ * Input properties used for looking up and filtering RequestV2 resources.
91
+ */
92
+ export interface RequestV2State {
93
+ /**
94
+ * How long the requester retains access after their request is approved and fulfilled.
95
+ */
96
+ accessDuration?: pulumi.Input<string>;
97
+ /**
98
+ * The ISO 8601 formatted date and time when the resource was created.
99
+ */
100
+ created?: pulumi.Input<string>;
101
+ /**
102
+ * The user who created the resource.
103
+ */
104
+ createdBy?: pulumi.Input<string>;
105
+ /**
106
+ * The status of the granted access request.
107
+ */
108
+ grantStatus?: pulumi.Input<string>;
109
+ /**
110
+ * The date the approved access was granted. Only set if request.status is APPROVED.
111
+ */
112
+ granted?: pulumi.Input<string>;
113
+ /**
114
+ * The ISO 8601 formatted date and time when the resource was last updated.
115
+ */
116
+ lastUpdated?: pulumi.Input<string>;
117
+ /**
118
+ * The user who last updated the resource.
119
+ */
120
+ lastUpdatedBy?: pulumi.Input<string>;
121
+ /**
122
+ * A representation of a resource that can be requested for access.
123
+ */
124
+ requested?: pulumi.Input<inputs.RequestV2Requested>;
125
+ /**
126
+ * A representation of a principal.
127
+ */
128
+ requestedFor?: pulumi.Input<inputs.RequestV2RequestedFor>;
129
+ /**
130
+ * The requester input fields required by the approval system.
131
+ */
132
+ requesterFieldValues?: pulumi.Input<pulumi.Input<inputs.RequestV2RequesterFieldValue>[]>;
133
+ /**
134
+ * The date the request was resolved.
135
+ */
136
+ resolved?: pulumi.Input<string>;
137
+ /**
138
+ * The date the granted access is scheduled for revocation.
139
+ */
140
+ revocationScheduled?: pulumi.Input<string>;
141
+ /**
142
+ * The revocation status of the request.
143
+ */
144
+ revocationStatus?: pulumi.Input<string>;
145
+ /**
146
+ * The date the granted access was revoked.
147
+ */
148
+ revoked?: pulumi.Input<string>;
149
+ /**
150
+ * The status of the request.
151
+ */
152
+ status?: pulumi.Input<string>;
153
+ }
154
+ /**
155
+ * The set of arguments for constructing a RequestV2 resource.
156
+ */
157
+ export interface RequestV2Args {
158
+ /**
159
+ * A representation of a resource that can be requested for access.
160
+ */
161
+ requested?: pulumi.Input<inputs.RequestV2Requested>;
162
+ /**
163
+ * A representation of a principal.
164
+ */
165
+ requestedFor?: pulumi.Input<inputs.RequestV2RequestedFor>;
166
+ /**
167
+ * The requester input fields required by the approval system.
168
+ */
169
+ requesterFieldValues?: pulumi.Input<pulumi.Input<inputs.RequestV2RequesterFieldValue>[]>;
170
+ }
package/requestV2.js ADDED
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RequestV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class RequestV2 extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RequestV2 resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new RequestV2(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of RequestV2. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === RequestV2.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["accessDuration"] = state?.accessDuration;
37
+ resourceInputs["created"] = state?.created;
38
+ resourceInputs["createdBy"] = state?.createdBy;
39
+ resourceInputs["grantStatus"] = state?.grantStatus;
40
+ resourceInputs["granted"] = state?.granted;
41
+ resourceInputs["lastUpdated"] = state?.lastUpdated;
42
+ resourceInputs["lastUpdatedBy"] = state?.lastUpdatedBy;
43
+ resourceInputs["requested"] = state?.requested;
44
+ resourceInputs["requestedFor"] = state?.requestedFor;
45
+ resourceInputs["requesterFieldValues"] = state?.requesterFieldValues;
46
+ resourceInputs["resolved"] = state?.resolved;
47
+ resourceInputs["revocationScheduled"] = state?.revocationScheduled;
48
+ resourceInputs["revocationStatus"] = state?.revocationStatus;
49
+ resourceInputs["revoked"] = state?.revoked;
50
+ resourceInputs["status"] = state?.status;
51
+ }
52
+ else {
53
+ const args = argsOrState;
54
+ resourceInputs["requested"] = args?.requested;
55
+ resourceInputs["requestedFor"] = args?.requestedFor;
56
+ resourceInputs["requesterFieldValues"] = args?.requesterFieldValues;
57
+ resourceInputs["accessDuration"] = undefined /*out*/;
58
+ resourceInputs["created"] = undefined /*out*/;
59
+ resourceInputs["createdBy"] = undefined /*out*/;
60
+ resourceInputs["grantStatus"] = undefined /*out*/;
61
+ resourceInputs["granted"] = undefined /*out*/;
62
+ resourceInputs["lastUpdated"] = undefined /*out*/;
63
+ resourceInputs["lastUpdatedBy"] = undefined /*out*/;
64
+ resourceInputs["resolved"] = undefined /*out*/;
65
+ resourceInputs["revocationScheduled"] = undefined /*out*/;
66
+ resourceInputs["revocationStatus"] = undefined /*out*/;
67
+ resourceInputs["revoked"] = undefined /*out*/;
68
+ resourceInputs["status"] = undefined /*out*/;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ super(RequestV2.__pulumiType, name, resourceInputs, opts);
72
+ }
73
+ }
74
+ exports.RequestV2 = RequestV2;
75
+ /** @internal */
76
+ RequestV2.__pulumiType = 'okta:index/requestV2:RequestV2';
77
+ //# sourceMappingURL=requestV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requestV2.js","sourceRoot":"","sources":["../requestV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCA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