@pulumi/okta 4.9.0-alpha.1718431198 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/adminRoleCustom.d.ts +105 -107
  2. package/adminRoleCustom.js +3 -5
  3. package/adminRoleCustom.js.map +1 -1
  4. package/adminRoleCustomAssignments.d.ts +12 -18
  5. package/adminRoleCustomAssignments.js +3 -6
  6. package/adminRoleCustomAssignments.js.map +1 -1
  7. package/adminRoleTargets.d.ts +14 -16
  8. package/adminRoleTargets.js +0 -2
  9. package/adminRoleTargets.js.map +1 -1
  10. package/app/accessPolicyAssignment.d.ts +23 -2
  11. package/app/accessPolicyAssignment.js +23 -2
  12. package/app/accessPolicyAssignment.js.map +1 -1
  13. package/app/autoLogin.d.ts +63 -97
  14. package/app/autoLogin.js +3 -37
  15. package/app/autoLogin.js.map +1 -1
  16. package/app/basicAuth.d.ts +30 -33
  17. package/app/basicAuth.js +4 -7
  18. package/app/basicAuth.js.map +1 -1
  19. package/app/bookmark.d.ts +30 -33
  20. package/app/bookmark.js +3 -6
  21. package/app/bookmark.js.map +1 -1
  22. package/app/getApp.d.ts +58 -25
  23. package/app/getApp.js +2 -2
  24. package/app/getApp.js.map +1 -1
  25. package/app/getMetadataSaml.d.ts +11 -5
  26. package/app/getMetadataSaml.js +2 -2
  27. package/app/getMetadataSaml.js.map +1 -1
  28. package/app/getOauth.d.ts +62 -34
  29. package/app/getOauth.js +2 -2
  30. package/app/getOauth.js.map +1 -1
  31. package/app/getSaml.d.ts +75 -56
  32. package/app/getSaml.js +2 -2
  33. package/app/getSaml.js.map +1 -1
  34. package/app/groupAssignment.d.ts +23 -9
  35. package/app/groupAssignment.js +17 -3
  36. package/app/groupAssignment.js.map +1 -1
  37. package/app/oauth.d.ts +135 -273
  38. package/app/oauth.js +6 -60
  39. package/app/oauth.js.map +1 -1
  40. package/app/oauthPostLogoutRedirectUri.d.ts +4 -6
  41. package/app/oauthPostLogoutRedirectUri.js +1 -3
  42. package/app/oauthPostLogoutRedirectUri.js.map +1 -1
  43. package/app/oauthRedirectUri.d.ts +4 -6
  44. package/app/oauthRedirectUri.js +1 -3
  45. package/app/oauthRedirectUri.js.map +1 -1
  46. package/app/oauthRoleAssignment.d.ts +4 -29
  47. package/app/oauthRoleAssignment.js +4 -29
  48. package/app/oauthRoleAssignment.js.map +1 -1
  49. package/app/saml.d.ts +161 -289
  50. package/app/saml.js +6 -152
  51. package/app/saml.js.map +1 -1
  52. package/app/securePasswordStore.d.ts +79 -80
  53. package/app/securePasswordStore.js +6 -7
  54. package/app/securePasswordStore.js.map +1 -1
  55. package/app/swa.d.ts +70 -71
  56. package/app/swa.js +4 -5
  57. package/app/swa.js.map +1 -1
  58. package/app/threeField.d.ts +74 -76
  59. package/app/threeField.js +5 -7
  60. package/app/threeField.js.map +1 -1
  61. package/app/user.d.ts +12 -17
  62. package/app/user.js +0 -2
  63. package/app/user.js.map +1 -1
  64. package/appGroupAssignments.d.ts +6 -8
  65. package/appGroupAssignments.js +3 -5
  66. package/appGroupAssignments.js.map +1 -1
  67. package/appOauthApiScope.d.ts +5 -7
  68. package/appOauthApiScope.js +2 -4
  69. package/appOauthApiScope.js.map +1 -1
  70. package/appSamlAppSettings.d.ts +6 -7
  71. package/appSamlAppSettings.js +3 -4
  72. package/appSamlAppSettings.js.map +1 -1
  73. package/appSharedCredentials.d.ts +61 -63
  74. package/appSharedCredentials.js +4 -6
  75. package/appSharedCredentials.js.map +1 -1
  76. package/appSignonPolicy.d.ts +3 -39
  77. package/appSignonPolicy.js +3 -39
  78. package/appSignonPolicy.js.map +1 -1
  79. package/appSignonPolicyRule.d.ts +69 -361
  80. package/appSignonPolicyRule.js +1 -278
  81. package/appSignonPolicyRule.js.map +1 -1
  82. package/appUserBaseSchemaProperty.d.ts +25 -29
  83. package/appUserBaseSchemaProperty.js +1 -5
  84. package/appUserBaseSchemaProperty.js.map +1 -1
  85. package/appUserSchemaProperty.d.ts +51 -41
  86. package/appUserSchemaProperty.js +0 -2
  87. package/appUserSchemaProperty.js.map +1 -1
  88. package/auth/getServer.d.ts +11 -11
  89. package/auth/getServer.js +2 -2
  90. package/auth/getServerPolicy.d.ts +15 -9
  91. package/auth/getServerPolicy.js +2 -2
  92. package/auth/getServerPolicy.js.map +1 -1
  93. package/auth/getServerScopes.d.ts +8 -5
  94. package/auth/getServerScopes.js +2 -2
  95. package/auth/getServerScopes.js.map +1 -1
  96. package/auth/server.d.ts +15 -19
  97. package/auth/server.js +1 -5
  98. package/auth/server.js.map +1 -1
  99. package/auth/serverClaim.d.ts +13 -17
  100. package/auth/serverClaim.js +1 -5
  101. package/auth/serverClaim.js.map +1 -1
  102. package/auth/serverPolicy.d.ts +10 -14
  103. package/auth/serverPolicy.js +1 -5
  104. package/auth/serverPolicy.js.map +1 -1
  105. package/auth/serverPolicyClaim.d.ts +50 -66
  106. package/auth/serverPolicyClaim.js +0 -25
  107. package/auth/serverPolicyClaim.js.map +1 -1
  108. package/auth/serverPolicyRule.d.ts +32 -43
  109. package/auth/serverPolicyRule.js +0 -2
  110. package/auth/serverPolicyRule.js.map +1 -1
  111. package/auth/serverScope.d.ts +16 -20
  112. package/auth/serverScope.js +1 -5
  113. package/auth/serverScope.js.map +1 -1
  114. package/authServerClaimDefault.d.ts +10 -25
  115. package/authServerClaimDefault.js +0 -9
  116. package/authServerClaimDefault.js.map +1 -1
  117. package/authServerDefault.d.ts +15 -19
  118. package/authServerDefault.js +1 -5
  119. package/authServerDefault.js.map +1 -1
  120. package/authenticator.d.ts +53 -61
  121. package/authenticator.js +11 -11
  122. package/authenticator.js.map +1 -1
  123. package/behaviour.d.ts +21 -41
  124. package/behaviour.js +0 -2
  125. package/behaviour.js.map +1 -1
  126. package/brand.d.ts +23 -22
  127. package/brand.js +8 -4
  128. package/brand.js.map +1 -1
  129. package/captcha.d.ts +15 -17
  130. package/captcha.js +3 -5
  131. package/captcha.js.map +1 -1
  132. package/captchaOrgWideSettings.d.ts +8 -43
  133. package/captchaOrgWideSettings.js +2 -37
  134. package/captchaOrgWideSettings.js.map +1 -1
  135. package/domain.d.ts +13 -21
  136. package/domain.js +0 -2
  137. package/domain.js.map +1 -1
  138. package/domainCertificate.d.ts +17 -24
  139. package/domainCertificate.js +2 -9
  140. package/domainCertificate.js.map +1 -1
  141. package/domainVerification.d.ts +4 -10
  142. package/domainVerification.js +1 -7
  143. package/domainVerification.js.map +1 -1
  144. package/emailCustomization.d.ts +38 -222
  145. package/emailCustomization.js +29 -33
  146. package/emailCustomization.js.map +1 -1
  147. package/emailDomain.d.ts +4 -8
  148. package/emailDomain.js +0 -4
  149. package/emailDomain.js.map +1 -1
  150. package/emailDomainVerification.d.ts +3 -7
  151. package/emailDomainVerification.js +0 -4
  152. package/emailDomainVerification.js.map +1 -1
  153. package/emailSender.d.ts +15 -17
  154. package/emailSender.js +2 -4
  155. package/emailSender.js.map +1 -1
  156. package/emailSenderVerification.d.ts +5 -9
  157. package/emailSenderVerification.js +2 -6
  158. package/emailSenderVerification.js.map +1 -1
  159. package/eventHook.d.ts +16 -11
  160. package/eventHook.js +1 -5
  161. package/eventHook.js.map +1 -1
  162. package/eventHookVerification.d.ts +4 -10
  163. package/eventHookVerification.js +1 -7
  164. package/eventHookVerification.js.map +1 -1
  165. package/factor/factor.d.ts +4 -9
  166. package/factor/factor.js +1 -3
  167. package/factor/factor.js.map +1 -1
  168. package/factorTotp.d.ts +12 -21
  169. package/factorTotp.js +3 -3
  170. package/factorTotp.js.map +1 -1
  171. package/getAppGroupAssignments.d.ts +6 -6
  172. package/getAppGroupAssignments.js +2 -2
  173. package/getAppSignonPolicy.d.ts +16 -6
  174. package/getAppSignonPolicy.js +8 -4
  175. package/getAppSignonPolicy.js.map +1 -1
  176. package/getAppUserAssignments.d.ts +6 -6
  177. package/getAppUserAssignments.js +2 -2
  178. package/getAuthServerClaim.d.ts +15 -12
  179. package/getAuthServerClaim.js +2 -2
  180. package/getAuthServerClaim.js.map +1 -1
  181. package/getAuthServerClaims.d.ts +8 -5
  182. package/getAuthServerClaims.js +2 -2
  183. package/getAuthServerClaims.js.map +1 -1
  184. package/getAuthenticator.d.ts +24 -26
  185. package/getAuthenticator.js +14 -22
  186. package/getAuthenticator.js.map +1 -1
  187. package/getBehaviour.d.ts +6 -8
  188. package/getBehaviour.js +2 -2
  189. package/getBehaviour.js.map +1 -1
  190. package/getBehaviours.d.ts +7 -7
  191. package/getBehaviours.js +2 -2
  192. package/getBrand.d.ts +9 -6
  193. package/getBrand.js +2 -2
  194. package/getBrand.js.map +1 -1
  195. package/getBrands.d.ts +2 -2
  196. package/getBrands.js +2 -2
  197. package/getDomain.d.ts +11 -14
  198. package/getDomain.js +2 -8
  199. package/getDomain.js.map +1 -1
  200. package/getEmailCustomization.d.ts +14 -9
  201. package/getEmailCustomization.js +2 -6
  202. package/getEmailCustomization.js.map +1 -1
  203. package/getEmailCustomizations.d.ts +11 -9
  204. package/getEmailCustomizations.js +2 -6
  205. package/getEmailCustomizations.js.map +1 -1
  206. package/getGroups.d.ts +11 -25
  207. package/getGroups.js +2 -2
  208. package/getGroups.js.map +1 -1
  209. package/getLogStream.d.ts +8 -39
  210. package/getLogStream.js +2 -24
  211. package/getLogStream.js.map +1 -1
  212. package/getNetworkZone.d.ts +12 -12
  213. package/getNetworkZone.js +2 -2
  214. package/getOrgMetadata.d.ts +0 -22
  215. package/getOrgMetadata.js +0 -22
  216. package/getOrgMetadata.js.map +1 -1
  217. package/getRoleSubscription.d.ts +13 -35
  218. package/getRoleSubscription.js +2 -2
  219. package/getRoleSubscription.js.map +1 -1
  220. package/getTemplate.d.ts +10 -8
  221. package/getTemplate.js +2 -6
  222. package/getTemplate.js.map +1 -1
  223. package/getTemplates.d.ts +6 -7
  224. package/getTemplates.js +2 -6
  225. package/getTemplates.js.map +1 -1
  226. package/getTheme.d.ts +14 -12
  227. package/getTheme.js +2 -6
  228. package/getTheme.js.map +1 -1
  229. package/getThemes.d.ts +6 -7
  230. package/getThemes.js +2 -6
  231. package/getThemes.js.map +1 -1
  232. package/getTrustedOrigins.d.ts +7 -4
  233. package/getTrustedOrigins.js +2 -2
  234. package/getTrustedOrigins.js.map +1 -1
  235. package/getUserSecurityQuestions.d.ts +4 -8
  236. package/getUserSecurityQuestions.js +0 -4
  237. package/getUserSecurityQuestions.js.map +1 -1
  238. package/group/getEveryoneGroup.d.ts +10 -5
  239. package/group/getEveryoneGroup.js +4 -2
  240. package/group/getEveryoneGroup.js.map +1 -1
  241. package/group/getGroup.d.ts +17 -26
  242. package/group/getGroup.js +2 -2
  243. package/group/getGroup.js.map +1 -1
  244. package/group/getRule.d.ts +9 -9
  245. package/group/getRule.js +2 -2
  246. package/group/group.d.ts +4 -36
  247. package/group/group.js +1 -33
  248. package/group/group.js.map +1 -1
  249. package/group/role.d.ts +37 -81
  250. package/group/role.js +1 -6
  251. package/group/role.js.map +1 -1
  252. package/group/rule.d.ts +12 -20
  253. package/group/rule.js +0 -2
  254. package/group/rule.js.map +1 -1
  255. package/groupMemberships.d.ts +8 -10
  256. package/groupMemberships.js +2 -4
  257. package/groupMemberships.js.map +1 -1
  258. package/groupSchemaProperty.d.ts +57 -59
  259. package/groupSchemaProperty.js +0 -2
  260. package/groupSchemaProperty.js.map +1 -1
  261. package/idp/getMetadataSaml.d.ts +9 -6
  262. package/idp/getMetadataSaml.js +2 -2
  263. package/idp/getMetadataSaml.js.map +1 -1
  264. package/idp/getOidc.d.ts +9 -9
  265. package/idp/getOidc.js +2 -2
  266. package/idp/getSaml.d.ts +16 -13
  267. package/idp/getSaml.js +2 -2
  268. package/idp/getSaml.js.map +1 -1
  269. package/idp/getSocial.d.ts +8 -2
  270. package/idp/getSocial.js +2 -2
  271. package/idp/getSocial.js.map +1 -1
  272. package/idp/oidc.d.ts +70 -62
  273. package/idp/oidc.js +3 -5
  274. package/idp/oidc.js.map +1 -1
  275. package/idp/saml.d.ts +64 -86
  276. package/idp/saml.js +1 -5
  277. package/idp/saml.js.map +1 -1
  278. package/idp/samlKey.d.ts +3 -5
  279. package/idp/samlKey.js +0 -2
  280. package/idp/samlKey.js.map +1 -1
  281. package/idp/social.d.ts +99 -69
  282. package/idp/social.js +11 -5
  283. package/idp/social.js.map +1 -1
  284. package/inline/hook.d.ts +4 -26
  285. package/inline/hook.js +1 -5
  286. package/inline/hook.js.map +1 -1
  287. package/linkDefinition.d.ts +2 -3
  288. package/linkDefinition.js +2 -3
  289. package/linkDefinition.js.map +1 -1
  290. package/linkValue.d.ts +7 -9
  291. package/linkValue.js +1 -3
  292. package/linkValue.js.map +1 -1
  293. package/logStream.d.ts +32 -27
  294. package/logStream.js +23 -9
  295. package/logStream.js.map +1 -1
  296. package/network/zone.d.ts +25 -66
  297. package/network/zone.js +1 -39
  298. package/network/zone.js.map +1 -1
  299. package/orgConfiguration.d.ts +4 -9
  300. package/orgConfiguration.js +1 -3
  301. package/orgConfiguration.js.map +1 -1
  302. package/orgSupport.d.ts +4 -7
  303. package/orgSupport.js +1 -4
  304. package/orgSupport.js.map +1 -1
  305. package/package.json +3 -3
  306. package/policy/getDefaultPolicy.d.ts +9 -7
  307. package/policy/getDefaultPolicy.js +6 -2
  308. package/policy/getDefaultPolicy.js.map +1 -1
  309. package/policy/getPolicy.d.ts +11 -26
  310. package/policy/getPolicy.js +2 -2
  311. package/policy/getPolicy.js.map +1 -1
  312. package/policy/mfa.d.ts +18 -220
  313. package/policy/mfa.js +0 -10
  314. package/policy/mfa.js.map +1 -1
  315. package/policy/password.d.ts +91 -95
  316. package/policy/password.js +1 -5
  317. package/policy/password.js.map +1 -1
  318. package/policy/ruleIdpDiscovery.d.ts +111 -93
  319. package/policy/ruleIdpDiscovery.js +48 -57
  320. package/policy/ruleIdpDiscovery.js.map +1 -1
  321. package/policy/ruleMfa.d.ts +40 -30
  322. package/policy/ruleMfa.js +1 -3
  323. package/policy/ruleMfa.js.map +1 -1
  324. package/policy/rulePassword.d.ts +34 -38
  325. package/policy/rulePassword.js +1 -5
  326. package/policy/rulePassword.js.map +1 -1
  327. package/policy/ruleSignon.d.ts +94 -85
  328. package/policy/ruleSignon.js +1 -4
  329. package/policy/ruleSignon.js.map +1 -1
  330. package/policy/signon.d.ts +16 -20
  331. package/policy/signon.js +1 -5
  332. package/policy/signon.js.map +1 -1
  333. package/policyMfaDefault.d.ts +15 -214
  334. package/policyMfaDefault.js +2 -9
  335. package/policyMfaDefault.js.map +1 -1
  336. package/policyPasswordDefault.d.ts +85 -101
  337. package/policyPasswordDefault.js +1 -5
  338. package/policyPasswordDefault.js.map +1 -1
  339. package/policyProfileEnrollment.d.ts +8 -9
  340. package/policyProfileEnrollment.js +2 -3
  341. package/policyProfileEnrollment.js.map +1 -1
  342. package/policyProfileEnrollmentApps.d.ts +8 -11
  343. package/policyProfileEnrollmentApps.js +3 -6
  344. package/policyProfileEnrollmentApps.js.map +1 -1
  345. package/policyRuleProfileEnrollment.d.ts +42 -31
  346. package/policyRuleProfileEnrollment.js +2 -3
  347. package/policyRuleProfileEnrollment.js.map +1 -1
  348. package/profile/mapping.d.ts +19 -34
  349. package/profile/mapping.js +4 -4
  350. package/profile/mapping.js.map +1 -1
  351. package/rateLimiting.d.ts +8 -17
  352. package/rateLimiting.js +2 -5
  353. package/rateLimiting.js.map +1 -1
  354. package/resourceSet.d.ts +18 -26
  355. package/resourceSet.js +9 -14
  356. package/resourceSet.js.map +1 -1
  357. package/roleSubscription.d.ts +35 -86
  358. package/roleSubscription.js +2 -2
  359. package/roleSubscription.js.map +1 -1
  360. package/securityNotificationEmails.d.ts +4 -7
  361. package/securityNotificationEmails.js +4 -7
  362. package/securityNotificationEmails.js.map +1 -1
  363. package/templateSms.d.ts +4 -8
  364. package/templateSms.js +1 -5
  365. package/templateSms.js.map +1 -1
  366. package/theme.d.ts +46 -46
  367. package/theme.js +2 -2
  368. package/threatInsightSettings.d.ts +7 -27
  369. package/threatInsightSettings.js +1 -3
  370. package/threatInsightSettings.js.map +1 -1
  371. package/trustedorigin/origin.d.ts +13 -17
  372. package/trustedorigin/origin.js +1 -5
  373. package/trustedorigin/origin.js.map +1 -1
  374. package/types/input.d.ts +65 -162
  375. package/types/output.d.ts +75 -275
  376. package/user/getUser.d.ts +32 -104
  377. package/user/getUser.js +2 -2
  378. package/user/getUser.js.map +1 -1
  379. package/user/getUserProfileMappingSource.d.ts +9 -7
  380. package/user/getUserProfileMappingSource.js +6 -4
  381. package/user/getUserProfileMappingSource.js.map +1 -1
  382. package/user/getUserType.d.ts +7 -7
  383. package/user/getUserType.js +2 -2
  384. package/user/getUsers.d.ts +95 -37
  385. package/user/getUsers.js +64 -24
  386. package/user/getUsers.js.map +1 -1
  387. package/user/user.d.ts +160 -209
  388. package/user/user.js +43 -65
  389. package/user/user.js.map +1 -1
  390. package/user/userType.d.ts +1 -5
  391. package/user/userType.js +1 -5
  392. package/user/userType.js.map +1 -1
  393. package/userAdminRoles.d.ts +10 -17
  394. package/userAdminRoles.js +1 -5
  395. package/userAdminRoles.js.map +1 -1
  396. package/userBaseSchemaProperty.d.ts +26 -34
  397. package/userBaseSchemaProperty.js +2 -10
  398. package/userBaseSchemaProperty.js.map +1 -1
  399. package/userFactorQuestion.d.ts +1 -5
  400. package/userFactorQuestion.js +1 -5
  401. package/userFactorQuestion.js.map +1 -1
  402. package/userGroupMemberships.d.ts +3 -3
  403. package/userSchemaProperty.d.ts +57 -56
  404. package/userSchemaProperty.js +0 -8
  405. package/userSchemaProperty.js.map +1 -1
package/user/getUser.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * Use this data source to retrieve a users from Okta.
5
+ * Get a single users from Okta.
6
6
  */
7
7
  export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
8
8
  /**
@@ -10,7 +10,7 @@ export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions)
10
10
  */
11
11
  export interface GetUserArgs {
12
12
  /**
13
- * Given multiple search elements they will be compounded together with the op. Default is `and`, `or` is also valid.
13
+ * Search operator used when joining multiple search clauses
14
14
  */
15
15
  compoundSearchOperator?: string;
16
16
  /**
@@ -18,13 +18,19 @@ export interface GetUserArgs {
18
18
  */
19
19
  delayReadSeconds?: string;
20
20
  /**
21
- * Map of search criteria. It supports the following properties.
21
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
22
22
  */
23
23
  searches?: inputs.user.GetUserSearch[];
24
+ /**
25
+ * Do not populate user groups information (prevents additional API call)
26
+ */
24
27
  skipGroups?: boolean;
28
+ /**
29
+ * Do not populate user roles information (prevents additional API call)
30
+ */
25
31
  skipRoles?: boolean;
26
32
  /**
27
- * String representing a specific user's id value
33
+ * Retrieve a single user based on their id
28
34
  */
29
35
  userId?: string;
30
36
  }
@@ -33,156 +39,72 @@ export interface GetUserArgs {
33
39
  */
34
40
  export interface GetUserResult {
35
41
  readonly adminRoles: string[];
36
- /**
37
- * City or locality component of user's address.
38
- */
39
42
  readonly city: string;
40
- readonly compoundSearchOperator?: string;
41
43
  /**
42
- * Name of a cost center assigned to user.
44
+ * Search operator used when joining multiple search clauses
43
45
  */
46
+ readonly compoundSearchOperator?: string;
44
47
  readonly costCenter: string;
45
- /**
46
- * Country name component of user's address.
47
- */
48
48
  readonly countryCode: string;
49
- /**
50
- * Raw JSON containing all custom profile attributes.
51
- */
52
49
  readonly customProfileAttributes: string;
53
- readonly delayReadSeconds?: string;
54
50
  /**
55
- * Name of user's department.
51
+ * Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for.
56
52
  */
53
+ readonly delayReadSeconds?: string;
57
54
  readonly department: string;
58
- /**
59
- * Name of the user, suitable for display to end users.
60
- */
61
55
  readonly displayName: string;
62
- /**
63
- * Name of user's division.
64
- */
65
56
  readonly division: string;
66
- /**
67
- * Primary email address of user.
68
- */
69
57
  readonly email: string;
70
- /**
71
- * Organization or company assigned unique identifier for the user.
72
- */
73
58
  readonly employeeNumber: string;
74
- /**
75
- * Given name of the user.
76
- */
77
59
  readonly firstName: string;
78
60
  readonly groupMemberships: string[];
79
- /**
80
- * Honorific prefix(es) of the user, or title in most Western languages.
81
- */
82
61
  readonly honorificPrefix: string;
83
- /**
84
- * Honorific suffix(es) of the user.
85
- */
86
62
  readonly honorificSuffix: string;
87
63
  /**
88
64
  * The provider-assigned unique ID for this managed resource.
89
65
  */
90
66
  readonly id: string;
91
- /**
92
- * Family name of the user.
93
- */
94
67
  readonly lastName: string;
95
- /**
96
- * User's default location for purposes of localizing items such as currency, date time format, numerical representations, etc.
97
- */
98
68
  readonly locale: string;
99
- /**
100
- * Unique identifier for the user.
101
- */
102
69
  readonly login: string;
103
- /**
104
- * Display name of the user's manager.
105
- */
106
70
  readonly manager: string;
107
- /**
108
- * `id` of a user's manager.
109
- */
110
71
  readonly managerId: string;
111
- /**
112
- * Middle name(s) of the user.
113
- */
114
72
  readonly middleName: string;
115
- /**
116
- * Mobile phone number of user.
117
- */
118
73
  readonly mobilePhone: string;
119
- /**
120
- * Casual way to address the user in real life.
121
- */
122
74
  readonly nickName: string;
123
- /**
124
- * Name of user's organization.
125
- */
126
75
  readonly organization: string;
127
- /**
128
- * Mailing address component of user's address.
129
- */
130
76
  readonly postalAddress: string;
131
- /**
132
- * User's preferred written or spoken languages.
133
- */
134
77
  readonly preferredLanguage: string;
135
- /**
136
- * Primary phone number of user such as home number.
137
- */
138
78
  readonly primaryPhone: string;
139
- /**
140
- * URL of user's online profile (e.g. a web page).
141
- */
142
79
  readonly profileUrl: string;
80
+ readonly roles: string[];
143
81
  /**
144
- * All roles assigned to user.
82
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
145
83
  */
146
- readonly roles: string[];
147
84
  readonly searches?: outputs.user.GetUserSearch[];
85
+ readonly secondEmail: string;
148
86
  /**
149
- * Secondary email address of user typically used for account recovery.
87
+ * Do not populate user groups information (prevents additional API call)
150
88
  */
151
- readonly secondEmail: string;
152
89
  readonly skipGroups?: boolean;
153
- readonly skipRoles?: boolean;
154
90
  /**
155
- * State or region component of user's address (region).
91
+ * Do not populate user roles information (prevents additional API call)
156
92
  */
93
+ readonly skipRoles?: boolean;
157
94
  readonly state: string;
158
- /**
159
- * Current status of user.
160
- */
161
95
  readonly status: string;
162
- /**
163
- * Full street address component of user's address.
164
- */
165
96
  readonly streetAddress: string;
166
- /**
167
- * User's time zone.
168
- */
169
97
  readonly timezone: string;
170
- /**
171
- * User's title, such as "Vice President".
172
- */
173
98
  readonly title: string;
174
- readonly userId?: string;
175
99
  /**
176
- * Used to describe the organization to user relationship such as "Employee" or "Contractor".
100
+ * Retrieve a single user based on their id
177
101
  */
102
+ readonly userId?: string;
178
103
  readonly userType: string;
179
- /**
180
- * Zipcode or postal code component of user's address (postalCode)
181
- */
182
104
  readonly zipCode: string;
183
105
  }
184
106
  /**
185
- * Use this data source to retrieve a users from Okta.
107
+ * Get a single users from Okta.
186
108
  */
187
109
  export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
188
110
  /**
@@ -190,7 +112,7 @@ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.In
190
112
  */
191
113
  export interface GetUserOutputArgs {
192
114
  /**
193
- * Given multiple search elements they will be compounded together with the op. Default is `and`, `or` is also valid.
115
+ * Search operator used when joining multiple search clauses
194
116
  */
195
117
  compoundSearchOperator?: pulumi.Input<string>;
196
118
  /**
@@ -198,13 +120,19 @@ export interface GetUserOutputArgs {
198
120
  */
199
121
  delayReadSeconds?: pulumi.Input<string>;
200
122
  /**
201
- * Map of search criteria. It supports the following properties.
123
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
202
124
  */
203
125
  searches?: pulumi.Input<pulumi.Input<inputs.user.GetUserSearchArgs>[]>;
126
+ /**
127
+ * Do not populate user groups information (prevents additional API call)
128
+ */
204
129
  skipGroups?: pulumi.Input<boolean>;
130
+ /**
131
+ * Do not populate user roles information (prevents additional API call)
132
+ */
205
133
  skipRoles?: pulumi.Input<boolean>;
206
134
  /**
207
- * String representing a specific user's id value
135
+ * Retrieve a single user based on their id
208
136
  */
209
137
  userId?: pulumi.Input<string>;
210
138
  }
package/user/getUser.js CHANGED
@@ -6,7 +6,7 @@ exports.getUserOutput = exports.getUser = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Use this data source to retrieve a users from Okta.
9
+ * Get a single users from Okta.
10
10
  */
11
11
  function getUser(args, opts) {
12
12
  args = args || {};
@@ -22,7 +22,7 @@ function getUser(args, opts) {
22
22
  }
23
23
  exports.getUser = getUser;
24
24
  /**
25
- * Use this data source to retrieve a users from Okta.
25
+ * Get a single users from Okta.
26
26
  */
27
27
  function getUserOutput(args, opts) {
28
28
  return pulumi.output(args).apply((a) => getUser(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../user/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAmLD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../user/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAqGD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
@@ -1,8 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to retrieve the base user Profile Mapping source or target from Okta.
3
+ * Get the base user Profile Mapping source or target from Okta.
4
4
  *
5
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.read` scope.
5
+ * > **NOTE:** If using this resource with OAuth2 scopes, this resource
6
+ * requires `okta.profileMappings.read` scope.
6
7
  *
7
8
  * ## Example Usage
8
9
  *
@@ -19,22 +20,23 @@ export declare function getUserProfileMappingSource(opts?: pulumi.InvokeOptions)
19
20
  */
20
21
  export interface GetUserProfileMappingSourceResult {
21
22
  /**
22
- * id of the source.
23
+ * ID of the source
23
24
  */
24
25
  readonly id: string;
25
26
  /**
26
- * name of source.
27
+ * Name of source.
27
28
  */
28
29
  readonly name: string;
29
30
  /**
30
- * type of source.
31
+ * Type of source.
31
32
  */
32
33
  readonly type: string;
33
34
  }
34
35
  /**
35
- * Use this data source to retrieve the base user Profile Mapping source or target from Okta.
36
+ * Get the base user Profile Mapping source or target from Okta.
36
37
  *
37
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.read` scope.
38
+ * > **NOTE:** If using this resource with OAuth2 scopes, this resource
39
+ * requires `okta.profileMappings.read` scope.
38
40
  *
39
41
  * ## Example Usage
40
42
  *
@@ -6,9 +6,10 @@ exports.getUserProfileMappingSourceOutput = exports.getUserProfileMappingSource
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Use this data source to retrieve the base user Profile Mapping source or target from Okta.
9
+ * Get the base user Profile Mapping source or target from Okta.
10
10
  *
11
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.read` scope.
11
+ * > **NOTE:** If using this resource with OAuth2 scopes, this resource
12
+ * requires `okta.profileMappings.read` scope.
12
13
  *
13
14
  * ## Example Usage
14
15
  *
@@ -25,9 +26,10 @@ function getUserProfileMappingSource(opts) {
25
26
  }
26
27
  exports.getUserProfileMappingSource = getUserProfileMappingSource;
27
28
  /**
28
- * Use this data source to retrieve the base user Profile Mapping source or target from Okta.
29
+ * Get the base user Profile Mapping source or target from Okta.
29
30
  *
30
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.read` scope.
31
+ * > **NOTE:** If using this resource with OAuth2 scopes, this resource
32
+ * requires `okta.profileMappings.read` scope.
31
33
  *
32
34
  * ## Example Usage
33
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getUserProfileMappingSource.js","sourceRoot":"","sources":["../../user/getUserProfileMappingSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAA2B;IAEnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mEAAmE,EAAE,EACjG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AAmBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,8EAEC"}
1
+ {"version":3,"file":"getUserProfileMappingSource.js","sourceRoot":"","sources":["../../user/getUserProfileMappingSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,2BAA2B,CAAC,IAA2B;IAEnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mEAAmE,EAAE,EACjG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AAmBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,8EAEC"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to retrieve a user type from Okta.
3
+ * Get a user type from Okta.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -19,7 +19,7 @@ export declare function getUserType(args: GetUserTypeArgs, opts?: pulumi.InvokeO
19
19
  */
20
20
  export interface GetUserTypeArgs {
21
21
  /**
22
- * name of user type to retrieve.
22
+ * Name of user type to retrieve.
23
23
  */
24
24
  name: string;
25
25
  }
@@ -28,11 +28,11 @@ export interface GetUserTypeArgs {
28
28
  */
29
29
  export interface GetUserTypeResult {
30
30
  /**
31
- * description of user type.
31
+ * Description of user type.
32
32
  */
33
33
  readonly description: string;
34
34
  /**
35
- * display name of user type.
35
+ * Display name of user type.
36
36
  */
37
37
  readonly displayName: string;
38
38
  /**
@@ -40,12 +40,12 @@ export interface GetUserTypeResult {
40
40
  */
41
41
  readonly id: string;
42
42
  /**
43
- * name of user type.
43
+ * Name of user type to retrieve.
44
44
  */
45
45
  readonly name: string;
46
46
  }
47
47
  /**
48
- * Use this data source to retrieve a user type from Okta.
48
+ * Get a user type from Okta.
49
49
  *
50
50
  * ## Example Usage
51
51
  *
@@ -64,7 +64,7 @@ export declare function getUserTypeOutput(args: GetUserTypeOutputArgs, opts?: pu
64
64
  */
65
65
  export interface GetUserTypeOutputArgs {
66
66
  /**
67
- * name of user type to retrieve.
67
+ * Name of user type to retrieve.
68
68
  */
69
69
  name: pulumi.Input<string>;
70
70
  }
@@ -6,7 +6,7 @@ exports.getUserTypeOutput = exports.getUserType = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Use this data source to retrieve a user type from Okta.
9
+ * Get a user type from Okta.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -27,7 +27,7 @@ function getUserType(args, opts) {
27
27
  }
28
28
  exports.getUserType = getUserType;
29
29
  /**
30
- * Use this data source to retrieve a user type from Okta.
30
+ * Get a user type from Okta.
31
31
  *
32
32
  * ## Example Usage
33
33
  *
@@ -2,22 +2,42 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * Use this data source to retrieve a list of users from Okta.
5
+ * Get a list of users from Okta.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * ### Lookup Users by Search Criteria
10
+ *
11
+ * data "okta.user.getUsers" "example" {
12
+ * search {
13
+ * name = "profile.company"
14
+ * value = "Articulate"
15
+ * comparison = "sw"
16
+ * }
17
+ * }
18
+ *
19
+ * # Search for multiple users based on a raw search expression string
20
+ * data "okta.user.getUsers" "example" {
21
+ * search {
22
+ * expression = "profile.department eq \"Engineering\" and (created lt \"2014-01-01T00:00:00.000Z\" or status eq \"ACTIVE\")"
23
+ * }
24
+ * }
25
+ *
9
26
  * ### Lookup Users by Group Membership
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as okta from "@pulumi/okta";
13
- *
14
- * const exampleGroup = new okta.group.Group("example", {name: "example-group"});
15
- * const example = okta.user.getUsersOutput({
16
- * groupId: exampleGroup.id,
17
- * includeGroups: true,
18
- * includeRoles: true,
19
- * });
20
- * ```
27
+ *
28
+ * resource "okta.group.Group" "example" {
29
+ * name = "example-group"
30
+ * }
31
+ *
32
+ * data "okta.user.getUsers" "example" {
33
+ * groupId = okta_group.example.id
34
+ *
35
+ * # optionally include each user's group membership
36
+ * includeGroups = true
37
+ *
38
+ * # optionally include each user's administrator roles
39
+ * includeRoles = true
40
+ * }
21
41
  */
22
42
  export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
23
43
  /**
@@ -25,27 +45,27 @@ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOption
25
45
  */
26
46
  export interface GetUsersArgs {
27
47
  /**
28
- * Given multiple search elements they will be compounded together with the op. Default is `and`, `or` is also valid.
48
+ * Search operator used when joining multiple search clauses
29
49
  */
30
50
  compoundSearchOperator?: string;
31
51
  /**
32
- * Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for; for instance, when administrator roles are known to have been applied.
52
+ * Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
33
53
  */
34
54
  delayReadSeconds?: string;
35
55
  /**
36
- * Id of group used to find users based on membership.
56
+ * Find users based on group membership using the id of the group.
37
57
  */
38
58
  groupId?: string;
39
59
  /**
40
- * Fetch each user's group memberships. Defaults to `false`, in which case the `groupMemberships` user attribute will be empty.
60
+ * Fetch group memberships for each user
41
61
  */
42
62
  includeGroups?: boolean;
43
63
  /**
44
- * Fetch each user's administrator roles. Defaults to `false`, in which case the `adminRoles` user attribute will be empty.
64
+ * Fetch user roles for each user
45
65
  */
46
66
  includeRoles?: boolean;
47
67
  /**
48
- * Map of search criteria. It supports the following properties.
68
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
49
69
  */
50
70
  searches?: inputs.user.GetUsersSearch[];
51
71
  }
@@ -53,38 +73,76 @@ export interface GetUsersArgs {
53
73
  * A collection of values returned by getUsers.
54
74
  */
55
75
  export interface GetUsersResult {
76
+ /**
77
+ * Search operator used when joining multiple search clauses
78
+ */
56
79
  readonly compoundSearchOperator?: string;
80
+ /**
81
+ * Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
82
+ */
57
83
  readonly delayReadSeconds?: string;
84
+ /**
85
+ * Find users based on group membership using the id of the group.
86
+ */
58
87
  readonly groupId?: string;
59
88
  /**
60
89
  * The provider-assigned unique ID for this managed resource.
61
90
  */
62
91
  readonly id: string;
92
+ /**
93
+ * Fetch group memberships for each user
94
+ */
63
95
  readonly includeGroups?: boolean;
96
+ /**
97
+ * Fetch user roles for each user
98
+ */
64
99
  readonly includeRoles?: boolean;
100
+ /**
101
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
102
+ */
65
103
  readonly searches?: outputs.user.GetUsersSearch[];
66
104
  /**
67
- * collection of users retrieved from Okta with the following properties.
105
+ * collection of users retrieved from Okta.
68
106
  */
69
107
  readonly users: outputs.user.GetUsersUser[];
70
108
  }
71
109
  /**
72
- * Use this data source to retrieve a list of users from Okta.
110
+ * Get a list of users from Okta.
73
111
  *
74
112
  * ## Example Usage
75
113
  *
114
+ * ### Lookup Users by Search Criteria
115
+ *
116
+ * data "okta.user.getUsers" "example" {
117
+ * search {
118
+ * name = "profile.company"
119
+ * value = "Articulate"
120
+ * comparison = "sw"
121
+ * }
122
+ * }
123
+ *
124
+ * # Search for multiple users based on a raw search expression string
125
+ * data "okta.user.getUsers" "example" {
126
+ * search {
127
+ * expression = "profile.department eq \"Engineering\" and (created lt \"2014-01-01T00:00:00.000Z\" or status eq \"ACTIVE\")"
128
+ * }
129
+ * }
130
+ *
76
131
  * ### Lookup Users by Group Membership
77
- * ```typescript
78
- * import * as pulumi from "@pulumi/pulumi";
79
- * import * as okta from "@pulumi/okta";
80
- *
81
- * const exampleGroup = new okta.group.Group("example", {name: "example-group"});
82
- * const example = okta.user.getUsersOutput({
83
- * groupId: exampleGroup.id,
84
- * includeGroups: true,
85
- * includeRoles: true,
86
- * });
87
- * ```
132
+ *
133
+ * resource "okta.group.Group" "example" {
134
+ * name = "example-group"
135
+ * }
136
+ *
137
+ * data "okta.user.getUsers" "example" {
138
+ * groupId = okta_group.example.id
139
+ *
140
+ * # optionally include each user's group membership
141
+ * includeGroups = true
142
+ *
143
+ * # optionally include each user's administrator roles
144
+ * includeRoles = true
145
+ * }
88
146
  */
89
147
  export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
90
148
  /**
@@ -92,27 +150,27 @@ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.
92
150
  */
93
151
  export interface GetUsersOutputArgs {
94
152
  /**
95
- * Given multiple search elements they will be compounded together with the op. Default is `and`, `or` is also valid.
153
+ * Search operator used when joining multiple search clauses
96
154
  */
97
155
  compoundSearchOperator?: pulumi.Input<string>;
98
156
  /**
99
- * Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for; for instance, when administrator roles are known to have been applied.
157
+ * Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
100
158
  */
101
159
  delayReadSeconds?: pulumi.Input<string>;
102
160
  /**
103
- * Id of group used to find users based on membership.
161
+ * Find users based on group membership using the id of the group.
104
162
  */
105
163
  groupId?: pulumi.Input<string>;
106
164
  /**
107
- * Fetch each user's group memberships. Defaults to `false`, in which case the `groupMemberships` user attribute will be empty.
165
+ * Fetch group memberships for each user
108
166
  */
109
167
  includeGroups?: pulumi.Input<boolean>;
110
168
  /**
111
- * Fetch each user's administrator roles. Defaults to `false`, in which case the `adminRoles` user attribute will be empty.
169
+ * Fetch user roles for each user
112
170
  */
113
171
  includeRoles?: pulumi.Input<boolean>;
114
172
  /**
115
- * Map of search criteria. It supports the following properties.
173
+ * Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
116
174
  */
117
175
  searches?: pulumi.Input<pulumi.Input<inputs.user.GetUsersSearchArgs>[]>;
118
176
  }