@pulumi/okta 4.4.0 → 4.4.1

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 (399) hide show
  1. package/adminRoleCustom.d.ts +10 -129
  2. package/adminRoleCustom.js +1 -24
  3. package/adminRoleCustom.js.map +1 -1
  4. package/adminRoleCustomAssignments.d.ts +10 -25
  5. package/adminRoleCustomAssignments.js +1 -13
  6. package/adminRoleCustomAssignments.js.map +1 -1
  7. package/adminRoleTargets.d.ts +14 -44
  8. package/adminRoleTargets.js +0 -30
  9. package/adminRoleTargets.js.map +1 -1
  10. package/app/accessPolicyAssignment.d.ts +1 -20
  11. package/app/accessPolicyAssignment.js +1 -20
  12. package/app/accessPolicyAssignment.js.map +1 -1
  13. package/app/autoLogin.d.ts +72 -115
  14. package/app/autoLogin.js +0 -43
  15. package/app/autoLogin.js.map +1 -1
  16. package/app/basicAuth.d.ts +38 -62
  17. package/app/basicAuth.js +0 -24
  18. package/app/basicAuth.js.map +1 -1
  19. package/app/bookmark.d.ts +35 -67
  20. package/app/bookmark.js +0 -23
  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 -55
  32. package/app/getSaml.js +2 -2
  33. package/app/getSaml.js.map +1 -1
  34. package/app/groupAssignment.d.ts +6 -15
  35. package/app/groupAssignment.js +0 -9
  36. package/app/groupAssignment.js.map +1 -1
  37. package/app/oauth.d.ts +125 -299
  38. package/app/oauth.js +0 -78
  39. package/app/oauth.js.map +1 -1
  40. package/app/oauthPostLogoutRedirectUri.d.ts +0 -31
  41. package/app/oauthPostLogoutRedirectUri.js +0 -31
  42. package/app/oauthPostLogoutRedirectUri.js.map +1 -1
  43. package/app/oauthRedirectUri.d.ts +0 -30
  44. package/app/oauthRedirectUri.js +0 -30
  45. package/app/oauthRedirectUri.js.map +1 -1
  46. package/app/saml.d.ts +133 -299
  47. package/app/saml.js +0 -157
  48. package/app/saml.js.map +1 -1
  49. package/app/securePasswordStore.d.ts +79 -105
  50. package/app/securePasswordStore.js +0 -26
  51. package/app/securePasswordStore.js.map +1 -1
  52. package/app/swa.d.ts +72 -98
  53. package/app/swa.js +0 -26
  54. package/app/swa.js.map +1 -1
  55. package/app/threeField.d.ts +72 -83
  56. package/app/threeField.js +0 -11
  57. package/app/threeField.js.map +1 -1
  58. package/app/user.d.ts +12 -37
  59. package/app/user.js +0 -22
  60. package/app/user.js.map +1 -1
  61. package/appGroupAssignments.d.ts +3 -51
  62. package/appGroupAssignments.js +0 -48
  63. package/appGroupAssignments.js.map +1 -1
  64. package/appOauthApiScope.d.ts +3 -36
  65. package/appOauthApiScope.js +0 -33
  66. package/appOauthApiScope.js.map +1 -1
  67. package/appSamlAppSettings.d.ts +6 -44
  68. package/appSamlAppSettings.js +0 -38
  69. package/appSamlAppSettings.js.map +1 -1
  70. package/appSharedCredentials.d.ts +72 -111
  71. package/appSharedCredentials.js +0 -39
  72. package/appSharedCredentials.js.map +1 -1
  73. package/appSignonPolicy.d.ts +6 -44
  74. package/appSignonPolicy.js +0 -38
  75. package/appSignonPolicy.js.map +1 -1
  76. package/appSignonPolicyRule.d.ts +63 -322
  77. package/appSignonPolicyRule.js +0 -244
  78. package/appSignonPolicyRule.js.map +1 -1
  79. package/appUserBaseSchemaProperty.d.ts +24 -52
  80. package/appUserBaseSchemaProperty.js +0 -28
  81. package/appUserBaseSchemaProperty.js.map +1 -1
  82. package/appUserSchemaProperty.d.ts +54 -80
  83. package/appUserSchemaProperty.js +0 -26
  84. package/appUserSchemaProperty.js.map +1 -1
  85. package/auth/getServer.d.ts +11 -11
  86. package/auth/getServer.js +2 -2
  87. package/auth/getServerPolicy.d.ts +15 -9
  88. package/auth/getServerPolicy.js +2 -2
  89. package/auth/getServerPolicy.js.map +1 -1
  90. package/auth/getServerScopes.d.ts +8 -5
  91. package/auth/getServerScopes.js +2 -2
  92. package/auth/getServerScopes.js.map +1 -1
  93. package/auth/server.d.ts +13 -49
  94. package/auth/server.js +0 -27
  95. package/auth/server.js.map +1 -1
  96. package/auth/serverClaim.d.ts +18 -54
  97. package/auth/serverClaim.js +0 -27
  98. package/auth/serverClaim.js.map +1 -1
  99. package/auth/serverPolicy.d.ts +6 -43
  100. package/auth/serverPolicy.js +0 -28
  101. package/auth/serverPolicy.js.map +1 -1
  102. package/auth/serverPolicyClaim.d.ts +35 -71
  103. package/auth/serverPolicyClaim.js +4 -28
  104. package/auth/serverPolicyClaim.js.map +1 -1
  105. package/auth/serverPolicyRule.d.ts +27 -70
  106. package/auth/serverPolicyRule.js +0 -25
  107. package/auth/serverPolicyRule.js.map +1 -1
  108. package/auth/serverScope.d.ts +15 -41
  109. package/auth/serverScope.js +0 -26
  110. package/auth/serverScope.js.map +1 -1
  111. package/authServerClaimDefault.d.ts +13 -50
  112. package/authServerClaimDefault.js +0 -31
  113. package/authServerClaimDefault.js.map +1 -1
  114. package/authServerDefault.d.ts +13 -47
  115. package/authServerDefault.js +0 -25
  116. package/authServerDefault.js.map +1 -1
  117. package/authenticator.d.ts +38 -94
  118. package/authenticator.js +0 -38
  119. package/authenticator.js.map +1 -1
  120. package/behaviour.d.ts +18 -78
  121. package/behaviour.js +0 -42
  122. package/behaviour.js.map +1 -1
  123. package/brand.d.ts +17 -26
  124. package/brand.js +1 -10
  125. package/brand.js.map +1 -1
  126. package/captcha.d.ts +12 -38
  127. package/captcha.js +0 -26
  128. package/captcha.js.map +1 -1
  129. package/captchaOrgWideSettings.d.ts +6 -51
  130. package/captchaOrgWideSettings.js +0 -45
  131. package/captchaOrgWideSettings.js.map +1 -1
  132. package/domain.d.ts +13 -39
  133. package/domain.js +0 -20
  134. package/domain.js.map +1 -1
  135. package/domainCertificate.d.ts +15 -51
  136. package/domainCertificate.js +0 -36
  137. package/domainCertificate.js.map +1 -1
  138. package/domainVerification.d.ts +3 -22
  139. package/domainVerification.js +0 -19
  140. package/domainVerification.js.map +1 -1
  141. package/emailCustomization.d.ts +3 -224
  142. package/emailCustomization.js +0 -41
  143. package/emailCustomization.js.map +1 -1
  144. package/emailSender.d.ts +13 -39
  145. package/emailSender.js +0 -26
  146. package/emailSender.js.map +1 -1
  147. package/emailSenderVerification.d.ts +3 -26
  148. package/emailSenderVerification.js +0 -23
  149. package/emailSenderVerification.js.map +1 -1
  150. package/eventHook.d.ts +0 -37
  151. package/eventHook.js +0 -37
  152. package/eventHook.js.map +1 -1
  153. package/eventHookVerification.d.ts +3 -37
  154. package/eventHookVerification.js +0 -34
  155. package/eventHookVerification.js.map +1 -1
  156. package/factor/factor.d.ts +6 -23
  157. package/factor/factor.js +0 -14
  158. package/factor/factor.js.map +1 -1
  159. package/factorTotp.d.ts +12 -44
  160. package/factorTotp.js +0 -23
  161. package/factorTotp.js.map +1 -1
  162. package/getAppGroupAssignments.d.ts +6 -6
  163. package/getAppGroupAssignments.js +2 -2
  164. package/getAppSignonPolicy.d.ts +16 -6
  165. package/getAppSignonPolicy.js +8 -4
  166. package/getAppSignonPolicy.js.map +1 -1
  167. package/getAppUserAssignments.d.ts +6 -6
  168. package/getAppUserAssignments.js +2 -2
  169. package/getAuthServerClaim.d.ts +15 -12
  170. package/getAuthServerClaim.js +2 -2
  171. package/getAuthServerClaim.js.map +1 -1
  172. package/getAuthServerClaims.d.ts +8 -5
  173. package/getAuthServerClaims.js +2 -2
  174. package/getAuthServerClaims.js.map +1 -1
  175. package/getAuthenticator.d.ts +24 -26
  176. package/getAuthenticator.js +14 -22
  177. package/getAuthenticator.js.map +1 -1
  178. package/getBehaviour.d.ts +6 -8
  179. package/getBehaviour.js +2 -2
  180. package/getBehaviour.js.map +1 -1
  181. package/getBehaviours.d.ts +7 -7
  182. package/getBehaviours.js +2 -2
  183. package/getBrand.d.ts +9 -6
  184. package/getBrand.js +2 -2
  185. package/getBrand.js.map +1 -1
  186. package/getBrands.d.ts +2 -2
  187. package/getBrands.js +2 -2
  188. package/getEmailCustomization.d.ts +14 -9
  189. package/getEmailCustomization.js +2 -6
  190. package/getEmailCustomization.js.map +1 -1
  191. package/getEmailCustomizations.d.ts +11 -9
  192. package/getEmailCustomizations.js +2 -6
  193. package/getEmailCustomizations.js.map +1 -1
  194. package/getGroups.d.ts +11 -25
  195. package/getGroups.js +2 -2
  196. package/getGroups.js.map +1 -1
  197. package/getNetworkZone.d.ts +12 -12
  198. package/getNetworkZone.js +2 -2
  199. package/getRoleSubscription.d.ts +13 -35
  200. package/getRoleSubscription.js +2 -2
  201. package/getRoleSubscription.js.map +1 -1
  202. package/getTemplate.d.ts +10 -8
  203. package/getTemplate.js +2 -6
  204. package/getTemplate.js.map +1 -1
  205. package/getTemplates.d.ts +6 -7
  206. package/getTemplates.js +2 -6
  207. package/getTemplates.js.map +1 -1
  208. package/getTheme.d.ts +14 -12
  209. package/getTheme.js +2 -6
  210. package/getTheme.js.map +1 -1
  211. package/getThemes.d.ts +6 -7
  212. package/getThemes.js +2 -6
  213. package/getThemes.js.map +1 -1
  214. package/getTrustedOrigins.d.ts +7 -4
  215. package/getTrustedOrigins.js +2 -2
  216. package/getTrustedOrigins.js.map +1 -1
  217. package/getUserSecurityQuestions.d.ts +4 -8
  218. package/getUserSecurityQuestions.js +0 -4
  219. package/getUserSecurityQuestions.js.map +1 -1
  220. package/group/getEveryoneGroup.d.ts +10 -5
  221. package/group/getEveryoneGroup.js +4 -2
  222. package/group/getEveryoneGroup.js.map +1 -1
  223. package/group/getGroup.d.ts +17 -22
  224. package/group/getGroup.js +2 -2
  225. package/group/getGroup.js.map +1 -1
  226. package/group/getRule.d.ts +6 -15
  227. package/group/getRule.js +2 -2
  228. package/group/getRule.js.map +1 -1
  229. package/group/group.d.ts +9 -46
  230. package/group/group.js +0 -37
  231. package/group/group.js.map +1 -1
  232. package/group/role.d.ts +15 -101
  233. package/group/role.js +0 -26
  234. package/group/role.js.map +1 -1
  235. package/group/rule.d.ts +6 -84
  236. package/group/rule.js +0 -27
  237. package/group/rule.js.map +1 -1
  238. package/groupMemberships.d.ts +7 -42
  239. package/groupMemberships.js +1 -36
  240. package/groupMemberships.js.map +1 -1
  241. package/groupSchemaProperty.d.ts +51 -94
  242. package/groupSchemaProperty.js +0 -25
  243. package/groupSchemaProperty.js.map +1 -1
  244. package/idp/getMetadataSaml.d.ts +9 -6
  245. package/idp/getMetadataSaml.js +2 -2
  246. package/idp/getMetadataSaml.js.map +1 -1
  247. package/idp/getOidc.d.ts +9 -9
  248. package/idp/getOidc.js +2 -2
  249. package/idp/getSaml.d.ts +16 -13
  250. package/idp/getSaml.js +2 -2
  251. package/idp/getSaml.js.map +1 -1
  252. package/idp/getSocial.d.ts +8 -2
  253. package/idp/getSocial.js +2 -2
  254. package/idp/getSocial.js.map +1 -1
  255. package/idp/oidc.d.ts +12 -297
  256. package/idp/oidc.js +0 -36
  257. package/idp/oidc.js.map +1 -1
  258. package/idp/saml.d.ts +18 -284
  259. package/idp/saml.js +0 -32
  260. package/idp/saml.js.map +1 -1
  261. package/idp/samlKey.d.ts +3 -48
  262. package/idp/samlKey.js +0 -9
  263. package/idp/samlKey.js.map +1 -1
  264. package/idp/social.d.ts +18 -251
  265. package/idp/social.js +0 -32
  266. package/idp/social.js.map +1 -1
  267. package/index/emailDomain.d.ts +16 -41
  268. package/index/emailDomain.js +0 -25
  269. package/index/emailDomain.js.map +1 -1
  270. package/index/emailDomainVerification.d.ts +3 -25
  271. package/index/emailDomainVerification.js +0 -22
  272. package/index/emailDomainVerification.js.map +1 -1
  273. package/index/getDomain.d.ts +11 -14
  274. package/index/getDomain.js +2 -8
  275. package/index/getDomain.js.map +1 -1
  276. package/inline/hook.d.ts +0 -89
  277. package/inline/hook.js +0 -35
  278. package/inline/hook.js.map +1 -1
  279. package/linkDefinition.d.ts +0 -30
  280. package/linkDefinition.js +0 -30
  281. package/linkDefinition.js.map +1 -1
  282. package/linkValue.d.ts +6 -59
  283. package/linkValue.js +0 -53
  284. package/linkValue.js.map +1 -1
  285. package/network/zone.d.ts +27 -74
  286. package/network/zone.js +0 -44
  287. package/network/zone.js.map +1 -1
  288. package/orgConfiguration.d.ts +0 -25
  289. package/orgConfiguration.js +0 -25
  290. package/orgConfiguration.js.map +1 -1
  291. package/orgSupport.d.ts +3 -20
  292. package/orgSupport.js +0 -17
  293. package/orgSupport.js.map +1 -1
  294. package/package.json +2 -2
  295. package/package.json.bak +1 -1
  296. package/policy/getDefaultPolicy.d.ts +9 -7
  297. package/policy/getDefaultPolicy.js +6 -2
  298. package/policy/getDefaultPolicy.js.map +1 -1
  299. package/policy/getPolicy.d.ts +11 -10
  300. package/policy/getPolicy.js +2 -2
  301. package/policy/getPolicy.js.map +1 -1
  302. package/policy/mfa.d.ts +18 -259
  303. package/policy/mfa.js +0 -49
  304. package/policy/mfa.js.map +1 -1
  305. package/policy/password.d.ts +90 -117
  306. package/policy/password.js +0 -27
  307. package/policy/password.js.map +1 -1
  308. package/policy/ruleIdpDiscovery.d.ts +27 -149
  309. package/policy/ruleIdpDiscovery.js +0 -65
  310. package/policy/ruleIdpDiscovery.js.map +1 -1
  311. package/policy/ruleMfa.d.ts +24 -35
  312. package/policy/ruleMfa.js +0 -11
  313. package/policy/ruleMfa.js.map +1 -1
  314. package/policy/rulePassword.d.ts +33 -46
  315. package/policy/rulePassword.js +0 -13
  316. package/policy/rulePassword.js.map +1 -1
  317. package/policy/ruleSignon.d.ts +57 -170
  318. package/policy/ruleSignon.js +0 -92
  319. package/policy/ruleSignon.js.map +1 -1
  320. package/policy/signon.d.ts +15 -41
  321. package/policy/signon.js +0 -26
  322. package/policy/signon.js.map +1 -1
  323. package/policyMfaDefault.d.ts +13 -250
  324. package/policyMfaDefault.js +0 -45
  325. package/policyMfaDefault.js.map +1 -1
  326. package/policyPasswordDefault.d.ts +54 -88
  327. package/policyPasswordDefault.js +0 -22
  328. package/policyPasswordDefault.js.map +1 -1
  329. package/policyProfileEnrollment.d.ts +6 -28
  330. package/policyProfileEnrollment.js +0 -22
  331. package/policyProfileEnrollment.js.map +1 -1
  332. package/policyProfileEnrollmentApps.d.ts +5 -42
  333. package/policyProfileEnrollmentApps.js +0 -37
  334. package/policyProfileEnrollmentApps.js.map +1 -1
  335. package/policyRuleProfileEnrollment.d.ts +23 -85
  336. package/policyRuleProfileEnrollment.js +0 -62
  337. package/policyRuleProfileEnrollment.js.map +1 -1
  338. package/profile/mapping.d.ts +9 -95
  339. package/profile/mapping.js +0 -41
  340. package/profile/mapping.js.map +1 -1
  341. package/rateLimiting.d.ts +9 -43
  342. package/rateLimiting.js +0 -28
  343. package/rateLimiting.js.map +1 -1
  344. package/resourceSet.d.ts +10 -32
  345. package/resourceSet.js +1 -20
  346. package/resourceSet.js.map +1 -1
  347. package/roleSubscription.d.ts +9 -110
  348. package/roleSubscription.js +0 -26
  349. package/roleSubscription.js.map +1 -1
  350. package/securityNotificationEmails.d.ts +15 -45
  351. package/securityNotificationEmails.js +0 -30
  352. package/securityNotificationEmails.js.map +1 -1
  353. package/templateSms.d.ts +3 -47
  354. package/templateSms.js +0 -35
  355. package/templateSms.js.map +1 -1
  356. package/theme.d.ts +44 -53
  357. package/theme.js +0 -9
  358. package/theme.js.map +1 -1
  359. package/threatInsightSettings.d.ts +6 -58
  360. package/threatInsightSettings.js +0 -34
  361. package/threatInsightSettings.js.map +1 -1
  362. package/trustedorigin/origin.d.ts +12 -37
  363. package/trustedorigin/origin.js +0 -25
  364. package/trustedorigin/origin.js.map +1 -1
  365. package/types/input.d.ts +60 -227
  366. package/types/output.d.ts +56 -446
  367. package/user/getUser.d.ts +32 -104
  368. package/user/getUser.js +2 -2
  369. package/user/getUser.js.map +1 -1
  370. package/user/getUserProfileMappingSource.d.ts +9 -7
  371. package/user/getUserProfileMappingSource.js +6 -4
  372. package/user/getUserProfileMappingSource.js.map +1 -1
  373. package/user/getUserType.d.ts +7 -7
  374. package/user/getUserType.js +2 -2
  375. package/user/getUsers.d.ts +61 -57
  376. package/user/getUsers.js +30 -44
  377. package/user/getUsers.js.map +1 -1
  378. package/user/user.d.ts +117 -215
  379. package/user/user.js +0 -71
  380. package/user/user.js.map +1 -1
  381. package/user/userType.d.ts +9 -34
  382. package/user/userType.js +0 -25
  383. package/user/userType.js.map +1 -1
  384. package/userAdminRoles.d.ts +10 -41
  385. package/userAdminRoles.js +1 -29
  386. package/userAdminRoles.js.map +1 -1
  387. package/userBaseSchemaProperty.d.ts +24 -67
  388. package/userBaseSchemaProperty.js +0 -43
  389. package/userBaseSchemaProperty.js.map +1 -1
  390. package/userFactorQuestion.d.ts +14 -52
  391. package/userFactorQuestion.js +1 -39
  392. package/userFactorQuestion.js.map +1 -1
  393. package/userGroupMemberships.d.ts +4 -23
  394. package/userGroupMemberships.js +1 -20
  395. package/userGroupMemberships.js.map +1 -1
  396. package/userSchemaProperty.d.ts +57 -107
  397. package/userSchemaProperty.js +0 -32
  398. package/userSchemaProperty.js.map +1 -1
  399. package/scripts/install-pulumi-plugin.js +0 -21
@@ -1,44 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates security question factor for a user.
4
- *
5
- * This resource allows you to create and configure security question factor for a user.
6
- *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as okta from "@pulumi/okta";
12
- *
13
- * const exampleUser = new okta.user.User("exampleUser", {
14
- * firstName: "John",
15
- * lastName: "Smith",
16
- * login: "john.smith@example.com",
17
- * email: "john.smith@example.com",
18
- * });
19
- * const exampleUserSecurityQuestions = okta.getUserSecurityQuestionsOutput({
20
- * userId: exampleUser.id,
21
- * });
22
- * const exampleFactor = new okta.factor.Factor("exampleFactor", {
23
- * providerId: "okta_question",
24
- * active: true,
25
- * });
26
- * const exampleUserFactorQuestion = new okta.UserFactorQuestion("exampleUserFactorQuestion", {
27
- * userId: exampleUser.id,
28
- * key: exampleUserSecurityQuestions.apply(exampleUserSecurityQuestions => exampleUserSecurityQuestions.questions?.[0]?.key),
29
- * answer: "meatball",
30
- * }, {
31
- * dependsOn: [exampleFactor],
32
- * });
33
- * ```
34
- *
35
- * ## Import
36
- *
37
- * Security question factor for a user can be imported via the `user_id` and the `factor_id`.
38
- *
39
- * ```sh
40
- * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user id>/<question factor id>
41
- * ```
3
+ * Resource to manage a question factor for a user
42
4
  */
43
5
  export declare class UserFactorQuestion extends pulumi.CustomResource {
44
6
  /**
@@ -57,23 +19,23 @@ export declare class UserFactorQuestion extends pulumi.CustomResource {
57
19
  */
58
20
  static isInstance(obj: any): obj is UserFactorQuestion;
59
21
  /**
60
- * Security question answer. Note here that answer won't be set during the resource import.
22
+ * User password security answer
61
23
  */
62
24
  readonly answer: pulumi.Output<string>;
63
25
  /**
64
- * Security question unique key.
26
+ * Unique key for question
65
27
  */
66
28
  readonly key: pulumi.Output<string>;
67
29
  /**
68
- * The status of the security question factor.
30
+ * User factor status.
69
31
  */
70
32
  readonly status: pulumi.Output<string>;
71
33
  /**
72
- * Display text for security question.
34
+ * Display text for question
73
35
  */
74
36
  readonly text: pulumi.Output<string>;
75
37
  /**
76
- * ID of the user. Resource will be recreated when `userId` changes.
38
+ * ID of a Okta User
77
39
  */
78
40
  readonly userId: pulumi.Output<string>;
79
41
  /**
@@ -90,23 +52,23 @@ export declare class UserFactorQuestion extends pulumi.CustomResource {
90
52
  */
91
53
  export interface UserFactorQuestionState {
92
54
  /**
93
- * Security question answer. Note here that answer won't be set during the resource import.
55
+ * User password security answer
94
56
  */
95
57
  answer?: pulumi.Input<string>;
96
58
  /**
97
- * Security question unique key.
59
+ * Unique key for question
98
60
  */
99
61
  key?: pulumi.Input<string>;
100
62
  /**
101
- * The status of the security question factor.
63
+ * User factor status.
102
64
  */
103
65
  status?: pulumi.Input<string>;
104
66
  /**
105
- * Display text for security question.
67
+ * Display text for question
106
68
  */
107
69
  text?: pulumi.Input<string>;
108
70
  /**
109
- * ID of the user. Resource will be recreated when `userId` changes.
71
+ * ID of a Okta User
110
72
  */
111
73
  userId?: pulumi.Input<string>;
112
74
  }
@@ -115,15 +77,15 @@ export interface UserFactorQuestionState {
115
77
  */
116
78
  export interface UserFactorQuestionArgs {
117
79
  /**
118
- * Security question answer. Note here that answer won't be set during the resource import.
80
+ * User password security answer
119
81
  */
120
82
  answer: pulumi.Input<string>;
121
83
  /**
122
- * Security question unique key.
84
+ * Unique key for question
123
85
  */
124
86
  key: pulumi.Input<string>;
125
87
  /**
126
- * ID of the user. Resource will be recreated when `userId` changes.
88
+ * ID of a Okta User
127
89
  */
128
90
  userId: pulumi.Input<string>;
129
91
  }
@@ -6,45 +6,7 @@ exports.UserFactorQuestion = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Creates security question factor for a user.
10
- *
11
- * This resource allows you to create and configure security question factor for a user.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as okta from "@pulumi/okta";
18
- *
19
- * const exampleUser = new okta.user.User("exampleUser", {
20
- * firstName: "John",
21
- * lastName: "Smith",
22
- * login: "john.smith@example.com",
23
- * email: "john.smith@example.com",
24
- * });
25
- * const exampleUserSecurityQuestions = okta.getUserSecurityQuestionsOutput({
26
- * userId: exampleUser.id,
27
- * });
28
- * const exampleFactor = new okta.factor.Factor("exampleFactor", {
29
- * providerId: "okta_question",
30
- * active: true,
31
- * });
32
- * const exampleUserFactorQuestion = new okta.UserFactorQuestion("exampleUserFactorQuestion", {
33
- * userId: exampleUser.id,
34
- * key: exampleUserSecurityQuestions.apply(exampleUserSecurityQuestions => exampleUserSecurityQuestions.questions?.[0]?.key),
35
- * answer: "meatball",
36
- * }, {
37
- * dependsOn: [exampleFactor],
38
- * });
39
- * ```
40
- *
41
- * ## Import
42
- *
43
- * Security question factor for a user can be imported via the `user_id` and the `factor_id`.
44
- *
45
- * ```sh
46
- * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example &#60;user id&#62;/&#60;question factor id&#62;
47
- * ```
9
+ * Resource to manage a question factor for a user
48
10
  */
49
11
  class UserFactorQuestion extends pulumi.CustomResource {
50
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"userFactorQuestion.js","sourceRoot":"","sources":["../userFactorQuestion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC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ta";
8
- *
9
- * const testUser = new okta.user.User("testUser", {
10
- * firstName: "TestAcc",
11
- * lastName: "Smith",
12
- * login: "testAcc-replace_with_uuid@example.com",
13
- * email: "testAcc-replace_with_uuid@example.com",
14
- * });
15
- * const testUserGroupMemberships = new okta.UserGroupMemberships("testUserGroupMemberships", {
16
- * userId: testUser.id,
17
- * groups: [
18
- * okta_group.test_1.id,
19
- * okta_group.test_2.id,
20
- * ],
21
- * });
22
- * ```
3
+ * Resource to manage a set of group memberships for a specific user.
23
4
  */
24
5
  export declare class UserGroupMemberships extends pulumi.CustomResource {
25
6
  /**
@@ -42,7 +23,7 @@ export declare class UserGroupMemberships extends pulumi.CustomResource {
42
23
  */
43
24
  readonly groups: pulumi.Output<string[]>;
44
25
  /**
45
- * Okta user ID.
26
+ * ID of a Okta User
46
27
  */
47
28
  readonly userId: pulumi.Output<string>;
48
29
  /**
@@ -63,7 +44,7 @@ export interface UserGroupMembershipsState {
63
44
  */
64
45
  groups?: pulumi.Input<pulumi.Input<string>[]>;
65
46
  /**
66
- * Okta user ID.
47
+ * ID of a Okta User
67
48
  */
68
49
  userId?: pulumi.Input<string>;
69
50
  }
@@ -76,7 +57,7 @@ export interface UserGroupMembershipsArgs {
76
57
  */
77
58
  groups: pulumi.Input<pulumi.Input<string>[]>;
78
59
  /**
79
- * Okta user ID.
60
+ * ID of a Okta User
80
61
  */
81
62
  userId: pulumi.Input<string>;
82
63
  }
@@ -6,26 +6,7 @@ exports.UserGroupMemberships = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as okta from "@pulumi/okta";
14
- *
15
- * const testUser = new okta.user.User("testUser", {
16
- * firstName: "TestAcc",
17
- * lastName: "Smith",
18
- * login: "testAcc-replace_with_uuid@example.com",
19
- * email: "testAcc-replace_with_uuid@example.com",
20
- * });
21
- * const testUserGroupMemberships = new okta.UserGroupMemberships("testUserGroupMemberships", {
22
- * userId: testUser.id,
23
- * groups: [
24
- * okta_group.test_1.id,
25
- * okta_group.test_2.id,
26
- * ],
27
- * });
28
- * ```
9
+ * Resource to manage a set of group memberships for a specific user.
29
10
  */
30
11
  class UserGroupMemberships extends pulumi.CustomResource {
31
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"userGroupMemberships.js","sourceRoot":"","sources":["../userGroupMemberships.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,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,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjEL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,sDAAsD,CAAC"}
@@ -1,38 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
- /**
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as okta from "@pulumi/okta";
10
- *
11
- * const example = new okta.UserSchemaProperty("example", {
12
- * description: "My custom property name",
13
- * index: "customPropertyName",
14
- * master: "OKTA",
15
- * scope: "SELF",
16
- * title: "customPropertyName",
17
- * type: "string",
18
- * userType: data.okta_user_type.example.id,
19
- * });
20
- * ```
21
- *
22
- * ## Import
23
- *
24
- * User schema property of default user type can be imported via the property variableName.
25
- *
26
- * ```sh
27
- * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example &#60;variableName&#62;
28
- * ```
29
- *
30
- * User schema property of custom user type can be imported via user type id and property index
31
- *
32
- * ```sh
33
- * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example &#60;user type id&#62;.&#60;index&#62;
34
- * ```
35
- */
36
4
  export declare class UserSchemaProperty extends pulumi.CustomResource {
37
5
  /**
38
6
  * Get an existing UserSchemaProperty resource's state with the given name, ID, and optional extra
@@ -50,87 +18,81 @@ export declare class UserSchemaProperty extends pulumi.CustomResource {
50
18
  */
51
19
  static isInstance(obj: any): obj is UserSchemaProperty;
52
20
  /**
53
- * Array of values that an array property's items can be set to.
21
+ * Custom Subschema enumerated value of a property of type array.
54
22
  */
55
23
  readonly arrayEnums: pulumi.Output<string[] | undefined>;
56
24
  /**
57
- * Display name and value an enum array can be set to.
25
+ * array of valid JSON schemas for property type array.
58
26
  */
59
27
  readonly arrayOneOfs: pulumi.Output<outputs.UserSchemaPropertyArrayOneOf[] | undefined>;
60
28
  /**
61
- * The type of the array elements if `type` is set to `"array"`.
29
+ * Subschema array type: string, number, integer, reference. Type field must be an array.
62
30
  */
63
31
  readonly arrayType: pulumi.Output<string | undefined>;
64
32
  /**
65
- * The description of the user schema property.
33
+ * Custom Subschema description
66
34
  */
67
35
  readonly description: pulumi.Output<string | undefined>;
68
36
  /**
69
- * Array of values a primitive property can be set to. See `arrayEnum` for arrays.
37
+ * Custom Subschema enumerated value of the property. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
70
38
  */
71
39
  readonly enums: pulumi.Output<string[] | undefined>;
72
40
  /**
73
- * External name of the user schema property.
41
+ * Subschema external name
74
42
  */
75
43
  readonly externalName: pulumi.Output<string | undefined>;
76
44
  /**
77
- * External name of the user schema property.
45
+ * Subschema external namespace
78
46
  */
79
47
  readonly externalNamespace: pulumi.Output<string | undefined>;
80
48
  /**
81
- * The property name.
49
+ * Subschema unique string identifier
82
50
  */
83
51
  readonly index: pulumi.Output<string>;
84
52
  /**
85
- * Master priority for the user schema property. It can be set to `"PROFILE_MASTER"`, `"OVERRIDE"` or `"OKTA"`.
53
+ * SubSchema profile manager, if not set it will inherit its setting.
86
54
  */
87
55
  readonly master: pulumi.Output<string | undefined>;
88
- /**
89
- * Prioritized list of profile sources (required when `master` is `"OVERRIDE"`).
90
- */
91
56
  readonly masterOverridePriorities: pulumi.Output<outputs.UserSchemaPropertyMasterOverridePriority[] | undefined>;
92
57
  /**
93
- * The maximum length of the user property value. Only applies to type `"string"`.
58
+ * Subschema of type string maximum length
94
59
  */
95
60
  readonly maxLength: pulumi.Output<number | undefined>;
96
61
  /**
97
- * The minimum length of the user property value. Only applies to type `"string"`.
62
+ * Subschema of type string minimum length
98
63
  */
99
64
  readonly minLength: pulumi.Output<number | undefined>;
100
65
  /**
101
- * Array of maps containing a mapping for display name to enum value.
66
+ * Custom Subschema json schemas. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
102
67
  */
103
68
  readonly oneOfs: pulumi.Output<outputs.UserSchemaPropertyOneOf[] | undefined>;
104
69
  /**
105
- * The validation pattern to use for the subschema. Must be in form of '.+', or '[<pattern>]+' if present.'
70
+ * The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
106
71
  */
107
72
  readonly pattern: pulumi.Output<string | undefined>;
108
73
  /**
109
- * Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
74
+ * SubSchema permissions: HIDE, READ*ONLY, or READ*WRITE.
110
75
  */
111
76
  readonly permissions: pulumi.Output<string | undefined>;
112
77
  /**
113
- * Whether the property is required for these users.
78
+ * Whether the subschema is required
114
79
  */
115
80
  readonly required: pulumi.Output<boolean | undefined>;
116
- /**
117
- * determines whether an app user attribute can be set at the Individual or Group Level.
118
- */
119
81
  readonly scope: pulumi.Output<string | undefined>;
120
82
  /**
121
- * display name for the enum value.
83
+ * Enum title
122
84
  */
123
85
  readonly title: pulumi.Output<string>;
124
86
  /**
125
- * Type of profile source.
87
+ * Subschema type: string, boolean, number, integer, array, or object
126
88
  */
127
89
  readonly type: pulumi.Output<string>;
128
90
  /**
129
- * Whether the property should be unique. It can be set to `"UNIQUE_VALIDATED"` or `"NOT_UNIQUE"`.
91
+ * Subschema unique restriction
130
92
  */
131
93
  readonly unique: pulumi.Output<string | undefined>;
132
94
  /**
133
- * User type ID
95
+ * Custom subschema user type
134
96
  */
135
97
  readonly userType: pulumi.Output<string | undefined>;
136
98
  /**
@@ -147,87 +109,81 @@ export declare class UserSchemaProperty extends pulumi.CustomResource {
147
109
  */
148
110
  export interface UserSchemaPropertyState {
149
111
  /**
150
- * Array of values that an array property's items can be set to.
112
+ * Custom Subschema enumerated value of a property of type array.
151
113
  */
152
114
  arrayEnums?: pulumi.Input<pulumi.Input<string>[]>;
153
115
  /**
154
- * Display name and value an enum array can be set to.
116
+ * array of valid JSON schemas for property type array.
155
117
  */
156
118
  arrayOneOfs?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyArrayOneOf>[]>;
157
119
  /**
158
- * The type of the array elements if `type` is set to `"array"`.
120
+ * Subschema array type: string, number, integer, reference. Type field must be an array.
159
121
  */
160
122
  arrayType?: pulumi.Input<string>;
161
123
  /**
162
- * The description of the user schema property.
124
+ * Custom Subschema description
163
125
  */
164
126
  description?: pulumi.Input<string>;
165
127
  /**
166
- * Array of values a primitive property can be set to. See `arrayEnum` for arrays.
128
+ * Custom Subschema enumerated value of the property. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
167
129
  */
168
130
  enums?: pulumi.Input<pulumi.Input<string>[]>;
169
131
  /**
170
- * External name of the user schema property.
132
+ * Subschema external name
171
133
  */
172
134
  externalName?: pulumi.Input<string>;
173
135
  /**
174
- * External name of the user schema property.
136
+ * Subschema external namespace
175
137
  */
176
138
  externalNamespace?: pulumi.Input<string>;
177
139
  /**
178
- * The property name.
140
+ * Subschema unique string identifier
179
141
  */
180
142
  index?: pulumi.Input<string>;
181
143
  /**
182
- * Master priority for the user schema property. It can be set to `"PROFILE_MASTER"`, `"OVERRIDE"` or `"OKTA"`.
144
+ * SubSchema profile manager, if not set it will inherit its setting.
183
145
  */
184
146
  master?: pulumi.Input<string>;
185
- /**
186
- * Prioritized list of profile sources (required when `master` is `"OVERRIDE"`).
187
- */
188
147
  masterOverridePriorities?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyMasterOverridePriority>[]>;
189
148
  /**
190
- * The maximum length of the user property value. Only applies to type `"string"`.
149
+ * Subschema of type string maximum length
191
150
  */
192
151
  maxLength?: pulumi.Input<number>;
193
152
  /**
194
- * The minimum length of the user property value. Only applies to type `"string"`.
153
+ * Subschema of type string minimum length
195
154
  */
196
155
  minLength?: pulumi.Input<number>;
197
156
  /**
198
- * Array of maps containing a mapping for display name to enum value.
157
+ * Custom Subschema json schemas. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
199
158
  */
200
159
  oneOfs?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyOneOf>[]>;
201
160
  /**
202
- * The validation pattern to use for the subschema. Must be in form of '.+', or '[<pattern>]+' if present.'
161
+ * The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
203
162
  */
204
163
  pattern?: pulumi.Input<string>;
205
164
  /**
206
- * Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
165
+ * SubSchema permissions: HIDE, READ*ONLY, or READ*WRITE.
207
166
  */
208
167
  permissions?: pulumi.Input<string>;
209
168
  /**
210
- * Whether the property is required for these users.
169
+ * Whether the subschema is required
211
170
  */
212
171
  required?: pulumi.Input<boolean>;
213
- /**
214
- * determines whether an app user attribute can be set at the Individual or Group Level.
215
- */
216
172
  scope?: pulumi.Input<string>;
217
173
  /**
218
- * display name for the enum value.
174
+ * Enum title
219
175
  */
220
176
  title?: pulumi.Input<string>;
221
177
  /**
222
- * Type of profile source.
178
+ * Subschema type: string, boolean, number, integer, array, or object
223
179
  */
224
180
  type?: pulumi.Input<string>;
225
181
  /**
226
- * Whether the property should be unique. It can be set to `"UNIQUE_VALIDATED"` or `"NOT_UNIQUE"`.
182
+ * Subschema unique restriction
227
183
  */
228
184
  unique?: pulumi.Input<string>;
229
185
  /**
230
- * User type ID
186
+ * Custom subschema user type
231
187
  */
232
188
  userType?: pulumi.Input<string>;
233
189
  }
@@ -236,87 +192,81 @@ export interface UserSchemaPropertyState {
236
192
  */
237
193
  export interface UserSchemaPropertyArgs {
238
194
  /**
239
- * Array of values that an array property's items can be set to.
195
+ * Custom Subschema enumerated value of a property of type array.
240
196
  */
241
197
  arrayEnums?: pulumi.Input<pulumi.Input<string>[]>;
242
198
  /**
243
- * Display name and value an enum array can be set to.
199
+ * array of valid JSON schemas for property type array.
244
200
  */
245
201
  arrayOneOfs?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyArrayOneOf>[]>;
246
202
  /**
247
- * The type of the array elements if `type` is set to `"array"`.
203
+ * Subschema array type: string, number, integer, reference. Type field must be an array.
248
204
  */
249
205
  arrayType?: pulumi.Input<string>;
250
206
  /**
251
- * The description of the user schema property.
207
+ * Custom Subschema description
252
208
  */
253
209
  description?: pulumi.Input<string>;
254
210
  /**
255
- * Array of values a primitive property can be set to. See `arrayEnum` for arrays.
211
+ * Custom Subschema enumerated value of the property. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
256
212
  */
257
213
  enums?: pulumi.Input<pulumi.Input<string>[]>;
258
214
  /**
259
- * External name of the user schema property.
215
+ * Subschema external name
260
216
  */
261
217
  externalName?: pulumi.Input<string>;
262
218
  /**
263
- * External name of the user schema property.
219
+ * Subschema external namespace
264
220
  */
265
221
  externalNamespace?: pulumi.Input<string>;
266
222
  /**
267
- * The property name.
223
+ * Subschema unique string identifier
268
224
  */
269
225
  index: pulumi.Input<string>;
270
226
  /**
271
- * Master priority for the user schema property. It can be set to `"PROFILE_MASTER"`, `"OVERRIDE"` or `"OKTA"`.
227
+ * SubSchema profile manager, if not set it will inherit its setting.
272
228
  */
273
229
  master?: pulumi.Input<string>;
274
- /**
275
- * Prioritized list of profile sources (required when `master` is `"OVERRIDE"`).
276
- */
277
230
  masterOverridePriorities?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyMasterOverridePriority>[]>;
278
231
  /**
279
- * The maximum length of the user property value. Only applies to type `"string"`.
232
+ * Subschema of type string maximum length
280
233
  */
281
234
  maxLength?: pulumi.Input<number>;
282
235
  /**
283
- * The minimum length of the user property value. Only applies to type `"string"`.
236
+ * Subschema of type string minimum length
284
237
  */
285
238
  minLength?: pulumi.Input<number>;
286
239
  /**
287
- * Array of maps containing a mapping for display name to enum value.
240
+ * Custom Subschema json schemas. see: developer.okta.com/docs/api/resources/schemas#user-profile-schema-property-object
288
241
  */
289
242
  oneOfs?: pulumi.Input<pulumi.Input<inputs.UserSchemaPropertyOneOf>[]>;
290
243
  /**
291
- * The validation pattern to use for the subschema. Must be in form of '.+', or '[<pattern>]+' if present.'
244
+ * The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
292
245
  */
293
246
  pattern?: pulumi.Input<string>;
294
247
  /**
295
- * Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
248
+ * SubSchema permissions: HIDE, READ*ONLY, or READ*WRITE.
296
249
  */
297
250
  permissions?: pulumi.Input<string>;
298
251
  /**
299
- * Whether the property is required for these users.
252
+ * Whether the subschema is required
300
253
  */
301
254
  required?: pulumi.Input<boolean>;
302
- /**
303
- * determines whether an app user attribute can be set at the Individual or Group Level.
304
- */
305
255
  scope?: pulumi.Input<string>;
306
256
  /**
307
- * display name for the enum value.
257
+ * Enum title
308
258
  */
309
259
  title: pulumi.Input<string>;
310
260
  /**
311
- * Type of profile source.
261
+ * Subschema type: string, boolean, number, integer, array, or object
312
262
  */
313
263
  type: pulumi.Input<string>;
314
264
  /**
315
- * Whether the property should be unique. It can be set to `"UNIQUE_VALIDATED"` or `"NOT_UNIQUE"`.
265
+ * Subschema unique restriction
316
266
  */
317
267
  unique?: pulumi.Input<string>;
318
268
  /**
319
- * User type ID
269
+ * Custom subschema user type
320
270
  */
321
271
  userType?: pulumi.Input<string>;
322
272
  }