@pulumi/okta 5.3.0-alpha.1759533647 → 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,183 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system.
6
+ *
7
+ * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata.
8
+ *
9
+ * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * // Get a request by its catalog entry ID and request ID
18
+ * const example = okta.getEndUserMyRequests({
19
+ * entryId: "cen123456789abcdefgh",
20
+ * id: "reqABCDEFG0123456789",
21
+ * });
22
+ * export const requestStatus = example.then(example => example.status);
23
+ * export const requestFieldValues = example.then(example => example.requesterFieldValues);
24
+ * ```
25
+ *
26
+ * ## Field Type Reference
27
+ *
28
+ * ### Field Types and Values
29
+ *
30
+ * - **TEXT**: Contains free-form text input in the `value` attribute
31
+ * - **SELECT**: Contains single selection value in the `value` attribute
32
+ * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list)
33
+ * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks")
34
+ * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute
35
+ * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute
36
+ *
37
+ * ### Usage Notes
38
+ *
39
+ * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list
40
+ * - For all other field types, the value will be in the `value` attribute as a string
41
+ * - The `label` and `type` attributes provide metadata about the field structure
42
+ * - Field definitions and requirements are determined by the approval system configuration
43
+ *
44
+ * ## Limitations and Considerations
45
+ *
46
+ * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests.
47
+ *
48
+ * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration.
49
+ *
50
+ * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow.
51
+ *
52
+ * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance.
53
+ */
54
+ export declare function getEndUserMyRequests(args: GetEndUserMyRequestsArgs, opts?: pulumi.InvokeOptions): Promise<GetEndUserMyRequestsResult>;
55
+ /**
56
+ * A collection of arguments for invoking getEndUserMyRequests.
57
+ */
58
+ export interface GetEndUserMyRequestsArgs {
59
+ /**
60
+ * The ID of the catalog entry for which the request was made.
61
+ */
62
+ entryId: string;
63
+ /**
64
+ * The ID of the request to retrieve.
65
+ */
66
+ id: string;
67
+ requested?: inputs.GetEndUserMyRequestsRequested;
68
+ requestedBy?: inputs.GetEndUserMyRequestsRequestedBy;
69
+ requestedFor?: inputs.GetEndUserMyRequestsRequestedFor;
70
+ /**
71
+ * The requester input fields and their values from the request.
72
+ */
73
+ requesterFieldValues?: inputs.GetEndUserMyRequestsRequesterFieldValue[];
74
+ riskAssessment?: inputs.GetEndUserMyRequestsRiskAssessment;
75
+ }
76
+ /**
77
+ * A collection of values returned by getEndUserMyRequests.
78
+ */
79
+ export interface GetEndUserMyRequestsResult {
80
+ readonly accessDuration: string;
81
+ readonly created: string;
82
+ readonly createdBy: string;
83
+ /**
84
+ * The ID of the catalog entry for which the request was made.
85
+ */
86
+ readonly entryId: string;
87
+ readonly grantStatus: string;
88
+ readonly granted: string;
89
+ /**
90
+ * The ID of the request to retrieve.
91
+ */
92
+ readonly id: string;
93
+ readonly lastUpdated: string;
94
+ readonly lastUpdatedBy: string;
95
+ readonly requested?: outputs.GetEndUserMyRequestsRequested;
96
+ readonly requestedBy?: outputs.GetEndUserMyRequestsRequestedBy;
97
+ readonly requestedFor?: outputs.GetEndUserMyRequestsRequestedFor;
98
+ /**
99
+ * The requester input fields and their values from the request.
100
+ */
101
+ readonly requesterFieldValues?: outputs.GetEndUserMyRequestsRequesterFieldValue[];
102
+ readonly resolved: string;
103
+ readonly revocationScheduled: string;
104
+ readonly revocationStatus: string;
105
+ readonly revoked: string;
106
+ readonly riskAssessment?: outputs.GetEndUserMyRequestsRiskAssessment;
107
+ /**
108
+ * The current status of the request. Possible values include: `APPROVED`, `CANCELED`, `DENIED`, `EXPIRED`, `PENDING`, `REJECTED`, `SUBMITTED`
109
+ */
110
+ readonly status: string;
111
+ }
112
+ /**
113
+ * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system.
114
+ *
115
+ * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata.
116
+ *
117
+ * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration.
118
+ *
119
+ * ## Example Usage
120
+ *
121
+ * ```typescript
122
+ * import * as pulumi from "@pulumi/pulumi";
123
+ * import * as okta from "@pulumi/okta";
124
+ *
125
+ * // Get a request by its catalog entry ID and request ID
126
+ * const example = okta.getEndUserMyRequests({
127
+ * entryId: "cen123456789abcdefgh",
128
+ * id: "reqABCDEFG0123456789",
129
+ * });
130
+ * export const requestStatus = example.then(example => example.status);
131
+ * export const requestFieldValues = example.then(example => example.requesterFieldValues);
132
+ * ```
133
+ *
134
+ * ## Field Type Reference
135
+ *
136
+ * ### Field Types and Values
137
+ *
138
+ * - **TEXT**: Contains free-form text input in the `value` attribute
139
+ * - **SELECT**: Contains single selection value in the `value` attribute
140
+ * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list)
141
+ * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks")
142
+ * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute
143
+ * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute
144
+ *
145
+ * ### Usage Notes
146
+ *
147
+ * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list
148
+ * - For all other field types, the value will be in the `value` attribute as a string
149
+ * - The `label` and `type` attributes provide metadata about the field structure
150
+ * - Field definitions and requirements are determined by the approval system configuration
151
+ *
152
+ * ## Limitations and Considerations
153
+ *
154
+ * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests.
155
+ *
156
+ * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration.
157
+ *
158
+ * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow.
159
+ *
160
+ * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance.
161
+ */
162
+ export declare function getEndUserMyRequestsOutput(args: GetEndUserMyRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndUserMyRequestsResult>;
163
+ /**
164
+ * A collection of arguments for invoking getEndUserMyRequests.
165
+ */
166
+ export interface GetEndUserMyRequestsOutputArgs {
167
+ /**
168
+ * The ID of the catalog entry for which the request was made.
169
+ */
170
+ entryId: pulumi.Input<string>;
171
+ /**
172
+ * The ID of the request to retrieve.
173
+ */
174
+ id: pulumi.Input<string>;
175
+ requested?: pulumi.Input<inputs.GetEndUserMyRequestsRequestedArgs>;
176
+ requestedBy?: pulumi.Input<inputs.GetEndUserMyRequestsRequestedByArgs>;
177
+ requestedFor?: pulumi.Input<inputs.GetEndUserMyRequestsRequestedForArgs>;
178
+ /**
179
+ * The requester input fields and their values from the request.
180
+ */
181
+ requesterFieldValues?: pulumi.Input<pulumi.Input<inputs.GetEndUserMyRequestsRequesterFieldValueArgs>[]>;
182
+ riskAssessment?: pulumi.Input<inputs.GetEndUserMyRequestsRiskAssessmentArgs>;
183
+ }
@@ -0,0 +1,134 @@
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.getEndUserMyRequestsOutput = exports.getEndUserMyRequests = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system.
10
+ *
11
+ * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata.
12
+ *
13
+ * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as okta from "@pulumi/okta";
20
+ *
21
+ * // Get a request by its catalog entry ID and request ID
22
+ * const example = okta.getEndUserMyRequests({
23
+ * entryId: "cen123456789abcdefgh",
24
+ * id: "reqABCDEFG0123456789",
25
+ * });
26
+ * export const requestStatus = example.then(example => example.status);
27
+ * export const requestFieldValues = example.then(example => example.requesterFieldValues);
28
+ * ```
29
+ *
30
+ * ## Field Type Reference
31
+ *
32
+ * ### Field Types and Values
33
+ *
34
+ * - **TEXT**: Contains free-form text input in the `value` attribute
35
+ * - **SELECT**: Contains single selection value in the `value` attribute
36
+ * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list)
37
+ * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks")
38
+ * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute
39
+ * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute
40
+ *
41
+ * ### Usage Notes
42
+ *
43
+ * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list
44
+ * - For all other field types, the value will be in the `value` attribute as a string
45
+ * - The `label` and `type` attributes provide metadata about the field structure
46
+ * - Field definitions and requirements are determined by the approval system configuration
47
+ *
48
+ * ## Limitations and Considerations
49
+ *
50
+ * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests.
51
+ *
52
+ * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration.
53
+ *
54
+ * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow.
55
+ *
56
+ * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance.
57
+ */
58
+ function getEndUserMyRequests(args, opts) {
59
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
60
+ return pulumi.runtime.invoke("okta:index/getEndUserMyRequests:getEndUserMyRequests", {
61
+ "entryId": args.entryId,
62
+ "id": args.id,
63
+ "requested": args.requested,
64
+ "requestedBy": args.requestedBy,
65
+ "requestedFor": args.requestedFor,
66
+ "requesterFieldValues": args.requesterFieldValues,
67
+ "riskAssessment": args.riskAssessment,
68
+ }, opts);
69
+ }
70
+ exports.getEndUserMyRequests = getEndUserMyRequests;
71
+ /**
72
+ * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system.
73
+ *
74
+ * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata.
75
+ *
76
+ * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration.
77
+ *
78
+ * ## Example Usage
79
+ *
80
+ * ```typescript
81
+ * import * as pulumi from "@pulumi/pulumi";
82
+ * import * as okta from "@pulumi/okta";
83
+ *
84
+ * // Get a request by its catalog entry ID and request ID
85
+ * const example = okta.getEndUserMyRequests({
86
+ * entryId: "cen123456789abcdefgh",
87
+ * id: "reqABCDEFG0123456789",
88
+ * });
89
+ * export const requestStatus = example.then(example => example.status);
90
+ * export const requestFieldValues = example.then(example => example.requesterFieldValues);
91
+ * ```
92
+ *
93
+ * ## Field Type Reference
94
+ *
95
+ * ### Field Types and Values
96
+ *
97
+ * - **TEXT**: Contains free-form text input in the `value` attribute
98
+ * - **SELECT**: Contains single selection value in the `value` attribute
99
+ * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list)
100
+ * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks")
101
+ * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute
102
+ * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute
103
+ *
104
+ * ### Usage Notes
105
+ *
106
+ * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list
107
+ * - For all other field types, the value will be in the `value` attribute as a string
108
+ * - The `label` and `type` attributes provide metadata about the field structure
109
+ * - Field definitions and requirements are determined by the approval system configuration
110
+ *
111
+ * ## Limitations and Considerations
112
+ *
113
+ * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests.
114
+ *
115
+ * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration.
116
+ *
117
+ * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow.
118
+ *
119
+ * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance.
120
+ */
121
+ function getEndUserMyRequestsOutput(args, opts) {
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
123
+ return pulumi.runtime.invokeOutput("okta:index/getEndUserMyRequests:getEndUserMyRequests", {
124
+ "entryId": args.entryId,
125
+ "id": args.id,
126
+ "requested": args.requested,
127
+ "requestedBy": args.requestedBy,
128
+ "requestedFor": args.requestedFor,
129
+ "requesterFieldValues": args.requesterFieldValues,
130
+ "riskAssessment": args.riskAssessment,
131
+ }, opts);
132
+ }
133
+ exports.getEndUserMyRequestsOutput = getEndUserMyRequestsOutput;
134
+ //# sourceMappingURL=getEndUserMyRequests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEndUserMyRequests.js","sourceRoot":"","sources":["../getEndUserMyRequests.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC;AA4DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC"}
@@ -0,0 +1,71 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Get the entitlement belonging to an Okta organization.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const test = okta.getEntitlement({
14
+ * id: "<entitlement id>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getEntitlement(args: GetEntitlementArgs, opts?: pulumi.InvokeOptions): Promise<GetEntitlementResult>;
19
+ /**
20
+ * A collection of arguments for invoking getEntitlement.
21
+ */
22
+ export interface GetEntitlementArgs {
23
+ /**
24
+ * The ID of this resource.
25
+ */
26
+ id: string;
27
+ parent?: inputs.GetEntitlementParent;
28
+ values?: inputs.GetEntitlementValue[];
29
+ }
30
+ /**
31
+ * A collection of values returned by getEntitlement.
32
+ */
33
+ export interface GetEntitlementResult {
34
+ readonly dataType: string;
35
+ readonly externalValue: string;
36
+ /**
37
+ * The ID of this resource.
38
+ */
39
+ readonly id: string;
40
+ readonly multiValue: boolean;
41
+ readonly name: string;
42
+ readonly parent?: outputs.GetEntitlementParent;
43
+ readonly parentResourceOrn: string;
44
+ readonly values?: outputs.GetEntitlementValue[];
45
+ }
46
+ /**
47
+ * Get the entitlement belonging to an Okta organization.
48
+ *
49
+ * ## Example Usage
50
+ *
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as okta from "@pulumi/okta";
54
+ *
55
+ * const test = okta.getEntitlement({
56
+ * id: "<entitlement id>",
57
+ * });
58
+ * ```
59
+ */
60
+ export declare function getEntitlementOutput(args: GetEntitlementOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEntitlementResult>;
61
+ /**
62
+ * A collection of arguments for invoking getEntitlement.
63
+ */
64
+ export interface GetEntitlementOutputArgs {
65
+ /**
66
+ * The ID of this resource.
67
+ */
68
+ id: pulumi.Input<string>;
69
+ parent?: pulumi.Input<inputs.GetEntitlementParentArgs>;
70
+ values?: pulumi.Input<pulumi.Input<inputs.GetEntitlementValueArgs>[]>;
71
+ }
@@ -0,0 +1,54 @@
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.getEntitlementOutput = exports.getEntitlement = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get the entitlement belonging to an Okta organization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getEntitlement({
18
+ * id: "<entitlement id>",
19
+ * });
20
+ * ```
21
+ */
22
+ function getEntitlement(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("okta:index/getEntitlement:getEntitlement", {
25
+ "id": args.id,
26
+ "parent": args.parent,
27
+ "values": args.values,
28
+ }, opts);
29
+ }
30
+ exports.getEntitlement = getEntitlement;
31
+ /**
32
+ * Get the entitlement belonging to an Okta organization.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as okta from "@pulumi/okta";
39
+ *
40
+ * const test = okta.getEntitlement({
41
+ * id: "<entitlement id>",
42
+ * });
43
+ * ```
44
+ */
45
+ function getEntitlementOutput(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("okta:index/getEntitlement:getEntitlement", {
48
+ "id": args.id,
49
+ "parent": args.parent,
50
+ "values": args.values,
51
+ }, opts);
52
+ }
53
+ exports.getEntitlementOutput = getEntitlementOutput;
54
+ //# sourceMappingURL=getEntitlement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEntitlement.js","sourceRoot":"","sources":["../getEntitlement.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AA8BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC"}
@@ -0,0 +1,116 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Get the entitlement bundle for the given id.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const test = okta.getEntitlementBundle({
14
+ * id: "<entitlement_bundle id>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getEntitlementBundle(args: GetEntitlementBundleArgs, opts?: pulumi.InvokeOptions): Promise<GetEntitlementBundleResult>;
19
+ /**
20
+ * A collection of arguments for invoking getEntitlementBundle.
21
+ */
22
+ export interface GetEntitlementBundleArgs {
23
+ /**
24
+ * List of entitlements in the bundle
25
+ */
26
+ entitlements?: inputs.GetEntitlementBundleEntitlement[];
27
+ /**
28
+ * The ID of this resource.
29
+ */
30
+ id: string;
31
+ /**
32
+ * Representation of a resource
33
+ */
34
+ target?: inputs.GetEntitlementBundleTarget;
35
+ }
36
+ /**
37
+ * A collection of values returned by getEntitlementBundle.
38
+ */
39
+ export interface GetEntitlementBundleResult {
40
+ /**
41
+ * The created timestamp of this resource.
42
+ */
43
+ readonly created: string;
44
+ /**
45
+ * The ID of the user that created this resource.
46
+ */
47
+ readonly createdBy: string;
48
+ /**
49
+ * The description of an entitlement property.
50
+ */
51
+ readonly description: string;
52
+ /**
53
+ * List of entitlements in the bundle
54
+ */
55
+ readonly entitlements?: outputs.GetEntitlementBundleEntitlement[];
56
+ /**
57
+ * The ID of this resource.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * The last updated timestamp of this resource.
62
+ */
63
+ readonly lastUpdated: string;
64
+ /**
65
+ * The ID of the user that last updated this resource.
66
+ */
67
+ readonly lastUpdatedBy: string;
68
+ /**
69
+ * The display name for an entitlement bundle.
70
+ */
71
+ readonly name: string;
72
+ /**
73
+ * The status of the entitlement bundle.
74
+ */
75
+ readonly status: string;
76
+ /**
77
+ * Representation of a resource
78
+ */
79
+ readonly target?: outputs.GetEntitlementBundleTarget;
80
+ /**
81
+ * The ORN of the target resource. Required when updating the entitlement bundle.
82
+ */
83
+ readonly targetResourceOrn: string;
84
+ }
85
+ /**
86
+ * Get the entitlement bundle for the given id.
87
+ *
88
+ * ## Example Usage
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as okta from "@pulumi/okta";
93
+ *
94
+ * const test = okta.getEntitlementBundle({
95
+ * id: "<entitlement_bundle id>",
96
+ * });
97
+ * ```
98
+ */
99
+ export declare function getEntitlementBundleOutput(args: GetEntitlementBundleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEntitlementBundleResult>;
100
+ /**
101
+ * A collection of arguments for invoking getEntitlementBundle.
102
+ */
103
+ export interface GetEntitlementBundleOutputArgs {
104
+ /**
105
+ * List of entitlements in the bundle
106
+ */
107
+ entitlements?: pulumi.Input<pulumi.Input<inputs.GetEntitlementBundleEntitlementArgs>[]>;
108
+ /**
109
+ * The ID of this resource.
110
+ */
111
+ id: pulumi.Input<string>;
112
+ /**
113
+ * Representation of a resource
114
+ */
115
+ target?: pulumi.Input<inputs.GetEntitlementBundleTargetArgs>;
116
+ }
@@ -0,0 +1,54 @@
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.getEntitlementBundleOutput = exports.getEntitlementBundle = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Get the entitlement bundle for the given id.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getEntitlementBundle({
18
+ * id: "<entitlement_bundle id>",
19
+ * });
20
+ * ```
21
+ */
22
+ function getEntitlementBundle(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("okta:index/getEntitlementBundle:getEntitlementBundle", {
25
+ "entitlements": args.entitlements,
26
+ "id": args.id,
27
+ "target": args.target,
28
+ }, opts);
29
+ }
30
+ exports.getEntitlementBundle = getEntitlementBundle;
31
+ /**
32
+ * Get the entitlement bundle for the given id.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as okta from "@pulumi/okta";
39
+ *
40
+ * const test = okta.getEntitlementBundle({
41
+ * id: "<entitlement_bundle id>",
42
+ * });
43
+ * ```
44
+ */
45
+ function getEntitlementBundleOutput(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("okta:index/getEntitlementBundle:getEntitlementBundle", {
48
+ "entitlements": args.entitlements,
49
+ "id": args.id,
50
+ "target": args.target,
51
+ }, opts);
52
+ }
53
+ exports.getEntitlementBundleOutput = getEntitlementBundleOutput;
54
+ //# sourceMappingURL=getEntitlementBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEntitlementBundle.js","sourceRoot":"","sources":["../getEntitlementBundle.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAqED;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}