@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.
- package/adminRoleCustom.d.ts +105 -107
- package/adminRoleCustom.js +3 -5
- package/adminRoleCustom.js.map +1 -1
- package/adminRoleCustomAssignments.d.ts +12 -18
- package/adminRoleCustomAssignments.js +3 -6
- package/adminRoleCustomAssignments.js.map +1 -1
- package/adminRoleTargets.d.ts +14 -16
- package/adminRoleTargets.js +0 -2
- package/adminRoleTargets.js.map +1 -1
- package/app/accessPolicyAssignment.d.ts +23 -2
- package/app/accessPolicyAssignment.js +23 -2
- package/app/accessPolicyAssignment.js.map +1 -1
- package/app/autoLogin.d.ts +63 -97
- package/app/autoLogin.js +3 -37
- package/app/autoLogin.js.map +1 -1
- package/app/basicAuth.d.ts +30 -33
- package/app/basicAuth.js +4 -7
- package/app/basicAuth.js.map +1 -1
- package/app/bookmark.d.ts +30 -33
- package/app/bookmark.js +3 -6
- package/app/bookmark.js.map +1 -1
- package/app/getApp.d.ts +58 -25
- package/app/getApp.js +2 -2
- package/app/getApp.js.map +1 -1
- package/app/getMetadataSaml.d.ts +11 -5
- package/app/getMetadataSaml.js +2 -2
- package/app/getMetadataSaml.js.map +1 -1
- package/app/getOauth.d.ts +62 -34
- package/app/getOauth.js +2 -2
- package/app/getOauth.js.map +1 -1
- package/app/getSaml.d.ts +75 -56
- package/app/getSaml.js +2 -2
- package/app/getSaml.js.map +1 -1
- package/app/groupAssignment.d.ts +23 -9
- package/app/groupAssignment.js +17 -3
- package/app/groupAssignment.js.map +1 -1
- package/app/oauth.d.ts +135 -273
- package/app/oauth.js +6 -60
- package/app/oauth.js.map +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +4 -6
- package/app/oauthPostLogoutRedirectUri.js +1 -3
- package/app/oauthPostLogoutRedirectUri.js.map +1 -1
- package/app/oauthRedirectUri.d.ts +4 -6
- package/app/oauthRedirectUri.js +1 -3
- package/app/oauthRedirectUri.js.map +1 -1
- package/app/oauthRoleAssignment.d.ts +4 -29
- package/app/oauthRoleAssignment.js +4 -29
- package/app/oauthRoleAssignment.js.map +1 -1
- package/app/saml.d.ts +161 -289
- package/app/saml.js +6 -152
- package/app/saml.js.map +1 -1
- package/app/securePasswordStore.d.ts +79 -80
- package/app/securePasswordStore.js +6 -7
- package/app/securePasswordStore.js.map +1 -1
- package/app/swa.d.ts +70 -71
- package/app/swa.js +4 -5
- package/app/swa.js.map +1 -1
- package/app/threeField.d.ts +74 -76
- package/app/threeField.js +5 -7
- package/app/threeField.js.map +1 -1
- package/app/user.d.ts +12 -17
- package/app/user.js +0 -2
- package/app/user.js.map +1 -1
- package/appGroupAssignments.d.ts +6 -8
- package/appGroupAssignments.js +3 -5
- package/appGroupAssignments.js.map +1 -1
- package/appOauthApiScope.d.ts +5 -7
- package/appOauthApiScope.js +2 -4
- package/appOauthApiScope.js.map +1 -1
- package/appSamlAppSettings.d.ts +6 -7
- package/appSamlAppSettings.js +3 -4
- package/appSamlAppSettings.js.map +1 -1
- package/appSharedCredentials.d.ts +61 -63
- package/appSharedCredentials.js +4 -6
- package/appSharedCredentials.js.map +1 -1
- package/appSignonPolicy.d.ts +3 -39
- package/appSignonPolicy.js +3 -39
- package/appSignonPolicy.js.map +1 -1
- package/appSignonPolicyRule.d.ts +69 -361
- package/appSignonPolicyRule.js +1 -278
- package/appSignonPolicyRule.js.map +1 -1
- package/appUserBaseSchemaProperty.d.ts +25 -29
- package/appUserBaseSchemaProperty.js +1 -5
- package/appUserBaseSchemaProperty.js.map +1 -1
- package/appUserSchemaProperty.d.ts +51 -41
- package/appUserSchemaProperty.js +0 -2
- package/appUserSchemaProperty.js.map +1 -1
- package/auth/getServer.d.ts +11 -11
- package/auth/getServer.js +2 -2
- package/auth/getServerPolicy.d.ts +15 -9
- package/auth/getServerPolicy.js +2 -2
- package/auth/getServerPolicy.js.map +1 -1
- package/auth/getServerScopes.d.ts +8 -5
- package/auth/getServerScopes.js +2 -2
- package/auth/getServerScopes.js.map +1 -1
- package/auth/server.d.ts +15 -19
- package/auth/server.js +1 -5
- package/auth/server.js.map +1 -1
- package/auth/serverClaim.d.ts +13 -17
- package/auth/serverClaim.js +1 -5
- package/auth/serverClaim.js.map +1 -1
- package/auth/serverPolicy.d.ts +10 -14
- package/auth/serverPolicy.js +1 -5
- package/auth/serverPolicy.js.map +1 -1
- package/auth/serverPolicyClaim.d.ts +50 -66
- package/auth/serverPolicyClaim.js +0 -25
- package/auth/serverPolicyClaim.js.map +1 -1
- package/auth/serverPolicyRule.d.ts +32 -43
- package/auth/serverPolicyRule.js +0 -2
- package/auth/serverPolicyRule.js.map +1 -1
- package/auth/serverScope.d.ts +16 -20
- package/auth/serverScope.js +1 -5
- package/auth/serverScope.js.map +1 -1
- package/authServerClaimDefault.d.ts +10 -25
- package/authServerClaimDefault.js +0 -9
- package/authServerClaimDefault.js.map +1 -1
- package/authServerDefault.d.ts +15 -19
- package/authServerDefault.js +1 -5
- package/authServerDefault.js.map +1 -1
- package/authenticator.d.ts +53 -61
- package/authenticator.js +11 -11
- package/authenticator.js.map +1 -1
- package/behaviour.d.ts +21 -41
- package/behaviour.js +0 -2
- package/behaviour.js.map +1 -1
- package/brand.d.ts +23 -22
- package/brand.js +8 -4
- package/brand.js.map +1 -1
- package/captcha.d.ts +15 -17
- package/captcha.js +3 -5
- package/captcha.js.map +1 -1
- package/captchaOrgWideSettings.d.ts +8 -43
- package/captchaOrgWideSettings.js +2 -37
- package/captchaOrgWideSettings.js.map +1 -1
- package/domain.d.ts +13 -21
- package/domain.js +0 -2
- package/domain.js.map +1 -1
- package/domainCertificate.d.ts +17 -24
- package/domainCertificate.js +2 -9
- package/domainCertificate.js.map +1 -1
- package/domainVerification.d.ts +4 -10
- package/domainVerification.js +1 -7
- package/domainVerification.js.map +1 -1
- package/emailCustomization.d.ts +38 -222
- package/emailCustomization.js +29 -33
- package/emailCustomization.js.map +1 -1
- package/emailDomain.d.ts +4 -8
- package/emailDomain.js +0 -4
- package/emailDomain.js.map +1 -1
- package/emailDomainVerification.d.ts +3 -7
- package/emailDomainVerification.js +0 -4
- package/emailDomainVerification.js.map +1 -1
- package/emailSender.d.ts +15 -17
- package/emailSender.js +2 -4
- package/emailSender.js.map +1 -1
- package/emailSenderVerification.d.ts +5 -9
- package/emailSenderVerification.js +2 -6
- package/emailSenderVerification.js.map +1 -1
- package/eventHook.d.ts +16 -11
- package/eventHook.js +1 -5
- package/eventHook.js.map +1 -1
- package/eventHookVerification.d.ts +4 -10
- package/eventHookVerification.js +1 -7
- package/eventHookVerification.js.map +1 -1
- package/factor/factor.d.ts +4 -9
- package/factor/factor.js +1 -3
- package/factor/factor.js.map +1 -1
- package/factorTotp.d.ts +12 -21
- package/factorTotp.js +3 -3
- package/factorTotp.js.map +1 -1
- package/getAppGroupAssignments.d.ts +6 -6
- package/getAppGroupAssignments.js +2 -2
- package/getAppSignonPolicy.d.ts +16 -6
- package/getAppSignonPolicy.js +8 -4
- package/getAppSignonPolicy.js.map +1 -1
- package/getAppUserAssignments.d.ts +6 -6
- package/getAppUserAssignments.js +2 -2
- package/getAuthServerClaim.d.ts +15 -12
- package/getAuthServerClaim.js +2 -2
- package/getAuthServerClaim.js.map +1 -1
- package/getAuthServerClaims.d.ts +8 -5
- package/getAuthServerClaims.js +2 -2
- package/getAuthServerClaims.js.map +1 -1
- package/getAuthenticator.d.ts +24 -26
- package/getAuthenticator.js +14 -22
- package/getAuthenticator.js.map +1 -1
- package/getBehaviour.d.ts +6 -8
- package/getBehaviour.js +2 -2
- package/getBehaviour.js.map +1 -1
- package/getBehaviours.d.ts +7 -7
- package/getBehaviours.js +2 -2
- package/getBrand.d.ts +9 -6
- package/getBrand.js +2 -2
- package/getBrand.js.map +1 -1
- package/getBrands.d.ts +2 -2
- package/getBrands.js +2 -2
- package/getDomain.d.ts +11 -14
- package/getDomain.js +2 -8
- package/getDomain.js.map +1 -1
- package/getEmailCustomization.d.ts +14 -9
- package/getEmailCustomization.js +2 -6
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +11 -9
- package/getEmailCustomizations.js +2 -6
- package/getEmailCustomizations.js.map +1 -1
- package/getGroups.d.ts +11 -25
- package/getGroups.js +2 -2
- package/getGroups.js.map +1 -1
- package/getLogStream.d.ts +8 -39
- package/getLogStream.js +2 -24
- package/getLogStream.js.map +1 -1
- package/getNetworkZone.d.ts +12 -12
- package/getNetworkZone.js +2 -2
- package/getOrgMetadata.d.ts +0 -22
- package/getOrgMetadata.js +0 -22
- package/getOrgMetadata.js.map +1 -1
- package/getRoleSubscription.d.ts +13 -35
- package/getRoleSubscription.js +2 -2
- package/getRoleSubscription.js.map +1 -1
- package/getTemplate.d.ts +10 -8
- package/getTemplate.js +2 -6
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +6 -7
- package/getTemplates.js +2 -6
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +14 -12
- package/getTheme.js +2 -6
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +6 -7
- package/getThemes.js +2 -6
- package/getThemes.js.map +1 -1
- package/getTrustedOrigins.d.ts +7 -4
- package/getTrustedOrigins.js +2 -2
- package/getTrustedOrigins.js.map +1 -1
- package/getUserSecurityQuestions.d.ts +4 -8
- package/getUserSecurityQuestions.js +0 -4
- package/getUserSecurityQuestions.js.map +1 -1
- package/group/getEveryoneGroup.d.ts +10 -5
- package/group/getEveryoneGroup.js +4 -2
- package/group/getEveryoneGroup.js.map +1 -1
- package/group/getGroup.d.ts +17 -26
- package/group/getGroup.js +2 -2
- package/group/getGroup.js.map +1 -1
- package/group/getRule.d.ts +9 -9
- package/group/getRule.js +2 -2
- package/group/group.d.ts +4 -36
- package/group/group.js +1 -33
- package/group/group.js.map +1 -1
- package/group/role.d.ts +37 -81
- package/group/role.js +1 -6
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +12 -20
- package/group/rule.js +0 -2
- package/group/rule.js.map +1 -1
- package/groupMemberships.d.ts +8 -10
- package/groupMemberships.js +2 -4
- package/groupMemberships.js.map +1 -1
- package/groupSchemaProperty.d.ts +57 -59
- package/groupSchemaProperty.js +0 -2
- package/groupSchemaProperty.js.map +1 -1
- package/idp/getMetadataSaml.d.ts +9 -6
- package/idp/getMetadataSaml.js +2 -2
- package/idp/getMetadataSaml.js.map +1 -1
- package/idp/getOidc.d.ts +9 -9
- package/idp/getOidc.js +2 -2
- package/idp/getSaml.d.ts +16 -13
- package/idp/getSaml.js +2 -2
- package/idp/getSaml.js.map +1 -1
- package/idp/getSocial.d.ts +8 -2
- package/idp/getSocial.js +2 -2
- package/idp/getSocial.js.map +1 -1
- package/idp/oidc.d.ts +70 -62
- package/idp/oidc.js +3 -5
- package/idp/oidc.js.map +1 -1
- package/idp/saml.d.ts +64 -86
- package/idp/saml.js +1 -5
- package/idp/saml.js.map +1 -1
- package/idp/samlKey.d.ts +3 -5
- package/idp/samlKey.js +0 -2
- package/idp/samlKey.js.map +1 -1
- package/idp/social.d.ts +99 -69
- package/idp/social.js +11 -5
- package/idp/social.js.map +1 -1
- package/inline/hook.d.ts +4 -26
- package/inline/hook.js +1 -5
- package/inline/hook.js.map +1 -1
- package/linkDefinition.d.ts +2 -3
- package/linkDefinition.js +2 -3
- package/linkDefinition.js.map +1 -1
- package/linkValue.d.ts +7 -9
- package/linkValue.js +1 -3
- package/linkValue.js.map +1 -1
- package/logStream.d.ts +32 -27
- package/logStream.js +23 -9
- package/logStream.js.map +1 -1
- package/network/zone.d.ts +25 -66
- package/network/zone.js +1 -39
- package/network/zone.js.map +1 -1
- package/orgConfiguration.d.ts +4 -9
- package/orgConfiguration.js +1 -3
- package/orgConfiguration.js.map +1 -1
- package/orgSupport.d.ts +4 -7
- package/orgSupport.js +1 -4
- package/orgSupport.js.map +1 -1
- package/package.json +3 -3
- package/policy/getDefaultPolicy.d.ts +9 -7
- package/policy/getDefaultPolicy.js +6 -2
- package/policy/getDefaultPolicy.js.map +1 -1
- package/policy/getPolicy.d.ts +11 -26
- package/policy/getPolicy.js +2 -2
- package/policy/getPolicy.js.map +1 -1
- package/policy/mfa.d.ts +18 -220
- package/policy/mfa.js +0 -10
- package/policy/mfa.js.map +1 -1
- package/policy/password.d.ts +91 -95
- package/policy/password.js +1 -5
- package/policy/password.js.map +1 -1
- package/policy/ruleIdpDiscovery.d.ts +111 -93
- package/policy/ruleIdpDiscovery.js +48 -57
- package/policy/ruleIdpDiscovery.js.map +1 -1
- package/policy/ruleMfa.d.ts +40 -30
- package/policy/ruleMfa.js +1 -3
- package/policy/ruleMfa.js.map +1 -1
- package/policy/rulePassword.d.ts +34 -38
- package/policy/rulePassword.js +1 -5
- package/policy/rulePassword.js.map +1 -1
- package/policy/ruleSignon.d.ts +94 -85
- package/policy/ruleSignon.js +1 -4
- package/policy/ruleSignon.js.map +1 -1
- package/policy/signon.d.ts +16 -20
- package/policy/signon.js +1 -5
- package/policy/signon.js.map +1 -1
- package/policyMfaDefault.d.ts +15 -214
- package/policyMfaDefault.js +2 -9
- package/policyMfaDefault.js.map +1 -1
- package/policyPasswordDefault.d.ts +85 -101
- package/policyPasswordDefault.js +1 -5
- package/policyPasswordDefault.js.map +1 -1
- package/policyProfileEnrollment.d.ts +8 -9
- package/policyProfileEnrollment.js +2 -3
- package/policyProfileEnrollment.js.map +1 -1
- package/policyProfileEnrollmentApps.d.ts +8 -11
- package/policyProfileEnrollmentApps.js +3 -6
- package/policyProfileEnrollmentApps.js.map +1 -1
- package/policyRuleProfileEnrollment.d.ts +42 -31
- package/policyRuleProfileEnrollment.js +2 -3
- package/policyRuleProfileEnrollment.js.map +1 -1
- package/profile/mapping.d.ts +19 -34
- package/profile/mapping.js +4 -4
- package/profile/mapping.js.map +1 -1
- package/rateLimiting.d.ts +8 -17
- package/rateLimiting.js +2 -5
- package/rateLimiting.js.map +1 -1
- package/resourceSet.d.ts +18 -26
- package/resourceSet.js +9 -14
- package/resourceSet.js.map +1 -1
- package/roleSubscription.d.ts +35 -86
- package/roleSubscription.js +2 -2
- package/roleSubscription.js.map +1 -1
- package/securityNotificationEmails.d.ts +4 -7
- package/securityNotificationEmails.js +4 -7
- package/securityNotificationEmails.js.map +1 -1
- package/templateSms.d.ts +4 -8
- package/templateSms.js +1 -5
- package/templateSms.js.map +1 -1
- package/theme.d.ts +46 -46
- package/theme.js +2 -2
- package/threatInsightSettings.d.ts +7 -27
- package/threatInsightSettings.js +1 -3
- package/threatInsightSettings.js.map +1 -1
- package/trustedorigin/origin.d.ts +13 -17
- package/trustedorigin/origin.js +1 -5
- package/trustedorigin/origin.js.map +1 -1
- package/types/input.d.ts +65 -162
- package/types/output.d.ts +75 -275
- package/user/getUser.d.ts +32 -104
- package/user/getUser.js +2 -2
- package/user/getUser.js.map +1 -1
- package/user/getUserProfileMappingSource.d.ts +9 -7
- package/user/getUserProfileMappingSource.js +6 -4
- package/user/getUserProfileMappingSource.js.map +1 -1
- package/user/getUserType.d.ts +7 -7
- package/user/getUserType.js +2 -2
- package/user/getUsers.d.ts +95 -37
- package/user/getUsers.js +64 -24
- package/user/getUsers.js.map +1 -1
- package/user/user.d.ts +160 -209
- package/user/user.js +43 -65
- package/user/user.js.map +1 -1
- package/user/userType.d.ts +1 -5
- package/user/userType.js +1 -5
- package/user/userType.js.map +1 -1
- package/userAdminRoles.d.ts +10 -17
- package/userAdminRoles.js +1 -5
- package/userAdminRoles.js.map +1 -1
- package/userBaseSchemaProperty.d.ts +26 -34
- package/userBaseSchemaProperty.js +2 -10
- package/userBaseSchemaProperty.js.map +1 -1
- package/userFactorQuestion.d.ts +1 -5
- package/userFactorQuestion.js +1 -5
- package/userFactorQuestion.js.map +1 -1
- package/userGroupMemberships.d.ts +3 -3
- package/userSchemaProperty.d.ts +57 -56
- package/userSchemaProperty.js +0 -8
- package/userSchemaProperty.js.map +1 -1
package/user/getUser.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Get a single users from Okta.
|
|
6
6
|
*/
|
|
7
7
|
export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
8
8
|
/**
|
|
@@ -10,7 +10,7 @@ export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions)
|
|
|
10
10
|
*/
|
|
11
11
|
export interface GetUserArgs {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Search operator used when joining multiple search clauses
|
|
14
14
|
*/
|
|
15
15
|
compoundSearchOperator?: string;
|
|
16
16
|
/**
|
|
@@ -18,13 +18,19 @@ export interface GetUserArgs {
|
|
|
18
18
|
*/
|
|
19
19
|
delayReadSeconds?: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
22
22
|
*/
|
|
23
23
|
searches?: inputs.user.GetUserSearch[];
|
|
24
|
+
/**
|
|
25
|
+
* Do not populate user groups information (prevents additional API call)
|
|
26
|
+
*/
|
|
24
27
|
skipGroups?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Do not populate user roles information (prevents additional API call)
|
|
30
|
+
*/
|
|
25
31
|
skipRoles?: boolean;
|
|
26
32
|
/**
|
|
27
|
-
*
|
|
33
|
+
* Retrieve a single user based on their id
|
|
28
34
|
*/
|
|
29
35
|
userId?: string;
|
|
30
36
|
}
|
|
@@ -33,156 +39,72 @@ export interface GetUserArgs {
|
|
|
33
39
|
*/
|
|
34
40
|
export interface GetUserResult {
|
|
35
41
|
readonly adminRoles: string[];
|
|
36
|
-
/**
|
|
37
|
-
* City or locality component of user's address.
|
|
38
|
-
*/
|
|
39
42
|
readonly city: string;
|
|
40
|
-
readonly compoundSearchOperator?: string;
|
|
41
43
|
/**
|
|
42
|
-
*
|
|
44
|
+
* Search operator used when joining multiple search clauses
|
|
43
45
|
*/
|
|
46
|
+
readonly compoundSearchOperator?: string;
|
|
44
47
|
readonly costCenter: string;
|
|
45
|
-
/**
|
|
46
|
-
* Country name component of user's address.
|
|
47
|
-
*/
|
|
48
48
|
readonly countryCode: string;
|
|
49
|
-
/**
|
|
50
|
-
* Raw JSON containing all custom profile attributes.
|
|
51
|
-
*/
|
|
52
49
|
readonly customProfileAttributes: string;
|
|
53
|
-
readonly delayReadSeconds?: string;
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
51
|
+
* Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for.
|
|
56
52
|
*/
|
|
53
|
+
readonly delayReadSeconds?: string;
|
|
57
54
|
readonly department: string;
|
|
58
|
-
/**
|
|
59
|
-
* Name of the user, suitable for display to end users.
|
|
60
|
-
*/
|
|
61
55
|
readonly displayName: string;
|
|
62
|
-
/**
|
|
63
|
-
* Name of user's division.
|
|
64
|
-
*/
|
|
65
56
|
readonly division: string;
|
|
66
|
-
/**
|
|
67
|
-
* Primary email address of user.
|
|
68
|
-
*/
|
|
69
57
|
readonly email: string;
|
|
70
|
-
/**
|
|
71
|
-
* Organization or company assigned unique identifier for the user.
|
|
72
|
-
*/
|
|
73
58
|
readonly employeeNumber: string;
|
|
74
|
-
/**
|
|
75
|
-
* Given name of the user.
|
|
76
|
-
*/
|
|
77
59
|
readonly firstName: string;
|
|
78
60
|
readonly groupMemberships: string[];
|
|
79
|
-
/**
|
|
80
|
-
* Honorific prefix(es) of the user, or title in most Western languages.
|
|
81
|
-
*/
|
|
82
61
|
readonly honorificPrefix: string;
|
|
83
|
-
/**
|
|
84
|
-
* Honorific suffix(es) of the user.
|
|
85
|
-
*/
|
|
86
62
|
readonly honorificSuffix: string;
|
|
87
63
|
/**
|
|
88
64
|
* The provider-assigned unique ID for this managed resource.
|
|
89
65
|
*/
|
|
90
66
|
readonly id: string;
|
|
91
|
-
/**
|
|
92
|
-
* Family name of the user.
|
|
93
|
-
*/
|
|
94
67
|
readonly lastName: string;
|
|
95
|
-
/**
|
|
96
|
-
* User's default location for purposes of localizing items such as currency, date time format, numerical representations, etc.
|
|
97
|
-
*/
|
|
98
68
|
readonly locale: string;
|
|
99
|
-
/**
|
|
100
|
-
* Unique identifier for the user.
|
|
101
|
-
*/
|
|
102
69
|
readonly login: string;
|
|
103
|
-
/**
|
|
104
|
-
* Display name of the user's manager.
|
|
105
|
-
*/
|
|
106
70
|
readonly manager: string;
|
|
107
|
-
/**
|
|
108
|
-
* `id` of a user's manager.
|
|
109
|
-
*/
|
|
110
71
|
readonly managerId: string;
|
|
111
|
-
/**
|
|
112
|
-
* Middle name(s) of the user.
|
|
113
|
-
*/
|
|
114
72
|
readonly middleName: string;
|
|
115
|
-
/**
|
|
116
|
-
* Mobile phone number of user.
|
|
117
|
-
*/
|
|
118
73
|
readonly mobilePhone: string;
|
|
119
|
-
/**
|
|
120
|
-
* Casual way to address the user in real life.
|
|
121
|
-
*/
|
|
122
74
|
readonly nickName: string;
|
|
123
|
-
/**
|
|
124
|
-
* Name of user's organization.
|
|
125
|
-
*/
|
|
126
75
|
readonly organization: string;
|
|
127
|
-
/**
|
|
128
|
-
* Mailing address component of user's address.
|
|
129
|
-
*/
|
|
130
76
|
readonly postalAddress: string;
|
|
131
|
-
/**
|
|
132
|
-
* User's preferred written or spoken languages.
|
|
133
|
-
*/
|
|
134
77
|
readonly preferredLanguage: string;
|
|
135
|
-
/**
|
|
136
|
-
* Primary phone number of user such as home number.
|
|
137
|
-
*/
|
|
138
78
|
readonly primaryPhone: string;
|
|
139
|
-
/**
|
|
140
|
-
* URL of user's online profile (e.g. a web page).
|
|
141
|
-
*/
|
|
142
79
|
readonly profileUrl: string;
|
|
80
|
+
readonly roles: string[];
|
|
143
81
|
/**
|
|
144
|
-
*
|
|
82
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
145
83
|
*/
|
|
146
|
-
readonly roles: string[];
|
|
147
84
|
readonly searches?: outputs.user.GetUserSearch[];
|
|
85
|
+
readonly secondEmail: string;
|
|
148
86
|
/**
|
|
149
|
-
*
|
|
87
|
+
* Do not populate user groups information (prevents additional API call)
|
|
150
88
|
*/
|
|
151
|
-
readonly secondEmail: string;
|
|
152
89
|
readonly skipGroups?: boolean;
|
|
153
|
-
readonly skipRoles?: boolean;
|
|
154
90
|
/**
|
|
155
|
-
*
|
|
91
|
+
* Do not populate user roles information (prevents additional API call)
|
|
156
92
|
*/
|
|
93
|
+
readonly skipRoles?: boolean;
|
|
157
94
|
readonly state: string;
|
|
158
|
-
/**
|
|
159
|
-
* Current status of user.
|
|
160
|
-
*/
|
|
161
95
|
readonly status: string;
|
|
162
|
-
/**
|
|
163
|
-
* Full street address component of user's address.
|
|
164
|
-
*/
|
|
165
96
|
readonly streetAddress: string;
|
|
166
|
-
/**
|
|
167
|
-
* User's time zone.
|
|
168
|
-
*/
|
|
169
97
|
readonly timezone: string;
|
|
170
|
-
/**
|
|
171
|
-
* User's title, such as "Vice President".
|
|
172
|
-
*/
|
|
173
98
|
readonly title: string;
|
|
174
|
-
readonly userId?: string;
|
|
175
99
|
/**
|
|
176
|
-
*
|
|
100
|
+
* Retrieve a single user based on their id
|
|
177
101
|
*/
|
|
102
|
+
readonly userId?: string;
|
|
178
103
|
readonly userType: string;
|
|
179
|
-
/**
|
|
180
|
-
* Zipcode or postal code component of user's address (postalCode)
|
|
181
|
-
*/
|
|
182
104
|
readonly zipCode: string;
|
|
183
105
|
}
|
|
184
106
|
/**
|
|
185
|
-
*
|
|
107
|
+
* Get a single users from Okta.
|
|
186
108
|
*/
|
|
187
109
|
export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
188
110
|
/**
|
|
@@ -190,7 +112,7 @@ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.In
|
|
|
190
112
|
*/
|
|
191
113
|
export interface GetUserOutputArgs {
|
|
192
114
|
/**
|
|
193
|
-
*
|
|
115
|
+
* Search operator used when joining multiple search clauses
|
|
194
116
|
*/
|
|
195
117
|
compoundSearchOperator?: pulumi.Input<string>;
|
|
196
118
|
/**
|
|
@@ -198,13 +120,19 @@ export interface GetUserOutputArgs {
|
|
|
198
120
|
*/
|
|
199
121
|
delayReadSeconds?: pulumi.Input<string>;
|
|
200
122
|
/**
|
|
201
|
-
*
|
|
123
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
202
124
|
*/
|
|
203
125
|
searches?: pulumi.Input<pulumi.Input<inputs.user.GetUserSearchArgs>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Do not populate user groups information (prevents additional API call)
|
|
128
|
+
*/
|
|
204
129
|
skipGroups?: pulumi.Input<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* Do not populate user roles information (prevents additional API call)
|
|
132
|
+
*/
|
|
205
133
|
skipRoles?: pulumi.Input<boolean>;
|
|
206
134
|
/**
|
|
207
|
-
*
|
|
135
|
+
* Retrieve a single user based on their id
|
|
208
136
|
*/
|
|
209
137
|
userId?: pulumi.Input<string>;
|
|
210
138
|
}
|
package/user/getUser.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getUserOutput = exports.getUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Get a single users from Okta.
|
|
10
10
|
*/
|
|
11
11
|
function getUser(args, opts) {
|
|
12
12
|
args = args || {};
|
|
@@ -22,7 +22,7 @@ function getUser(args, opts) {
|
|
|
22
22
|
}
|
|
23
23
|
exports.getUser = getUser;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get a single users from Okta.
|
|
26
26
|
*/
|
|
27
27
|
function getUserOutput(args, opts) {
|
|
28
28
|
return pulumi.output(args).apply((a) => getUser(a, opts));
|
package/user/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../user/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../user/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAqGD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Get the base user Profile Mapping source or target from Okta.
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
5
|
+
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
6
|
+
* requires `okta.profileMappings.read` scope.
|
|
6
7
|
*
|
|
7
8
|
* ## Example Usage
|
|
8
9
|
*
|
|
@@ -19,22 +20,23 @@ export declare function getUserProfileMappingSource(opts?: pulumi.InvokeOptions)
|
|
|
19
20
|
*/
|
|
20
21
|
export interface GetUserProfileMappingSourceResult {
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
+
* ID of the source
|
|
23
24
|
*/
|
|
24
25
|
readonly id: string;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
* Name of source.
|
|
27
28
|
*/
|
|
28
29
|
readonly name: string;
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
+
* Type of source.
|
|
31
32
|
*/
|
|
32
33
|
readonly type: string;
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* Get the base user Profile Mapping source or target from Okta.
|
|
36
37
|
*
|
|
37
|
-
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
38
|
+
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
39
|
+
* requires `okta.profileMappings.read` scope.
|
|
38
40
|
*
|
|
39
41
|
* ## Example Usage
|
|
40
42
|
*
|
|
@@ -6,9 +6,10 @@ exports.getUserProfileMappingSourceOutput = exports.getUserProfileMappingSource
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Get the base user Profile Mapping source or target from Okta.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
11
|
+
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
12
|
+
* requires `okta.profileMappings.read` scope.
|
|
12
13
|
*
|
|
13
14
|
* ## Example Usage
|
|
14
15
|
*
|
|
@@ -25,9 +26,10 @@ function getUserProfileMappingSource(opts) {
|
|
|
25
26
|
}
|
|
26
27
|
exports.getUserProfileMappingSource = getUserProfileMappingSource;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Get the base user Profile Mapping source or target from Okta.
|
|
29
30
|
*
|
|
30
|
-
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
31
|
+
* > **NOTE:** If using this resource with OAuth2 scopes, this resource
|
|
32
|
+
* requires `okta.profileMappings.read` scope.
|
|
31
33
|
*
|
|
32
34
|
* ## Example Usage
|
|
33
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserProfileMappingSource.js","sourceRoot":"","sources":["../../user/getUserProfileMappingSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getUserProfileMappingSource.js","sourceRoot":"","sources":["../../user/getUserProfileMappingSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,2BAA2B,CAAC,IAA2B;IAEnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mEAAmE,EAAE,EACjG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AAmBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,8EAEC"}
|
package/user/getUserType.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Get a user type from Okta.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -19,7 +19,7 @@ export declare function getUserType(args: GetUserTypeArgs, opts?: pulumi.InvokeO
|
|
|
19
19
|
*/
|
|
20
20
|
export interface GetUserTypeArgs {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Name of user type to retrieve.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
25
|
}
|
|
@@ -28,11 +28,11 @@ export interface GetUserTypeArgs {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface GetUserTypeResult {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Description of user type.
|
|
32
32
|
*/
|
|
33
33
|
readonly description: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Display name of user type.
|
|
36
36
|
*/
|
|
37
37
|
readonly displayName: string;
|
|
38
38
|
/**
|
|
@@ -40,12 +40,12 @@ export interface GetUserTypeResult {
|
|
|
40
40
|
*/
|
|
41
41
|
readonly id: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Name of user type to retrieve.
|
|
44
44
|
*/
|
|
45
45
|
readonly name: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Get a user type from Okta.
|
|
49
49
|
*
|
|
50
50
|
* ## Example Usage
|
|
51
51
|
*
|
|
@@ -64,7 +64,7 @@ export declare function getUserTypeOutput(args: GetUserTypeOutputArgs, opts?: pu
|
|
|
64
64
|
*/
|
|
65
65
|
export interface GetUserTypeOutputArgs {
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Name of user type to retrieve.
|
|
68
68
|
*/
|
|
69
69
|
name: pulumi.Input<string>;
|
|
70
70
|
}
|
package/user/getUserType.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getUserTypeOutput = exports.getUserType = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Get a user type from Okta.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -27,7 +27,7 @@ function getUserType(args, opts) {
|
|
|
27
27
|
}
|
|
28
28
|
exports.getUserType = getUserType;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Get a user type from Okta.
|
|
31
31
|
*
|
|
32
32
|
* ## Example Usage
|
|
33
33
|
*
|
package/user/getUsers.d.ts
CHANGED
|
@@ -2,22 +2,42 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Get a list of users from Okta.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ### Lookup Users by Search Criteria
|
|
10
|
+
*
|
|
11
|
+
* data "okta.user.getUsers" "example" {
|
|
12
|
+
* search {
|
|
13
|
+
* name = "profile.company"
|
|
14
|
+
* value = "Articulate"
|
|
15
|
+
* comparison = "sw"
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* # Search for multiple users based on a raw search expression string
|
|
20
|
+
* data "okta.user.getUsers" "example" {
|
|
21
|
+
* search {
|
|
22
|
+
* expression = "profile.department eq \"Engineering\" and (created lt \"2014-01-01T00:00:00.000Z\" or status eq \"ACTIVE\")"
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
9
26
|
* ### Lookup Users by Group Membership
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* resource "okta.group.Group" "example" {
|
|
29
|
+
* name = "example-group"
|
|
30
|
+
* }
|
|
31
|
+
*
|
|
32
|
+
* data "okta.user.getUsers" "example" {
|
|
33
|
+
* groupId = okta_group.example.id
|
|
34
|
+
*
|
|
35
|
+
* # optionally include each user's group membership
|
|
36
|
+
* includeGroups = true
|
|
37
|
+
*
|
|
38
|
+
* # optionally include each user's administrator roles
|
|
39
|
+
* includeRoles = true
|
|
40
|
+
* }
|
|
21
41
|
*/
|
|
22
42
|
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
23
43
|
/**
|
|
@@ -25,27 +45,27 @@ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOption
|
|
|
25
45
|
*/
|
|
26
46
|
export interface GetUsersArgs {
|
|
27
47
|
/**
|
|
28
|
-
*
|
|
48
|
+
* Search operator used when joining multiple search clauses
|
|
29
49
|
*/
|
|
30
50
|
compoundSearchOperator?: string;
|
|
31
51
|
/**
|
|
32
|
-
* Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for
|
|
52
|
+
* Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
|
|
33
53
|
*/
|
|
34
54
|
delayReadSeconds?: string;
|
|
35
55
|
/**
|
|
36
|
-
*
|
|
56
|
+
* Find users based on group membership using the id of the group.
|
|
37
57
|
*/
|
|
38
58
|
groupId?: string;
|
|
39
59
|
/**
|
|
40
|
-
* Fetch
|
|
60
|
+
* Fetch group memberships for each user
|
|
41
61
|
*/
|
|
42
62
|
includeGroups?: boolean;
|
|
43
63
|
/**
|
|
44
|
-
* Fetch
|
|
64
|
+
* Fetch user roles for each user
|
|
45
65
|
*/
|
|
46
66
|
includeRoles?: boolean;
|
|
47
67
|
/**
|
|
48
|
-
*
|
|
68
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
49
69
|
*/
|
|
50
70
|
searches?: inputs.user.GetUsersSearch[];
|
|
51
71
|
}
|
|
@@ -53,38 +73,76 @@ export interface GetUsersArgs {
|
|
|
53
73
|
* A collection of values returned by getUsers.
|
|
54
74
|
*/
|
|
55
75
|
export interface GetUsersResult {
|
|
76
|
+
/**
|
|
77
|
+
* Search operator used when joining multiple search clauses
|
|
78
|
+
*/
|
|
56
79
|
readonly compoundSearchOperator?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
|
|
82
|
+
*/
|
|
57
83
|
readonly delayReadSeconds?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Find users based on group membership using the id of the group.
|
|
86
|
+
*/
|
|
58
87
|
readonly groupId?: string;
|
|
59
88
|
/**
|
|
60
89
|
* The provider-assigned unique ID for this managed resource.
|
|
61
90
|
*/
|
|
62
91
|
readonly id: string;
|
|
92
|
+
/**
|
|
93
|
+
* Fetch group memberships for each user
|
|
94
|
+
*/
|
|
63
95
|
readonly includeGroups?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Fetch user roles for each user
|
|
98
|
+
*/
|
|
64
99
|
readonly includeRoles?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
102
|
+
*/
|
|
65
103
|
readonly searches?: outputs.user.GetUsersSearch[];
|
|
66
104
|
/**
|
|
67
|
-
* collection of users retrieved from Okta
|
|
105
|
+
* collection of users retrieved from Okta.
|
|
68
106
|
*/
|
|
69
107
|
readonly users: outputs.user.GetUsersUser[];
|
|
70
108
|
}
|
|
71
109
|
/**
|
|
72
|
-
*
|
|
110
|
+
* Get a list of users from Okta.
|
|
73
111
|
*
|
|
74
112
|
* ## Example Usage
|
|
75
113
|
*
|
|
114
|
+
* ### Lookup Users by Search Criteria
|
|
115
|
+
*
|
|
116
|
+
* data "okta.user.getUsers" "example" {
|
|
117
|
+
* search {
|
|
118
|
+
* name = "profile.company"
|
|
119
|
+
* value = "Articulate"
|
|
120
|
+
* comparison = "sw"
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
123
|
+
*
|
|
124
|
+
* # Search for multiple users based on a raw search expression string
|
|
125
|
+
* data "okta.user.getUsers" "example" {
|
|
126
|
+
* search {
|
|
127
|
+
* expression = "profile.department eq \"Engineering\" and (created lt \"2014-01-01T00:00:00.000Z\" or status eq \"ACTIVE\")"
|
|
128
|
+
* }
|
|
129
|
+
* }
|
|
130
|
+
*
|
|
76
131
|
* ### Lookup Users by Group Membership
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
132
|
+
*
|
|
133
|
+
* resource "okta.group.Group" "example" {
|
|
134
|
+
* name = "example-group"
|
|
135
|
+
* }
|
|
136
|
+
*
|
|
137
|
+
* data "okta.user.getUsers" "example" {
|
|
138
|
+
* groupId = okta_group.example.id
|
|
139
|
+
*
|
|
140
|
+
* # optionally include each user's group membership
|
|
141
|
+
* includeGroups = true
|
|
142
|
+
*
|
|
143
|
+
* # optionally include each user's administrator roles
|
|
144
|
+
* includeRoles = true
|
|
145
|
+
* }
|
|
88
146
|
*/
|
|
89
147
|
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
|
|
90
148
|
/**
|
|
@@ -92,27 +150,27 @@ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.
|
|
|
92
150
|
*/
|
|
93
151
|
export interface GetUsersOutputArgs {
|
|
94
152
|
/**
|
|
95
|
-
*
|
|
153
|
+
* Search operator used when joining multiple search clauses
|
|
96
154
|
*/
|
|
97
155
|
compoundSearchOperator?: pulumi.Input<string>;
|
|
98
156
|
/**
|
|
99
|
-
* Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for
|
|
157
|
+
* Force delay of the users read by N seconds. Useful when eventual consistency of users information needs to be allowed for.
|
|
100
158
|
*/
|
|
101
159
|
delayReadSeconds?: pulumi.Input<string>;
|
|
102
160
|
/**
|
|
103
|
-
*
|
|
161
|
+
* Find users based on group membership using the id of the group.
|
|
104
162
|
*/
|
|
105
163
|
groupId?: pulumi.Input<string>;
|
|
106
164
|
/**
|
|
107
|
-
* Fetch
|
|
165
|
+
* Fetch group memberships for each user
|
|
108
166
|
*/
|
|
109
167
|
includeGroups?: pulumi.Input<boolean>;
|
|
110
168
|
/**
|
|
111
|
-
* Fetch
|
|
169
|
+
* Fetch user roles for each user
|
|
112
170
|
*/
|
|
113
171
|
includeRoles?: pulumi.Input<boolean>;
|
|
114
172
|
/**
|
|
115
|
-
*
|
|
173
|
+
* Filter to find user/users. Each filter will be concatenated with the compound search operator. Please be aware profile properties must match what is in Okta, which is likely camel case. Expression is a free form expression filter https://developer.okta.com/docs/reference/core-okta-api/#filter . The set name/value/comparison properties will be ignored if expression is present
|
|
116
174
|
*/
|
|
117
175
|
searches?: pulumi.Input<pulumi.Input<inputs.user.GetUsersSearchArgs>[]>;
|
|
118
176
|
}
|