@pulumi/okta 4.9.0-alpha.1718431198 → 4.9.0-alpha.1718755579

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
@@ -1,13 +1,12 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * Manages Profile Enrollment Policy Apps
3
4
  * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
4
- *
5
5
  * This resource allows you to manage the apps in the Profile Enrollment Policy.
6
- *
7
6
  * **Important Notes:**
8
7
  * - Default Enrollment Policy can not be used in this resource since it is used as a policy to re-assign apps to when they are unassigned from this one.
9
- * - When re-assigning the app to another policy, please use `dependsOn` in the policy to which the app will be assigned. This is necessary to avoid
10
- * unexpected behavior, since if the app is unassigned from the policy it is just assigned to the `Default` one.
8
+ * - When re-assigning the app to another policy, please use 'depends_on' in the policy to which the app will be assigned. This is necessary to avoid
9
+ * unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.
11
10
  *
12
11
  * ## Example Usage
13
12
  *
@@ -30,8 +29,6 @@ import * as pulumi from "@pulumi/pulumi";
30
29
  *
31
30
  * ## Import
32
31
  *
33
- * A Profile Enrollment Policy Apps can be imported via the Okta ID.
34
- *
35
32
  * ```sh
36
33
  * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy id>
37
34
  * ```
@@ -53,11 +50,11 @@ export declare class PolicyProfileEnrollmentApps extends pulumi.CustomResource {
53
50
  */
54
51
  static isInstance(obj: any): obj is PolicyProfileEnrollmentApps;
55
52
  /**
56
- * List of app IDs to be added to this policy.
53
+ * List of app IDs to be added to this policy
57
54
  */
58
55
  readonly apps: pulumi.Output<string[] | undefined>;
59
56
  /**
60
- * ID of the default enrollment policy.
57
+ * ID of the Default Enrollment Policy. This policy is used as a policy to re-assign apps to when they are unassigned from this one
61
58
  */
62
59
  readonly defaultPolicyId: pulumi.Output<string>;
63
60
  /**
@@ -78,11 +75,11 @@ export declare class PolicyProfileEnrollmentApps extends pulumi.CustomResource {
78
75
  */
79
76
  export interface PolicyProfileEnrollmentAppsState {
80
77
  /**
81
- * List of app IDs to be added to this policy.
78
+ * List of app IDs to be added to this policy
82
79
  */
83
80
  apps?: pulumi.Input<pulumi.Input<string>[]>;
84
81
  /**
85
- * ID of the default enrollment policy.
82
+ * ID of the Default Enrollment Policy. This policy is used as a policy to re-assign apps to when they are unassigned from this one
86
83
  */
87
84
  defaultPolicyId?: pulumi.Input<string>;
88
85
  /**
@@ -95,7 +92,7 @@ export interface PolicyProfileEnrollmentAppsState {
95
92
  */
96
93
  export interface PolicyProfileEnrollmentAppsArgs {
97
94
  /**
98
- * List of app IDs to be added to this policy.
95
+ * List of app IDs to be added to this policy
99
96
  */
100
97
  apps?: pulumi.Input<pulumi.Input<string>[]>;
101
98
  /**
@@ -6,14 +6,13 @@ exports.PolicyProfileEnrollmentApps = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Manages Profile Enrollment Policy Apps
9
10
  * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
10
- *
11
11
  * This resource allows you to manage the apps in the Profile Enrollment Policy.
12
- *
13
12
  * **Important Notes:**
14
13
  * - Default Enrollment Policy can not be used in this resource since it is used as a policy to re-assign apps to when they are unassigned from this one.
15
- * - When re-assigning the app to another policy, please use `dependsOn` in the policy to which the app will be assigned. This is necessary to avoid
16
- * unexpected behavior, since if the app is unassigned from the policy it is just assigned to the `Default` one.
14
+ * - When re-assigning the app to another policy, please use 'depends_on' in the policy to which the app will be assigned. This is necessary to avoid
15
+ * unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.
17
16
  *
18
17
  * ## Example Usage
19
18
  *
@@ -36,8 +35,6 @@ const utilities = require("./utilities");
36
35
  *
37
36
  * ## Import
38
37
  *
39
- * A Profile Enrollment Policy Apps can be imported via the Okta ID.
40
- *
41
38
  * ```sh
42
39
  * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example &#60;policy id&#62;
43
40
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"policyProfileEnrollmentApps.js","sourceRoot":"","sources":["../policyProfileEnrollmentApps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,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E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0D,CAAC;YACxE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AApEL,kEAqEC;AAvDG,gBAAgB;AACO,wCAAY,GAAG,oEAAoE,CAAC"}
@@ -2,8 +2,9 @@ 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
- * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
5
+ * Creates a Profile Enrollment Policy Rule.
6
6
  *
7
+ * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
7
8
  * A [profile enrollment
8
9
  * policy](https://developer.okta.com/docs/reference/api/policy/#profile-enrollment-policy)
9
10
  * is limited to one default rule. This resource does not create a rule for an
@@ -61,8 +62,6 @@ import * as outputs from "./types/output";
61
62
  *
62
63
  * ## Import
63
64
  *
64
- * A Policy Rule can be imported via the Policy and Rule ID.
65
- *
66
65
  * ```sh
67
66
  * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example &#60;policy id&#62;/&#60;rule id&#62;
68
67
  * ```
@@ -84,39 +83,43 @@ export declare class PolicyRuleProfileEnrollment extends pulumi.CustomResource {
84
83
  */
85
84
  static isInstance(obj: any): obj is PolicyRuleProfileEnrollment;
86
85
  /**
87
- * Allow or deny access based on the rule conditions. Valid values are: `"ALLOW"`, `"DENY"`. Default is `"ALLOW"`.
86
+ * Allow or deny access based on the rule conditions. Valid values are: `ALLOW`, `DENY`. Default: `ALLOW`.
88
87
  */
89
88
  readonly access: pulumi.Output<string | undefined>;
90
89
  /**
91
- * Indicates whether email verification should occur before access is granted. Default is `true`.
90
+ * Indicates whether email verification should occur before access is granted. Default: `true`.
92
91
  */
93
92
  readonly emailVerification: pulumi.Output<boolean | undefined>;
94
93
  /**
95
- * ID of a Registration Inline Hook.
94
+ * ID of a Registration Inline Hook
96
95
  */
97
96
  readonly inlineHookId: pulumi.Output<string | undefined>;
98
97
  /**
99
- * Name of the Rule.
98
+ * Name of the rule
100
99
  */
101
100
  readonly name: pulumi.Output<string>;
102
101
  /**
103
- * Policy ID.
102
+ * ID of the policy
104
103
  */
105
104
  readonly policyId: pulumi.Output<string>;
106
105
  /**
107
- * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema, these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is supported.
106
+ * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema,
107
+ * these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to
108
+ * the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is
109
+ * supported. - 'label' - (Required) A display-friendly label for this property - 'name' - (Required) The name of a User
110
+ * Profile property - 'required' - (Required) Indicates if this property is required for enrollment. Default is 'false'.
108
111
  */
109
112
  readonly profileAttributes: pulumi.Output<outputs.PolicyRuleProfileEnrollmentProfileAttribute[] | undefined>;
110
113
  /**
111
- * Enabled or disabled progressive profiling action rule conditions. Valid values are: `"ENABLED"`, `"DISABLED"`. Default is `"DISABLED"`.
114
+ * Enabled or disabled progressive profiling action rule conditions: `ENABLED` or `DISABLED`. Default: `DISABLED`
112
115
  */
113
116
  readonly progressiveProfilingAction: pulumi.Output<string | undefined>;
114
117
  /**
115
- * Status of the Rule.
118
+ * Status of the rule
116
119
  */
117
120
  readonly status: pulumi.Output<string>;
118
121
  /**
119
- * The ID of a Group that this User should be added to.
122
+ * The ID of a Group that this User should be added to
120
123
  */
121
124
  readonly targetGroupId: pulumi.Output<string | undefined>;
122
125
  /**
@@ -124,7 +127,7 @@ export declare class PolicyRuleProfileEnrollment extends pulumi.CustomResource {
124
127
  */
125
128
  readonly uiSchemaId: pulumi.Output<string | undefined>;
126
129
  /**
127
- * Which action should be taken if this User is new. Valid values are: `"DENY"`, `"REGISTER"`.
130
+ * Which action should be taken if this User is new. Valid values are: `DENY`, `REGISTER`
128
131
  */
129
132
  readonly unknownUserAction: pulumi.Output<string>;
130
133
  /**
@@ -141,39 +144,43 @@ export declare class PolicyRuleProfileEnrollment extends pulumi.CustomResource {
141
144
  */
142
145
  export interface PolicyRuleProfileEnrollmentState {
143
146
  /**
144
- * Allow or deny access based on the rule conditions. Valid values are: `"ALLOW"`, `"DENY"`. Default is `"ALLOW"`.
147
+ * Allow or deny access based on the rule conditions. Valid values are: `ALLOW`, `DENY`. Default: `ALLOW`.
145
148
  */
146
149
  access?: pulumi.Input<string>;
147
150
  /**
148
- * Indicates whether email verification should occur before access is granted. Default is `true`.
151
+ * Indicates whether email verification should occur before access is granted. Default: `true`.
149
152
  */
150
153
  emailVerification?: pulumi.Input<boolean>;
151
154
  /**
152
- * ID of a Registration Inline Hook.
155
+ * ID of a Registration Inline Hook
153
156
  */
154
157
  inlineHookId?: pulumi.Input<string>;
155
158
  /**
156
- * Name of the Rule.
159
+ * Name of the rule
157
160
  */
158
161
  name?: pulumi.Input<string>;
159
162
  /**
160
- * Policy ID.
163
+ * ID of the policy
161
164
  */
162
165
  policyId?: pulumi.Input<string>;
163
166
  /**
164
- * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema, these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is supported.
167
+ * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema,
168
+ * these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to
169
+ * the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is
170
+ * supported. - 'label' - (Required) A display-friendly label for this property - 'name' - (Required) The name of a User
171
+ * Profile property - 'required' - (Required) Indicates if this property is required for enrollment. Default is 'false'.
165
172
  */
166
173
  profileAttributes?: pulumi.Input<pulumi.Input<inputs.PolicyRuleProfileEnrollmentProfileAttribute>[]>;
167
174
  /**
168
- * Enabled or disabled progressive profiling action rule conditions. Valid values are: `"ENABLED"`, `"DISABLED"`. Default is `"DISABLED"`.
175
+ * Enabled or disabled progressive profiling action rule conditions: `ENABLED` or `DISABLED`. Default: `DISABLED`
169
176
  */
170
177
  progressiveProfilingAction?: pulumi.Input<string>;
171
178
  /**
172
- * Status of the Rule.
179
+ * Status of the rule
173
180
  */
174
181
  status?: pulumi.Input<string>;
175
182
  /**
176
- * The ID of a Group that this User should be added to.
183
+ * The ID of a Group that this User should be added to
177
184
  */
178
185
  targetGroupId?: pulumi.Input<string>;
179
186
  /**
@@ -181,7 +188,7 @@ export interface PolicyRuleProfileEnrollmentState {
181
188
  */
182
189
  uiSchemaId?: pulumi.Input<string>;
183
190
  /**
184
- * Which action should be taken if this User is new. Valid values are: `"DENY"`, `"REGISTER"`.
191
+ * Which action should be taken if this User is new. Valid values are: `DENY`, `REGISTER`
185
192
  */
186
193
  unknownUserAction?: pulumi.Input<string>;
187
194
  }
@@ -190,31 +197,35 @@ export interface PolicyRuleProfileEnrollmentState {
190
197
  */
191
198
  export interface PolicyRuleProfileEnrollmentArgs {
192
199
  /**
193
- * Allow or deny access based on the rule conditions. Valid values are: `"ALLOW"`, `"DENY"`. Default is `"ALLOW"`.
200
+ * Allow or deny access based on the rule conditions. Valid values are: `ALLOW`, `DENY`. Default: `ALLOW`.
194
201
  */
195
202
  access?: pulumi.Input<string>;
196
203
  /**
197
- * Indicates whether email verification should occur before access is granted. Default is `true`.
204
+ * Indicates whether email verification should occur before access is granted. Default: `true`.
198
205
  */
199
206
  emailVerification?: pulumi.Input<boolean>;
200
207
  /**
201
- * ID of a Registration Inline Hook.
208
+ * ID of a Registration Inline Hook
202
209
  */
203
210
  inlineHookId?: pulumi.Input<string>;
204
211
  /**
205
- * Policy ID.
212
+ * ID of the policy
206
213
  */
207
214
  policyId: pulumi.Input<string>;
208
215
  /**
209
- * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema, these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is supported.
216
+ * A list of attributes to prompt the user during registration or progressive profiling. Where defined on the User schema,
217
+ * these attributes are persisted in the User profile. Non-schema attributes may also be added, which aren't persisted to
218
+ * the User's profile, but are included in requests to the registration inline hook. A maximum of 10 Profile properties is
219
+ * supported. - 'label' - (Required) A display-friendly label for this property - 'name' - (Required) The name of a User
220
+ * Profile property - 'required' - (Required) Indicates if this property is required for enrollment. Default is 'false'.
210
221
  */
211
222
  profileAttributes?: pulumi.Input<pulumi.Input<inputs.PolicyRuleProfileEnrollmentProfileAttribute>[]>;
212
223
  /**
213
- * Enabled or disabled progressive profiling action rule conditions. Valid values are: `"ENABLED"`, `"DISABLED"`. Default is `"DISABLED"`.
224
+ * Enabled or disabled progressive profiling action rule conditions: `ENABLED` or `DISABLED`. Default: `DISABLED`
214
225
  */
215
226
  progressiveProfilingAction?: pulumi.Input<string>;
216
227
  /**
217
- * The ID of a Group that this User should be added to.
228
+ * The ID of a Group that this User should be added to
218
229
  */
219
230
  targetGroupId?: pulumi.Input<string>;
220
231
  /**
@@ -222,7 +233,7 @@ export interface PolicyRuleProfileEnrollmentArgs {
222
233
  */
223
234
  uiSchemaId?: pulumi.Input<string>;
224
235
  /**
225
- * Which action should be taken if this User is new. Valid values are: `"DENY"`, `"REGISTER"`.
236
+ * Which action should be taken if this User is new. Valid values are: `DENY`, `REGISTER`
226
237
  */
227
238
  unknownUserAction: pulumi.Input<string>;
228
239
  }
@@ -6,8 +6,9 @@ exports.PolicyRuleProfileEnrollment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
9
+ * Creates a Profile Enrollment Policy Rule.
10
10
  *
11
+ * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
11
12
  * A [profile enrollment
12
13
  * policy](https://developer.okta.com/docs/reference/api/policy/#profile-enrollment-policy)
13
14
  * is limited to one default rule. This resource does not create a rule for an
@@ -65,8 +66,6 @@ const utilities = require("./utilities");
65
66
  *
66
67
  * ## Import
67
68
  *
68
- * A Policy Rule can be imported via the Policy and Rule ID.
69
- *
70
69
  * ```sh
71
70
  * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example &#60;policy id&#62;/&#60;rule id&#62;
72
71
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"policyRuleProfileEnrollment.js","sourceRoot":"","sources":["../policyRuleProfileEnrollment.ts"],"names":[],"mappings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AC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA3HL,kEA4HC;AA9GG,gBAAgB;AACO,wCAAY,GAAG,oEAAoE,CAAC"}
@@ -2,9 +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
- * This resource allows you to manage a profile mapping by source and target IDs.
6
- *
7
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.
5
+ * Manages a profile mapping. This resource allows you to manage a profile mapping by source and target IDs. > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.
8
6
  *
9
7
  * ## Example Usage
10
8
  *
@@ -40,7 +38,9 @@ import * as outputs from "../types/output";
40
38
  *
41
39
  * ## Import
42
40
  *
43
- * There is no reason to import this resource. You can simply create the resource config and point it to a source ID. Mind here, once the source is deleted this resources will no longer exist.
41
+ * ```sh
42
+ * $ pulumi import okta:profile/mapping:Mapping example &#60;id&#62;
43
+ * ```
44
44
  */
45
45
  export declare class Mapping extends pulumi.CustomResource {
46
46
  /**
@@ -60,22 +60,17 @@ export declare class Mapping extends pulumi.CustomResource {
60
60
  static isInstance(obj: any): obj is Mapping;
61
61
  /**
62
62
  * Whether apply the changes to all users with this profile after updating or creating the these mappings.
63
- *
64
- * > **WARNING**: `alwaysApply` is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
65
- *
66
- * > **WARNING:** `alwaysApply` makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
63
+ * > **WARNING:**: 'always*apply' is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
64
+ * > **WARNING:** 'always*apply' makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
67
65
  */
68
66
  readonly alwaysApply: pulumi.Output<boolean | undefined>;
69
67
  /**
70
- * Tells the provider whether to attempt to delete missing mappings under profile mapping.
68
+ * When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
71
69
  */
72
70
  readonly deleteWhenAbsent: pulumi.Output<boolean | undefined>;
73
- /**
74
- * Priority of the policy.
75
- */
76
71
  readonly mappings: pulumi.Output<outputs.profile.MappingMapping[] | undefined>;
77
72
  /**
78
- * Source id of the profile mapping.
73
+ * The source id of the mapping to manage.
79
74
  */
80
75
  readonly sourceId: pulumi.Output<string>;
81
76
  /**
@@ -87,7 +82,7 @@ export declare class Mapping extends pulumi.CustomResource {
87
82
  */
88
83
  readonly sourceType: pulumi.Output<string>;
89
84
  /**
90
- * ID of the mapping target.
85
+ * The target id of the mapping to manage.
91
86
  */
92
87
  readonly targetId: pulumi.Output<string>;
93
88
  /**
@@ -113,22 +108,17 @@ export declare class Mapping extends pulumi.CustomResource {
113
108
  export interface MappingState {
114
109
  /**
115
110
  * Whether apply the changes to all users with this profile after updating or creating the these mappings.
116
- *
117
- * > **WARNING**: `alwaysApply` is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
118
- *
119
- * > **WARNING:** `alwaysApply` makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
111
+ * > **WARNING:**: 'always*apply' is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
112
+ * > **WARNING:** 'always*apply' makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
120
113
  */
121
114
  alwaysApply?: pulumi.Input<boolean>;
122
115
  /**
123
- * Tells the provider whether to attempt to delete missing mappings under profile mapping.
116
+ * When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
124
117
  */
125
118
  deleteWhenAbsent?: pulumi.Input<boolean>;
126
- /**
127
- * Priority of the policy.
128
- */
129
119
  mappings?: pulumi.Input<pulumi.Input<inputs.profile.MappingMapping>[]>;
130
120
  /**
131
- * Source id of the profile mapping.
121
+ * The source id of the mapping to manage.
132
122
  */
133
123
  sourceId?: pulumi.Input<string>;
134
124
  /**
@@ -140,7 +130,7 @@ export interface MappingState {
140
130
  */
141
131
  sourceType?: pulumi.Input<string>;
142
132
  /**
143
- * ID of the mapping target.
133
+ * The target id of the mapping to manage.
144
134
  */
145
135
  targetId?: pulumi.Input<string>;
146
136
  /**
@@ -158,26 +148,21 @@ export interface MappingState {
158
148
  export interface MappingArgs {
159
149
  /**
160
150
  * Whether apply the changes to all users with this profile after updating or creating the these mappings.
161
- *
162
- * > **WARNING**: `alwaysApply` is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
163
- *
164
- * > **WARNING:** `alwaysApply` makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
151
+ * > **WARNING:**: 'always*apply' is incompatible with OAuth 2.0 authentication and will be ignored when using that type of authentication.
152
+ * > **WARNING:** 'always*apply' makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
165
153
  */
166
154
  alwaysApply?: pulumi.Input<boolean>;
167
155
  /**
168
- * Tells the provider whether to attempt to delete missing mappings under profile mapping.
156
+ * When turned on this flag will trigger the provider to delete mapping properties that are not defined in config. By default, we do not delete missing properties.
169
157
  */
170
158
  deleteWhenAbsent?: pulumi.Input<boolean>;
171
- /**
172
- * Priority of the policy.
173
- */
174
159
  mappings?: pulumi.Input<pulumi.Input<inputs.profile.MappingMapping>[]>;
175
160
  /**
176
- * Source id of the profile mapping.
161
+ * The source id of the mapping to manage.
177
162
  */
178
163
  sourceId: pulumi.Input<string>;
179
164
  /**
180
- * ID of the mapping target.
165
+ * The target id of the mapping to manage.
181
166
  */
182
167
  targetId: pulumi.Input<string>;
183
168
  }
@@ -6,9 +6,7 @@ exports.Mapping = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * This resource allows you to manage a profile mapping by source and target IDs.
10
- *
11
- * > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.
9
+ * Manages a profile mapping. This resource allows you to manage a profile mapping by source and target IDs. > **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.
12
10
  *
13
11
  * ## Example Usage
14
12
  *
@@ -44,7 +42,9 @@ const utilities = require("../utilities");
44
42
  *
45
43
  * ## Import
46
44
  *
47
- * There is no reason to import this resource. You can simply create the resource config and point it to a source ID. Mind here, once the source is deleted this resources will no longer exist.
45
+ * ```sh
46
+ * $ pulumi import okta:profile/mapping:Mapping example &#60;id&#62;
47
+ * ```
48
48
  */
49
49
  class Mapping extends pulumi.CustomResource {
50
50
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"mapping.js","sourceRoot":"","sources":["../../profile/mapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1GL,0BA2GC;AA7FG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
package/rateLimiting.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * Manages rate limiting.
3
4
  * This resource allows you to configure the client-based rate limit and rate limiting communications settings.
4
- *
5
5
  * > **WARNING:** This resource is available only when using a SSWS API token in the provider config, it is incompatible with OAuth 2.0 authentication.
6
- *
7
- * > **WARNING:** This resource makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
6
+ * **WARNING:** This resource makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
8
7
  *
9
8
  * ## Example Usage
10
9
  *
@@ -21,8 +20,6 @@ import * as pulumi from "@pulumi/pulumi";
21
20
  *
22
21
  * ## Import
23
22
  *
24
- * Rate limit settings can be imported without any parameters.
25
- *
26
23
  * ```sh
27
24
  * $ pulumi import okta:index/rateLimiting:RateLimiting example .
28
25
  * ```
@@ -44,8 +41,7 @@ export declare class RateLimiting extends pulumi.CustomResource {
44
41
  */
45
42
  static isInstance(obj: any): obj is RateLimiting;
46
43
  /**
47
- * Called during authentication. Valid values: `"ENFORCE"` _(Enforce limit and
48
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
44
+ * Called during authentication. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
49
45
  */
50
46
  readonly authorize: pulumi.Output<string>;
51
47
  /**
@@ -53,8 +49,7 @@ export declare class RateLimiting extends pulumi.CustomResource {
53
49
  */
54
50
  readonly communicationsEnabled: pulumi.Output<boolean | undefined>;
55
51
  /**
56
- * Called when accessing the Okta hosted login page. Valid values: `"ENFORCE"` _(Enforce limit and
57
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
52
+ * Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
58
53
  */
59
54
  readonly login: pulumi.Output<string>;
60
55
  /**
@@ -71,8 +66,7 @@ export declare class RateLimiting extends pulumi.CustomResource {
71
66
  */
72
67
  export interface RateLimitingState {
73
68
  /**
74
- * Called during authentication. Valid values: `"ENFORCE"` _(Enforce limit and
75
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
69
+ * Called during authentication. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
76
70
  */
77
71
  authorize?: pulumi.Input<string>;
78
72
  /**
@@ -80,8 +74,7 @@ export interface RateLimitingState {
80
74
  */
81
75
  communicationsEnabled?: pulumi.Input<boolean>;
82
76
  /**
83
- * Called when accessing the Okta hosted login page. Valid values: `"ENFORCE"` _(Enforce limit and
84
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
77
+ * Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
85
78
  */
86
79
  login?: pulumi.Input<string>;
87
80
  }
@@ -90,8 +83,7 @@ export interface RateLimitingState {
90
83
  */
91
84
  export interface RateLimitingArgs {
92
85
  /**
93
- * Called during authentication. Valid values: `"ENFORCE"` _(Enforce limit and
94
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
86
+ * Called during authentication. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
95
87
  */
96
88
  authorize: pulumi.Input<string>;
97
89
  /**
@@ -99,8 +91,7 @@ export interface RateLimitingArgs {
99
91
  */
100
92
  communicationsEnabled?: pulumi.Input<boolean>;
101
93
  /**
102
- * Called when accessing the Okta hosted login page. Valid values: `"ENFORCE"` _(Enforce limit and
103
- * log per client (recommended))_, `"DISABLE"` _(Do nothing (not recommended))_, `"PREVIEW"` _(Log per client)_.
94
+ * Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
104
95
  */
105
96
  login: pulumi.Input<string>;
106
97
  }
package/rateLimiting.js CHANGED
@@ -6,11 +6,10 @@ exports.RateLimiting = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Manages rate limiting.
9
10
  * This resource allows you to configure the client-based rate limit and rate limiting communications settings.
10
- *
11
11
  * > **WARNING:** This resource is available only when using a SSWS API token in the provider config, it is incompatible with OAuth 2.0 authentication.
12
- *
13
- * > **WARNING:** This resource makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
12
+ * **WARNING:** This resource makes use of an internal/private Okta API endpoint that could change without notice rendering this resource inoperable.
14
13
  *
15
14
  * ## Example Usage
16
15
  *
@@ -27,8 +26,6 @@ const utilities = require("./utilities");
27
26
  *
28
27
  * ## Import
29
28
  *
30
- * Rate limit settings can be imported without any parameters.
31
- *
32
29
  * ```sh
33
30
  * $ pulumi import okta:index/rateLimiting:RateLimiting example .
34
31
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"rateLimiting.js","sourceRoot":"","sources":["../rateLimiting.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB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