@pulumi/okta 4.6.2 → 4.6.3

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 (397) hide show
  1. package/adminRoleCustom.d.ts +129 -10
  2. package/adminRoleCustom.js +24 -1
  3. package/adminRoleCustom.js.map +1 -1
  4. package/adminRoleCustomAssignments.d.ts +25 -10
  5. package/adminRoleCustomAssignments.js +13 -1
  6. package/adminRoleCustomAssignments.js.map +1 -1
  7. package/adminRoleTargets.d.ts +44 -14
  8. package/adminRoleTargets.js +30 -0
  9. package/adminRoleTargets.js.map +1 -1
  10. package/app/accessPolicyAssignment.d.ts +20 -1
  11. package/app/accessPolicyAssignment.js +20 -1
  12. package/app/accessPolicyAssignment.js.map +1 -1
  13. package/app/autoLogin.d.ts +119 -72
  14. package/app/autoLogin.js +47 -0
  15. package/app/autoLogin.js.map +1 -1
  16. package/app/basicAuth.d.ts +66 -38
  17. package/app/basicAuth.js +28 -0
  18. package/app/basicAuth.js.map +1 -1
  19. package/app/bookmark.d.ts +71 -35
  20. package/app/bookmark.js +27 -0
  21. package/app/bookmark.js.map +1 -1
  22. package/app/getApp.d.ts +25 -58
  23. package/app/getApp.js +2 -2
  24. package/app/getApp.js.map +1 -1
  25. package/app/getMetadataSaml.d.ts +5 -11
  26. package/app/getMetadataSaml.js +2 -2
  27. package/app/getMetadataSaml.js.map +1 -1
  28. package/app/getOauth.d.ts +34 -62
  29. package/app/getOauth.js +2 -2
  30. package/app/getOauth.js.map +1 -1
  31. package/app/getSaml.d.ts +55 -75
  32. package/app/getSaml.js +2 -2
  33. package/app/getSaml.js.map +1 -1
  34. package/app/groupAssignment.d.ts +15 -6
  35. package/app/groupAssignment.js +9 -0
  36. package/app/groupAssignment.js.map +1 -1
  37. package/app/oauth.d.ts +301 -123
  38. package/app/oauth.js +82 -0
  39. package/app/oauth.js.map +1 -1
  40. package/app/oauthPostLogoutRedirectUri.d.ts +38 -3
  41. package/app/oauthPostLogoutRedirectUri.js +35 -0
  42. package/app/oauthPostLogoutRedirectUri.js.map +1 -1
  43. package/app/oauthRedirectUri.d.ts +37 -3
  44. package/app/oauthRedirectUri.js +34 -0
  45. package/app/oauthRedirectUri.js.map +1 -1
  46. package/app/saml.d.ts +303 -133
  47. package/app/saml.js +161 -0
  48. package/app/saml.js.map +1 -1
  49. package/app/securePasswordStore.d.ts +109 -79
  50. package/app/securePasswordStore.js +30 -0
  51. package/app/securePasswordStore.js.map +1 -1
  52. package/app/swa.d.ts +102 -72
  53. package/app/swa.js +30 -0
  54. package/app/swa.js.map +1 -1
  55. package/app/threeField.d.ts +87 -72
  56. package/app/threeField.js +15 -0
  57. package/app/threeField.js.map +1 -1
  58. package/app/user.d.ts +37 -12
  59. package/app/user.js +22 -0
  60. package/app/user.js.map +1 -1
  61. package/appGroupAssignments.d.ts +40 -3
  62. package/appGroupAssignments.js +37 -0
  63. package/appGroupAssignments.js.map +1 -1
  64. package/appOauthApiScope.d.ts +36 -3
  65. package/appOauthApiScope.js +33 -0
  66. package/appOauthApiScope.js.map +1 -1
  67. package/appSamlAppSettings.d.ts +44 -6
  68. package/appSamlAppSettings.js +38 -0
  69. package/appSamlAppSettings.js.map +1 -1
  70. package/appSharedCredentials.d.ts +115 -72
  71. package/appSharedCredentials.js +43 -0
  72. package/appSharedCredentials.js.map +1 -1
  73. package/appSignonPolicy.d.ts +44 -6
  74. package/appSignonPolicy.js +38 -0
  75. package/appSignonPolicy.js.map +1 -1
  76. package/appSignonPolicyRule.d.ts +327 -68
  77. package/appSignonPolicyRule.js +244 -0
  78. package/appSignonPolicyRule.js.map +1 -1
  79. package/appUserBaseSchemaProperty.d.ts +52 -24
  80. package/appUserBaseSchemaProperty.js +28 -0
  81. package/appUserBaseSchemaProperty.js.map +1 -1
  82. package/appUserSchemaProperty.d.ts +80 -54
  83. package/appUserSchemaProperty.js +26 -0
  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 +9 -15
  88. package/auth/getServerPolicy.js +2 -2
  89. package/auth/getServerPolicy.js.map +1 -1
  90. package/auth/getServerScopes.d.ts +5 -8
  91. package/auth/getServerScopes.js +2 -2
  92. package/auth/getServerScopes.js.map +1 -1
  93. package/auth/server.d.ts +49 -13
  94. package/auth/server.js +27 -0
  95. package/auth/server.js.map +1 -1
  96. package/auth/serverClaim.d.ts +54 -18
  97. package/auth/serverClaim.js +27 -0
  98. package/auth/serverClaim.js.map +1 -1
  99. package/auth/serverPolicy.d.ts +43 -6
  100. package/auth/serverPolicy.js +28 -0
  101. package/auth/serverPolicy.js.map +1 -1
  102. package/auth/serverPolicyRule.d.ts +72 -29
  103. package/auth/serverPolicyRule.js +25 -0
  104. package/auth/serverPolicyRule.js.map +1 -1
  105. package/auth/serverScope.d.ts +41 -15
  106. package/auth/serverScope.js +26 -0
  107. package/auth/serverScope.js.map +1 -1
  108. package/authServerClaimDefault.d.ts +50 -13
  109. package/authServerClaimDefault.js +31 -0
  110. package/authServerClaimDefault.js.map +1 -1
  111. package/authServerDefault.d.ts +47 -13
  112. package/authServerDefault.js +25 -0
  113. package/authServerDefault.js.map +1 -1
  114. package/authenticator.d.ts +94 -38
  115. package/authenticator.js +38 -0
  116. package/authenticator.js.map +1 -1
  117. package/behaviour.d.ts +78 -18
  118. package/behaviour.js +42 -0
  119. package/behaviour.js.map +1 -1
  120. package/brand.d.ts +28 -19
  121. package/brand.js +10 -1
  122. package/brand.js.map +1 -1
  123. package/captcha.d.ts +38 -12
  124. package/captcha.js +26 -0
  125. package/captcha.js.map +1 -1
  126. package/captchaOrgWideSettings.d.ts +51 -6
  127. package/captchaOrgWideSettings.js +45 -0
  128. package/captchaOrgWideSettings.js.map +1 -1
  129. package/domain.d.ts +39 -13
  130. package/domain.js +20 -0
  131. package/domain.js.map +1 -1
  132. package/domainCertificate.d.ts +63 -15
  133. package/domainCertificate.js +48 -0
  134. package/domainCertificate.js.map +1 -1
  135. package/domainVerification.d.ts +22 -3
  136. package/domainVerification.js +19 -0
  137. package/domainVerification.js.map +1 -1
  138. package/emailCustomization.d.ts +224 -3
  139. package/emailCustomization.js +41 -0
  140. package/emailCustomization.js.map +1 -1
  141. package/emailSender.d.ts +39 -13
  142. package/emailSender.js +26 -0
  143. package/emailSender.js.map +1 -1
  144. package/emailSenderVerification.d.ts +26 -3
  145. package/emailSenderVerification.js +23 -0
  146. package/emailSenderVerification.js.map +1 -1
  147. package/eventHook.d.ts +37 -0
  148. package/eventHook.js +37 -0
  149. package/eventHook.js.map +1 -1
  150. package/eventHookVerification.d.ts +37 -3
  151. package/eventHookVerification.js +34 -0
  152. package/eventHookVerification.js.map +1 -1
  153. package/factor/factor.d.ts +23 -6
  154. package/factor/factor.js +14 -0
  155. package/factor/factor.js.map +1 -1
  156. package/factorTotp.d.ts +44 -12
  157. package/factorTotp.js +23 -0
  158. package/factorTotp.js.map +1 -1
  159. package/getAppGroupAssignments.d.ts +6 -6
  160. package/getAppGroupAssignments.js +2 -2
  161. package/getAppSignonPolicy.d.ts +6 -16
  162. package/getAppSignonPolicy.js +4 -8
  163. package/getAppSignonPolicy.js.map +1 -1
  164. package/getAppUserAssignments.d.ts +6 -6
  165. package/getAppUserAssignments.js +2 -2
  166. package/getAuthServerClaim.d.ts +12 -15
  167. package/getAuthServerClaim.js +2 -2
  168. package/getAuthServerClaim.js.map +1 -1
  169. package/getAuthServerClaims.d.ts +5 -8
  170. package/getAuthServerClaims.js +2 -2
  171. package/getAuthServerClaims.js.map +1 -1
  172. package/getAuthenticator.d.ts +26 -24
  173. package/getAuthenticator.js +22 -14
  174. package/getAuthenticator.js.map +1 -1
  175. package/getBehaviour.d.ts +8 -6
  176. package/getBehaviour.js +2 -2
  177. package/getBehaviour.js.map +1 -1
  178. package/getBehaviours.d.ts +7 -7
  179. package/getBehaviours.js +2 -2
  180. package/getBrand.d.ts +6 -9
  181. package/getBrand.js +2 -2
  182. package/getBrand.js.map +1 -1
  183. package/getBrands.d.ts +2 -2
  184. package/getBrands.js +2 -2
  185. package/getEmailCustomization.d.ts +9 -14
  186. package/getEmailCustomization.js +6 -2
  187. package/getEmailCustomization.js.map +1 -1
  188. package/getEmailCustomizations.d.ts +9 -11
  189. package/getEmailCustomizations.js +6 -2
  190. package/getEmailCustomizations.js.map +1 -1
  191. package/getGroups.d.ts +25 -11
  192. package/getGroups.js +2 -2
  193. package/getGroups.js.map +1 -1
  194. package/getNetworkZone.d.ts +12 -12
  195. package/getNetworkZone.js +2 -2
  196. package/getRoleSubscription.d.ts +35 -13
  197. package/getRoleSubscription.js +2 -2
  198. package/getRoleSubscription.js.map +1 -1
  199. package/getTemplate.d.ts +8 -10
  200. package/getTemplate.js +6 -2
  201. package/getTemplate.js.map +1 -1
  202. package/getTemplates.d.ts +7 -6
  203. package/getTemplates.js +6 -2
  204. package/getTemplates.js.map +1 -1
  205. package/getTheme.d.ts +12 -14
  206. package/getTheme.js +6 -2
  207. package/getTheme.js.map +1 -1
  208. package/getThemes.d.ts +7 -6
  209. package/getThemes.js +6 -2
  210. package/getThemes.js.map +1 -1
  211. package/getTrustedOrigins.d.ts +4 -7
  212. package/getTrustedOrigins.js +2 -2
  213. package/getTrustedOrigins.js.map +1 -1
  214. package/getUserSecurityQuestions.d.ts +8 -4
  215. package/getUserSecurityQuestions.js +4 -0
  216. package/getUserSecurityQuestions.js.map +1 -1
  217. package/group/getEveryoneGroup.d.ts +5 -10
  218. package/group/getEveryoneGroup.js +2 -4
  219. package/group/getEveryoneGroup.js.map +1 -1
  220. package/group/getGroup.d.ts +26 -17
  221. package/group/getGroup.js +2 -2
  222. package/group/getGroup.js.map +1 -1
  223. package/group/getRule.d.ts +15 -6
  224. package/group/getRule.js +2 -2
  225. package/group/getRule.js.map +1 -1
  226. package/group/group.d.ts +46 -9
  227. package/group/group.js +37 -0
  228. package/group/group.js.map +1 -1
  229. package/group/role.d.ts +101 -15
  230. package/group/role.js +26 -0
  231. package/group/role.js.map +1 -1
  232. package/group/rule.d.ts +80 -6
  233. package/group/rule.js +23 -0
  234. package/group/rule.js.map +1 -1
  235. package/groupMemberships.d.ts +48 -7
  236. package/groupMemberships.js +42 -1
  237. package/groupMemberships.js.map +1 -1
  238. package/groupSchemaProperty.d.ts +94 -51
  239. package/groupSchemaProperty.js +25 -0
  240. package/groupSchemaProperty.js.map +1 -1
  241. package/idp/getMetadataSaml.d.ts +6 -9
  242. package/idp/getMetadataSaml.js +2 -2
  243. package/idp/getMetadataSaml.js.map +1 -1
  244. package/idp/getOidc.d.ts +9 -9
  245. package/idp/getOidc.js +2 -2
  246. package/idp/getSaml.d.ts +13 -16
  247. package/idp/getSaml.js +2 -2
  248. package/idp/getSaml.js.map +1 -1
  249. package/idp/getSocial.d.ts +2 -8
  250. package/idp/getSocial.js +2 -2
  251. package/idp/getSocial.js.map +1 -1
  252. package/idp/oidc.d.ts +297 -12
  253. package/idp/oidc.js +36 -0
  254. package/idp/oidc.js.map +1 -1
  255. package/idp/saml.d.ts +284 -18
  256. package/idp/saml.js +32 -0
  257. package/idp/saml.js.map +1 -1
  258. package/idp/samlKey.d.ts +48 -3
  259. package/idp/samlKey.js +9 -0
  260. package/idp/samlKey.js.map +1 -1
  261. package/idp/social.d.ts +251 -18
  262. package/idp/social.js +32 -0
  263. package/idp/social.js.map +1 -1
  264. package/index/emailDomain.d.ts +41 -16
  265. package/index/emailDomain.js +25 -0
  266. package/index/emailDomain.js.map +1 -1
  267. package/index/emailDomainVerification.d.ts +25 -3
  268. package/index/emailDomainVerification.js +22 -0
  269. package/index/emailDomainVerification.js.map +1 -1
  270. package/index/getDomain.d.ts +14 -11
  271. package/index/getDomain.js +8 -2
  272. package/index/getDomain.js.map +1 -1
  273. package/inline/hook.d.ts +89 -0
  274. package/inline/hook.js +35 -0
  275. package/inline/hook.js.map +1 -1
  276. package/linkDefinition.d.ts +30 -0
  277. package/linkDefinition.js +30 -0
  278. package/linkDefinition.js.map +1 -1
  279. package/linkValue.d.ts +59 -6
  280. package/linkValue.js +53 -0
  281. package/linkValue.js.map +1 -1
  282. package/network/zone.d.ts +74 -27
  283. package/network/zone.js +44 -0
  284. package/network/zone.js.map +1 -1
  285. package/orgConfiguration.d.ts +25 -0
  286. package/orgConfiguration.js +25 -0
  287. package/orgConfiguration.js.map +1 -1
  288. package/orgSupport.d.ts +20 -3
  289. package/orgSupport.js +17 -0
  290. package/orgSupport.js.map +1 -1
  291. package/package.json +1 -1
  292. package/policy/getDefaultPolicy.d.ts +7 -9
  293. package/policy/getDefaultPolicy.js +2 -6
  294. package/policy/getDefaultPolicy.js.map +1 -1
  295. package/policy/getPolicy.d.ts +10 -11
  296. package/policy/getPolicy.js +2 -2
  297. package/policy/getPolicy.js.map +1 -1
  298. package/policy/mfa.d.ts +259 -18
  299. package/policy/mfa.js +49 -0
  300. package/policy/mfa.js.map +1 -1
  301. package/policy/password.d.ts +117 -90
  302. package/policy/password.js +27 -0
  303. package/policy/password.js.map +1 -1
  304. package/policy/ruleIdpDiscovery.d.ts +149 -27
  305. package/policy/ruleIdpDiscovery.js +65 -0
  306. package/policy/ruleIdpDiscovery.js.map +1 -1
  307. package/policy/ruleMfa.d.ts +35 -24
  308. package/policy/ruleMfa.js +11 -0
  309. package/policy/ruleMfa.js.map +1 -1
  310. package/policy/rulePassword.d.ts +46 -33
  311. package/policy/rulePassword.js +13 -0
  312. package/policy/rulePassword.js.map +1 -1
  313. package/policy/ruleSignon.d.ts +170 -57
  314. package/policy/ruleSignon.js +92 -0
  315. package/policy/ruleSignon.js.map +1 -1
  316. package/policy/signon.d.ts +41 -15
  317. package/policy/signon.js +26 -0
  318. package/policy/signon.js.map +1 -1
  319. package/policyMfaDefault.d.ts +250 -13
  320. package/policyMfaDefault.js +45 -0
  321. package/policyMfaDefault.js.map +1 -1
  322. package/policyPasswordDefault.d.ts +88 -54
  323. package/policyPasswordDefault.js +22 -0
  324. package/policyPasswordDefault.js.map +1 -1
  325. package/policyProfileEnrollment.d.ts +28 -6
  326. package/policyProfileEnrollment.js +22 -0
  327. package/policyProfileEnrollment.js.map +1 -1
  328. package/policyProfileEnrollmentApps.d.ts +42 -5
  329. package/policyProfileEnrollmentApps.js +37 -0
  330. package/policyProfileEnrollmentApps.js.map +1 -1
  331. package/policyRuleProfileEnrollment.d.ts +88 -26
  332. package/policyRuleProfileEnrollment.js +62 -0
  333. package/policyRuleProfileEnrollment.js.map +1 -1
  334. package/profile/mapping.d.ts +95 -9
  335. package/profile/mapping.js +41 -0
  336. package/profile/mapping.js.map +1 -1
  337. package/rateLimiting.d.ts +43 -9
  338. package/rateLimiting.js +28 -0
  339. package/rateLimiting.js.map +1 -1
  340. package/resourceSet.d.ts +32 -10
  341. package/resourceSet.js +20 -1
  342. package/resourceSet.js.map +1 -1
  343. package/roleSubscription.d.ts +110 -9
  344. package/roleSubscription.js +26 -0
  345. package/roleSubscription.js.map +1 -1
  346. package/securityNotificationEmails.d.ts +45 -15
  347. package/securityNotificationEmails.js +30 -0
  348. package/securityNotificationEmails.js.map +1 -1
  349. package/templateSms.d.ts +47 -3
  350. package/templateSms.js +35 -0
  351. package/templateSms.js.map +1 -1
  352. package/theme.d.ts +59 -44
  353. package/theme.js +15 -0
  354. package/theme.js.map +1 -1
  355. package/threatInsightSettings.d.ts +58 -6
  356. package/threatInsightSettings.js +34 -0
  357. package/threatInsightSettings.js.map +1 -1
  358. package/trustedorigin/origin.d.ts +37 -12
  359. package/trustedorigin/origin.js +25 -0
  360. package/trustedorigin/origin.js.map +1 -1
  361. package/types/input.d.ts +227 -60
  362. package/types/output.d.ts +446 -56
  363. package/user/getUser.d.ts +104 -32
  364. package/user/getUser.js +2 -2
  365. package/user/getUser.js.map +1 -1
  366. package/user/getUserProfileMappingSource.d.ts +7 -9
  367. package/user/getUserProfileMappingSource.js +4 -6
  368. package/user/getUserProfileMappingSource.js.map +1 -1
  369. package/user/getUserType.d.ts +7 -7
  370. package/user/getUserType.js +2 -2
  371. package/user/getUsers.d.ts +57 -61
  372. package/user/getUsers.js +44 -30
  373. package/user/getUsers.js.map +1 -1
  374. package/user/user.d.ts +215 -117
  375. package/user/user.js +71 -0
  376. package/user/user.js.map +1 -1
  377. package/user/userType.d.ts +34 -9
  378. package/user/userType.js +25 -0
  379. package/user/userType.js.map +1 -1
  380. package/userAdminRoles.d.ts +41 -10
  381. package/userAdminRoles.js +29 -1
  382. package/userAdminRoles.js.map +1 -1
  383. package/userBaseSchemaProperty.d.ts +67 -24
  384. package/userBaseSchemaProperty.js +43 -0
  385. package/userBaseSchemaProperty.js.map +1 -1
  386. package/userFactorQuestion.d.ts +52 -14
  387. package/userFactorQuestion.js +39 -1
  388. package/userFactorQuestion.js.map +1 -1
  389. package/userGroupMemberships.d.ts +23 -4
  390. package/userGroupMemberships.js +20 -1
  391. package/userGroupMemberships.js.map +1 -1
  392. package/userSchemaProperty.d.ts +107 -57
  393. package/userSchemaProperty.js +32 -0
  394. package/userSchemaProperty.js.map +1 -1
  395. package/utilities.d.ts +4 -0
  396. package/utilities.js +33 -1
  397. package/utilities.js.map +1 -1
package/group/group.d.ts CHANGED
@@ -1,4 +1,41 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates an Okta Group.
4
+ *
5
+ * This resource allows you to create and configure an Okta Group.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const example = new okta.group.Group("example", {description: "My Example Group"});
14
+ * ```
15
+ *
16
+ * Custom profile attributes
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as okta from "@pulumi/okta";
20
+ *
21
+ * const example = new okta.group.Group("example", {
22
+ * description: "My Example Group",
23
+ * customProfileAttributes: JSON.stringify({
24
+ * example1: "testing1234",
25
+ * example2: true,
26
+ * example3: 54321,
27
+ * }),
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * An Okta Group can be imported via the Okta ID.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import okta:group/group:Group example <group id>
37
+ * ```
38
+ */
2
39
  export declare class Group extends pulumi.CustomResource {
3
40
  /**
4
41
  * Get an existing Group resource's state with the given name, ID, and optional extra
@@ -16,15 +53,15 @@ export declare class Group extends pulumi.CustomResource {
16
53
  */
17
54
  static isInstance(obj: any): obj is Group;
18
55
  /**
19
- * JSON formatted custom attributes for a group. It must be JSON due to various types Okta allows.
56
+ * raw JSON containing all custom profile attributes.
20
57
  */
21
58
  readonly customProfileAttributes: pulumi.Output<string | undefined>;
22
59
  /**
23
- * Group description
60
+ * The description of the Okta Group.
24
61
  */
25
62
  readonly description: pulumi.Output<string | undefined>;
26
63
  /**
27
- * Group name
64
+ * The name of the Okta Group.
28
65
  */
29
66
  readonly name: pulumi.Output<string>;
30
67
  /**
@@ -47,15 +84,15 @@ export declare class Group extends pulumi.CustomResource {
47
84
  */
48
85
  export interface GroupState {
49
86
  /**
50
- * JSON formatted custom attributes for a group. It must be JSON due to various types Okta allows.
87
+ * raw JSON containing all custom profile attributes.
51
88
  */
52
89
  customProfileAttributes?: pulumi.Input<string>;
53
90
  /**
54
- * Group description
91
+ * The description of the Okta Group.
55
92
  */
56
93
  description?: pulumi.Input<string>;
57
94
  /**
58
- * Group name
95
+ * The name of the Okta Group.
59
96
  */
60
97
  name?: pulumi.Input<string>;
61
98
  /**
@@ -70,15 +107,15 @@ export interface GroupState {
70
107
  */
71
108
  export interface GroupArgs {
72
109
  /**
73
- * JSON formatted custom attributes for a group. It must be JSON due to various types Okta allows.
110
+ * raw JSON containing all custom profile attributes.
74
111
  */
75
112
  customProfileAttributes?: pulumi.Input<string>;
76
113
  /**
77
- * Group description
114
+ * The description of the Okta Group.
78
115
  */
79
116
  description?: pulumi.Input<string>;
80
117
  /**
81
- * Group name
118
+ * The name of the Okta Group.
82
119
  */
83
120
  name?: pulumi.Input<string>;
84
121
  /**
package/group/group.js CHANGED
@@ -5,6 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Group = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * Creates an Okta Group.
10
+ *
11
+ * This resource allows you to create and configure an Okta Group.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as okta from "@pulumi/okta";
18
+ *
19
+ * const example = new okta.group.Group("example", {description: "My Example Group"});
20
+ * ```
21
+ *
22
+ * Custom profile attributes
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as okta from "@pulumi/okta";
26
+ *
27
+ * const example = new okta.group.Group("example", {
28
+ * description: "My Example Group",
29
+ * customProfileAttributes: JSON.stringify({
30
+ * example1: "testing1234",
31
+ * example2: true,
32
+ * example3: 54321,
33
+ * }),
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * An Okta Group can be imported via the Okta ID.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import okta:group/group:Group example &#60;group id&#62;
43
+ * ```
44
+ */
8
45
  class Group extends pulumi.CustomResource {
9
46
  /**
10
47
  * Get an existing Group resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../../group/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,I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,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAoC,CAAC;YAClD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzEL,sBA0EC;AA5DG,gBAAgB;AACO,kBAAY,GAAG,wBAAwB,CAAC"}
package/group/role.d.ts CHANGED
@@ -1,4 +1,30 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Assigns Admin roles to Okta Groups.
4
+ *
5
+ * This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one
6
+ * interface between the Okta group and the admin role.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as okta from "@pulumi/okta";
13
+ *
14
+ * const example = new okta.group.Role("example", {
15
+ * groupId: "<group id>",
16
+ * roleType: "READ_ONLY_ADMIN",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Individual admin role assignment can be imported by passing the group and role assignment IDs as follows
23
+ *
24
+ * ```sh
25
+ * $ pulumi import okta:group/role:Role example &#60;group id&#62;/&#60;role id&#62;
26
+ * ```
27
+ */
2
28
  export declare class Role extends pulumi.CustomResource {
3
29
  /**
4
30
  * Get an existing Role resource's state with the given name, ID, and optional extra
@@ -16,23 +42,43 @@ export declare class Role extends pulumi.CustomResource {
16
42
  */
17
43
  static isInstance(obj: any): obj is Role;
18
44
  /**
19
- * When this setting is enabled, the admins won't receive any of the default Okta administrator emails
45
+ * When this setting is enabled, the admins won't receive any of the default Okta
46
+ * administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org.
20
47
  */
21
48
  readonly disableNotifications: pulumi.Output<boolean | undefined>;
22
49
  /**
23
- * ID of group to attach admin roles to
50
+ * The ID of group to attach admin roles to.
24
51
  */
25
52
  readonly groupId: pulumi.Output<string>;
26
53
  /**
27
- * Type of Role to assign
54
+ * Admin role assigned to the group. It can be any one of the following values:
55
+ * `"API_ADMIN"`,
56
+ * `"APP_ADMIN"`,
57
+ * `"CUSTOM"`,
58
+ * `"GROUP_MEMBERSHIP_ADMIN"`,
59
+ * `"HELP_DESK_ADMIN"`,
60
+ * `"MOBILE_ADMIN"`,
61
+ * `"ORG_ADMIN"`,
62
+ * `"READ_ONLY_ADMIN"`,
63
+ * `"REPORT_ADMIN"`,
64
+ * `"SUPER_ADMIN"`,
65
+ * `"USER_ADMIN"`
66
+ * . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types).
67
+ *
68
+ *
69
+ * - `"USER_ADMIN"` is the Group Administrator.
28
70
  */
29
71
  readonly roleType: pulumi.Output<string>;
30
72
  /**
31
- * List of apps ids for the targets of the admin role.
73
+ * A list of app names (name represents set of app instances, like 'salesforce' or '
74
+ * facebook'), or a combination of app name and app instance ID (like 'facebook.0oapsqQ6dv19pqyEo0g3') you would like as
75
+ * the targets of the admin role.
76
+ * - Only supported when used with the role type `"APP_ADMIN"`.
32
77
  */
33
78
  readonly targetAppLists: pulumi.Output<string[] | undefined>;
34
79
  /**
35
- * List of groups ids for the targets of the admin role.
80
+ * A list of group IDs you would like as the targets of the admin role.
81
+ * - Only supported when used with the role types: `GROUP_MEMBERSHIP_ADMIN`, `HELP_DESK_ADMIN`, or `USER_ADMIN`.
36
82
  */
37
83
  readonly targetGroupLists: pulumi.Output<string[] | undefined>;
38
84
  /**
@@ -49,23 +95,43 @@ export declare class Role extends pulumi.CustomResource {
49
95
  */
50
96
  export interface RoleState {
51
97
  /**
52
- * When this setting is enabled, the admins won't receive any of the default Okta administrator emails
98
+ * When this setting is enabled, the admins won't receive any of the default Okta
99
+ * administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org.
53
100
  */
54
101
  disableNotifications?: pulumi.Input<boolean>;
55
102
  /**
56
- * ID of group to attach admin roles to
103
+ * The ID of group to attach admin roles to.
57
104
  */
58
105
  groupId?: pulumi.Input<string>;
59
106
  /**
60
- * Type of Role to assign
107
+ * Admin role assigned to the group. It can be any one of the following values:
108
+ * `"API_ADMIN"`,
109
+ * `"APP_ADMIN"`,
110
+ * `"CUSTOM"`,
111
+ * `"GROUP_MEMBERSHIP_ADMIN"`,
112
+ * `"HELP_DESK_ADMIN"`,
113
+ * `"MOBILE_ADMIN"`,
114
+ * `"ORG_ADMIN"`,
115
+ * `"READ_ONLY_ADMIN"`,
116
+ * `"REPORT_ADMIN"`,
117
+ * `"SUPER_ADMIN"`,
118
+ * `"USER_ADMIN"`
119
+ * . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types).
120
+ *
121
+ *
122
+ * - `"USER_ADMIN"` is the Group Administrator.
61
123
  */
62
124
  roleType?: pulumi.Input<string>;
63
125
  /**
64
- * List of apps ids for the targets of the admin role.
126
+ * A list of app names (name represents set of app instances, like 'salesforce' or '
127
+ * facebook'), or a combination of app name and app instance ID (like 'facebook.0oapsqQ6dv19pqyEo0g3') you would like as
128
+ * the targets of the admin role.
129
+ * - Only supported when used with the role type `"APP_ADMIN"`.
65
130
  */
66
131
  targetAppLists?: pulumi.Input<pulumi.Input<string>[]>;
67
132
  /**
68
- * List of groups ids for the targets of the admin role.
133
+ * A list of group IDs you would like as the targets of the admin role.
134
+ * - Only supported when used with the role types: `GROUP_MEMBERSHIP_ADMIN`, `HELP_DESK_ADMIN`, or `USER_ADMIN`.
69
135
  */
70
136
  targetGroupLists?: pulumi.Input<pulumi.Input<string>[]>;
71
137
  }
@@ -74,23 +140,43 @@ export interface RoleState {
74
140
  */
75
141
  export interface RoleArgs {
76
142
  /**
77
- * When this setting is enabled, the admins won't receive any of the default Okta administrator emails
143
+ * When this setting is enabled, the admins won't receive any of the default Okta
144
+ * administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org.
78
145
  */
79
146
  disableNotifications?: pulumi.Input<boolean>;
80
147
  /**
81
- * ID of group to attach admin roles to
148
+ * The ID of group to attach admin roles to.
82
149
  */
83
150
  groupId: pulumi.Input<string>;
84
151
  /**
85
- * Type of Role to assign
152
+ * Admin role assigned to the group. It can be any one of the following values:
153
+ * `"API_ADMIN"`,
154
+ * `"APP_ADMIN"`,
155
+ * `"CUSTOM"`,
156
+ * `"GROUP_MEMBERSHIP_ADMIN"`,
157
+ * `"HELP_DESK_ADMIN"`,
158
+ * `"MOBILE_ADMIN"`,
159
+ * `"ORG_ADMIN"`,
160
+ * `"READ_ONLY_ADMIN"`,
161
+ * `"REPORT_ADMIN"`,
162
+ * `"SUPER_ADMIN"`,
163
+ * `"USER_ADMIN"`
164
+ * . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types).
165
+ *
166
+ *
167
+ * - `"USER_ADMIN"` is the Group Administrator.
86
168
  */
87
169
  roleType: pulumi.Input<string>;
88
170
  /**
89
- * List of apps ids for the targets of the admin role.
171
+ * A list of app names (name represents set of app instances, like 'salesforce' or '
172
+ * facebook'), or a combination of app name and app instance ID (like 'facebook.0oapsqQ6dv19pqyEo0g3') you would like as
173
+ * the targets of the admin role.
174
+ * - Only supported when used with the role type `"APP_ADMIN"`.
90
175
  */
91
176
  targetAppLists?: pulumi.Input<pulumi.Input<string>[]>;
92
177
  /**
93
- * List of groups ids for the targets of the admin role.
178
+ * A list of group IDs you would like as the targets of the admin role.
179
+ * - Only supported when used with the role types: `GROUP_MEMBERSHIP_ADMIN`, `HELP_DESK_ADMIN`, or `USER_ADMIN`.
94
180
  */
95
181
  targetGroupLists?: pulumi.Input<pulumi.Input<string>[]>;
96
182
  }
package/group/role.js CHANGED
@@ -5,6 +5,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Role = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * Assigns Admin roles to Okta Groups.
10
+ *
11
+ * This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one
12
+ * interface between the Okta group and the admin role.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as okta from "@pulumi/okta";
19
+ *
20
+ * const example = new okta.group.Role("example", {
21
+ * groupId: "<group id>",
22
+ * roleType: "READ_ONLY_ADMIN",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Individual admin role assignment can be imported by passing the group and role assignment IDs as follows
29
+ *
30
+ * ```sh
31
+ * $ pulumi import okta:group/role:Role example &#60;group id&#62;/&#60;role id&#62;
32
+ * ```
33
+ */
8
34
  class Role extends pulumi.CustomResource {
9
35
  /**
10
36
  * Get an existing Role resource's state with the given name, ID, and optional extra
package/group/role.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"role.js","sourceRoot":"","sources":["../../group/role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC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SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAvGL,oBAwGC;AA1FG,gBAAgB;AACO,iBAAY,GAAG,sBAAsB,CAAC"}
package/group/rule.d.ts CHANGED
@@ -1,4 +1,27 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as okta from "@pulumi/okta";
8
+ *
9
+ * const example = new okta.group.Rule("example", {
10
+ * expressionType: "urn:okta:expression:1.0",
11
+ * expressionValue: "String.startsWith(user.firstName,\"andy\")",
12
+ * groupAssignments: ["<group id>"],
13
+ * status: "ACTIVE",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * An Okta Group Rule can be imported via the Okta ID.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import okta:group/rule:Rule example &#60;group rule id&#62;
23
+ * ```
24
+ */
2
25
  export declare class Rule extends pulumi.CustomResource {
3
26
  /**
4
27
  * Get an existing Rule resource's state with the given name, ID, and optional extra
@@ -15,17 +38,34 @@ export declare class Rule extends pulumi.CustomResource {
15
38
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
39
  */
17
40
  static isInstance(obj: any): obj is Rule;
41
+ /**
42
+ * The expression type to use to invoke the rule. The default
43
+ * is `"urn:okta:expression:1.0"`.
44
+ */
18
45
  readonly expressionType: pulumi.Output<string | undefined>;
46
+ /**
47
+ * The expression value.
48
+ */
19
49
  readonly expressionValue: pulumi.Output<string>;
50
+ /**
51
+ * The list of group ids to assign the users to.
52
+ */
20
53
  readonly groupAssignments: pulumi.Output<string[]>;
54
+ /**
55
+ * The name of the Group Rule (min character 1; max characters 50).
56
+ */
21
57
  readonly name: pulumi.Output<string>;
22
58
  /**
23
- * Remove users added by this rule from the assigned group after deleting this resource
59
+ * This tells the provider to remove users added by this rule from the assigned
60
+ * group after destroying this resource. Default is `false`.
24
61
  */
25
62
  readonly removeAssignedUsers: pulumi.Output<boolean | undefined>;
63
+ /**
64
+ * The status of the group rule.
65
+ */
26
66
  readonly status: pulumi.Output<string | undefined>;
27
67
  /**
28
- * The list of user IDs that would be excluded when rules are processed
68
+ * The list of user IDs that would be excluded when rules are processed.
29
69
  */
30
70
  readonly usersExcludeds: pulumi.Output<string[] | undefined>;
31
71
  /**
@@ -41,17 +81,34 @@ export declare class Rule extends pulumi.CustomResource {
41
81
  * Input properties used for looking up and filtering Rule resources.
42
82
  */
43
83
  export interface RuleState {
84
+ /**
85
+ * The expression type to use to invoke the rule. The default
86
+ * is `"urn:okta:expression:1.0"`.
87
+ */
44
88
  expressionType?: pulumi.Input<string>;
89
+ /**
90
+ * The expression value.
91
+ */
45
92
  expressionValue?: pulumi.Input<string>;
93
+ /**
94
+ * The list of group ids to assign the users to.
95
+ */
46
96
  groupAssignments?: pulumi.Input<pulumi.Input<string>[]>;
97
+ /**
98
+ * The name of the Group Rule (min character 1; max characters 50).
99
+ */
47
100
  name?: pulumi.Input<string>;
48
101
  /**
49
- * Remove users added by this rule from the assigned group after deleting this resource
102
+ * This tells the provider to remove users added by this rule from the assigned
103
+ * group after destroying this resource. Default is `false`.
50
104
  */
51
105
  removeAssignedUsers?: pulumi.Input<boolean>;
106
+ /**
107
+ * The status of the group rule.
108
+ */
52
109
  status?: pulumi.Input<string>;
53
110
  /**
54
- * The list of user IDs that would be excluded when rules are processed
111
+ * The list of user IDs that would be excluded when rules are processed.
55
112
  */
56
113
  usersExcludeds?: pulumi.Input<pulumi.Input<string>[]>;
57
114
  }
@@ -59,17 +116,34 @@ export interface RuleState {
59
116
  * The set of arguments for constructing a Rule resource.
60
117
  */
61
118
  export interface RuleArgs {
119
+ /**
120
+ * The expression type to use to invoke the rule. The default
121
+ * is `"urn:okta:expression:1.0"`.
122
+ */
62
123
  expressionType?: pulumi.Input<string>;
124
+ /**
125
+ * The expression value.
126
+ */
63
127
  expressionValue: pulumi.Input<string>;
128
+ /**
129
+ * The list of group ids to assign the users to.
130
+ */
64
131
  groupAssignments: pulumi.Input<pulumi.Input<string>[]>;
132
+ /**
133
+ * The name of the Group Rule (min character 1; max characters 50).
134
+ */
65
135
  name?: pulumi.Input<string>;
66
136
  /**
67
- * Remove users added by this rule from the assigned group after deleting this resource
137
+ * This tells the provider to remove users added by this rule from the assigned
138
+ * group after destroying this resource. Default is `false`.
68
139
  */
69
140
  removeAssignedUsers?: pulumi.Input<boolean>;
141
+ /**
142
+ * The status of the group rule.
143
+ */
70
144
  status?: pulumi.Input<string>;
71
145
  /**
72
- * The list of user IDs that would be excluded when rules are processed
146
+ * The list of user IDs that would be excluded when rules are processed.
73
147
  */
74
148
  usersExcludeds?: pulumi.Input<pulumi.Input<string>[]>;
75
149
  }
package/group/rule.js CHANGED
@@ -5,6 +5,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Rule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as okta from "@pulumi/okta";
14
+ *
15
+ * const example = new okta.group.Rule("example", {
16
+ * expressionType: "urn:okta:expression:1.0",
17
+ * expressionValue: "String.startsWith(user.firstName,\"andy\")",
18
+ * groupAssignments: ["<group id>"],
19
+ * status: "ACTIVE",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * An Okta Group Rule can be imported via the Okta ID.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import okta:group/rule:Rule example &#60;group rule id&#62;
29
+ * ```
30
+ */
8
31
  class Rule extends pulumi.CustomResource {
9
32
  /**
10
33
  * Get an existing Rule resource's state with the given name, ID, and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ships for a specific group.
3
+ * Resource to manage a set of memberships for a specific group.
4
+ *
5
+ * This resource will allow you to bulk manage group membership in Okta for a given
6
+ * group. This offers an interface to pass multiple users into a single resource
7
+ * call, for better API resource usage. If you need a relationship of a single
8
+ * user to many groups, please use the `okta.UserGroupMemberships` resource.
9
+ *
10
+ * **Important**: The default behavior of the resource is to only maintain the
11
+ * state of user ids that are assigned it. This behavior will signal drift only if
12
+ * those users stop being part of the group. If the desired behavior is track all
13
+ * users that are added/removed from the group make use of the `trackAllUsers`
14
+ * argument with this resource.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as okta from "@pulumi/okta";
21
+ *
22
+ * const testGroup = new okta.group.Group("testGroup", {description: "testing, testing"});
23
+ * const testGroupMemberships = new okta.GroupMemberships("testGroupMemberships", {
24
+ * groupId: testGroup.id,
25
+ * users: [
26
+ * okta_user.test1.id,
27
+ * okta_user.test2.id,
28
+ * ],
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * an Okta Group's memberships can be imported via the Okta group ID.
35
+ *
36
+ * ```sh
37
+ * $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62;
38
+ * ```
39
+ *
40
+ * optional parameter track all users will also import all user id currently assigned to the group
41
+ *
42
+ * ```sh
43
+ * $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62;/&#60;true&#62;
44
+ * ```
4
45
  */
5
46
  export declare class GroupMemberships extends pulumi.CustomResource {
6
47
  /**
@@ -19,11 +60,11 @@ export declare class GroupMemberships extends pulumi.CustomResource {
19
60
  */
20
61
  static isInstance(obj: any): obj is GroupMemberships;
21
62
  /**
22
- * ID of a Okta group.
63
+ * Okta group ID.
23
64
  */
24
65
  readonly groupId: pulumi.Output<string>;
25
66
  /**
26
- * The resource concerns itself with all users added/deleted to the group; even those managed outside of the resource.
67
+ * The resource will concern itself with all users added/deleted to the group; even those managed outside of the resource.
27
68
  */
28
69
  readonly trackAllUsers: pulumi.Output<boolean | undefined>;
29
70
  /**
@@ -44,11 +85,11 @@ export declare class GroupMemberships extends pulumi.CustomResource {
44
85
  */
45
86
  export interface GroupMembershipsState {
46
87
  /**
47
- * ID of a Okta group.
88
+ * Okta group ID.
48
89
  */
49
90
  groupId?: pulumi.Input<string>;
50
91
  /**
51
- * The resource concerns itself with all users added/deleted to the group; even those managed outside of the resource.
92
+ * The resource will concern itself with all users added/deleted to the group; even those managed outside of the resource.
52
93
  */
53
94
  trackAllUsers?: pulumi.Input<boolean>;
54
95
  /**
@@ -61,11 +102,11 @@ export interface GroupMembershipsState {
61
102
  */
62
103
  export interface GroupMembershipsArgs {
63
104
  /**
64
- * ID of a Okta group.
105
+ * Okta group ID.
65
106
  */
66
107
  groupId: pulumi.Input<string>;
67
108
  /**
68
- * The resource concerns itself with all users added/deleted to the group; even those managed outside of the resource.
109
+ * The resource will concern itself with all users added/deleted to the group; even those managed outside of the resource.
69
110
  */
70
111
  trackAllUsers?: pulumi.Input<boolean>;
71
112
  /**