From abb2540537e82a764cc0f5b4241624191836997c Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:36:57 +0100 Subject: [PATCH] Upgrade terraform-provider-okta to v4.11.0 (#724) This PR was generated via `$ upgrade-provider pulumi/pulumi-okta --kind=all --target-bridge-version=latest`. --- - Updating Java Gen version from 0.15.0 to 0.16.1. - Upgrading terraform-provider-okta from 4.10.0 to 4.11.0. Fixes #723 - Upgrading pulumi-terraform-bridge from v3.89.1 to v3.90.0. - Upgrading pulumi-terraform-bridge/pf from v0.42.1 to v0.43.0. --- .pulumi-java-gen.version | 2 +- examples/go.mod | 4 +- examples/go.sum | 8 +- patches/0001-ensure-patch.patch | 2 +- .../pulumi-resource-okta/bridge-metadata.json | 5 + provider/cmd/pulumi-resource-okta/schema.json | 286 +++++++++---- provider/go.mod | 22 +- provider/go.sum | 42 +- sdk/dotnet/AdminRoleCustom.cs | 2 +- sdk/dotnet/AdminRoleCustomAssignments.cs | 2 +- sdk/dotnet/AdminRoleTargets.cs | 2 +- sdk/dotnet/App/AccessPolicyAssignment.cs | 2 +- sdk/dotnet/App/AutoLogin.cs | 2 +- sdk/dotnet/App/BasicAuth.cs | 2 +- sdk/dotnet/App/Bookmark.cs | 2 +- sdk/dotnet/App/GroupAssignment.cs | 2 +- sdk/dotnet/App/OAuth.cs | 2 +- sdk/dotnet/App/OAuthPostLogoutRedirectUri.cs | 2 +- sdk/dotnet/App/OAuthRedirectUri.cs | 2 +- sdk/dotnet/App/Saml.cs | 2 +- sdk/dotnet/App/SecurePasswordStore.cs | 2 +- sdk/dotnet/App/Swa.cs | 2 +- sdk/dotnet/App/ThreeField.cs | 2 +- sdk/dotnet/App/User.cs | 2 +- sdk/dotnet/AppGroupAssignments.cs | 2 +- sdk/dotnet/AppOauthApiScope.cs | 2 +- sdk/dotnet/AppSamlAppSettings.cs | 2 +- sdk/dotnet/AppSharedCredentials.cs | 2 +- sdk/dotnet/AppSignonPolicy.cs | 2 +- sdk/dotnet/AppSignonPolicyRule.cs | 2 +- sdk/dotnet/AppUserBaseSchemaProperty.cs | 2 +- sdk/dotnet/AppUserSchemaProperty.cs | 2 +- sdk/dotnet/Auth/Server.cs | 2 +- sdk/dotnet/Auth/ServerClaim.cs | 2 +- sdk/dotnet/Auth/ServerPolicy.cs | 2 +- sdk/dotnet/Auth/ServerPolicyClaim.cs | 2 +- sdk/dotnet/Auth/ServerPolicyRule.cs | 2 +- sdk/dotnet/Auth/ServerScope.cs | 2 +- sdk/dotnet/AuthServerClaimDefault.cs | 2 +- sdk/dotnet/AuthServerDefault.cs | 2 +- sdk/dotnet/Authenticator.cs | 2 +- sdk/dotnet/Behaviour.cs | 2 +- sdk/dotnet/Brand.cs | 2 +- sdk/dotnet/Captcha.cs | 2 +- sdk/dotnet/CustomizedSigninPage.cs | 2 +- sdk/dotnet/Domain.cs | 4 +- sdk/dotnet/EmailCustomization.cs | 2 +- sdk/dotnet/EmailDomain.cs | 2 +- sdk/dotnet/EmailSender.cs | 2 +- sdk/dotnet/EventHook.cs | 2 +- sdk/dotnet/Group/Group.cs | 2 +- sdk/dotnet/Group/Owner.cs | 212 ++++++++++ sdk/dotnet/Group/Role.cs | 57 ++- sdk/dotnet/Group/Rule.cs | 2 +- sdk/dotnet/GroupMemberships.cs | 4 +- sdk/dotnet/GroupSchemaProperty.cs | 2 +- sdk/dotnet/Idp/Oidc.cs | 2 +- sdk/dotnet/Idp/Saml.cs | 2 +- sdk/dotnet/Idp/SamlKey.cs | 2 +- sdk/dotnet/Idp/Social.cs | 2 +- sdk/dotnet/Inline/Hook.cs | 2 +- sdk/dotnet/LinkDefinition.cs | 2 +- sdk/dotnet/LinkValue.cs | 2 +- sdk/dotnet/LogStream.cs | 2 +- sdk/dotnet/Network/Zone.cs | 2 +- sdk/dotnet/Policy/DeviceAssuranceAndroid.cs | 2 +- sdk/dotnet/Policy/DeviceAssuranceChromeos.cs | 2 +- sdk/dotnet/Policy/DeviceAssuranceIos.cs | 2 +- sdk/dotnet/Policy/DeviceAssuranceMacos.cs | 2 +- sdk/dotnet/Policy/DeviceAssuranceWindows.cs | 2 +- sdk/dotnet/Policy/Mfa.cs | 2 +- sdk/dotnet/Policy/Password.cs | 2 +- sdk/dotnet/Policy/RuleIdpDiscovery.cs | 2 +- sdk/dotnet/Policy/RuleMfa.cs | 2 +- sdk/dotnet/Policy/RulePassword.cs | 2 +- sdk/dotnet/Policy/RuleSignon.cs | 2 +- sdk/dotnet/Policy/Signon.cs | 2 +- sdk/dotnet/PolicyProfileEnrollment.cs | 2 +- sdk/dotnet/PolicyProfileEnrollmentApps.cs | 2 +- sdk/dotnet/PolicyRuleProfileEnrollment.cs | 2 +- sdk/dotnet/ResourceSet.cs | 2 +- sdk/dotnet/RoleSubscription.cs | 2 +- sdk/dotnet/TemplateSms.cs | 2 +- sdk/dotnet/Theme.cs | 2 +- sdk/dotnet/TrustedOrigin/Origin.cs | 2 +- sdk/dotnet/User/User.cs | 2 +- sdk/dotnet/User/UserType.cs | 2 +- sdk/dotnet/UserAdminRoles.cs | 2 +- sdk/dotnet/UserBaseSchemaProperty.cs | 4 +- sdk/dotnet/UserFactorQuestion.cs | 2 +- sdk/dotnet/UserSchemaProperty.cs | 6 +- sdk/go.mod | 2 +- sdk/go.sum | 4 +- sdk/go/okta/adminRoleCustom.go | 2 +- sdk/go/okta/adminRoleCustomAssignments.go | 2 +- sdk/go/okta/adminRoleTargets.go | 2 +- sdk/go/okta/app/accessPolicyAssignment.go | 2 +- sdk/go/okta/app/autoLogin.go | 2 +- sdk/go/okta/app/basicAuth.go | 2 +- sdk/go/okta/app/bookmark.go | 2 +- sdk/go/okta/app/groupAssignment.go | 2 +- sdk/go/okta/app/oauth.go | 2 +- sdk/go/okta/app/oauthPostLogoutRedirectUri.go | 2 +- sdk/go/okta/app/oauthRedirectUri.go | 2 +- sdk/go/okta/app/saml.go | 2 +- sdk/go/okta/app/securePasswordStore.go | 2 +- sdk/go/okta/app/swa.go | 2 +- sdk/go/okta/app/threeField.go | 2 +- sdk/go/okta/app/user.go | 2 +- sdk/go/okta/appGroupAssignments.go | 2 +- sdk/go/okta/appOauthApiScope.go | 2 +- sdk/go/okta/appSamlAppSettings.go | 2 +- sdk/go/okta/appSharedCredentials.go | 2 +- sdk/go/okta/appSignonPolicy.go | 2 +- sdk/go/okta/appSignonPolicyRule.go | 2 +- sdk/go/okta/appUserBaseSchemaProperty.go | 2 +- sdk/go/okta/appUserSchemaProperty.go | 2 +- sdk/go/okta/auth/server.go | 2 +- sdk/go/okta/auth/serverClaim.go | 2 +- sdk/go/okta/auth/serverPolicy.go | 2 +- sdk/go/okta/auth/serverPolicyClaim.go | 2 +- sdk/go/okta/auth/serverPolicyRule.go | 2 +- sdk/go/okta/auth/serverScope.go | 2 +- sdk/go/okta/authServerClaimDefault.go | 2 +- sdk/go/okta/authServerDefault.go | 2 +- sdk/go/okta/authenticator.go | 2 +- sdk/go/okta/behaviour.go | 2 +- sdk/go/okta/brand.go | 2 +- sdk/go/okta/captcha.go | 2 +- sdk/go/okta/customizedSigninPage.go | 2 +- sdk/go/okta/domain.go | 8 +- sdk/go/okta/emailCustomization.go | 2 +- sdk/go/okta/emailDomain.go | 2 +- sdk/go/okta/emailSender.go | 2 +- sdk/go/okta/eventHook.go | 2 +- sdk/go/okta/group/group.go | 2 +- sdk/go/okta/group/init.go | 7 + sdk/go/okta/group/owner.go | 343 +++++++++++++++ sdk/go/okta/group/role.go | 59 +-- sdk/go/okta/group/rule.go | 2 +- sdk/go/okta/groupMemberships.go | 4 +- sdk/go/okta/groupSchemaProperty.go | 2 +- sdk/go/okta/idp/oidc.go | 2 +- sdk/go/okta/idp/saml.go | 2 +- sdk/go/okta/idp/samlKey.go | 2 +- sdk/go/okta/idp/social.go | 2 +- sdk/go/okta/inline/hook.go | 2 +- sdk/go/okta/linkDefinition.go | 2 +- sdk/go/okta/linkValue.go | 2 +- sdk/go/okta/logStream.go | 2 +- sdk/go/okta/network/zone.go | 2 +- sdk/go/okta/policy/deviceAssuranceAndroid.go | 2 +- sdk/go/okta/policy/deviceAssuranceChromeos.go | 2 +- sdk/go/okta/policy/deviceAssuranceIos.go | 2 +- sdk/go/okta/policy/deviceAssuranceMacos.go | 2 +- sdk/go/okta/policy/deviceAssuranceWindows.go | 2 +- sdk/go/okta/policy/mfa.go | 2 +- sdk/go/okta/policy/password.go | 2 +- sdk/go/okta/policy/ruleIdpDiscovery.go | 2 +- sdk/go/okta/policy/ruleMfa.go | 2 +- sdk/go/okta/policy/rulePassword.go | 2 +- sdk/go/okta/policy/ruleSignon.go | 2 +- sdk/go/okta/policy/signon.go | 2 +- sdk/go/okta/policyProfileEnrollment.go | 2 +- sdk/go/okta/policyProfileEnrollmentApps.go | 2 +- sdk/go/okta/policyRuleProfileEnrollment.go | 2 +- sdk/go/okta/resourceSet.go | 2 +- sdk/go/okta/roleSubscription.go | 2 +- sdk/go/okta/templateSms.go | 2 +- sdk/go/okta/theme.go | 2 +- sdk/go/okta/trustedorigin/origin.go | 2 +- sdk/go/okta/user/user.go | 2 +- sdk/go/okta/user/userType.go | 2 +- sdk/go/okta/userAdminRoles.go | 2 +- sdk/go/okta/userBaseSchemaProperty.go | 4 +- sdk/go/okta/userFactorQuestion.go | 2 +- sdk/go/okta/userSchemaProperty.go | 6 +- sdk/java/build.gradle | 2 +- .../java/com/pulumi/okta/AdminRoleCustom.java | 2 +- .../okta/AdminRoleCustomAssignments.java | 2 +- .../com/pulumi/okta/AdminRoleTargets.java | 2 +- .../com/pulumi/okta/AppGroupAssignments.java | 2 +- .../com/pulumi/okta/AppOauthApiScope.java | 2 +- .../com/pulumi/okta/AppSamlAppSettings.java | 2 +- .../com/pulumi/okta/AppSharedCredentials.java | 2 +- .../java/com/pulumi/okta/AppSignonPolicy.java | 2 +- .../com/pulumi/okta/AppSignonPolicyRule.java | 2 +- .../okta/AppUserBaseSchemaProperty.java | 2 +- .../pulumi/okta/AppUserSchemaProperty.java | 2 +- .../pulumi/okta/AuthServerClaimDefault.java | 2 +- .../com/pulumi/okta/AuthServerDefault.java | 2 +- .../java/com/pulumi/okta/Authenticator.java | 2 +- .../main/java/com/pulumi/okta/Behaviour.java | 2 +- .../src/main/java/com/pulumi/okta/Brand.java | 2 +- .../main/java/com/pulumi/okta/Captcha.java | 2 +- .../com/pulumi/okta/CustomizedSigninPage.java | 2 +- .../src/main/java/com/pulumi/okta/Domain.java | 8 +- .../com/pulumi/okta/EmailCustomization.java | 2 +- .../java/com/pulumi/okta/EmailDomain.java | 2 +- .../java/com/pulumi/okta/EmailSender.java | 2 +- .../main/java/com/pulumi/okta/EventHook.java | 2 +- .../com/pulumi/okta/GroupMemberships.java | 4 +- .../com/pulumi/okta/GroupSchemaProperty.java | 2 +- .../java/com/pulumi/okta/LinkDefinition.java | 2 +- .../main/java/com/pulumi/okta/LinkValue.java | 2 +- .../main/java/com/pulumi/okta/LogStream.java | 2 +- .../pulumi/okta/PolicyProfileEnrollment.java | 2 +- .../okta/PolicyProfileEnrollmentApps.java | 2 +- .../okta/PolicyRuleProfileEnrollment.java | 2 +- .../java/com/pulumi/okta/ResourceSet.java | 2 +- .../com/pulumi/okta/RoleSubscription.java | 2 +- .../java/com/pulumi/okta/TemplateSms.java | 2 +- .../src/main/java/com/pulumi/okta/Theme.java | 2 +- .../java/com/pulumi/okta/UserAdminRoles.java | 2 +- .../pulumi/okta/UserBaseSchemaProperty.java | 4 +- .../com/pulumi/okta/UserFactorQuestion.java | 2 +- .../com/pulumi/okta/UserSchemaProperty.java | 6 +- .../okta/app/AccessPolicyAssignment.java | 2 +- .../java/com/pulumi/okta/app/AutoLogin.java | 2 +- .../java/com/pulumi/okta/app/BasicAuth.java | 2 +- .../java/com/pulumi/okta/app/Bookmark.java | 2 +- .../com/pulumi/okta/app/GroupAssignment.java | 2 +- .../main/java/com/pulumi/okta/app/OAuth.java | 2 +- .../okta/app/OAuthPostLogoutRedirectUri.java | 2 +- .../com/pulumi/okta/app/OAuthRedirectUri.java | 2 +- .../main/java/com/pulumi/okta/app/Saml.java | 2 +- .../pulumi/okta/app/SecurePasswordStore.java | 2 +- .../main/java/com/pulumi/okta/app/Swa.java | 2 +- .../java/com/pulumi/okta/app/ThreeField.java | 2 +- .../main/java/com/pulumi/okta/app/User.java | 2 +- .../java/com/pulumi/okta/auth/Server.java | 2 +- .../com/pulumi/okta/auth/ServerClaim.java | 2 +- .../com/pulumi/okta/auth/ServerPolicy.java | 2 +- .../pulumi/okta/auth/ServerPolicyClaim.java | 2 +- .../pulumi/okta/auth/ServerPolicyRule.java | 2 +- .../com/pulumi/okta/auth/ServerScope.java | 2 +- .../java/com/pulumi/okta/group/Group.java | 2 +- .../java/com/pulumi/okta/group/Owner.java | 229 ++++++++++ .../java/com/pulumi/okta/group/OwnerArgs.java | 165 ++++++++ .../main/java/com/pulumi/okta/group/Role.java | 66 ++- .../java/com/pulumi/okta/group/RoleArgs.java | 74 ++++ .../main/java/com/pulumi/okta/group/Rule.java | 2 +- .../pulumi/okta/group/inputs/OwnerState.java | 306 ++++++++++++++ .../pulumi/okta/group/inputs/RoleState.java | 74 ++++ .../main/java/com/pulumi/okta/idp/Oidc.java | 2 +- .../main/java/com/pulumi/okta/idp/Saml.java | 2 +- .../java/com/pulumi/okta/idp/SamlKey.java | 2 +- .../main/java/com/pulumi/okta/idp/Social.java | 2 +- .../java/com/pulumi/okta/inline/Hook.java | 2 +- .../java/com/pulumi/okta/network/Zone.java | 2 +- .../okta/policy/DeviceAssuranceAndroid.java | 2 +- .../okta/policy/DeviceAssuranceChromeos.java | 2 +- .../okta/policy/DeviceAssuranceIos.java | 2 +- .../okta/policy/DeviceAssuranceMacos.java | 2 +- .../okta/policy/DeviceAssuranceWindows.java | 2 +- .../main/java/com/pulumi/okta/policy/Mfa.java | 2 +- .../java/com/pulumi/okta/policy/Password.java | 2 +- .../pulumi/okta/policy/RuleIdpDiscovery.java | 2 +- .../java/com/pulumi/okta/policy/RuleMfa.java | 2 +- .../com/pulumi/okta/policy/RulePassword.java | 2 +- .../com/pulumi/okta/policy/RuleSignon.java | 2 +- .../java/com/pulumi/okta/policy/Signon.java | 2 +- .../com/pulumi/okta/trustedorigin/Origin.java | 2 +- .../main/java/com/pulumi/okta/user/User.java | 2 +- .../java/com/pulumi/okta/user/UserType.java | 2 +- sdk/nodejs/adminRoleCustom.ts | 2 +- sdk/nodejs/adminRoleCustomAssignments.ts | 2 +- sdk/nodejs/adminRoleTargets.ts | 2 +- sdk/nodejs/app/accessPolicyAssignment.ts | 2 +- sdk/nodejs/app/autoLogin.ts | 2 +- sdk/nodejs/app/basicAuth.ts | 2 +- sdk/nodejs/app/bookmark.ts | 2 +- sdk/nodejs/app/groupAssignment.ts | 2 +- sdk/nodejs/app/oauth.ts | 2 +- sdk/nodejs/app/oauthPostLogoutRedirectUri.ts | 2 +- sdk/nodejs/app/oauthRedirectUri.ts | 2 +- sdk/nodejs/app/saml.ts | 2 +- sdk/nodejs/app/securePasswordStore.ts | 2 +- sdk/nodejs/app/swa.ts | 2 +- sdk/nodejs/app/threeField.ts | 2 +- sdk/nodejs/app/user.ts | 2 +- sdk/nodejs/appGroupAssignments.ts | 2 +- sdk/nodejs/appOauthApiScope.ts | 2 +- sdk/nodejs/appSamlAppSettings.ts | 2 +- sdk/nodejs/appSharedCredentials.ts | 2 +- sdk/nodejs/appSignonPolicy.ts | 2 +- sdk/nodejs/appSignonPolicyRule.ts | 2 +- sdk/nodejs/appUserBaseSchemaProperty.ts | 2 +- sdk/nodejs/appUserSchemaProperty.ts | 2 +- sdk/nodejs/auth/server.ts | 2 +- sdk/nodejs/auth/serverClaim.ts | 2 +- sdk/nodejs/auth/serverPolicy.ts | 2 +- sdk/nodejs/auth/serverPolicyClaim.ts | 2 +- sdk/nodejs/auth/serverPolicyRule.ts | 2 +- sdk/nodejs/auth/serverScope.ts | 2 +- sdk/nodejs/authServerClaimDefault.ts | 2 +- sdk/nodejs/authServerDefault.ts | 2 +- sdk/nodejs/authenticator.ts | 2 +- sdk/nodejs/behaviour.ts | 2 +- sdk/nodejs/brand.ts | 2 +- sdk/nodejs/captcha.ts | 2 +- sdk/nodejs/customizedSigninPage.ts | 2 +- sdk/nodejs/domain.ts | 4 +- sdk/nodejs/emailCustomization.ts | 2 +- sdk/nodejs/emailDomain.ts | 2 +- sdk/nodejs/emailSender.ts | 2 +- sdk/nodejs/eventHook.ts | 2 +- sdk/nodejs/group/group.ts | 2 +- sdk/nodejs/group/index.ts | 8 + sdk/nodejs/group/owner.ts | 181 ++++++++ sdk/nodejs/group/role.ts | 42 +- sdk/nodejs/group/rule.ts | 2 +- sdk/nodejs/groupMemberships.ts | 4 +- sdk/nodejs/groupSchemaProperty.ts | 2 +- sdk/nodejs/idp/oidc.ts | 2 +- sdk/nodejs/idp/saml.ts | 2 +- sdk/nodejs/idp/samlKey.ts | 2 +- sdk/nodejs/idp/social.ts | 2 +- sdk/nodejs/inline/hook.ts | 2 +- sdk/nodejs/linkDefinition.ts | 2 +- sdk/nodejs/linkValue.ts | 2 +- sdk/nodejs/logStream.ts | 2 +- sdk/nodejs/network/zone.ts | 2 +- sdk/nodejs/package.json | 2 +- sdk/nodejs/policy/deviceAssuranceAndroid.ts | 2 +- sdk/nodejs/policy/deviceAssuranceChromeos.ts | 2 +- sdk/nodejs/policy/deviceAssuranceIos.ts | 2 +- sdk/nodejs/policy/deviceAssuranceMacos.ts | 2 +- sdk/nodejs/policy/deviceAssuranceWindows.ts | 2 +- sdk/nodejs/policy/mfa.ts | 2 +- sdk/nodejs/policy/password.ts | 2 +- sdk/nodejs/policy/ruleIdpDiscovery.ts | 2 +- sdk/nodejs/policy/ruleMfa.ts | 2 +- sdk/nodejs/policy/rulePassword.ts | 2 +- sdk/nodejs/policy/ruleSignon.ts | 2 +- sdk/nodejs/policy/signon.ts | 2 +- sdk/nodejs/policyProfileEnrollment.ts | 2 +- sdk/nodejs/policyProfileEnrollmentApps.ts | 2 +- sdk/nodejs/policyRuleProfileEnrollment.ts | 2 +- sdk/nodejs/resourceSet.ts | 2 +- sdk/nodejs/roleSubscription.ts | 2 +- sdk/nodejs/templateSms.ts | 2 +- sdk/nodejs/theme.ts | 2 +- sdk/nodejs/trustedorigin/origin.ts | 2 +- sdk/nodejs/tsconfig.json | 1 + sdk/nodejs/user/user.ts | 2 +- sdk/nodejs/user/userType.ts | 2 +- sdk/nodejs/userAdminRoles.ts | 2 +- sdk/nodejs/userBaseSchemaProperty.ts | 4 +- sdk/nodejs/userFactorQuestion.ts | 2 +- sdk/nodejs/userSchemaProperty.ts | 6 +- sdk/python/pulumi_okta/__init__.py | 8 + sdk/python/pulumi_okta/admin_role_custom.py | 4 +- .../admin_role_custom_assignments.py | 4 +- sdk/python/pulumi_okta/admin_role_targets.py | 4 +- .../app/access_policy_assignment.py | 4 +- sdk/python/pulumi_okta/app/auto_login.py | 4 +- sdk/python/pulumi_okta/app/basic_auth.py | 4 +- sdk/python/pulumi_okta/app/bookmark.py | 4 +- .../pulumi_okta/app/group_assignment.py | 4 +- sdk/python/pulumi_okta/app/o_auth.py | 4 +- .../app/o_auth_post_logout_redirect_uri.py | 4 +- .../pulumi_okta/app/o_auth_redirect_uri.py | 4 +- sdk/python/pulumi_okta/app/saml.py | 4 +- .../pulumi_okta/app/secure_password_store.py | 4 +- sdk/python/pulumi_okta/app/swa.py | 4 +- sdk/python/pulumi_okta/app/three_field.py | 4 +- sdk/python/pulumi_okta/app/user.py | 4 +- .../pulumi_okta/app_group_assignments.py | 4 +- sdk/python/pulumi_okta/app_oauth_api_scope.py | 4 +- .../pulumi_okta/app_saml_app_settings.py | 4 +- .../pulumi_okta/app_shared_credentials.py | 4 +- sdk/python/pulumi_okta/app_signon_policy.py | 4 +- .../pulumi_okta/app_signon_policy_rule.py | 4 +- .../app_user_base_schema_property.py | 4 +- .../pulumi_okta/app_user_schema_property.py | 4 +- sdk/python/pulumi_okta/auth/server.py | 4 +- sdk/python/pulumi_okta/auth/server_claim.py | 4 +- sdk/python/pulumi_okta/auth/server_policy.py | 4 +- .../pulumi_okta/auth/server_policy_claim.py | 4 +- .../pulumi_okta/auth/server_policy_rule.py | 4 +- sdk/python/pulumi_okta/auth/server_scope.py | 4 +- .../pulumi_okta/auth_server_claim_default.py | 4 +- sdk/python/pulumi_okta/auth_server_default.py | 4 +- sdk/python/pulumi_okta/authenticator.py | 4 +- sdk/python/pulumi_okta/behaviour.py | 4 +- sdk/python/pulumi_okta/brand.py | 4 +- sdk/python/pulumi_okta/captcha.py | 4 +- .../pulumi_okta/customized_signin_page.py | 4 +- sdk/python/pulumi_okta/domain.py | 6 +- sdk/python/pulumi_okta/email_customization.py | 4 +- sdk/python/pulumi_okta/email_domain.py | 4 +- sdk/python/pulumi_okta/email_sender.py | 4 +- sdk/python/pulumi_okta/event_hook.py | 4 +- sdk/python/pulumi_okta/group/__init__.py | 1 + sdk/python/pulumi_okta/group/group.py | 4 +- sdk/python/pulumi_okta/group/owner.py | 390 ++++++++++++++++++ sdk/python/pulumi_okta/group/role.py | 120 ++++-- sdk/python/pulumi_okta/group/rule.py | 4 +- sdk/python/pulumi_okta/group_memberships.py | 8 +- .../pulumi_okta/group_schema_property.py | 4 +- sdk/python/pulumi_okta/idp/oidc.py | 4 +- sdk/python/pulumi_okta/idp/saml.py | 4 +- sdk/python/pulumi_okta/idp/saml_key.py | 4 +- sdk/python/pulumi_okta/idp/social.py | 4 +- sdk/python/pulumi_okta/inline/hook.py | 4 +- sdk/python/pulumi_okta/link_definition.py | 4 +- sdk/python/pulumi_okta/link_value.py | 4 +- sdk/python/pulumi_okta/log_stream.py | 4 +- sdk/python/pulumi_okta/network/zone.py | 4 +- .../policy/device_assurance_android.py | 4 +- .../policy/device_assurance_chromeos.py | 4 +- .../policy/device_assurance_ios.py | 4 +- .../policy/device_assurance_macos.py | 4 +- .../policy/device_assurance_windows.py | 4 +- sdk/python/pulumi_okta/policy/mfa.py | 4 +- sdk/python/pulumi_okta/policy/password.py | 4 +- .../pulumi_okta/policy/rule_idp_discovery.py | 4 +- sdk/python/pulumi_okta/policy/rule_mfa.py | 4 +- .../pulumi_okta/policy/rule_password.py | 4 +- sdk/python/pulumi_okta/policy/rule_signon.py | 4 +- sdk/python/pulumi_okta/policy/signon.py | 4 +- .../pulumi_okta/policy_profile_enrollment.py | 4 +- .../policy_profile_enrollment_apps.py | 4 +- .../policy_rule_profile_enrollment.py | 4 +- sdk/python/pulumi_okta/resource_set.py | 4 +- sdk/python/pulumi_okta/role_subscription.py | 4 +- sdk/python/pulumi_okta/template_sms.py | 4 +- sdk/python/pulumi_okta/theme.py | 4 +- .../pulumi_okta/trustedorigin/origin.py | 4 +- sdk/python/pulumi_okta/user/user.py | 4 +- sdk/python/pulumi_okta/user/user_type.py | 4 +- sdk/python/pulumi_okta/user_admin_roles.py | 4 +- .../pulumi_okta/user_base_schema_property.py | 8 +- .../pulumi_okta/user_factor_question.py | 4 +- .../pulumi_okta/user_schema_property.py | 12 +- upstream | 2 +- 437 files changed, 3010 insertions(+), 754 deletions(-) create mode 100644 sdk/dotnet/Group/Owner.cs create mode 100644 sdk/go/okta/group/owner.go create mode 100644 sdk/java/src/main/java/com/pulumi/okta/group/Owner.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/group/OwnerArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/group/inputs/OwnerState.java create mode 100644 sdk/nodejs/group/owner.ts create mode 100644 sdk/python/pulumi_okta/group/owner.py diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 7092c7c46..92e0c7438 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.15.0 \ No newline at end of file +0.16.1 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index ffb3994ef..f1cc64689 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-okta/examples/v2 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.129.0 +require github.com/pulumi/pulumi/pkg/v3 v3.130.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.129.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.130.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 62cafabfd..1119137aa 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= -github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= +github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/patches/0001-ensure-patch.patch b/patches/0001-ensure-patch.patch index 210636d05..4361309af 100644 --- a/patches/0001-ensure-patch.patch +++ b/patches/0001-ensure-patch.patch @@ -5,7 +5,7 @@ Subject: [PATCH] ensure patch diff --git a/go.mod b/go.mod -index 1ba7177c..f38a9d1f 100644 +index fda2360a..8a2fd457 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ diff --git a/provider/cmd/pulumi-resource-okta/bridge-metadata.json b/provider/cmd/pulumi-resource-okta/bridge-metadata.json index 5b093fe61..08849a4e2 100644 --- a/provider/cmd/pulumi-resource-okta/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-okta/bridge-metadata.json @@ -438,6 +438,10 @@ } } }, + "okta_group_owner": { + "current": "okta:group/owner:Owner", + "majorVersion": 4 + }, "okta_group_role": { "current": "okta:group/role:Role", "majorVersion": 4, @@ -1437,6 +1441,7 @@ "okta:auth/serverScope:ServerScope": 0, "okta:factor/factor:Factor": 0, "okta:group/group:Group": 0, + "okta:group/owner:Owner": 1, "okta:group/role:Role": 0, "okta:group/rule:Rule": 0, "okta:idp/oidc:Oidc": 0, diff --git a/provider/cmd/pulumi-resource-okta/schema.json b/provider/cmd/pulumi-resource-okta/schema.json index dbe59cee1..5d3092c31 100644 --- a/provider/cmd/pulumi-resource-okta/schema.json +++ b/provider/cmd/pulumi-resource-okta/schema.json @@ -42,7 +42,7 @@ "respectSchemaVersion": true }, "nodejs": { - "packageDescription": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.10.0", + "packageDescription": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.11.0", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/okta/terraform-provider-okta)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-okta` repo](https://github.com/pulumi/pulumi-okta/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-okta` repo](https://github.com/okta/terraform-provider-okta/issues).", "dependencies": { "@pulumi/pulumi": "^3.0.0" @@ -2127,7 +2127,7 @@ }, "resources": { "okta:app/accessPolicyAssignment:AccessPolicyAssignment": { - "description": "Manages assignment of Access Policy to an Application. \n\t\t\n**Warning**: do not use as this will update okta_app_*.authentication_policy and vice versa\n\nAssigns an access policy (colloquially known as a sign-on policy and/or an\nauthentication policy) to an application. This resource does not perform true\ndelete as it will not delete an application and the app's access policy can't be\nremoved; it can only be changed to a different access policy. This resource is\nonly logical within the context of an application therefore `app_id` is\nimmutable once set. Use this resource to manage assigning an access policy to an\napplication. It will assign the given `policy_id` to the application at creation\nand during update.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst access = okta.policy.getPolicy({\n name: \"Any two factors\",\n type: \"ACCESS_POLICY\",\n});\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\nconst assignment = new okta.app.AccessPolicyAssignment(\"assignment\", {\n appId: example.then(example =\u003e example.id),\n policyId: access.then(access =\u003e access.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\naccess = okta.policy.get_policy(name=\"Any two factors\",\n type=\"ACCESS_POLICY\")\nexample = okta.app.get_app(label=\"Example App\")\nassignment = okta.app.AccessPolicyAssignment(\"assignment\",\n app_id=example.id,\n policy_id=access.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var access = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Any two factors\",\n Type = \"ACCESS_POLICY\",\n });\n\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n var assignment = new Okta.App.AccessPolicyAssignment(\"assignment\", new()\n {\n AppId = example.Apply(getAppResult =\u003e getAppResult.Id),\n PolicyId = access.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\taccess, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Any two factors\",\n\t\t\tType: \"ACCESS_POLICY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewAccessPolicyAssignment(ctx, \"assignment\", \u0026app.AccessPolicyAssignmentArgs{\n\t\t\tAppId: pulumi.String(example.Id),\n\t\t\tPolicyId: pulumi.String(access.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.app.AccessPolicyAssignment;\nimport com.pulumi.okta.app.AccessPolicyAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var access = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Any two factors\")\n .type(\"ACCESS_POLICY\")\n .build());\n\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n var assignment = new AccessPolicyAssignment(\"assignment\", AccessPolicyAssignmentArgs.builder()\n .appId(example.applyValue(getAppResult -\u003e getAppResult.id()))\n .policyId(access.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n assignment:\n type: okta:app:AccessPolicyAssignment\n properties:\n appId: ${example.id}\n policyId: ${access.id}\nvariables:\n access:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Any two factors\n type: ACCESS_POLICY\n example:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example \u0026#60;app id\u0026#62;\n```\n\n", + "description": "Manages assignment of Access Policy to an Application. \n\t\t\n**Warning**: do not use as this will update okta_app_*.authentication_policy and vice versa\n\nAssigns an access policy (colloquially known as a sign-on policy and/or an\nauthentication policy) to an application. This resource does not perform true\ndelete as it will not delete an application and the app's access policy can't be\nremoved; it can only be changed to a different access policy. This resource is\nonly logical within the context of an application therefore `app_id` is\nimmutable once set. Use this resource to manage assigning an access policy to an\napplication. It will assign the given `policy_id` to the application at creation\nand during update.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst access = okta.policy.getPolicy({\n name: \"Any two factors\",\n type: \"ACCESS_POLICY\",\n});\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\nconst assignment = new okta.app.AccessPolicyAssignment(\"assignment\", {\n appId: example.then(example =\u003e example.id),\n policyId: access.then(access =\u003e access.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\naccess = okta.policy.get_policy(name=\"Any two factors\",\n type=\"ACCESS_POLICY\")\nexample = okta.app.get_app(label=\"Example App\")\nassignment = okta.app.AccessPolicyAssignment(\"assignment\",\n app_id=example.id,\n policy_id=access.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var access = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Any two factors\",\n Type = \"ACCESS_POLICY\",\n });\n\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n var assignment = new Okta.App.AccessPolicyAssignment(\"assignment\", new()\n {\n AppId = example.Apply(getAppResult =\u003e getAppResult.Id),\n PolicyId = access.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\taccess, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Any two factors\",\n\t\t\tType: \"ACCESS_POLICY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewAccessPolicyAssignment(ctx, \"assignment\", \u0026app.AccessPolicyAssignmentArgs{\n\t\t\tAppId: pulumi.String(example.Id),\n\t\t\tPolicyId: pulumi.String(access.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.app.AccessPolicyAssignment;\nimport com.pulumi.okta.app.AccessPolicyAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var access = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Any two factors\")\n .type(\"ACCESS_POLICY\")\n .build());\n\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n var assignment = new AccessPolicyAssignment(\"assignment\", AccessPolicyAssignmentArgs.builder()\n .appId(example.applyValue(getAppResult -\u003e getAppResult.id()))\n .policyId(access.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n assignment:\n type: okta:app:AccessPolicyAssignment\n properties:\n appId: ${example.id}\n policyId: ${access.id}\nvariables:\n access:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Any two factors\n type: ACCESS_POLICY\n example:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -2172,7 +2172,7 @@ } }, "okta:app/autoLogin:AutoLogin": { - "description": "This resource allows you to create and configure an Auto Login Okta Application.\n\t\t\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Import\n\n```sh\n$ pulumi import okta:app/autoLogin:AutoLogin example \u0026#60;app id\u0026#62\n```\n\n", + "description": "This resource allows you to create and configure an Auto Login Okta Application.\n\t\t\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Import\n\n```sh\n$ pulumi import okta:app/autoLogin:AutoLogin example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -2506,7 +2506,7 @@ } }, "okta:app/basicAuth:BasicAuth": { - "description": "This resource allows you to create and configure an Auto Login Okta Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.BasicAuth(\"example\", {\n label: \"Example\",\n url: \"https://example.com/login.html\",\n authUrl: \"https://example.com/auth.html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.BasicAuth(\"example\",\n label=\"Example\",\n url=\"https://example.com/login.html\",\n auth_url=\"https://example.com/auth.html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.BasicAuth(\"example\", new()\n {\n Label = \"Example\",\n Url = \"https://example.com/login.html\",\n AuthUrl = \"https://example.com/auth.html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewBasicAuth(ctx, \"example\", \u0026app.BasicAuthArgs{\n\t\t\tLabel: pulumi.String(\"Example\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t\tAuthUrl: pulumi.String(\"https://example.com/auth.html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.BasicAuth;\nimport com.pulumi.okta.app.BasicAuthArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BasicAuth(\"example\", BasicAuthArgs.builder()\n .label(\"Example\")\n .url(\"https://example.com/login.html\")\n .authUrl(\"https://example.com/auth.html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:BasicAuth\n properties:\n label: Example\n url: https://example.com/login.html\n authUrl: https://example.com/auth.html\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/basicAuth:BasicAuth example \u0026#60;app id\u0026#62\n```\n\n", + "description": "This resource allows you to create and configure an Auto Login Okta Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.BasicAuth(\"example\", {\n label: \"Example\",\n url: \"https://example.com/login.html\",\n authUrl: \"https://example.com/auth.html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.BasicAuth(\"example\",\n label=\"Example\",\n url=\"https://example.com/login.html\",\n auth_url=\"https://example.com/auth.html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.BasicAuth(\"example\", new()\n {\n Label = \"Example\",\n Url = \"https://example.com/login.html\",\n AuthUrl = \"https://example.com/auth.html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewBasicAuth(ctx, \"example\", \u0026app.BasicAuthArgs{\n\t\t\tLabel: pulumi.String(\"Example\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t\tAuthUrl: pulumi.String(\"https://example.com/auth.html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.BasicAuth;\nimport com.pulumi.okta.app.BasicAuthArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BasicAuth(\"example\", BasicAuthArgs.builder()\n .label(\"Example\")\n .url(\"https://example.com/login.html\")\n .authUrl(\"https://example.com/auth.html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:BasicAuth\n properties:\n label: Example\n url: https://example.com/login.html\n authUrl: https://example.com/auth.html\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/basicAuth:BasicAuth example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -2724,7 +2724,7 @@ } }, "okta:app/bookmark:Bookmark": { - "description": "This resource allows you to create and configure a Bookmark Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.Bookmark(\"example\", {\n label: \"Example\",\n url: \"https://example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.Bookmark(\"example\",\n label=\"Example\",\n url=\"https://example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.Bookmark(\"example\", new()\n {\n Label = \"Example\",\n Url = \"https://example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewBookmark(ctx, \"example\", \u0026app.BookmarkArgs{\n\t\t\tLabel: pulumi.String(\"Example\"),\n\t\t\tUrl: pulumi.String(\"https://example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Bookmark;\nimport com.pulumi.okta.app.BookmarkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Bookmark(\"example\", BookmarkArgs.builder()\n .label(\"Example\")\n .url(\"https://example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:Bookmark\n properties:\n label: Example\n url: https://example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/bookmark:Bookmark example \u0026#60;app id\u0026#62t\n```\n\n", + "description": "This resource allows you to create and configure a Bookmark Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.Bookmark(\"example\", {\n label: \"Example\",\n url: \"https://example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.Bookmark(\"example\",\n label=\"Example\",\n url=\"https://example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.Bookmark(\"example\", new()\n {\n Label = \"Example\",\n Url = \"https://example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewBookmark(ctx, \"example\", \u0026app.BookmarkArgs{\n\t\t\tLabel: pulumi.String(\"Example\"),\n\t\t\tUrl: pulumi.String(\"https://example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Bookmark;\nimport com.pulumi.okta.app.BookmarkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Bookmark(\"example\", BookmarkArgs.builder()\n .label(\"Example\")\n .url(\"https://example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:Bookmark\n properties:\n label: Example\n url: https://example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/bookmark:Bookmark example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -2953,7 +2953,7 @@ } }, "okta:app/groupAssignment:GroupAssignment": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.GroupAssignment(\"example\", {\n appId: \"\u003capp id\u003e\",\n groupId: \"\u003cgroup id\u003e\",\n profile: `{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n`,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.GroupAssignment(\"example\",\n app_id=\"\u003capp id\u003e\",\n group_id=\"\u003cgroup id\u003e\",\n profile=\"\"\"{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n\"\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.GroupAssignment(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n GroupId = \"\u003cgroup id\u003e\",\n Profile = @\"{\n \"\"\u003capp_profile_field\u003e\"\": \"\"\u003cvalue\u003e\"\"\n}\n\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewGroupAssignment(ctx, \"example\", \u0026app.GroupAssignmentArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tGroupId: pulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\tProfile: pulumi.String(\"{\\n \\\"\u003capp_profile_field\u003e\\\": \\\"\u003cvalue\u003e\\\"\\n}\\n\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.GroupAssignment;\nimport com.pulumi.okta.app.GroupAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new GroupAssignment(\"example\", GroupAssignmentArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .groupId(\"\u003cgroup id\u003e\")\n .profile(\"\"\"\n{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n \"\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:GroupAssignment\n properties:\n appId: \u003capp id\u003e\n groupId: \u003cgroup id\u003e\n profile: |\n {\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n }\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/groupAssignment:GroupAssignment example \u0026#60;app_id\u0026#62;/\u0026#60;group_id\u0026#62\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.GroupAssignment(\"example\", {\n appId: \"\u003capp id\u003e\",\n groupId: \"\u003cgroup id\u003e\",\n profile: `{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n`,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.GroupAssignment(\"example\",\n app_id=\"\u003capp id\u003e\",\n group_id=\"\u003cgroup id\u003e\",\n profile=\"\"\"{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n\"\"\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.GroupAssignment(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n GroupId = \"\u003cgroup id\u003e\",\n Profile = @\"{\n \"\"\u003capp_profile_field\u003e\"\": \"\"\u003cvalue\u003e\"\"\n}\n\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewGroupAssignment(ctx, \"example\", \u0026app.GroupAssignmentArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tGroupId: pulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\tProfile: pulumi.String(\"{\\n \\\"\u003capp_profile_field\u003e\\\": \\\"\u003cvalue\u003e\\\"\\n}\\n\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.GroupAssignment;\nimport com.pulumi.okta.app.GroupAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new GroupAssignment(\"example\", GroupAssignmentArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .groupId(\"\u003cgroup id\u003e\")\n .profile(\"\"\"\n{\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n}\n \"\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:GroupAssignment\n properties:\n appId: \u003capp id\u003e\n groupId: \u003cgroup id\u003e\n profile: |\n {\n \"\u003capp_profile_field\u003e\": \"\u003cvalue\u003e\"\n }\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/groupAssignment:GroupAssignment example \u003capp_id\u003e/\u003cgroup_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -3038,7 +3038,7 @@ } }, "okta:app/oAuth:OAuth": { - "description": "This resource allows you to create and configure an OIDC Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n\u003e `okta.app.OAuthRedirectUri` has been marked deprecated and will be removed\nin the v5 release of the provider. Operators should manage the redirect URIs for\nan oauth app directly on that resource.\n\n### Private Keys\n\nThe private key format that an Okta OAuth app expects is PKCS#8 (unencrypted).\nThe operator either uploads their own private key or Okta can generate one in\nthe Admin UI Panel under the apps Client Credentials. PKCS#8 format can be\nidentified by a header that starts with `-----BEGIN PRIVATE KEY-----`. If the\noperator has a PKCS#1 (unencrypted) format private key (the header starts with\n`-----BEGIN RSA PRIVATE KEY-----`) they can generate a PKCS#8 format\nkey with `openssl`:\n\n```\n openssl rsa -in pkcs1.pem -out pkcs8-example.pem\n```\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuth:OAuth example \u0026#60;app id\u0026#62\n```\n\n", + "description": "This resource allows you to create and configure an OIDC Application.\n\u003e During an apply if there is change in status the app will first be\nactivated or deactivated in accordance with the status change. Then, all\nother arguments that changed will be applied.\n\n\u003e `okta.app.OAuthRedirectUri` has been marked deprecated and will be removed\nin the v5 release of the provider. Operators should manage the redirect URIs for\nan oauth app directly on that resource.\n\n### Private Keys\n\nThe private key format that an Okta OAuth app expects is PKCS#8 (unencrypted).\nThe operator either uploads their own private key or Okta can generate one in\nthe Admin UI Panel under the apps Client Credentials. PKCS#8 format can be\nidentified by a header that starts with `-----BEGIN PRIVATE KEY-----`. If the\noperator has a PKCS#1 (unencrypted) format private key (the header starts with\n`-----BEGIN RSA PRIVATE KEY-----`) they can generate a PKCS#8 format\nkey with `openssl`:\n\n```\n openssl rsa -in pkcs1.pem -out pkcs8-example.pem\n```\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuth:OAuth example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -3710,7 +3710,7 @@ } }, "okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri": { - "description": "This resource allows you to manage post logout redirection URI for use in redirect-based flows.\n\n\u003e `okta.app.OAuthPostLogoutRedirectUri` has been marked deprecated and will\nbe removed in the v5 release of the provider. Operators should manage the post\nlogout redirect URIs for an oauth app directly on that resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.OAuth(\"test\", {\n label: \"testAcc_replace_with_uuid\",\n type: \"web\",\n grantTypes: [\"authorization_code\"],\n responseTypes: [\"code\"],\n redirectUris: [\"myapp://callback\"],\n postLogoutRedirectUris: [\"https://www.example.com\"],\n});\nconst testOAuthPostLogoutRedirectUri = new okta.app.OAuthPostLogoutRedirectUri(\"test\", {\n appId: test.id,\n uri: \"https://www.example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.OAuth(\"test\",\n label=\"testAcc_replace_with_uuid\",\n type=\"web\",\n grant_types=[\"authorization_code\"],\n response_types=[\"code\"],\n redirect_uris=[\"myapp://callback\"],\n post_logout_redirect_uris=[\"https://www.example.com\"])\ntest_o_auth_post_logout_redirect_uri = okta.app.OAuthPostLogoutRedirectUri(\"test\",\n app_id=test.id,\n uri=\"https://www.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.OAuth(\"test\", new()\n {\n Label = \"testAcc_replace_with_uuid\",\n Type = \"web\",\n GrantTypes = new[]\n {\n \"authorization_code\",\n },\n ResponseTypes = new[]\n {\n \"code\",\n },\n RedirectUris = new[]\n {\n \"myapp://callback\",\n },\n PostLogoutRedirectUris = new[]\n {\n \"https://www.example.com\",\n },\n });\n\n var testOAuthPostLogoutRedirectUri = new Okta.App.OAuthPostLogoutRedirectUri(\"test\", new()\n {\n AppId = test.Id,\n Uri = \"https://www.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewOAuth(ctx, \"test\", \u0026app.OAuthArgs{\n\t\t\tLabel: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tType: pulumi.String(\"web\"),\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"authorization_code\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"code\"),\n\t\t\t},\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"myapp://callback\"),\n\t\t\t},\n\t\t\tPostLogoutRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://www.example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewOAuthPostLogoutRedirectUri(ctx, \"test\", \u0026app.OAuthPostLogoutRedirectUriArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tUri: pulumi.String(\"https://www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.OAuth;\nimport com.pulumi.okta.app.OAuthArgs;\nimport com.pulumi.okta.app.OAuthPostLogoutRedirectUri;\nimport com.pulumi.okta.app.OAuthPostLogoutRedirectUriArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new OAuth(\"test\", OAuthArgs.builder()\n .label(\"testAcc_replace_with_uuid\")\n .type(\"web\")\n .grantTypes(\"authorization_code\")\n .responseTypes(\"code\")\n .redirectUris(\"myapp://callback\")\n .postLogoutRedirectUris(\"https://www.example.com\")\n .build());\n\n var testOAuthPostLogoutRedirectUri = new OAuthPostLogoutRedirectUri(\"testOAuthPostLogoutRedirectUri\", OAuthPostLogoutRedirectUriArgs.builder()\n .appId(test.id())\n .uri(\"https://www.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:OAuth\n properties:\n label: testAcc_replace_with_uuid\n type: web\n grantTypes:\n - authorization_code\n responseTypes:\n - code\n redirectUris:\n - myapp://callback\n postLogoutRedirectUris:\n - https://www.example.com\n testOAuthPostLogoutRedirectUri:\n type: okta:app:OAuthPostLogoutRedirectUri\n name: test\n properties:\n appId: ${test.id}\n uri: https://www.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example \u0026#60;app id\u0026#62;/\u0026#60;uri\u0026#62\n```\n\n", + "description": "This resource allows you to manage post logout redirection URI for use in redirect-based flows.\n\n\u003e `okta.app.OAuthPostLogoutRedirectUri` has been marked deprecated and will\nbe removed in the v5 release of the provider. Operators should manage the post\nlogout redirect URIs for an oauth app directly on that resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.OAuth(\"test\", {\n label: \"testAcc_replace_with_uuid\",\n type: \"web\",\n grantTypes: [\"authorization_code\"],\n responseTypes: [\"code\"],\n redirectUris: [\"myapp://callback\"],\n postLogoutRedirectUris: [\"https://www.example.com\"],\n});\nconst testOAuthPostLogoutRedirectUri = new okta.app.OAuthPostLogoutRedirectUri(\"test\", {\n appId: test.id,\n uri: \"https://www.example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.OAuth(\"test\",\n label=\"testAcc_replace_with_uuid\",\n type=\"web\",\n grant_types=[\"authorization_code\"],\n response_types=[\"code\"],\n redirect_uris=[\"myapp://callback\"],\n post_logout_redirect_uris=[\"https://www.example.com\"])\ntest_o_auth_post_logout_redirect_uri = okta.app.OAuthPostLogoutRedirectUri(\"test\",\n app_id=test.id,\n uri=\"https://www.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.OAuth(\"test\", new()\n {\n Label = \"testAcc_replace_with_uuid\",\n Type = \"web\",\n GrantTypes = new[]\n {\n \"authorization_code\",\n },\n ResponseTypes = new[]\n {\n \"code\",\n },\n RedirectUris = new[]\n {\n \"myapp://callback\",\n },\n PostLogoutRedirectUris = new[]\n {\n \"https://www.example.com\",\n },\n });\n\n var testOAuthPostLogoutRedirectUri = new Okta.App.OAuthPostLogoutRedirectUri(\"test\", new()\n {\n AppId = test.Id,\n Uri = \"https://www.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewOAuth(ctx, \"test\", \u0026app.OAuthArgs{\n\t\t\tLabel: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tType: pulumi.String(\"web\"),\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"authorization_code\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"code\"),\n\t\t\t},\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"myapp://callback\"),\n\t\t\t},\n\t\t\tPostLogoutRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://www.example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewOAuthPostLogoutRedirectUri(ctx, \"test\", \u0026app.OAuthPostLogoutRedirectUriArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tUri: pulumi.String(\"https://www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.OAuth;\nimport com.pulumi.okta.app.OAuthArgs;\nimport com.pulumi.okta.app.OAuthPostLogoutRedirectUri;\nimport com.pulumi.okta.app.OAuthPostLogoutRedirectUriArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new OAuth(\"test\", OAuthArgs.builder()\n .label(\"testAcc_replace_with_uuid\")\n .type(\"web\")\n .grantTypes(\"authorization_code\")\n .responseTypes(\"code\")\n .redirectUris(\"myapp://callback\")\n .postLogoutRedirectUris(\"https://www.example.com\")\n .build());\n\n var testOAuthPostLogoutRedirectUri = new OAuthPostLogoutRedirectUri(\"testOAuthPostLogoutRedirectUri\", OAuthPostLogoutRedirectUriArgs.builder()\n .appId(test.id())\n .uri(\"https://www.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:OAuth\n properties:\n label: testAcc_replace_with_uuid\n type: web\n grantTypes:\n - authorization_code\n responseTypes:\n - code\n redirectUris:\n - myapp://callback\n postLogoutRedirectUris:\n - https://www.example.com\n testOAuthPostLogoutRedirectUri:\n type: okta:app:OAuthPostLogoutRedirectUri\n name: test\n properties:\n appId: ${test.id}\n uri: https://www.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example \u003capp_id\u003e/\u003curi\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -3757,7 +3757,7 @@ } }, "okta:app/oAuthRedirectUri:OAuthRedirectUri": { - "description": "This resource allows you to manage redirection URI for use in redirect-based flows.\n\n\u003e `okta.app.OAuthRedirectUri` has been marked deprecated and will be removed\nin the v5 release of the provider. Operators should manage the redirect URIs for\nan oauth app directly on that resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.OAuth(\"test\", {\n label: \"testAcc_replace_with_uuid\",\n type: \"web\",\n grantTypes: [\"authorization_code\"],\n responseTypes: [\"code\"],\n redirectUris: [\"myapp://callback\"],\n});\nconst testOAuthRedirectUri = new okta.app.OAuthRedirectUri(\"test\", {\n appId: test.id,\n uri: \"http://google.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.OAuth(\"test\",\n label=\"testAcc_replace_with_uuid\",\n type=\"web\",\n grant_types=[\"authorization_code\"],\n response_types=[\"code\"],\n redirect_uris=[\"myapp://callback\"])\ntest_o_auth_redirect_uri = okta.app.OAuthRedirectUri(\"test\",\n app_id=test.id,\n uri=\"http://google.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.OAuth(\"test\", new()\n {\n Label = \"testAcc_replace_with_uuid\",\n Type = \"web\",\n GrantTypes = new[]\n {\n \"authorization_code\",\n },\n ResponseTypes = new[]\n {\n \"code\",\n },\n RedirectUris = new[]\n {\n \"myapp://callback\",\n },\n });\n\n var testOAuthRedirectUri = new Okta.App.OAuthRedirectUri(\"test\", new()\n {\n AppId = test.Id,\n Uri = \"http://google.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewOAuth(ctx, \"test\", \u0026app.OAuthArgs{\n\t\t\tLabel: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tType: pulumi.String(\"web\"),\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"authorization_code\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"code\"),\n\t\t\t},\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"myapp://callback\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewOAuthRedirectUri(ctx, \"test\", \u0026app.OAuthRedirectUriArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tUri: pulumi.String(\"http://google.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.OAuth;\nimport com.pulumi.okta.app.OAuthArgs;\nimport com.pulumi.okta.app.OAuthRedirectUri;\nimport com.pulumi.okta.app.OAuthRedirectUriArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new OAuth(\"test\", OAuthArgs.builder()\n .label(\"testAcc_replace_with_uuid\")\n .type(\"web\")\n .grantTypes(\"authorization_code\")\n .responseTypes(\"code\")\n .redirectUris(\"myapp://callback\")\n .build());\n\n var testOAuthRedirectUri = new OAuthRedirectUri(\"testOAuthRedirectUri\", OAuthRedirectUriArgs.builder()\n .appId(test.id())\n .uri(\"http://google.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:OAuth\n properties:\n label: testAcc_replace_with_uuid\n type: web\n grantTypes:\n - authorization_code\n responseTypes:\n - code\n redirectUris:\n - myapp://callback\n testOAuthRedirectUri:\n type: okta:app:OAuthRedirectUri\n name: test\n properties:\n appId: ${test.id}\n uri: http://google.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example \u0026#60;app id\u0026#62;/\u0026#60;uri\u0026#62\n```\n\n", + "description": "This resource allows you to manage redirection URI for use in redirect-based flows.\n\n\u003e `okta.app.OAuthRedirectUri` has been marked deprecated and will be removed\nin the v5 release of the provider. Operators should manage the redirect URIs for\nan oauth app directly on that resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.OAuth(\"test\", {\n label: \"testAcc_replace_with_uuid\",\n type: \"web\",\n grantTypes: [\"authorization_code\"],\n responseTypes: [\"code\"],\n redirectUris: [\"myapp://callback\"],\n});\nconst testOAuthRedirectUri = new okta.app.OAuthRedirectUri(\"test\", {\n appId: test.id,\n uri: \"http://google.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.OAuth(\"test\",\n label=\"testAcc_replace_with_uuid\",\n type=\"web\",\n grant_types=[\"authorization_code\"],\n response_types=[\"code\"],\n redirect_uris=[\"myapp://callback\"])\ntest_o_auth_redirect_uri = okta.app.OAuthRedirectUri(\"test\",\n app_id=test.id,\n uri=\"http://google.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.OAuth(\"test\", new()\n {\n Label = \"testAcc_replace_with_uuid\",\n Type = \"web\",\n GrantTypes = new[]\n {\n \"authorization_code\",\n },\n ResponseTypes = new[]\n {\n \"code\",\n },\n RedirectUris = new[]\n {\n \"myapp://callback\",\n },\n });\n\n var testOAuthRedirectUri = new Okta.App.OAuthRedirectUri(\"test\", new()\n {\n AppId = test.Id,\n Uri = \"http://google.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewOAuth(ctx, \"test\", \u0026app.OAuthArgs{\n\t\t\tLabel: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tType: pulumi.String(\"web\"),\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"authorization_code\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"code\"),\n\t\t\t},\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"myapp://callback\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewOAuthRedirectUri(ctx, \"test\", \u0026app.OAuthRedirectUriArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tUri: pulumi.String(\"http://google.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.OAuth;\nimport com.pulumi.okta.app.OAuthArgs;\nimport com.pulumi.okta.app.OAuthRedirectUri;\nimport com.pulumi.okta.app.OAuthRedirectUriArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new OAuth(\"test\", OAuthArgs.builder()\n .label(\"testAcc_replace_with_uuid\")\n .type(\"web\")\n .grantTypes(\"authorization_code\")\n .responseTypes(\"code\")\n .redirectUris(\"myapp://callback\")\n .build());\n\n var testOAuthRedirectUri = new OAuthRedirectUri(\"testOAuthRedirectUri\", OAuthRedirectUriArgs.builder()\n .appId(test.id())\n .uri(\"http://google.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:OAuth\n properties:\n label: testAcc_replace_with_uuid\n type: web\n grantTypes:\n - authorization_code\n responseTypes:\n - code\n redirectUris:\n - myapp://callback\n testOAuthRedirectUri:\n type: okta:app:OAuthRedirectUri\n name: test\n properties:\n appId: ${test.id}\n uri: http://google.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example \u003capp_id\u003e/\u003curi\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -3891,7 +3891,7 @@ } }, "okta:app/saml:Saml": { - "description": "This resource allows you to create and configure a SAML Application.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\t\t\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Import\n\n```sh\n$ pulumi import okta:app/saml:Saml example \u0026#60;app id\u0026#62\n```\n\n", + "description": "This resource allows you to create and configure a SAML Application.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\t\t\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Import\n\n```sh\n$ pulumi import okta:app/saml:Saml example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -4618,7 +4618,7 @@ } }, "okta:app/securePasswordStore:SecurePasswordStore": { - "description": "Creates a Secure Password Store Application.\n\t\n\t\tThis resource allows you to create and configure a Secure Password Store Application.\n\t\t\u003e During an apply if there is change in 'status' the app will first be\n\t\tactivated or deactivated in accordance with the 'status' change. Then, all\n\t\tother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.SecurePasswordStore(\"example\", {\n label: \"example\",\n usernameField: \"user\",\n passwordField: \"pass\",\n url: \"https://test.com\",\n credentialsScheme: \"ADMIN_SETS_CREDENTIALS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.SecurePasswordStore(\"example\",\n label=\"example\",\n username_field=\"user\",\n password_field=\"pass\",\n url=\"https://test.com\",\n credentials_scheme=\"ADMIN_SETS_CREDENTIALS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.SecurePasswordStore(\"example\", new()\n {\n Label = \"example\",\n UsernameField = \"user\",\n PasswordField = \"pass\",\n Url = \"https://test.com\",\n CredentialsScheme = \"ADMIN_SETS_CREDENTIALS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewSecurePasswordStore(ctx, \"example\", \u0026app.SecurePasswordStoreArgs{\n\t\t\tLabel: pulumi.String(\"example\"),\n\t\t\tUsernameField: pulumi.String(\"user\"),\n\t\t\tPasswordField: pulumi.String(\"pass\"),\n\t\t\tUrl: pulumi.String(\"https://test.com\"),\n\t\t\tCredentialsScheme: pulumi.String(\"ADMIN_SETS_CREDENTIALS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.SecurePasswordStore;\nimport com.pulumi.okta.app.SecurePasswordStoreArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new SecurePasswordStore(\"example\", SecurePasswordStoreArgs.builder()\n .label(\"example\")\n .usernameField(\"user\")\n .passwordField(\"pass\")\n .url(\"https://test.com\")\n .credentialsScheme(\"ADMIN_SETS_CREDENTIALS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:SecurePasswordStore\n properties:\n label: example\n usernameField: user\n passwordField: pass\n url: https://test.com\n credentialsScheme: ADMIN_SETS_CREDENTIALS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/securePasswordStore:SecurePasswordStore example \u0026#60;app id\u0026#62\n```\n\n", + "description": "Creates a Secure Password Store Application.\n\t\n\t\tThis resource allows you to create and configure a Secure Password Store Application.\n\t\t\u003e During an apply if there is change in 'status' the app will first be\n\t\tactivated or deactivated in accordance with the 'status' change. Then, all\n\t\tother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.SecurePasswordStore(\"example\", {\n label: \"example\",\n usernameField: \"user\",\n passwordField: \"pass\",\n url: \"https://test.com\",\n credentialsScheme: \"ADMIN_SETS_CREDENTIALS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.SecurePasswordStore(\"example\",\n label=\"example\",\n username_field=\"user\",\n password_field=\"pass\",\n url=\"https://test.com\",\n credentials_scheme=\"ADMIN_SETS_CREDENTIALS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.SecurePasswordStore(\"example\", new()\n {\n Label = \"example\",\n UsernameField = \"user\",\n PasswordField = \"pass\",\n Url = \"https://test.com\",\n CredentialsScheme = \"ADMIN_SETS_CREDENTIALS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewSecurePasswordStore(ctx, \"example\", \u0026app.SecurePasswordStoreArgs{\n\t\t\tLabel: pulumi.String(\"example\"),\n\t\t\tUsernameField: pulumi.String(\"user\"),\n\t\t\tPasswordField: pulumi.String(\"pass\"),\n\t\t\tUrl: pulumi.String(\"https://test.com\"),\n\t\t\tCredentialsScheme: pulumi.String(\"ADMIN_SETS_CREDENTIALS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.SecurePasswordStore;\nimport com.pulumi.okta.app.SecurePasswordStoreArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new SecurePasswordStore(\"example\", SecurePasswordStoreArgs.builder()\n .label(\"example\")\n .usernameField(\"user\")\n .passwordField(\"pass\")\n .url(\"https://test.com\")\n .credentialsScheme(\"ADMIN_SETS_CREDENTIALS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:SecurePasswordStore\n properties:\n label: example\n usernameField: user\n passwordField: pass\n url: https://test.com\n credentialsScheme: ADMIN_SETS_CREDENTIALS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/securePasswordStore:SecurePasswordStore example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -5018,7 +5018,7 @@ } }, "okta:app/swa:Swa": { - "description": "Creates a SWA Application.\n\t\t\nThis resource allows you to create and configure a SWA Application.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.Swa(\"example\", {\n label: \"example\",\n buttonField: \"btn-login\",\n passwordField: \"txtbox-password\",\n usernameField: \"txtbox-username\",\n url: \"https://example.com/login.html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.Swa(\"example\",\n label=\"example\",\n button_field=\"btn-login\",\n password_field=\"txtbox-password\",\n username_field=\"txtbox-username\",\n url=\"https://example.com/login.html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.Swa(\"example\", new()\n {\n Label = \"example\",\n ButtonField = \"btn-login\",\n PasswordField = \"txtbox-password\",\n UsernameField = \"txtbox-username\",\n Url = \"https://example.com/login.html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewSwa(ctx, \"example\", \u0026app.SwaArgs{\n\t\t\tLabel: pulumi.String(\"example\"),\n\t\t\tButtonField: pulumi.String(\"btn-login\"),\n\t\t\tPasswordField: pulumi.String(\"txtbox-password\"),\n\t\t\tUsernameField: pulumi.String(\"txtbox-username\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Swa;\nimport com.pulumi.okta.app.SwaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Swa(\"example\", SwaArgs.builder()\n .label(\"example\")\n .buttonField(\"btn-login\")\n .passwordField(\"txtbox-password\")\n .usernameField(\"txtbox-username\")\n .url(\"https://example.com/login.html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:Swa\n properties:\n label: example\n buttonField: btn-login\n passwordField: txtbox-password\n usernameField: txtbox-username\n url: https://example.com/login.html\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/swa:Swa example \u0026#60;app id\u0026#62;\n```\n\n", + "description": "Creates a SWA Application.\n\t\t\nThis resource allows you to create and configure a SWA Application.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.Swa(\"example\", {\n label: \"example\",\n buttonField: \"btn-login\",\n passwordField: \"txtbox-password\",\n usernameField: \"txtbox-username\",\n url: \"https://example.com/login.html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.Swa(\"example\",\n label=\"example\",\n button_field=\"btn-login\",\n password_field=\"txtbox-password\",\n username_field=\"txtbox-username\",\n url=\"https://example.com/login.html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.Swa(\"example\", new()\n {\n Label = \"example\",\n ButtonField = \"btn-login\",\n PasswordField = \"txtbox-password\",\n UsernameField = \"txtbox-username\",\n Url = \"https://example.com/login.html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewSwa(ctx, \"example\", \u0026app.SwaArgs{\n\t\t\tLabel: pulumi.String(\"example\"),\n\t\t\tButtonField: pulumi.String(\"btn-login\"),\n\t\t\tPasswordField: pulumi.String(\"txtbox-password\"),\n\t\t\tUsernameField: pulumi.String(\"txtbox-username\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Swa;\nimport com.pulumi.okta.app.SwaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Swa(\"example\", SwaArgs.builder()\n .label(\"example\")\n .buttonField(\"btn-login\")\n .passwordField(\"txtbox-password\")\n .usernameField(\"txtbox-username\")\n .url(\"https://example.com/login.html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:Swa\n properties:\n label: example\n buttonField: btn-login\n passwordField: txtbox-password\n usernameField: txtbox-username\n url: https://example.com/login.html\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/swa:Swa example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -5352,7 +5352,7 @@ } }, "okta:app/threeField:ThreeField": { - "description": "Creates a Three Field Application.\n\t\tThis resource allows you to create and configure a Three Field Application.\n\t\t\u003e During an apply if there is change in 'status' the app will first be\n\t\tactivated or deactivated in accordance with the 'status' change. Then, all\n\t\tother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n example:\n type: okta:app:ThreeField\n properties:\n label: Example App\n signOnUrl: https://example.com/login.html\n signOnRedirectUrl: https://example.com\n revealPassword: true\n credentialsScheme: EDIT_USERNAME_AND_PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/threeField:ThreeField example \u0026#60;app id\u0026#62;\n```\n\n", + "description": "Creates a Three Field Application.\n\t\tThis resource allows you to create and configure a Three Field Application.\n\t\t\u003e During an apply if there is change in 'status' the app will first be\n\t\tactivated or deactivated in accordance with the 'status' change. Then, all\n\t\tother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n example:\n type: okta:app:ThreeField\n properties:\n label: Example App\n signOnUrl: https://example.com/login.html\n signOnRedirectUrl: https://example.com\n revealPassword: true\n credentialsScheme: EDIT_USERNAME_AND_PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/threeField:ThreeField example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -5734,7 +5734,7 @@ } }, "okta:app/user:User": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.User(\"example\", {\n appId: \"\u003capp_id\u003e\",\n userId: \"\u003cuser id\u003e\",\n username: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.User(\"example\",\n app_id=\"\u003capp_id\u003e\",\n user_id=\"\u003cuser id\u003e\",\n username=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.User(\"example\", new()\n {\n AppId = \"\u003capp_id\u003e\",\n UserId = \"\u003cuser id\u003e\",\n Username = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewUser(ctx, \"example\", \u0026app.UserArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser id\u003e\"),\n\t\t\tUsername: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.User;\nimport com.pulumi.okta.app.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new User(\"example\", UserArgs.builder()\n .appId(\"\u003capp_id\u003e\")\n .userId(\"\u003cuser id\u003e\")\n .username(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:User\n properties:\n appId: \u003capp_id\u003e\n userId: \u003cuser id\u003e\n username: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/user:User example \u0026#60;app id\u0026#62;/\u0026#60;user id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.app.User(\"example\", {\n appId: \"\u003capp_id\u003e\",\n userId: \"\u003cuser id\u003e\",\n username: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.User(\"example\",\n app_id=\"\u003capp_id\u003e\",\n user_id=\"\u003cuser id\u003e\",\n username=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.App.User(\"example\", new()\n {\n AppId = \"\u003capp_id\u003e\",\n UserId = \"\u003cuser id\u003e\",\n Username = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := app.NewUser(ctx, \"example\", \u0026app.UserArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser id\u003e\"),\n\t\t\tUsername: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.User;\nimport com.pulumi.okta.app.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new User(\"example\", UserArgs.builder()\n .appId(\"\u003capp_id\u003e\")\n .userId(\"\u003cuser id\u003e\")\n .username(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:User\n properties:\n appId: \u003capp_id\u003e\n userId: \u003cuser id\u003e\n username: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/user:User example \u003capp_id\u003e/\u003cuser_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -5837,7 +5837,7 @@ } }, "okta:auth/server:Server": { - "description": "Creates an Authorization Server. This resource allows you to create and configure an Authorization Server.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.Server(\"example\", {\n audiences: [\"api://example\"],\n description: \"My Example Auth Server\",\n name: \"example\",\n issuerMode: \"CUSTOM_URL\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.Server(\"example\",\n audiences=[\"api://example\"],\n description=\"My Example Auth Server\",\n name=\"example\",\n issuer_mode=\"CUSTOM_URL\",\n status=\"ACTIVE\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.Server(\"example\", new()\n {\n Audiences = new[]\n {\n \"api://example\",\n },\n Description = \"My Example Auth Server\",\n Name = \"example\",\n IssuerMode = \"CUSTOM_URL\",\n Status = \"ACTIVE\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServer(ctx, \"example\", \u0026auth.ServerArgs{\n\t\t\tAudiences: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"api://example\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"My Example Auth Server\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIssuerMode: pulumi.String(\"CUSTOM_URL\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.Server;\nimport com.pulumi.okta.auth.ServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Server(\"example\", ServerArgs.builder()\n .audiences(\"api://example\")\n .description(\"My Example Auth Server\")\n .name(\"example\")\n .issuerMode(\"CUSTOM_URL\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:Server\n properties:\n audiences:\n - api://example\n description: My Example Auth Server\n name: example\n issuerMode: CUSTOM_URL\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/server:Server example \u0026#60;auth server id\u0026#62;\n```\n\n", + "description": "Creates an Authorization Server. This resource allows you to create and configure an Authorization Server.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.Server(\"example\", {\n audiences: [\"api://example\"],\n description: \"My Example Auth Server\",\n name: \"example\",\n issuerMode: \"CUSTOM_URL\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.Server(\"example\",\n audiences=[\"api://example\"],\n description=\"My Example Auth Server\",\n name=\"example\",\n issuer_mode=\"CUSTOM_URL\",\n status=\"ACTIVE\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.Server(\"example\", new()\n {\n Audiences = new[]\n {\n \"api://example\",\n },\n Description = \"My Example Auth Server\",\n Name = \"example\",\n IssuerMode = \"CUSTOM_URL\",\n Status = \"ACTIVE\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServer(ctx, \"example\", \u0026auth.ServerArgs{\n\t\t\tAudiences: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"api://example\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"My Example Auth Server\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIssuerMode: pulumi.String(\"CUSTOM_URL\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.Server;\nimport com.pulumi.okta.auth.ServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Server(\"example\", ServerArgs.builder()\n .audiences(\"api://example\")\n .description(\"My Example Auth Server\")\n .name(\"example\")\n .issuerMode(\"CUSTOM_URL\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:Server\n properties:\n audiences:\n - api://example\n description: My Example Auth Server\n name: example\n issuerMode: CUSTOM_URL\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/server:Server example \u003cauth_server_id\u003e\n```\n\n", "properties": { "audiences": { "type": "array", @@ -5974,7 +5974,7 @@ } }, "okta:auth/serverClaim:ServerClaim": { - "description": "Creates an Authorization Server Claim. This resource allows you to create and configure an Authorization Server Claim.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerClaim(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n name: \"staff\",\n value: \"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n scopes: [exampleOktaAuthServerScope.name],\n claimType: \"IDENTITY\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerClaim(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n name=\"staff\",\n value=\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n scopes=[example_okta_auth_server_scope[\"name\"]],\n claim_type=\"IDENTITY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerClaim(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"staff\",\n Value = \"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n Scopes = new[]\n {\n exampleOktaAuthServerScope.Name,\n },\n ClaimType = \"IDENTITY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerClaim(ctx, \"example\", \u0026auth.ServerClaimArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tName: pulumi.String(\"staff\"),\n\t\t\tValue: pulumi.String(\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\texampleOktaAuthServerScope.Name,\n\t\t\t},\n\t\t\tClaimType: pulumi.String(\"IDENTITY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerClaim;\nimport com.pulumi.okta.auth.ServerClaimArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerClaim(\"example\", ServerClaimArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"staff\")\n .value(\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\")\n .scopes(exampleOktaAuthServerScope.name())\n .claimType(\"IDENTITY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerClaim\n properties:\n authServerId: \u003cauth server id\u003e\n name: staff\n value: String.substringAfter(user.email, \"@\") == \"example.com\"\n scopes:\n - ${exampleOktaAuthServerScope.name}\n claimType: IDENTITY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverClaim:ServerClaim example \u0026#60;auth server id\u0026#62;/\u0026#60;claim id\u0026#62;\n```\n\n", + "description": "Creates an Authorization Server Claim. This resource allows you to create and configure an Authorization Server Claim.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerClaim(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n name: \"staff\",\n value: \"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n scopes: [exampleOktaAuthServerScope.name],\n claimType: \"IDENTITY\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerClaim(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n name=\"staff\",\n value=\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n scopes=[example_okta_auth_server_scope[\"name\"]],\n claim_type=\"IDENTITY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerClaim(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"staff\",\n Value = \"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\",\n Scopes = new[]\n {\n exampleOktaAuthServerScope.Name,\n },\n ClaimType = \"IDENTITY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerClaim(ctx, \"example\", \u0026auth.ServerClaimArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tName: pulumi.String(\"staff\"),\n\t\t\tValue: pulumi.String(\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\texampleOktaAuthServerScope.Name,\n\t\t\t},\n\t\t\tClaimType: pulumi.String(\"IDENTITY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerClaim;\nimport com.pulumi.okta.auth.ServerClaimArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerClaim(\"example\", ServerClaimArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"staff\")\n .value(\"String.substringAfter(user.email, \\\"@\\\") == \\\"example.com\\\"\")\n .scopes(exampleOktaAuthServerScope.name())\n .claimType(\"IDENTITY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerClaim\n properties:\n authServerId: \u003cauth server id\u003e\n name: staff\n value: String.substringAfter(user.email, \"@\") == \"example.com\"\n scopes:\n - ${exampleOktaAuthServerScope.name}\n claimType: IDENTITY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverClaim:ServerClaim example \u003cauth_server_id\u003e/\u003cclaim_id\u003e\n```\n\n", "properties": { "alwaysIncludeInToken": { "type": "boolean", @@ -6115,7 +6115,7 @@ } }, "okta:auth/serverPolicy:ServerPolicy": { - "description": "Creates an Authorization Server Policy. This resource allows you to create and configure an Authorization Server Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicy(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n description: \"example\",\n priority: 1,\n clientWhitelists: [\"ALL_CLIENTS\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicy(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n description=\"example\",\n priority=1,\n client_whitelists=[\"ALL_CLIENTS\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicy(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Description = \"example\",\n Priority = 1,\n ClientWhitelists = new[]\n {\n \"ALL_CLIENTS\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicy(ctx, \"example\", \u0026auth.ServerPolicyArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tClientWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ALL_CLIENTS\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicy;\nimport com.pulumi.okta.auth.ServerPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicy(\"example\", ServerPolicyArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .description(\"example\")\n .priority(1)\n .clientWhitelists(\"ALL_CLIENTS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicy\n properties:\n authServerId: \u003cauth server id\u003e\n status: ACTIVE\n name: example\n description: example\n priority: 1\n clientWhitelists:\n - ALL_CLIENTS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicy:ServerPolicy example \u0026#60;auth server id\u0026#62;/\u0026#60;policy id\u0026#62;\n```\n\n", + "description": "Creates an Authorization Server Policy. This resource allows you to create and configure an Authorization Server Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicy(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n description: \"example\",\n priority: 1,\n clientWhitelists: [\"ALL_CLIENTS\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicy(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n description=\"example\",\n priority=1,\n client_whitelists=[\"ALL_CLIENTS\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicy(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Description = \"example\",\n Priority = 1,\n ClientWhitelists = new[]\n {\n \"ALL_CLIENTS\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicy(ctx, \"example\", \u0026auth.ServerPolicyArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tClientWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ALL_CLIENTS\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicy;\nimport com.pulumi.okta.auth.ServerPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicy(\"example\", ServerPolicyArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .description(\"example\")\n .priority(1)\n .clientWhitelists(\"ALL_CLIENTS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicy\n properties:\n authServerId: \u003cauth server id\u003e\n status: ACTIVE\n name: example\n description: example\n priority: 1\n clientWhitelists:\n - ALL_CLIENTS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicy:ServerPolicy example \u003cauth_server_id\u003e/\u003cpolicy_id\u003e\n```\n\n", "properties": { "authServerId": { "type": "string", @@ -6222,7 +6222,7 @@ } }, "okta:auth/serverPolicyClaim:ServerPolicyClaim": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicyRule(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n policyId: \"\u003cauth server policy id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n priority: 1,\n groupWhitelists: [\"\u003cgroup ids\u003e\"],\n grantTypeWhitelists: [\"implicit\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicyRule(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n policy_id=\"\u003cauth server policy id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n priority=1,\n group_whitelists=[\"\u003cgroup ids\u003e\"],\n grant_type_whitelists=[\"implicit\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicyRule(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n PolicyId = \"\u003cauth server policy id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Priority = 1,\n GroupWhitelists = new[]\n {\n \"\u003cgroup ids\u003e\",\n },\n GrantTypeWhitelists = new[]\n {\n \"implicit\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicyRule(ctx, \"example\", \u0026auth.ServerPolicyRuleArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tPolicyId: pulumi.String(\"\u003cauth server policy id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tGroupWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup ids\u003e\"),\n\t\t\t},\n\t\t\tGrantTypeWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"implicit\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicyRule;\nimport com.pulumi.okta.auth.ServerPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicyRule(\"example\", ServerPolicyRuleArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .policyId(\"\u003cauth server policy id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .priority(1)\n .groupWhitelists(\"\u003cgroup ids\u003e\")\n .grantTypeWhitelists(\"implicit\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicyRule\n properties:\n authServerId: \u003cauth server id\u003e\n policyId: \u003cauth server policy id\u003e\n status: ACTIVE\n name: example\n priority: 1\n groupWhitelists:\n - \u003cgroup ids\u003e\n grantTypeWhitelists:\n - implicit\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example \u0026#60;auth server id\u0026#62;/\u0026#60;policy id\u0026#62;/\u0026#60;policy rule id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicyRule(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n policyId: \"\u003cauth server policy id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n priority: 1,\n groupWhitelists: [\"\u003cgroup ids\u003e\"],\n grantTypeWhitelists: [\"implicit\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicyRule(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n policy_id=\"\u003cauth server policy id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n priority=1,\n group_whitelists=[\"\u003cgroup ids\u003e\"],\n grant_type_whitelists=[\"implicit\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicyRule(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n PolicyId = \"\u003cauth server policy id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Priority = 1,\n GroupWhitelists = new[]\n {\n \"\u003cgroup ids\u003e\",\n },\n GrantTypeWhitelists = new[]\n {\n \"implicit\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicyRule(ctx, \"example\", \u0026auth.ServerPolicyRuleArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tPolicyId: pulumi.String(\"\u003cauth server policy id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tGroupWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup ids\u003e\"),\n\t\t\t},\n\t\t\tGrantTypeWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"implicit\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicyRule;\nimport com.pulumi.okta.auth.ServerPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicyRule(\"example\", ServerPolicyRuleArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .policyId(\"\u003cauth server policy id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .priority(1)\n .groupWhitelists(\"\u003cgroup ids\u003e\")\n .grantTypeWhitelists(\"implicit\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicyRule\n properties:\n authServerId: \u003cauth server id\u003e\n policyId: \u003cauth server policy id\u003e\n status: ACTIVE\n name: example\n priority: 1\n groupWhitelists:\n - \u003cgroup ids\u003e\n grantTypeWhitelists:\n - implicit\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example \u003cauth_server_id\u003e/\u003cpolicy_id\u003e/\u003cpolicy_rule_id\u003e\n```\n\n", "properties": { "accessTokenLifetimeMinutes": { "type": "integer", @@ -6504,7 +6504,7 @@ "deprecationMessage": "okta.auth/serverpolicyclaim.ServerPolicyClaim has been deprecated in favor of okta.auth/serverpolicyrule.ServerPolicyRule" }, "okta:auth/serverPolicyRule:ServerPolicyRule": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicyRule(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n policyId: \"\u003cauth server policy id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n priority: 1,\n groupWhitelists: [\"\u003cgroup ids\u003e\"],\n grantTypeWhitelists: [\"implicit\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicyRule(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n policy_id=\"\u003cauth server policy id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n priority=1,\n group_whitelists=[\"\u003cgroup ids\u003e\"],\n grant_type_whitelists=[\"implicit\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicyRule(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n PolicyId = \"\u003cauth server policy id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Priority = 1,\n GroupWhitelists = new[]\n {\n \"\u003cgroup ids\u003e\",\n },\n GrantTypeWhitelists = new[]\n {\n \"implicit\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicyRule(ctx, \"example\", \u0026auth.ServerPolicyRuleArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tPolicyId: pulumi.String(\"\u003cauth server policy id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tGroupWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup ids\u003e\"),\n\t\t\t},\n\t\t\tGrantTypeWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"implicit\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicyRule;\nimport com.pulumi.okta.auth.ServerPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicyRule(\"example\", ServerPolicyRuleArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .policyId(\"\u003cauth server policy id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .priority(1)\n .groupWhitelists(\"\u003cgroup ids\u003e\")\n .grantTypeWhitelists(\"implicit\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicyRule\n properties:\n authServerId: \u003cauth server id\u003e\n policyId: \u003cauth server policy id\u003e\n status: ACTIVE\n name: example\n priority: 1\n groupWhitelists:\n - \u003cgroup ids\u003e\n grantTypeWhitelists:\n - implicit\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example \u0026#60;auth server id\u0026#62;/\u0026#60;policy id\u0026#62;/\u0026#60;policy rule id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerPolicyRule(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n policyId: \"\u003cauth server policy id\u003e\",\n status: \"ACTIVE\",\n name: \"example\",\n priority: 1,\n groupWhitelists: [\"\u003cgroup ids\u003e\"],\n grantTypeWhitelists: [\"implicit\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerPolicyRule(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n policy_id=\"\u003cauth server policy id\u003e\",\n status=\"ACTIVE\",\n name=\"example\",\n priority=1,\n group_whitelists=[\"\u003cgroup ids\u003e\"],\n grant_type_whitelists=[\"implicit\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerPolicyRule(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n PolicyId = \"\u003cauth server policy id\u003e\",\n Status = \"ACTIVE\",\n Name = \"example\",\n Priority = 1,\n GroupWhitelists = new[]\n {\n \"\u003cgroup ids\u003e\",\n },\n GrantTypeWhitelists = new[]\n {\n \"implicit\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerPolicyRule(ctx, \"example\", \u0026auth.ServerPolicyRuleArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tPolicyId: pulumi.String(\"\u003cauth server policy id\u003e\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tGroupWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup ids\u003e\"),\n\t\t\t},\n\t\t\tGrantTypeWhitelists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"implicit\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerPolicyRule;\nimport com.pulumi.okta.auth.ServerPolicyRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerPolicyRule(\"example\", ServerPolicyRuleArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .policyId(\"\u003cauth server policy id\u003e\")\n .status(\"ACTIVE\")\n .name(\"example\")\n .priority(1)\n .groupWhitelists(\"\u003cgroup ids\u003e\")\n .grantTypeWhitelists(\"implicit\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerPolicyRule\n properties:\n authServerId: \u003cauth server id\u003e\n policyId: \u003cauth server policy id\u003e\n status: ACTIVE\n name: example\n priority: 1\n groupWhitelists:\n - \u003cgroup ids\u003e\n grantTypeWhitelists:\n - implicit\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example \u003cauth_server_id\u003e/\u003cpolicy_id\u003e/\u003cpolicy_rule_id\u003e\n```\n\n", "properties": { "accessTokenLifetimeMinutes": { "type": "integer", @@ -6790,7 +6790,7 @@ ] }, "okta:auth/serverScope:ServerScope": { - "description": "Creates an Authorization Server Scope. This resource allows you to create and configure an Authorization Server Scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerScope(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n metadataPublish: \"NO_CLIENTS\",\n name: \"example\",\n consent: \"IMPLICIT\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerScope(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n metadata_publish=\"NO_CLIENTS\",\n name=\"example\",\n consent=\"IMPLICIT\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerScope(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n MetadataPublish = \"NO_CLIENTS\",\n Name = \"example\",\n Consent = \"IMPLICIT\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerScope(ctx, \"example\", \u0026auth.ServerScopeArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tMetadataPublish: pulumi.String(\"NO_CLIENTS\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tConsent: pulumi.String(\"IMPLICIT\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerScope;\nimport com.pulumi.okta.auth.ServerScopeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerScope(\"example\", ServerScopeArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .metadataPublish(\"NO_CLIENTS\")\n .name(\"example\")\n .consent(\"IMPLICIT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerScope\n properties:\n authServerId: \u003cauth server id\u003e\n metadataPublish: NO_CLIENTS\n name: example\n consent: IMPLICIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverScope:ServerScope example \u0026#60;auth server id\u0026#62;/\u0026#60;scope id\u0026#62;\n```\n\n", + "description": "Creates an Authorization Server Scope. This resource allows you to create and configure an Authorization Server Scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.auth.ServerScope(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n metadataPublish: \"NO_CLIENTS\",\n name: \"example\",\n consent: \"IMPLICIT\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.ServerScope(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n metadata_publish=\"NO_CLIENTS\",\n name=\"example\",\n consent=\"IMPLICIT\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Auth.ServerScope(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n MetadataPublish = \"NO_CLIENTS\",\n Name = \"example\",\n Consent = \"IMPLICIT\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth.NewServerScope(ctx, \"example\", \u0026auth.ServerScopeArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tMetadataPublish: pulumi.String(\"NO_CLIENTS\"),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tConsent: pulumi.String(\"IMPLICIT\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.auth.ServerScope;\nimport com.pulumi.okta.auth.ServerScopeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ServerScope(\"example\", ServerScopeArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .metadataPublish(\"NO_CLIENTS\")\n .name(\"example\")\n .consent(\"IMPLICIT\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:auth:ServerScope\n properties:\n authServerId: \u003cauth server id\u003e\n metadataPublish: NO_CLIENTS\n name: example\n consent: IMPLICIT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:auth/serverScope:ServerScope example \u003cauth_server_id\u003e/\u003cscope_id\u003e\n```\n\n", "properties": { "authServerId": { "type": "string", @@ -6960,7 +6960,7 @@ } }, "okta:group/group:Group": { - "description": "Creates an Okta Group. This resource allows you to create and configure an Okta Group.\n\n## Import\n\n```sh\n$ pulumi import okta:group/group:Group example \u0026#60;group id\u0026#62;\n```\n\n", + "description": "Creates an Okta Group. This resource allows you to create and configure an Okta Group.\n\n## Import\n\n```sh\n$ pulumi import okta:group/group:Group example \u003cgroup_id\u003e\n```\n\n", "properties": { "customProfileAttributes": { "type": "string", @@ -7026,8 +7026,103 @@ "type": "object" } }, + "okta:group/owner:Owner": { + "description": "Manages group owner resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.user.User(\"test\", {\n firstName: \"TestAcc\",\n lastName: \"Smith\",\n login: \"testAcc-replace_with_uuid@example.com\",\n email: \"testAcc-replace_with_uuid@example.com\",\n});\nconst testGroup = new okta.group.Group(\"test\", {name: \"testAcc_replace_with_uuid\"});\nconst testOwner = new okta.group.Owner(\"test\", {\n groupId: testGroup.id,\n idOfGroupOwner: test.id,\n type: \"USER\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.user.User(\"test\",\n first_name=\"TestAcc\",\n last_name=\"Smith\",\n login=\"testAcc-replace_with_uuid@example.com\",\n email=\"testAcc-replace_with_uuid@example.com\")\ntest_group = okta.group.Group(\"test\", name=\"testAcc_replace_with_uuid\")\ntest_owner = okta.group.Owner(\"test\",\n group_id=test_group.id,\n id_of_group_owner=test.id,\n type=\"USER\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.User.User(\"test\", new()\n {\n FirstName = \"TestAcc\",\n LastName = \"Smith\",\n Login = \"testAcc-replace_with_uuid@example.com\",\n Email = \"testAcc-replace_with_uuid@example.com\",\n });\n\n var testGroup = new Okta.Group.Group(\"test\", new()\n {\n Name = \"testAcc_replace_with_uuid\",\n });\n\n var testOwner = new Okta.Group.Owner(\"test\", new()\n {\n GroupId = testGroup.Id,\n IdOfGroupOwner = test.Id,\n Type = \"USER\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := user.NewUser(ctx, \"test\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"TestAcc\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t\tEmail: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestGroup, err := group.NewGroup(ctx, \"test\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = group.NewOwner(ctx, \"test\", \u0026group.OwnerArgs{\n\t\t\tGroupId: testGroup.ID(),\n\t\t\tIdOfGroupOwner: test.ID(),\n\t\t\tType: pulumi.String(\"USER\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.group.Owner;\nimport com.pulumi.okta.group.OwnerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new User(\"test\", UserArgs.builder()\n .firstName(\"TestAcc\")\n .lastName(\"Smith\")\n .login(\"testAcc-replace_with_uuid@example.com\")\n .email(\"testAcc-replace_with_uuid@example.com\")\n .build());\n\n var testGroup = new Group(\"testGroup\", GroupArgs.builder()\n .name(\"testAcc_replace_with_uuid\")\n .build());\n\n var testOwner = new Owner(\"testOwner\", OwnerArgs.builder()\n .groupId(testGroup.id())\n .idOfGroupOwner(test.id())\n .type(\"USER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:user:User\n properties:\n firstName: TestAcc\n lastName: Smith\n login: testAcc-replace_with_uuid@example.com\n email: testAcc-replace_with_uuid@example.com\n testGroup:\n type: okta:group:Group\n name: test\n properties:\n name: testAcc_replace_with_uuid\n testOwner:\n type: okta:group:Owner\n name: test\n properties:\n groupId: ${testGroup.id}\n idOfGroupOwner: ${test.id}\n type: USER\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the group owner\n" + }, + "groupId": { + "type": "string", + "description": "The id of the group\n" + }, + "idOfGroupOwner": { + "type": "string", + "description": "The user id of the group owner\n" + }, + "originId": { + "type": "string", + "description": "The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.\n" + }, + "originType": { + "type": "string", + "description": "The source where group ownership is managed. Enum: \"APPLICATION\" \"OKTA_DIRECTORY\"\n" + }, + "resolved": { + "type": "boolean", + "description": "If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.\n" + }, + "type": { + "type": "string", + "description": "The entity type of the owner. Enum: \"GROUP\" \"USER\"\n" + } + }, + "required": [ + "displayName", + "groupId", + "idOfGroupOwner", + "originId", + "originType", + "resolved", + "type" + ], + "inputProperties": { + "groupId": { + "type": "string", + "description": "The id of the group\n" + }, + "idOfGroupOwner": { + "type": "string", + "description": "The user id of the group owner\n" + }, + "type": { + "type": "string", + "description": "The entity type of the owner. Enum: \"GROUP\" \"USER\"\n" + } + }, + "requiredInputs": [ + "groupId", + "idOfGroupOwner", + "type" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Owner resources.\n", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the group owner\n" + }, + "groupId": { + "type": "string", + "description": "The id of the group\n" + }, + "idOfGroupOwner": { + "type": "string", + "description": "The user id of the group owner\n" + }, + "originId": { + "type": "string", + "description": "The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.\n" + }, + "originType": { + "type": "string", + "description": "The source where group ownership is managed. Enum: \"APPLICATION\" \"OKTA_DIRECTORY\"\n" + }, + "resolved": { + "type": "boolean", + "description": "If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.\n" + }, + "type": { + "type": "string", + "description": "The entity type of the owner. Enum: \"GROUP\" \"USER\"\n" + } + }, + "type": "object" + } + }, "okta:group/role:Role": { - "description": "Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.group.Role(\"example\", {\n groupId: \"\u003cgroup id\u003e\",\n roleType: \"READ_ONLY_ADMIN\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.Role(\"example\",\n group_id=\"\u003cgroup id\u003e\",\n role_type=\"READ_ONLY_ADMIN\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Group.Role(\"example\", new()\n {\n GroupId = \"\u003cgroup id\u003e\",\n RoleType = \"READ_ONLY_ADMIN\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := group.NewRole(ctx, \"example\", \u0026group.RoleArgs{\n\t\t\tGroupId: pulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\tRoleType: pulumi.String(\"READ_ONLY_ADMIN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.group.Role;\nimport com.pulumi.okta.group.RoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Role(\"example\", RoleArgs.builder()\n .groupId(\"\u003cgroup id\u003e\")\n .roleType(\"READ_ONLY_ADMIN\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:group:Role\n properties:\n groupId: \u003cgroup id\u003e\n roleType: READ_ONLY_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:group/role:Role example \u0026#60;group id\u0026#62;/\u0026#60;role id\u0026#62;\n```\n\n", + "description": "Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role.\n\n## Import\n\n```sh\n$ pulumi import okta:group/role:Role example \u003cgroup_id\u003e/\u003crole_id\u003e\n```\n\n", "properties": { "disableNotifications": { "type": "boolean", @@ -7037,6 +7132,14 @@ "type": "string", "description": "ID of group to attach admin roles to\n" }, + "resourceSetId": { + "type": "string", + "description": "Resource Set ID. Required for role_type = `CUSTOM`\n" + }, + "roleId": { + "type": "string", + "description": "Role ID. Required for role_type = `CUSTOM`\n" + }, "roleType": { "type": "string", "description": "Admin role assigned to the group. It can be any one of the following values: \"API_ADMIN\", \"APP_ADMIN\", \"CUSTOM\",\n\"GROUP_MEMBERSHIP_ADMIN\", \"HELP_DESK_ADMIN\", \"MOBILE_ADMIN\", \"ORG_ADMIN\", \"READ_ONLY_ADMIN\", \"REPORT_ADMIN\",\n\"SUPER_ADMIN\", \"USER_ADMIN\" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). -\n\"USER_ADMIN\" is the Group Administrator.\n" @@ -7070,6 +7173,14 @@ "description": "ID of group to attach admin roles to\n", "willReplaceOnChanges": true }, + "resourceSetId": { + "type": "string", + "description": "Resource Set ID. Required for role_type = `CUSTOM`\n" + }, + "roleId": { + "type": "string", + "description": "Role ID. Required for role_type = `CUSTOM`\n" + }, "roleType": { "type": "string", "description": "Admin role assigned to the group. It can be any one of the following values: \"API_ADMIN\", \"APP_ADMIN\", \"CUSTOM\",\n\"GROUP_MEMBERSHIP_ADMIN\", \"HELP_DESK_ADMIN\", \"MOBILE_ADMIN\", \"ORG_ADMIN\", \"READ_ONLY_ADMIN\", \"REPORT_ADMIN\",\n\"SUPER_ADMIN\", \"USER_ADMIN\" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). -\n\"USER_ADMIN\" is the Group Administrator.\n", @@ -7106,6 +7217,14 @@ "description": "ID of group to attach admin roles to\n", "willReplaceOnChanges": true }, + "resourceSetId": { + "type": "string", + "description": "Resource Set ID. Required for role_type = `CUSTOM`\n" + }, + "roleId": { + "type": "string", + "description": "Role ID. Required for role_type = `CUSTOM`\n" + }, "roleType": { "type": "string", "description": "Admin role assigned to the group. It can be any one of the following values: \"API_ADMIN\", \"APP_ADMIN\", \"CUSTOM\",\n\"GROUP_MEMBERSHIP_ADMIN\", \"HELP_DESK_ADMIN\", \"MOBILE_ADMIN\", \"ORG_ADMIN\", \"READ_ONLY_ADMIN\", \"REPORT_ADMIN\",\n\"SUPER_ADMIN\", \"USER_ADMIN\" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). -\n\"USER_ADMIN\" is the Group Administrator.\n", @@ -7130,7 +7249,7 @@ } }, "okta:group/rule:Rule": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.group.Rule(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n groupAssignments: [\"\u003cgroup id\u003e\"],\n expressionType: \"urn:okta:expression:1.0\",\n expressionValue: \"String.startsWith(user.firstName,\\\"andy\\\")\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.Rule(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n group_assignments=[\"\u003cgroup id\u003e\"],\n expression_type=\"urn:okta:expression:1.0\",\n expression_value=\"String.startsWith(user.firstName,\\\"andy\\\")\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Group.Rule(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n GroupAssignments = new[]\n {\n \"\u003cgroup id\u003e\",\n },\n ExpressionType = \"urn:okta:expression:1.0\",\n ExpressionValue = \"String.startsWith(user.firstName,\\\"andy\\\")\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := group.NewRule(ctx, \"example\", \u0026group.RuleArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tGroupAssignments: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\t},\n\t\t\tExpressionType: pulumi.String(\"urn:okta:expression:1.0\"),\n\t\t\tExpressionValue: pulumi.String(\"String.startsWith(user.firstName,\\\"andy\\\")\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.group.Rule;\nimport com.pulumi.okta.group.RuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Rule(\"example\", RuleArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .groupAssignments(\"\u003cgroup id\u003e\")\n .expressionType(\"urn:okta:expression:1.0\")\n .expressionValue(\"String.startsWith(user.firstName,\\\"andy\\\")\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:group:Rule\n properties:\n name: example\n status: ACTIVE\n groupAssignments:\n - \u003cgroup id\u003e\n expressionType: urn:okta:expression:1.0\n expressionValue: String.startsWith(user.firstName,\"andy\")\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:group/rule:Rule example \u0026#60;group rule id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.group.Rule(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n groupAssignments: [\"\u003cgroup id\u003e\"],\n expressionType: \"urn:okta:expression:1.0\",\n expressionValue: \"String.startsWith(user.firstName,\\\"andy\\\")\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.Rule(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n group_assignments=[\"\u003cgroup id\u003e\"],\n expression_type=\"urn:okta:expression:1.0\",\n expression_value=\"String.startsWith(user.firstName,\\\"andy\\\")\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Group.Rule(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n GroupAssignments = new[]\n {\n \"\u003cgroup id\u003e\",\n },\n ExpressionType = \"urn:okta:expression:1.0\",\n ExpressionValue = \"String.startsWith(user.firstName,\\\"andy\\\")\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := group.NewRule(ctx, \"example\", \u0026group.RuleArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tGroupAssignments: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\t},\n\t\t\tExpressionType: pulumi.String(\"urn:okta:expression:1.0\"),\n\t\t\tExpressionValue: pulumi.String(\"String.startsWith(user.firstName,\\\"andy\\\")\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.group.Rule;\nimport com.pulumi.okta.group.RuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Rule(\"example\", RuleArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .groupAssignments(\"\u003cgroup id\u003e\")\n .expressionType(\"urn:okta:expression:1.0\")\n .expressionValue(\"String.startsWith(user.firstName,\\\"andy\\\")\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:group:Rule\n properties:\n name: example\n status: ACTIVE\n groupAssignments:\n - \u003cgroup id\u003e\n expressionType: urn:okta:expression:1.0\n expressionValue: String.startsWith(user.firstName,\"andy\")\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:group/rule:Rule example \u003cgroup_rule_id\u003e\n```\n\n", "properties": { "expressionType": { "type": "string", @@ -7256,7 +7375,7 @@ } }, "okta:idp/oidc:Oidc": { - "description": "Creates an OIDC Identity Provider. This resource allows you to create and configure an OIDC Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Oidc(\"example\", {\n name: \"example\",\n authorizationUrl: \"https://idp.example.com/authorize\",\n authorizationBinding: \"HTTP-REDIRECT\",\n tokenUrl: \"https://idp.example.com/token\",\n tokenBinding: \"HTTP-POST\",\n userInfoUrl: \"https://idp.example.com/userinfo\",\n userInfoBinding: \"HTTP-REDIRECT\",\n jwksUrl: \"https://idp.example.com/keys\",\n jwksBinding: \"HTTP-REDIRECT\",\n scopes: [\"openid\"],\n clientId: \"efg456\",\n clientSecret: \"efg456\",\n issuerUrl: \"https://id.example.com\",\n usernameTemplate: \"idpuser.email\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Oidc(\"example\",\n name=\"example\",\n authorization_url=\"https://idp.example.com/authorize\",\n authorization_binding=\"HTTP-REDIRECT\",\n token_url=\"https://idp.example.com/token\",\n token_binding=\"HTTP-POST\",\n user_info_url=\"https://idp.example.com/userinfo\",\n user_info_binding=\"HTTP-REDIRECT\",\n jwks_url=\"https://idp.example.com/keys\",\n jwks_binding=\"HTTP-REDIRECT\",\n scopes=[\"openid\"],\n client_id=\"efg456\",\n client_secret=\"efg456\",\n issuer_url=\"https://id.example.com\",\n username_template=\"idpuser.email\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Oidc(\"example\", new()\n {\n Name = \"example\",\n AuthorizationUrl = \"https://idp.example.com/authorize\",\n AuthorizationBinding = \"HTTP-REDIRECT\",\n TokenUrl = \"https://idp.example.com/token\",\n TokenBinding = \"HTTP-POST\",\n UserInfoUrl = \"https://idp.example.com/userinfo\",\n UserInfoBinding = \"HTTP-REDIRECT\",\n JwksUrl = \"https://idp.example.com/keys\",\n JwksBinding = \"HTTP-REDIRECT\",\n Scopes = new[]\n {\n \"openid\",\n },\n ClientId = \"efg456\",\n ClientSecret = \"efg456\",\n IssuerUrl = \"https://id.example.com\",\n UsernameTemplate = \"idpuser.email\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewOidc(ctx, \"example\", \u0026idp.OidcArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tAuthorizationUrl: pulumi.String(\"https://idp.example.com/authorize\"),\n\t\t\tAuthorizationBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tTokenUrl: pulumi.String(\"https://idp.example.com/token\"),\n\t\t\tTokenBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tUserInfoUrl: pulumi.String(\"https://idp.example.com/userinfo\"),\n\t\t\tUserInfoBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tJwksUrl: pulumi.String(\"https://idp.example.com/keys\"),\n\t\t\tJwksBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t},\n\t\t\tClientId: pulumi.String(\"efg456\"),\n\t\t\tClientSecret: pulumi.String(\"efg456\"),\n\t\t\tIssuerUrl: pulumi.String(\"https://id.example.com\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Oidc;\nimport com.pulumi.okta.idp.OidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Oidc(\"example\", OidcArgs.builder()\n .name(\"example\")\n .authorizationUrl(\"https://idp.example.com/authorize\")\n .authorizationBinding(\"HTTP-REDIRECT\")\n .tokenUrl(\"https://idp.example.com/token\")\n .tokenBinding(\"HTTP-POST\")\n .userInfoUrl(\"https://idp.example.com/userinfo\")\n .userInfoBinding(\"HTTP-REDIRECT\")\n .jwksUrl(\"https://idp.example.com/keys\")\n .jwksBinding(\"HTTP-REDIRECT\")\n .scopes(\"openid\")\n .clientId(\"efg456\")\n .clientSecret(\"efg456\")\n .issuerUrl(\"https://id.example.com\")\n .usernameTemplate(\"idpuser.email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Oidc\n properties:\n name: example\n authorizationUrl: https://idp.example.com/authorize\n authorizationBinding: HTTP-REDIRECT\n tokenUrl: https://idp.example.com/token\n tokenBinding: HTTP-POST\n userInfoUrl: https://idp.example.com/userinfo\n userInfoBinding: HTTP-REDIRECT\n jwksUrl: https://idp.example.com/keys\n jwksBinding: HTTP-REDIRECT\n scopes:\n - openid\n clientId: efg456\n clientSecret: efg456\n issuerUrl: https://id.example.com\n usernameTemplate: idpuser.email\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/oidc:Oidc example \u0026#60;idp id\u0026#62;\n```\n\n", + "description": "Creates an OIDC Identity Provider. This resource allows you to create and configure an OIDC Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Oidc(\"example\", {\n name: \"example\",\n authorizationUrl: \"https://idp.example.com/authorize\",\n authorizationBinding: \"HTTP-REDIRECT\",\n tokenUrl: \"https://idp.example.com/token\",\n tokenBinding: \"HTTP-POST\",\n userInfoUrl: \"https://idp.example.com/userinfo\",\n userInfoBinding: \"HTTP-REDIRECT\",\n jwksUrl: \"https://idp.example.com/keys\",\n jwksBinding: \"HTTP-REDIRECT\",\n scopes: [\"openid\"],\n clientId: \"efg456\",\n clientSecret: \"efg456\",\n issuerUrl: \"https://id.example.com\",\n usernameTemplate: \"idpuser.email\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Oidc(\"example\",\n name=\"example\",\n authorization_url=\"https://idp.example.com/authorize\",\n authorization_binding=\"HTTP-REDIRECT\",\n token_url=\"https://idp.example.com/token\",\n token_binding=\"HTTP-POST\",\n user_info_url=\"https://idp.example.com/userinfo\",\n user_info_binding=\"HTTP-REDIRECT\",\n jwks_url=\"https://idp.example.com/keys\",\n jwks_binding=\"HTTP-REDIRECT\",\n scopes=[\"openid\"],\n client_id=\"efg456\",\n client_secret=\"efg456\",\n issuer_url=\"https://id.example.com\",\n username_template=\"idpuser.email\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Oidc(\"example\", new()\n {\n Name = \"example\",\n AuthorizationUrl = \"https://idp.example.com/authorize\",\n AuthorizationBinding = \"HTTP-REDIRECT\",\n TokenUrl = \"https://idp.example.com/token\",\n TokenBinding = \"HTTP-POST\",\n UserInfoUrl = \"https://idp.example.com/userinfo\",\n UserInfoBinding = \"HTTP-REDIRECT\",\n JwksUrl = \"https://idp.example.com/keys\",\n JwksBinding = \"HTTP-REDIRECT\",\n Scopes = new[]\n {\n \"openid\",\n },\n ClientId = \"efg456\",\n ClientSecret = \"efg456\",\n IssuerUrl = \"https://id.example.com\",\n UsernameTemplate = \"idpuser.email\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewOidc(ctx, \"example\", \u0026idp.OidcArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tAuthorizationUrl: pulumi.String(\"https://idp.example.com/authorize\"),\n\t\t\tAuthorizationBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tTokenUrl: pulumi.String(\"https://idp.example.com/token\"),\n\t\t\tTokenBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tUserInfoUrl: pulumi.String(\"https://idp.example.com/userinfo\"),\n\t\t\tUserInfoBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tJwksUrl: pulumi.String(\"https://idp.example.com/keys\"),\n\t\t\tJwksBinding: pulumi.String(\"HTTP-REDIRECT\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t},\n\t\t\tClientId: pulumi.String(\"efg456\"),\n\t\t\tClientSecret: pulumi.String(\"efg456\"),\n\t\t\tIssuerUrl: pulumi.String(\"https://id.example.com\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Oidc;\nimport com.pulumi.okta.idp.OidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Oidc(\"example\", OidcArgs.builder()\n .name(\"example\")\n .authorizationUrl(\"https://idp.example.com/authorize\")\n .authorizationBinding(\"HTTP-REDIRECT\")\n .tokenUrl(\"https://idp.example.com/token\")\n .tokenBinding(\"HTTP-POST\")\n .userInfoUrl(\"https://idp.example.com/userinfo\")\n .userInfoBinding(\"HTTP-REDIRECT\")\n .jwksUrl(\"https://idp.example.com/keys\")\n .jwksBinding(\"HTTP-REDIRECT\")\n .scopes(\"openid\")\n .clientId(\"efg456\")\n .clientSecret(\"efg456\")\n .issuerUrl(\"https://id.example.com\")\n .usernameTemplate(\"idpuser.email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Oidc\n properties:\n name: example\n authorizationUrl: https://idp.example.com/authorize\n authorizationBinding: HTTP-REDIRECT\n tokenUrl: https://idp.example.com/token\n tokenBinding: HTTP-POST\n userInfoUrl: https://idp.example.com/userinfo\n userInfoBinding: HTTP-REDIRECT\n jwksUrl: https://idp.example.com/keys\n jwksBinding: HTTP-REDIRECT\n scopes:\n - openid\n clientId: efg456\n clientSecret: efg456\n issuerUrl: https://id.example.com\n usernameTemplate: idpuser.email\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/oidc:Oidc example \u003cidp_id\u003e\n```\n\n", "properties": { "accountLinkAction": { "type": "string", @@ -7744,7 +7863,7 @@ } }, "okta:idp/saml:Saml": { - "description": "Creates a SAML Identity Provider. This resource allows you to create and configure a SAML Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Saml(\"example\", {\n name: \"testAcc_replace_with_uuid\",\n acsType: \"INSTANCE\",\n ssoUrl: \"https://idp.example.com\",\n ssoDestination: \"https://idp.example.com\",\n ssoBinding: \"HTTP-POST\",\n usernameTemplate: \"idpuser.email\",\n kid: test.id,\n issuer: \"https://idp.example.com\",\n requestSignatureScope: \"REQUEST\",\n responseSignatureScope: \"ANY\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Saml(\"example\",\n name=\"testAcc_replace_with_uuid\",\n acs_type=\"INSTANCE\",\n sso_url=\"https://idp.example.com\",\n sso_destination=\"https://idp.example.com\",\n sso_binding=\"HTTP-POST\",\n username_template=\"idpuser.email\",\n kid=test[\"id\"],\n issuer=\"https://idp.example.com\",\n request_signature_scope=\"REQUEST\",\n response_signature_scope=\"ANY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Saml(\"example\", new()\n {\n Name = \"testAcc_replace_with_uuid\",\n AcsType = \"INSTANCE\",\n SsoUrl = \"https://idp.example.com\",\n SsoDestination = \"https://idp.example.com\",\n SsoBinding = \"HTTP-POST\",\n UsernameTemplate = \"idpuser.email\",\n Kid = test.Id,\n Issuer = \"https://idp.example.com\",\n RequestSignatureScope = \"REQUEST\",\n ResponseSignatureScope = \"ANY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSaml(ctx, \"example\", \u0026idp.SamlArgs{\n\t\t\tName: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tAcsType: pulumi.String(\"INSTANCE\"),\n\t\t\tSsoUrl: pulumi.String(\"https://idp.example.com\"),\n\t\t\tSsoDestination: pulumi.String(\"https://idp.example.com\"),\n\t\t\tSsoBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t\tKid: pulumi.Any(test.Id),\n\t\t\tIssuer: pulumi.String(\"https://idp.example.com\"),\n\t\t\tRequestSignatureScope: pulumi.String(\"REQUEST\"),\n\t\t\tResponseSignatureScope: pulumi.String(\"ANY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Saml;\nimport com.pulumi.okta.idp.SamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Saml(\"example\", SamlArgs.builder()\n .name(\"testAcc_replace_with_uuid\")\n .acsType(\"INSTANCE\")\n .ssoUrl(\"https://idp.example.com\")\n .ssoDestination(\"https://idp.example.com\")\n .ssoBinding(\"HTTP-POST\")\n .usernameTemplate(\"idpuser.email\")\n .kid(test.id())\n .issuer(\"https://idp.example.com\")\n .requestSignatureScope(\"REQUEST\")\n .responseSignatureScope(\"ANY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Saml\n properties:\n name: testAcc_replace_with_uuid\n acsType: INSTANCE\n ssoUrl: https://idp.example.com\n ssoDestination: https://idp.example.com\n ssoBinding: HTTP-POST\n usernameTemplate: idpuser.email\n kid: ${test.id}\n issuer: https://idp.example.com\n requestSignatureScope: REQUEST\n responseSignatureScope: ANY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/saml:Saml example \u0026#60;idp id\u0026#62;\n```\n\n", + "description": "Creates a SAML Identity Provider. This resource allows you to create and configure a SAML Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Saml(\"example\", {\n name: \"testAcc_replace_with_uuid\",\n acsType: \"INSTANCE\",\n ssoUrl: \"https://idp.example.com\",\n ssoDestination: \"https://idp.example.com\",\n ssoBinding: \"HTTP-POST\",\n usernameTemplate: \"idpuser.email\",\n kid: test.id,\n issuer: \"https://idp.example.com\",\n requestSignatureScope: \"REQUEST\",\n responseSignatureScope: \"ANY\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Saml(\"example\",\n name=\"testAcc_replace_with_uuid\",\n acs_type=\"INSTANCE\",\n sso_url=\"https://idp.example.com\",\n sso_destination=\"https://idp.example.com\",\n sso_binding=\"HTTP-POST\",\n username_template=\"idpuser.email\",\n kid=test[\"id\"],\n issuer=\"https://idp.example.com\",\n request_signature_scope=\"REQUEST\",\n response_signature_scope=\"ANY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Saml(\"example\", new()\n {\n Name = \"testAcc_replace_with_uuid\",\n AcsType = \"INSTANCE\",\n SsoUrl = \"https://idp.example.com\",\n SsoDestination = \"https://idp.example.com\",\n SsoBinding = \"HTTP-POST\",\n UsernameTemplate = \"idpuser.email\",\n Kid = test.Id,\n Issuer = \"https://idp.example.com\",\n RequestSignatureScope = \"REQUEST\",\n ResponseSignatureScope = \"ANY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSaml(ctx, \"example\", \u0026idp.SamlArgs{\n\t\t\tName: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tAcsType: pulumi.String(\"INSTANCE\"),\n\t\t\tSsoUrl: pulumi.String(\"https://idp.example.com\"),\n\t\t\tSsoDestination: pulumi.String(\"https://idp.example.com\"),\n\t\t\tSsoBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t\tKid: pulumi.Any(test.Id),\n\t\t\tIssuer: pulumi.String(\"https://idp.example.com\"),\n\t\t\tRequestSignatureScope: pulumi.String(\"REQUEST\"),\n\t\t\tResponseSignatureScope: pulumi.String(\"ANY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Saml;\nimport com.pulumi.okta.idp.SamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Saml(\"example\", SamlArgs.builder()\n .name(\"testAcc_replace_with_uuid\")\n .acsType(\"INSTANCE\")\n .ssoUrl(\"https://idp.example.com\")\n .ssoDestination(\"https://idp.example.com\")\n .ssoBinding(\"HTTP-POST\")\n .usernameTemplate(\"idpuser.email\")\n .kid(test.id())\n .issuer(\"https://idp.example.com\")\n .requestSignatureScope(\"REQUEST\")\n .responseSignatureScope(\"ANY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Saml\n properties:\n name: testAcc_replace_with_uuid\n acsType: INSTANCE\n ssoUrl: https://idp.example.com\n ssoDestination: https://idp.example.com\n ssoBinding: HTTP-POST\n usernameTemplate: idpuser.email\n kid: ${test.id}\n issuer: https://idp.example.com\n requestSignatureScope: REQUEST\n responseSignatureScope: ANY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/saml:Saml example \u003cidp_id\u003e\n```\n\n", "properties": { "accountLinkAction": { "type": "string", @@ -8192,7 +8311,7 @@ } }, "okta:idp/samlKey:SamlKey": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example1 = new okta.idp.SamlKey(\"example_1\", {x5cs: [example.certificate]});\nconst example2 = new okta.idp.SamlKey(\"example_2\", {x5cs: [`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9`]});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample1 = okta.idp.SamlKey(\"example_1\", x5cs=[example[\"certificate\"]])\nexample2 = okta.idp.SamlKey(\"example_2\", x5cs=[\"\"\"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\"\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example1 = new Okta.Idp.SamlKey(\"example_1\", new()\n {\n X5cs = new[]\n {\n example.Certificate,\n },\n });\n\n var example2 = new Okta.Idp.SamlKey(\"example_2\", new()\n {\n X5cs = new[]\n {\n @\"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSamlKey(ctx, \"example_1\", \u0026idp.SamlKeyArgs{\n\t\t\tX5cs: pulumi.StringArray{\n\t\t\t\texample.Certificate,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = idp.NewSamlKey(ctx, \"example_2\", \u0026idp.SamlKeyArgs{\n\t\t\tX5cs: pulumi.StringArray{\n\t\t\t\tpulumi.String(`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9`),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.SamlKey;\nimport com.pulumi.okta.idp.SamlKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example1 = new SamlKey(\"example1\", SamlKeyArgs.builder()\n .x5cs(example.certificate())\n .build());\n\n var example2 = new SamlKey(\"example2\", SamlKeyArgs.builder()\n .x5cs(\"\"\"\nMIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9 \"\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example1:\n type: okta:idp:SamlKey\n name: example_1\n properties:\n x5cs:\n - ${example.certificate}\n example2:\n type: okta:idp:SamlKey\n name: example_2\n properties:\n x5cs:\n - |-\n MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\n YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\n B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\n jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\n dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\n MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\n n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\n wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\n DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\n DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\n YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\n Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n 1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/samlKey:SamlKey example \u0026#60;key id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example1 = new okta.idp.SamlKey(\"example_1\", {x5cs: [example.certificate]});\nconst example2 = new okta.idp.SamlKey(\"example_2\", {x5cs: [`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9`]});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample1 = okta.idp.SamlKey(\"example_1\", x5cs=[example[\"certificate\"]])\nexample2 = okta.idp.SamlKey(\"example_2\", x5cs=[\"\"\"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\"\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example1 = new Okta.Idp.SamlKey(\"example_1\", new()\n {\n X5cs = new[]\n {\n example.Certificate,\n },\n });\n\n var example2 = new Okta.Idp.SamlKey(\"example_2\", new()\n {\n X5cs = new[]\n {\n @\"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSamlKey(ctx, \"example_1\", \u0026idp.SamlKeyArgs{\n\t\t\tX5cs: pulumi.StringArray{\n\t\t\t\texample.Certificate,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = idp.NewSamlKey(ctx, \"example_2\", \u0026idp.SamlKeyArgs{\n\t\t\tX5cs: pulumi.StringArray{\n\t\t\t\tpulumi.String(`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9`),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.SamlKey;\nimport com.pulumi.okta.idp.SamlKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example1 = new SamlKey(\"example1\", SamlKeyArgs.builder()\n .x5cs(example.certificate())\n .build());\n\n var example2 = new SamlKey(\"example2\", SamlKeyArgs.builder()\n .x5cs(\"\"\"\nMIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\nYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\nB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\njzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\ndGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\nn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\nwWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\nDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\nDwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\nYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\nDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9 \"\"\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example1:\n type: okta:idp:SamlKey\n name: example_1\n properties:\n x5cs:\n - ${example.certificate}\n example2:\n type: okta:idp:SamlKey\n name: example_2\n properties:\n x5cs:\n - |-\n MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p\n YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM\n B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB\n jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r\n dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t\n MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf\n n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4\n wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s\n DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/\n DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I\n YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s\n Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo\n 1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/samlKey:SamlKey example \u003ckey_id\u003e\n```\n\n", "properties": { "created": { "type": "string", @@ -8286,7 +8405,7 @@ } }, "okta:idp/social:Social": { - "description": "Creates a Social Identity Provider. This resource allows you to create and configure a Social Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Social(\"example\", {\n type: \"FACEBOOK\",\n protocolType: \"OAUTH2\",\n name: \"testAcc_facebook_replace_with_uuid\",\n scopes: [\n \"public_profile\",\n \"email\",\n ],\n clientId: \"abcd123\",\n clientSecret: \"abcd123\",\n usernameTemplate: \"idpuser.email\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Social(\"example\",\n type=\"FACEBOOK\",\n protocol_type=\"OAUTH2\",\n name=\"testAcc_facebook_replace_with_uuid\",\n scopes=[\n \"public_profile\",\n \"email\",\n ],\n client_id=\"abcd123\",\n client_secret=\"abcd123\",\n username_template=\"idpuser.email\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Social(\"example\", new()\n {\n Type = \"FACEBOOK\",\n ProtocolType = \"OAUTH2\",\n Name = \"testAcc_facebook_replace_with_uuid\",\n Scopes = new[]\n {\n \"public_profile\",\n \"email\",\n },\n ClientId = \"abcd123\",\n ClientSecret = \"abcd123\",\n UsernameTemplate = \"idpuser.email\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSocial(ctx, \"example\", \u0026idp.SocialArgs{\n\t\t\tType: pulumi.String(\"FACEBOOK\"),\n\t\t\tProtocolType: pulumi.String(\"OAUTH2\"),\n\t\t\tName: pulumi.String(\"testAcc_facebook_replace_with_uuid\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"public_profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tClientId: pulumi.String(\"abcd123\"),\n\t\t\tClientSecret: pulumi.String(\"abcd123\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Social;\nimport com.pulumi.okta.idp.SocialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Social(\"example\", SocialArgs.builder()\n .type(\"FACEBOOK\")\n .protocolType(\"OAUTH2\")\n .name(\"testAcc_facebook_replace_with_uuid\")\n .scopes( \n \"public_profile\",\n \"email\")\n .clientId(\"abcd123\")\n .clientSecret(\"abcd123\")\n .usernameTemplate(\"idpuser.email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Social\n properties:\n type: FACEBOOK\n protocolType: OAUTH2\n name: testAcc_facebook_replace_with_uuid\n scopes:\n - public_profile\n - email\n clientId: abcd123\n clientSecret: abcd123\n usernameTemplate: idpuser.email\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/social:Social example \u0026#60;idp id\u0026#62;\n```\n\n", + "description": "Creates a Social Identity Provider. This resource allows you to create and configure a Social Identity Provider.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.idp.Social(\"example\", {\n type: \"FACEBOOK\",\n protocolType: \"OAUTH2\",\n name: \"testAcc_facebook_replace_with_uuid\",\n scopes: [\n \"public_profile\",\n \"email\",\n ],\n clientId: \"abcd123\",\n clientSecret: \"abcd123\",\n usernameTemplate: \"idpuser.email\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.Social(\"example\",\n type=\"FACEBOOK\",\n protocol_type=\"OAUTH2\",\n name=\"testAcc_facebook_replace_with_uuid\",\n scopes=[\n \"public_profile\",\n \"email\",\n ],\n client_id=\"abcd123\",\n client_secret=\"abcd123\",\n username_template=\"idpuser.email\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Idp.Social(\"example\", new()\n {\n Type = \"FACEBOOK\",\n ProtocolType = \"OAUTH2\",\n Name = \"testAcc_facebook_replace_with_uuid\",\n Scopes = new[]\n {\n \"public_profile\",\n \"email\",\n },\n ClientId = \"abcd123\",\n ClientSecret = \"abcd123\",\n UsernameTemplate = \"idpuser.email\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := idp.NewSocial(ctx, \"example\", \u0026idp.SocialArgs{\n\t\t\tType: pulumi.String(\"FACEBOOK\"),\n\t\t\tProtocolType: pulumi.String(\"OAUTH2\"),\n\t\t\tName: pulumi.String(\"testAcc_facebook_replace_with_uuid\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"public_profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tClientId: pulumi.String(\"abcd123\"),\n\t\t\tClientSecret: pulumi.String(\"abcd123\"),\n\t\t\tUsernameTemplate: pulumi.String(\"idpuser.email\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.idp.Social;\nimport com.pulumi.okta.idp.SocialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Social(\"example\", SocialArgs.builder()\n .type(\"FACEBOOK\")\n .protocolType(\"OAUTH2\")\n .name(\"testAcc_facebook_replace_with_uuid\")\n .scopes( \n \"public_profile\",\n \"email\")\n .clientId(\"abcd123\")\n .clientSecret(\"abcd123\")\n .usernameTemplate(\"idpuser.email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:idp:Social\n properties:\n type: FACEBOOK\n protocolType: OAUTH2\n name: testAcc_facebook_replace_with_uuid\n scopes:\n - public_profile\n - email\n clientId: abcd123\n clientSecret: abcd123\n usernameTemplate: idpuser.email\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:idp/social:Social example \u003cidp_id\u003e\n```\n\n", "properties": { "accountLinkAction": { "type": "string", @@ -8731,7 +8850,7 @@ } }, "okta:index/adminRoleCustom:AdminRoleCustom": { - "description": "Resource to manage administrative Role assignments for a User\n\nThese operations allow the creation and manipulation of custom roles as custom collections of permissions.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AdminRoleCustom(\"example\", {\n label: \"AppAssignmentManager\",\n description: \"This role allows app assignment management\",\n permissions: [\"okta.apps.assignment.manage\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AdminRoleCustom(\"example\",\n label=\"AppAssignmentManager\",\n description=\"This role allows app assignment management\",\n permissions=[\"okta.apps.assignment.manage\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AdminRoleCustom(\"example\", new()\n {\n Label = \"AppAssignmentManager\",\n Description = \"This role allows app assignment management\",\n Permissions = new[]\n {\n \"okta.apps.assignment.manage\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAdminRoleCustom(ctx, \"example\", \u0026okta.AdminRoleCustomArgs{\n\t\t\tLabel: pulumi.String(\"AppAssignmentManager\"),\n\t\t\tDescription: pulumi.String(\"This role allows app assignment management\"),\n\t\t\tPermissions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"okta.apps.assignment.manage\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AdminRoleCustom;\nimport com.pulumi.okta.AdminRoleCustomArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AdminRoleCustom(\"example\", AdminRoleCustomArgs.builder()\n .label(\"AppAssignmentManager\")\n .description(\"This role allows app assignment management\")\n .permissions(\"okta.apps.assignment.manage\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AdminRoleCustom\n properties:\n label: AppAssignmentManager\n description: This role allows app assignment management\n permissions:\n - okta.apps.assignment.manage\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example \u0026#60;custom role id\u0026#62\n```\n\n", + "description": "Resource to manage administrative Role assignments for a User\n\nThese operations allow the creation and manipulation of custom roles as custom collections of permissions.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AdminRoleCustom(\"example\", {\n label: \"AppAssignmentManager\",\n description: \"This role allows app assignment management\",\n permissions: [\"okta.apps.assignment.manage\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AdminRoleCustom(\"example\",\n label=\"AppAssignmentManager\",\n description=\"This role allows app assignment management\",\n permissions=[\"okta.apps.assignment.manage\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AdminRoleCustom(\"example\", new()\n {\n Label = \"AppAssignmentManager\",\n Description = \"This role allows app assignment management\",\n Permissions = new[]\n {\n \"okta.apps.assignment.manage\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAdminRoleCustom(ctx, \"example\", \u0026okta.AdminRoleCustomArgs{\n\t\t\tLabel: pulumi.String(\"AppAssignmentManager\"),\n\t\t\tDescription: pulumi.String(\"This role allows app assignment management\"),\n\t\t\tPermissions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"okta.apps.assignment.manage\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AdminRoleCustom;\nimport com.pulumi.okta.AdminRoleCustomArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AdminRoleCustom(\"example\", AdminRoleCustomArgs.builder()\n .label(\"AppAssignmentManager\")\n .description(\"This role allows app assignment management\")\n .permissions(\"okta.apps.assignment.manage\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AdminRoleCustom\n properties:\n label: AppAssignmentManager\n description: This role allows app assignment management\n permissions:\n - okta.apps.assignment.manage\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example \u003ccustom_role_id\u003e\n```\n\n", "properties": { "description": { "type": "string", @@ -8799,7 +8918,7 @@ } }, "okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments": { - "description": "Resource to manage the assignment and unassignment of Custom Roles\nThese operations allow the creation and manipulation of custom roles as custom collections of permissions.\n\t\t\n\u003e **NOTE:** This an Early Access feature.\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example \u0026#60;resource_set_id\u0026#62;/\u0026#60;custom_role_id\u0026#62;\n```\n\n", + "description": "Resource to manage the assignment and unassignment of Custom Roles\nThese operations allow the creation and manipulation of custom roles as custom collections of permissions.\n\t\t\n\u003e **NOTE:** This an Early Access feature.\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example \u003cresource_set_id\u003e/\u003ccustom_role_id\u003e\n```\n\n", "properties": { "customRoleId": { "type": "string", @@ -8869,7 +8988,7 @@ } }, "okta:index/adminRoleTargets:AdminRoleTargets": { - "description": "Manages targets for administrator roles.\n\nThis resource allows you to define permissions for admin roles into a smaller subset of Groups or Apps within your org.\nYou can define admin roles to target Groups, Applications, and Application Instances.\n\n```\nNote 1: you have to assign a role to a user before creating this resource.\n\nNote 2: You can target a mixture of both App and App Instance targets, but can't assign permissions to manage all\n instances of an App and then a subset of that same App. For example, you can't specify that an admin has access\n to manage all instances of a Salesforce app and then also specific configurations of the Salesforce app.\n```\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AdminRoleTargets(\"example\", {\n userId: \"\u003cuser_id\u003e\",\n roleType: \"APP_ADMIN\",\n apps: [\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AdminRoleTargets(\"example\",\n user_id=\"\u003cuser_id\u003e\",\n role_type=\"APP_ADMIN\",\n apps=[\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AdminRoleTargets(\"example\", new()\n {\n UserId = \"\u003cuser_id\u003e\",\n RoleType = \"APP_ADMIN\",\n Apps = new[]\n {\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAdminRoleTargets(ctx, \"example\", \u0026okta.AdminRoleTargetsArgs{\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t\tRoleType: pulumi.String(\"APP_ADMIN\"),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"oidc_client.\u003capp_id\u003e\"),\n\t\t\t\tpulumi.String(\"facebook\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AdminRoleTargets;\nimport com.pulumi.okta.AdminRoleTargetsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AdminRoleTargets(\"example\", AdminRoleTargetsArgs.builder()\n .userId(\"\u003cuser_id\u003e\")\n .roleType(\"APP_ADMIN\")\n .apps( \n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AdminRoleTargets\n properties:\n userId: \u003cuser_id\u003e\n roleType: APP_ADMIN\n apps:\n - oidc_client.\u003capp_id\u003e\n - facebook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example \u0026#60;user id\u0026#62;/\u0026#60;role type\u0026#62;\n```\n\n", + "description": "Manages targets for administrator roles.\n\nThis resource allows you to define permissions for admin roles into a smaller subset of Groups or Apps within your org.\nYou can define admin roles to target Groups, Applications, and Application Instances.\n\n```\nNote 1: you have to assign a role to a user before creating this resource.\n\nNote 2: You can target a mixture of both App and App Instance targets, but can't assign permissions to manage all\n instances of an App and then a subset of that same App. For example, you can't specify that an admin has access\n to manage all instances of a Salesforce app and then also specific configurations of the Salesforce app.\n```\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AdminRoleTargets(\"example\", {\n userId: \"\u003cuser_id\u003e\",\n roleType: \"APP_ADMIN\",\n apps: [\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AdminRoleTargets(\"example\",\n user_id=\"\u003cuser_id\u003e\",\n role_type=\"APP_ADMIN\",\n apps=[\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AdminRoleTargets(\"example\", new()\n {\n UserId = \"\u003cuser_id\u003e\",\n RoleType = \"APP_ADMIN\",\n Apps = new[]\n {\n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAdminRoleTargets(ctx, \"example\", \u0026okta.AdminRoleTargetsArgs{\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t\tRoleType: pulumi.String(\"APP_ADMIN\"),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"oidc_client.\u003capp_id\u003e\"),\n\t\t\t\tpulumi.String(\"facebook\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AdminRoleTargets;\nimport com.pulumi.okta.AdminRoleTargetsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AdminRoleTargets(\"example\", AdminRoleTargetsArgs.builder()\n .userId(\"\u003cuser_id\u003e\")\n .roleType(\"APP_ADMIN\")\n .apps( \n \"oidc_client.\u003capp_id\u003e\",\n \"facebook\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AdminRoleTargets\n properties:\n userId: \u003cuser_id\u003e\n roleType: APP_ADMIN\n apps:\n - oidc_client.\u003capp_id\u003e\n - facebook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example \u003cuser_id\u003e/\u003crole_type\u003e\n```\n\n", "properties": { "apps": { "type": "array", @@ -8969,7 +9088,7 @@ } }, "okta:index/appGroupAssignments:AppGroupAssignments": { - "description": "Assigns groups to an application. This resource allows you to create multiple App Group assignments. \n\t\t\n**Important**: Do not use in conjunction with for_each\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppGroupAssignments(\"example\", {\n appId: \"\u003capp id\u003e\",\n groups: [\n {\n id: \"\u003cgroup id\u003e\",\n priority: 1,\n },\n {\n id: \"\u003canother group id\u003e\",\n priority: 2,\n profile: JSON.stringify({\n \"application profile field\": \"application profile value\",\n }),\n },\n ],\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\nexample = okta.AppGroupAssignments(\"example\",\n app_id=\"\u003capp id\u003e\",\n groups=[\n {\n \"id\": \"\u003cgroup id\u003e\",\n \"priority\": 1,\n },\n {\n \"id\": \"\u003canother group id\u003e\",\n \"priority\": 2,\n \"profile\": json.dumps({\n \"application_profile_field\": \"application profile value\",\n }),\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppGroupAssignments(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Groups = new[]\n {\n new Okta.Inputs.AppGroupAssignmentsGroupArgs\n {\n Id = \"\u003cgroup id\u003e\",\n Priority = 1,\n },\n new Okta.Inputs.AppGroupAssignmentsGroupArgs\n {\n Id = \"\u003canother group id\u003e\",\n Priority = 2,\n Profile = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"application profile field\"] = \"application profile value\",\n }),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"application profile field\": \"application profile value\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppGroupAssignments(ctx, \"example\", \u0026okta.AppGroupAssignmentsArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tGroups: okta.AppGroupAssignmentsGroupArray{\n\t\t\t\t\u0026okta.AppGroupAssignmentsGroupArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t},\n\t\t\t\t\u0026okta.AppGroupAssignmentsGroupArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003canother group id\u003e\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tProfile: pulumi.String(json0),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppGroupAssignments;\nimport com.pulumi.okta.AppGroupAssignmentsArgs;\nimport com.pulumi.okta.inputs.AppGroupAssignmentsGroupArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppGroupAssignments(\"example\", AppGroupAssignmentsArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .groups( \n AppGroupAssignmentsGroupArgs.builder()\n .id(\"\u003cgroup id\u003e\")\n .priority(1)\n .build(),\n AppGroupAssignmentsGroupArgs.builder()\n .id(\"\u003canother group id\u003e\")\n .priority(2)\n .profile(serializeJson(\n jsonObject(\n jsonProperty(\"application profile field\", \"application profile value\")\n )))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppGroupAssignments\n properties:\n appId: \u003capp id\u003e\n groups:\n - id: \u003cgroup id\u003e\n priority: 1\n - id: \u003canother group id\u003e\n priority: 2\n profile:\n fn::toJSON:\n application profile field: application profile value\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example \u0026#60;app_id\u0026#62\n```\n\n", + "description": "Assigns groups to an application. This resource allows you to create multiple App Group assignments. \n\t\t\n**Important**: Do not use in conjunction with for_each\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppGroupAssignments(\"example\", {\n appId: \"\u003capp id\u003e\",\n groups: [\n {\n id: \"\u003cgroup id\u003e\",\n priority: 1,\n },\n {\n id: \"\u003canother group id\u003e\",\n priority: 2,\n profile: JSON.stringify({\n \"application profile field\": \"application profile value\",\n }),\n },\n ],\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\nexample = okta.AppGroupAssignments(\"example\",\n app_id=\"\u003capp id\u003e\",\n groups=[\n {\n \"id\": \"\u003cgroup id\u003e\",\n \"priority\": 1,\n },\n {\n \"id\": \"\u003canother group id\u003e\",\n \"priority\": 2,\n \"profile\": json.dumps({\n \"application_profile_field\": \"application profile value\",\n }),\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppGroupAssignments(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Groups = new[]\n {\n new Okta.Inputs.AppGroupAssignmentsGroupArgs\n {\n Id = \"\u003cgroup id\u003e\",\n Priority = 1,\n },\n new Okta.Inputs.AppGroupAssignmentsGroupArgs\n {\n Id = \"\u003canother group id\u003e\",\n Priority = 2,\n Profile = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"application profile field\"] = \"application profile value\",\n }),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"application profile field\": \"application profile value\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppGroupAssignments(ctx, \"example\", \u0026okta.AppGroupAssignmentsArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tGroups: okta.AppGroupAssignmentsGroupArray{\n\t\t\t\t\u0026okta.AppGroupAssignmentsGroupArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003cgroup id\u003e\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t},\n\t\t\t\t\u0026okta.AppGroupAssignmentsGroupArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003canother group id\u003e\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tProfile: pulumi.String(json0),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppGroupAssignments;\nimport com.pulumi.okta.AppGroupAssignmentsArgs;\nimport com.pulumi.okta.inputs.AppGroupAssignmentsGroupArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppGroupAssignments(\"example\", AppGroupAssignmentsArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .groups( \n AppGroupAssignmentsGroupArgs.builder()\n .id(\"\u003cgroup id\u003e\")\n .priority(1)\n .build(),\n AppGroupAssignmentsGroupArgs.builder()\n .id(\"\u003canother group id\u003e\")\n .priority(2)\n .profile(serializeJson(\n jsonObject(\n jsonProperty(\"application profile field\", \"application profile value\")\n )))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppGroupAssignments\n properties:\n appId: \u003capp id\u003e\n groups:\n - id: \u003cgroup id\u003e\n priority: 1\n - id: \u003canother group id\u003e\n priority: 2\n profile:\n fn::toJSON:\n application profile field: application profile value\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -9025,7 +9144,7 @@ } }, "okta:index/appOauthApiScope:AppOauthApiScope": { - "description": "Manages API scopes for OAuth applications. \nThis resource allows you to grant or revoke API scopes for OAuth2 applications within your organization.\nNote: you have to create an application before using this resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppOauthApiScope(\"example\", {\n appId: \"\u003capplication_id\u003e\",\n issuer: \"\u003cyour org domain\u003e\",\n scopes: [\n \"okta.users.read\",\n \"okta.users.manage\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppOauthApiScope(\"example\",\n app_id=\"\u003capplication_id\u003e\",\n issuer=\"\u003cyour org domain\u003e\",\n scopes=[\n \"okta.users.read\",\n \"okta.users.manage\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppOauthApiScope(\"example\", new()\n {\n AppId = \"\u003capplication_id\u003e\",\n Issuer = \"\u003cyour org domain\u003e\",\n Scopes = new[]\n {\n \"okta.users.read\",\n \"okta.users.manage\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppOauthApiScope(ctx, \"example\", \u0026okta.AppOauthApiScopeArgs{\n\t\t\tAppId: pulumi.String(\"\u003capplication_id\u003e\"),\n\t\t\tIssuer: pulumi.String(\"\u003cyour org domain\u003e\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"okta.users.read\"),\n\t\t\t\tpulumi.String(\"okta.users.manage\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppOauthApiScope;\nimport com.pulumi.okta.AppOauthApiScopeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppOauthApiScope(\"example\", AppOauthApiScopeArgs.builder()\n .appId(\"\u003capplication_id\u003e\")\n .issuer(\"\u003cyour org domain\u003e\")\n .scopes( \n \"okta.users.read\",\n \"okta.users.manage\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppOauthApiScope\n properties:\n appId: \u003capplication_id\u003e\n issuer: \u003cyour org domain\u003e\n scopes:\n - okta.users.read\n - okta.users.manage\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example \u0026#60;app id\u0026#62\n```\n\n", + "description": "Manages API scopes for OAuth applications. \nThis resource allows you to grant or revoke API scopes for OAuth2 applications within your organization.\nNote: you have to create an application before using this resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppOauthApiScope(\"example\", {\n appId: \"\u003capplication_id\u003e\",\n issuer: \"\u003cyour org domain\u003e\",\n scopes: [\n \"okta.users.read\",\n \"okta.users.manage\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppOauthApiScope(\"example\",\n app_id=\"\u003capplication_id\u003e\",\n issuer=\"\u003cyour org domain\u003e\",\n scopes=[\n \"okta.users.read\",\n \"okta.users.manage\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppOauthApiScope(\"example\", new()\n {\n AppId = \"\u003capplication_id\u003e\",\n Issuer = \"\u003cyour org domain\u003e\",\n Scopes = new[]\n {\n \"okta.users.read\",\n \"okta.users.manage\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppOauthApiScope(ctx, \"example\", \u0026okta.AppOauthApiScopeArgs{\n\t\t\tAppId: pulumi.String(\"\u003capplication_id\u003e\"),\n\t\t\tIssuer: pulumi.String(\"\u003cyour org domain\u003e\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"okta.users.read\"),\n\t\t\t\tpulumi.String(\"okta.users.manage\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppOauthApiScope;\nimport com.pulumi.okta.AppOauthApiScopeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppOauthApiScope(\"example\", AppOauthApiScopeArgs.builder()\n .appId(\"\u003capplication_id\u003e\")\n .issuer(\"\u003cyour org domain\u003e\")\n .scopes( \n \"okta.users.read\",\n \"okta.users.manage\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppOauthApiScope\n properties:\n appId: \u003capplication_id\u003e\n issuer: \u003cyour org domain\u003e\n scopes:\n - okta.users.read\n - okta.users.manage\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -9095,7 +9214,7 @@ } }, "okta:index/appSamlAppSettings:AppSamlAppSettings": { - "description": "Manages app settings of the SAML application.\nThis resource allows you to manage app settings of the SAML Application . It's basically the same as\napp_settings_json field in okta.app.Saml resource and can be used in cases where settings require to be managed separately.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.Saml(\"test\", {\n preconfiguredApp: \"amazon_aws\",\n label: \"Amazon AWS\",\n status: \"ACTIVE\",\n});\nconst testAppSamlAppSettings = new okta.AppSamlAppSettings(\"test\", {\n appId: test.id,\n settings: JSON.stringify({\n appFilter: \"okta\",\n awsEnvironmentType: \"aws.amazon\",\n groupFilter: \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n joinAllRoles: false,\n loginURL: \"https://console.aws.amazon.com/ec2/home\",\n roleValuePattern: \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n sessionDuration: 3200,\n useGroupMapping: false,\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Saml(\"test\",\n preconfigured_app=\"amazon_aws\",\n label=\"Amazon AWS\",\n status=\"ACTIVE\")\ntest_app_saml_app_settings = okta.AppSamlAppSettings(\"test\",\n app_id=test.id,\n settings=json.dumps({\n \"appFilter\": \"okta\",\n \"awsEnvironmentType\": \"aws.amazon\",\n \"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n \"joinAllRoles\": False,\n \"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n \"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n \"sessionDuration\": 3200,\n \"useGroupMapping\": False,\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.Saml(\"test\", new()\n {\n PreconfiguredApp = \"amazon_aws\",\n Label = \"Amazon AWS\",\n Status = \"ACTIVE\",\n });\n\n var testAppSamlAppSettings = new Okta.AppSamlAppSettings(\"test\", new()\n {\n AppId = test.Id,\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"appFilter\"] = \"okta\",\n [\"awsEnvironmentType\"] = \"aws.amazon\",\n [\"groupFilter\"] = \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n [\"joinAllRoles\"] = false,\n [\"loginURL\"] = \"https://console.aws.amazon.com/ec2/home\",\n [\"roleValuePattern\"] = \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n [\"sessionDuration\"] = 3200,\n [\"useGroupMapping\"] = false,\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewSaml(ctx, \"test\", \u0026app.SamlArgs{\n\t\t\tPreconfiguredApp: pulumi.String(\"amazon_aws\"),\n\t\t\tLabel: pulumi.String(\"Amazon AWS\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"appFilter\": \"okta\",\n\t\t\t\"awsEnvironmentType\": \"aws.amazon\",\n\t\t\t\"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n\t\t\t\"joinAllRoles\": false,\n\t\t\t\"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n\t\t\t\"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n\t\t\t\"sessionDuration\": 3200,\n\t\t\t\"useGroupMapping\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppSamlAppSettings(ctx, \"test\", \u0026okta.AppSamlAppSettingsArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSettings: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Saml;\nimport com.pulumi.okta.app.SamlArgs;\nimport com.pulumi.okta.AppSamlAppSettings;\nimport com.pulumi.okta.AppSamlAppSettingsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Saml(\"test\", SamlArgs.builder()\n .preconfiguredApp(\"amazon_aws\")\n .label(\"Amazon AWS\")\n .status(\"ACTIVE\")\n .build());\n\n var testAppSamlAppSettings = new AppSamlAppSettings(\"testAppSamlAppSettings\", AppSamlAppSettingsArgs.builder()\n .appId(test.id())\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"appFilter\", \"okta\"),\n jsonProperty(\"awsEnvironmentType\", \"aws.amazon\"),\n jsonProperty(\"groupFilter\", \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\"),\n jsonProperty(\"joinAllRoles\", false),\n jsonProperty(\"loginURL\", \"https://console.aws.amazon.com/ec2/home\"),\n jsonProperty(\"roleValuePattern\", \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\"),\n jsonProperty(\"sessionDuration\", 3200),\n jsonProperty(\"useGroupMapping\", false)\n )))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Saml\n properties:\n preconfiguredApp: amazon_aws\n label: Amazon AWS\n status: ACTIVE\n testAppSamlAppSettings:\n type: okta:AppSamlAppSettings\n name: test\n properties:\n appId: ${test.id}\n settings:\n fn::toJSON:\n appFilter: okta\n awsEnvironmentType: aws.amazon\n groupFilter: aws_(?{{accountid}}\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\-_]+)\n joinAllRoles: false\n loginURL: https://console.aws.amazon.com/ec2/home\n roleValuePattern: arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\n sessionDuration: 3200\n useGroupMapping: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example \u0026#60;app id\u0026#62\n```\n\n", + "description": "Manages app settings of the SAML application.\nThis resource allows you to manage app settings of the SAML Application . It's basically the same as\napp_settings_json field in okta.app.Saml resource and can be used in cases where settings require to be managed separately.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.Saml(\"test\", {\n preconfiguredApp: \"amazon_aws\",\n label: \"Amazon AWS\",\n status: \"ACTIVE\",\n});\nconst testAppSamlAppSettings = new okta.AppSamlAppSettings(\"test\", {\n appId: test.id,\n settings: JSON.stringify({\n appFilter: \"okta\",\n awsEnvironmentType: \"aws.amazon\",\n groupFilter: \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n joinAllRoles: false,\n loginURL: \"https://console.aws.amazon.com/ec2/home\",\n roleValuePattern: \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n sessionDuration: 3200,\n useGroupMapping: false,\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Saml(\"test\",\n preconfigured_app=\"amazon_aws\",\n label=\"Amazon AWS\",\n status=\"ACTIVE\")\ntest_app_saml_app_settings = okta.AppSamlAppSettings(\"test\",\n app_id=test.id,\n settings=json.dumps({\n \"appFilter\": \"okta\",\n \"awsEnvironmentType\": \"aws.amazon\",\n \"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n \"joinAllRoles\": False,\n \"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n \"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n \"sessionDuration\": 3200,\n \"useGroupMapping\": False,\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.Saml(\"test\", new()\n {\n PreconfiguredApp = \"amazon_aws\",\n Label = \"Amazon AWS\",\n Status = \"ACTIVE\",\n });\n\n var testAppSamlAppSettings = new Okta.AppSamlAppSettings(\"test\", new()\n {\n AppId = test.Id,\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"appFilter\"] = \"okta\",\n [\"awsEnvironmentType\"] = \"aws.amazon\",\n [\"groupFilter\"] = \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n [\"joinAllRoles\"] = false,\n [\"loginURL\"] = \"https://console.aws.amazon.com/ec2/home\",\n [\"roleValuePattern\"] = \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n [\"sessionDuration\"] = 3200,\n [\"useGroupMapping\"] = false,\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewSaml(ctx, \"test\", \u0026app.SamlArgs{\n\t\t\tPreconfiguredApp: pulumi.String(\"amazon_aws\"),\n\t\t\tLabel: pulumi.String(\"Amazon AWS\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"appFilter\": \"okta\",\n\t\t\t\"awsEnvironmentType\": \"aws.amazon\",\n\t\t\t\"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n\t\t\t\"joinAllRoles\": false,\n\t\t\t\"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n\t\t\t\"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n\t\t\t\"sessionDuration\": 3200,\n\t\t\t\"useGroupMapping\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppSamlAppSettings(ctx, \"test\", \u0026okta.AppSamlAppSettingsArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSettings: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.app.Saml;\nimport com.pulumi.okta.app.SamlArgs;\nimport com.pulumi.okta.AppSamlAppSettings;\nimport com.pulumi.okta.AppSamlAppSettingsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Saml(\"test\", SamlArgs.builder()\n .preconfiguredApp(\"amazon_aws\")\n .label(\"Amazon AWS\")\n .status(\"ACTIVE\")\n .build());\n\n var testAppSamlAppSettings = new AppSamlAppSettings(\"testAppSamlAppSettings\", AppSamlAppSettingsArgs.builder()\n .appId(test.id())\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"appFilter\", \"okta\"),\n jsonProperty(\"awsEnvironmentType\", \"aws.amazon\"),\n jsonProperty(\"groupFilter\", \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\"),\n jsonProperty(\"joinAllRoles\", false),\n jsonProperty(\"loginURL\", \"https://console.aws.amazon.com/ec2/home\"),\n jsonProperty(\"roleValuePattern\", \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\"),\n jsonProperty(\"sessionDuration\", 3200),\n jsonProperty(\"useGroupMapping\", false)\n )))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Saml\n properties:\n preconfiguredApp: amazon_aws\n label: Amazon AWS\n status: ACTIVE\n testAppSamlAppSettings:\n type: okta:AppSamlAppSettings\n name: test\n properties:\n appId: ${test.id}\n settings:\n fn::toJSON:\n appFilter: okta\n awsEnvironmentType: aws.amazon\n groupFilter: aws_(?{{accountid}}\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\-_]+)\n joinAllRoles: false\n loginURL: https://console.aws.amazon.com/ec2/home\n roleValuePattern: arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\n sessionDuration: 3200\n useGroupMapping: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -9142,7 +9261,7 @@ } }, "okta:index/appSharedCredentials:AppSharedCredentials": { - "description": "Creates a SWA shared credentials app.\nThis resource allows you to create and configure SWA shared credentials app.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppSharedCredentials(\"example\", {\n label: \"Example App\",\n status: \"ACTIVE\",\n buttonField: \"btn-login\",\n usernameField: \"txtbox-username\",\n passwordField: \"txtbox-password\",\n url: \"https://example.com/login.html\",\n redirectUrl: \"https://example.com/redirect_url\",\n checkbox: \"checkbox_red\",\n userNameTemplate: \"user.firstName\",\n userNameTemplateType: \"CUSTOM\",\n userNameTemplateSuffix: \"hello\",\n sharedPassword: \"sharedpass\",\n sharedUsername: \"sharedusername\",\n accessibilitySelfService: true,\n accessibilityErrorRedirectUrl: \"https://example.com/redirect_url_1\",\n accessibilityLoginRedirectUrl: \"https://example.com/redirect_url_2\",\n autoSubmitToolbar: true,\n hideIos: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppSharedCredentials(\"example\",\n label=\"Example App\",\n status=\"ACTIVE\",\n button_field=\"btn-login\",\n username_field=\"txtbox-username\",\n password_field=\"txtbox-password\",\n url=\"https://example.com/login.html\",\n redirect_url=\"https://example.com/redirect_url\",\n checkbox=\"checkbox_red\",\n user_name_template=\"user.firstName\",\n user_name_template_type=\"CUSTOM\",\n user_name_template_suffix=\"hello\",\n shared_password=\"sharedpass\",\n shared_username=\"sharedusername\",\n accessibility_self_service=True,\n accessibility_error_redirect_url=\"https://example.com/redirect_url_1\",\n accessibility_login_redirect_url=\"https://example.com/redirect_url_2\",\n auto_submit_toolbar=True,\n hide_ios=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppSharedCredentials(\"example\", new()\n {\n Label = \"Example App\",\n Status = \"ACTIVE\",\n ButtonField = \"btn-login\",\n UsernameField = \"txtbox-username\",\n PasswordField = \"txtbox-password\",\n Url = \"https://example.com/login.html\",\n RedirectUrl = \"https://example.com/redirect_url\",\n Checkbox = \"checkbox_red\",\n UserNameTemplate = \"user.firstName\",\n UserNameTemplateType = \"CUSTOM\",\n UserNameTemplateSuffix = \"hello\",\n SharedPassword = \"sharedpass\",\n SharedUsername = \"sharedusername\",\n AccessibilitySelfService = true,\n AccessibilityErrorRedirectUrl = \"https://example.com/redirect_url_1\",\n AccessibilityLoginRedirectUrl = \"https://example.com/redirect_url_2\",\n AutoSubmitToolbar = true,\n HideIos = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppSharedCredentials(ctx, \"example\", \u0026okta.AppSharedCredentialsArgs{\n\t\t\tLabel: pulumi.String(\"Example App\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tButtonField: pulumi.String(\"btn-login\"),\n\t\t\tUsernameField: pulumi.String(\"txtbox-username\"),\n\t\t\tPasswordField: pulumi.String(\"txtbox-password\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t\tRedirectUrl: pulumi.String(\"https://example.com/redirect_url\"),\n\t\t\tCheckbox: pulumi.String(\"checkbox_red\"),\n\t\t\tUserNameTemplate: pulumi.String(\"user.firstName\"),\n\t\t\tUserNameTemplateType: pulumi.String(\"CUSTOM\"),\n\t\t\tUserNameTemplateSuffix: pulumi.String(\"hello\"),\n\t\t\tSharedPassword: pulumi.String(\"sharedpass\"),\n\t\t\tSharedUsername: pulumi.String(\"sharedusername\"),\n\t\t\tAccessibilitySelfService: pulumi.Bool(true),\n\t\t\tAccessibilityErrorRedirectUrl: pulumi.String(\"https://example.com/redirect_url_1\"),\n\t\t\tAccessibilityLoginRedirectUrl: pulumi.String(\"https://example.com/redirect_url_2\"),\n\t\t\tAutoSubmitToolbar: pulumi.Bool(true),\n\t\t\tHideIos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppSharedCredentials;\nimport com.pulumi.okta.AppSharedCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppSharedCredentials(\"example\", AppSharedCredentialsArgs.builder()\n .label(\"Example App\")\n .status(\"ACTIVE\")\n .buttonField(\"btn-login\")\n .usernameField(\"txtbox-username\")\n .passwordField(\"txtbox-password\")\n .url(\"https://example.com/login.html\")\n .redirectUrl(\"https://example.com/redirect_url\")\n .checkbox(\"checkbox_red\")\n .userNameTemplate(\"user.firstName\")\n .userNameTemplateType(\"CUSTOM\")\n .userNameTemplateSuffix(\"hello\")\n .sharedPassword(\"sharedpass\")\n .sharedUsername(\"sharedusername\")\n .accessibilitySelfService(true)\n .accessibilityErrorRedirectUrl(\"https://example.com/redirect_url_1\")\n .accessibilityLoginRedirectUrl(\"https://example.com/redirect_url_2\")\n .autoSubmitToolbar(true)\n .hideIos(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppSharedCredentials\n properties:\n label: Example App\n status: ACTIVE\n buttonField: btn-login\n usernameField: txtbox-username\n passwordField: txtbox-password\n url: https://example.com/login.html\n redirectUrl: https://example.com/redirect_url\n checkbox: checkbox_red\n userNameTemplate: user.firstName\n userNameTemplateType: CUSTOM\n userNameTemplateSuffix: hello\n sharedPassword: sharedpass\n sharedUsername: sharedusername\n accessibilitySelfService: true\n accessibilityErrorRedirectUrl: https://example.com/redirect_url_1\n accessibilityLoginRedirectUrl: https://example.com/redirect_url_2\n autoSubmitToolbar: true\n hideIos: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example \u0026#60;app id\u0026#62\n```\n\n", + "description": "Creates a SWA shared credentials app.\nThis resource allows you to create and configure SWA shared credentials app.\n\u003e During an apply if there is change in 'status' the app will first be\nactivated or deactivated in accordance with the 'status' change. Then, all\nother arguments that changed will be applied.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppSharedCredentials(\"example\", {\n label: \"Example App\",\n status: \"ACTIVE\",\n buttonField: \"btn-login\",\n usernameField: \"txtbox-username\",\n passwordField: \"txtbox-password\",\n url: \"https://example.com/login.html\",\n redirectUrl: \"https://example.com/redirect_url\",\n checkbox: \"checkbox_red\",\n userNameTemplate: \"user.firstName\",\n userNameTemplateType: \"CUSTOM\",\n userNameTemplateSuffix: \"hello\",\n sharedPassword: \"sharedpass\",\n sharedUsername: \"sharedusername\",\n accessibilitySelfService: true,\n accessibilityErrorRedirectUrl: \"https://example.com/redirect_url_1\",\n accessibilityLoginRedirectUrl: \"https://example.com/redirect_url_2\",\n autoSubmitToolbar: true,\n hideIos: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppSharedCredentials(\"example\",\n label=\"Example App\",\n status=\"ACTIVE\",\n button_field=\"btn-login\",\n username_field=\"txtbox-username\",\n password_field=\"txtbox-password\",\n url=\"https://example.com/login.html\",\n redirect_url=\"https://example.com/redirect_url\",\n checkbox=\"checkbox_red\",\n user_name_template=\"user.firstName\",\n user_name_template_type=\"CUSTOM\",\n user_name_template_suffix=\"hello\",\n shared_password=\"sharedpass\",\n shared_username=\"sharedusername\",\n accessibility_self_service=True,\n accessibility_error_redirect_url=\"https://example.com/redirect_url_1\",\n accessibility_login_redirect_url=\"https://example.com/redirect_url_2\",\n auto_submit_toolbar=True,\n hide_ios=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppSharedCredentials(\"example\", new()\n {\n Label = \"Example App\",\n Status = \"ACTIVE\",\n ButtonField = \"btn-login\",\n UsernameField = \"txtbox-username\",\n PasswordField = \"txtbox-password\",\n Url = \"https://example.com/login.html\",\n RedirectUrl = \"https://example.com/redirect_url\",\n Checkbox = \"checkbox_red\",\n UserNameTemplate = \"user.firstName\",\n UserNameTemplateType = \"CUSTOM\",\n UserNameTemplateSuffix = \"hello\",\n SharedPassword = \"sharedpass\",\n SharedUsername = \"sharedusername\",\n AccessibilitySelfService = true,\n AccessibilityErrorRedirectUrl = \"https://example.com/redirect_url_1\",\n AccessibilityLoginRedirectUrl = \"https://example.com/redirect_url_2\",\n AutoSubmitToolbar = true,\n HideIos = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppSharedCredentials(ctx, \"example\", \u0026okta.AppSharedCredentialsArgs{\n\t\t\tLabel: pulumi.String(\"Example App\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tButtonField: pulumi.String(\"btn-login\"),\n\t\t\tUsernameField: pulumi.String(\"txtbox-username\"),\n\t\t\tPasswordField: pulumi.String(\"txtbox-password\"),\n\t\t\tUrl: pulumi.String(\"https://example.com/login.html\"),\n\t\t\tRedirectUrl: pulumi.String(\"https://example.com/redirect_url\"),\n\t\t\tCheckbox: pulumi.String(\"checkbox_red\"),\n\t\t\tUserNameTemplate: pulumi.String(\"user.firstName\"),\n\t\t\tUserNameTemplateType: pulumi.String(\"CUSTOM\"),\n\t\t\tUserNameTemplateSuffix: pulumi.String(\"hello\"),\n\t\t\tSharedPassword: pulumi.String(\"sharedpass\"),\n\t\t\tSharedUsername: pulumi.String(\"sharedusername\"),\n\t\t\tAccessibilitySelfService: pulumi.Bool(true),\n\t\t\tAccessibilityErrorRedirectUrl: pulumi.String(\"https://example.com/redirect_url_1\"),\n\t\t\tAccessibilityLoginRedirectUrl: pulumi.String(\"https://example.com/redirect_url_2\"),\n\t\t\tAutoSubmitToolbar: pulumi.Bool(true),\n\t\t\tHideIos: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppSharedCredentials;\nimport com.pulumi.okta.AppSharedCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppSharedCredentials(\"example\", AppSharedCredentialsArgs.builder()\n .label(\"Example App\")\n .status(\"ACTIVE\")\n .buttonField(\"btn-login\")\n .usernameField(\"txtbox-username\")\n .passwordField(\"txtbox-password\")\n .url(\"https://example.com/login.html\")\n .redirectUrl(\"https://example.com/redirect_url\")\n .checkbox(\"checkbox_red\")\n .userNameTemplate(\"user.firstName\")\n .userNameTemplateType(\"CUSTOM\")\n .userNameTemplateSuffix(\"hello\")\n .sharedPassword(\"sharedpass\")\n .sharedUsername(\"sharedusername\")\n .accessibilitySelfService(true)\n .accessibilityErrorRedirectUrl(\"https://example.com/redirect_url_1\")\n .accessibilityLoginRedirectUrl(\"https://example.com/redirect_url_2\")\n .autoSubmitToolbar(true)\n .hideIos(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppSharedCredentials\n properties:\n label: Example App\n status: ACTIVE\n buttonField: btn-login\n usernameField: txtbox-username\n passwordField: txtbox-password\n url: https://example.com/login.html\n redirectUrl: https://example.com/redirect_url\n checkbox: checkbox_red\n userNameTemplate: user.firstName\n userNameTemplateType: CUSTOM\n userNameTemplateSuffix: hello\n sharedPassword: sharedpass\n sharedUsername: sharedusername\n accessibilitySelfService: true\n accessibilityErrorRedirectUrl: https://example.com/redirect_url_1\n accessibilityLoginRedirectUrl: https://example.com/redirect_url_2\n autoSubmitToolbar: true\n hideIos: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example \u003capp_id\u003e\n```\n\n", "properties": { "accessibilityErrorRedirectUrl": { "type": "string", @@ -9500,7 +9619,7 @@ } }, "okta:index/appSignonPolicy:AppSignonPolicy": { - "description": "## Example Usage\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example \u0026#60;policy_id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example \u003cpolicy_id\u003e\n```\n\n", "properties": { "description": { "type": "string", @@ -9544,7 +9663,7 @@ } }, "okta:index/appSignonPolicyRule:AppSignonPolicyRule": { - "description": "Manages a sign-on policy rules for the application.\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to create and configure a sign-on policy rule for the application.\nA default or 'Catch-all Rule' sign-on policy rule can be imported and managed as a custom rule.\nThe only difference is that these fields are immutable and can not be managed: 'network_connection', 'network_excludes', \n'network_includes', 'platform_include', 'custom_expression', 'device_is_registered', 'device_is_managed', 'users_excluded',\n'users_included', 'groups_excluded', 'groups_included', 'user_types_excluded' and 'user_types_included'.\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example \u0026#60;policy_id\u0026#62;/\u0026#60;rule_id\u0026#62\n```\n\n", + "description": "Manages a sign-on policy rules for the application.\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to create and configure a sign-on policy rule for the application.\nA default or 'Catch-all Rule' sign-on policy rule can be imported and managed as a custom rule.\nThe only difference is that these fields are immutable and can not be managed: 'network_connection', 'network_excludes', \n'network_includes', 'platform_include', 'custom_expression', 'device_is_registered', 'device_is_managed', 'users_excluded',\n'users_included', 'groups_excluded', 'groups_included', 'user_types_excluded' and 'user_types_included'.\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "access": { "type": "string", @@ -9972,7 +10091,7 @@ } }, "okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty": { - "description": "Manages an Application User Base Schema property. This resource allows you to configure a base app user schema property.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppUserBaseSchemaProperty(\"example\", {\n appId: \"\u003capp id\u003e\",\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n master: \"OKTA\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppUserBaseSchemaProperty(\"example\",\n app_id=\"\u003capp id\u003e\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n master=\"OKTA\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppUserBaseSchemaProperty(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Master = \"OKTA\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppUserBaseSchemaProperty(ctx, \"example\", \u0026okta.AppUserBaseSchemaPropertyArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppUserBaseSchemaProperty;\nimport com.pulumi.okta.AppUserBaseSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppUserBaseSchemaProperty(\"example\", AppUserBaseSchemaPropertyArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .master(\"OKTA\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppUserBaseSchemaProperty\n properties:\n appId: \u003capp id\u003e\n index: customPropertyName\n title: customPropertyName\n type: string\n master: OKTA\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example \u0026#60;app id\u0026#62;/\u0026#60;property name\u0026#62;\n```\n\n", + "description": "Manages an Application User Base Schema property. This resource allows you to configure a base app user schema property.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppUserBaseSchemaProperty(\"example\", {\n appId: \"\u003capp id\u003e\",\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n master: \"OKTA\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppUserBaseSchemaProperty(\"example\",\n app_id=\"\u003capp id\u003e\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n master=\"OKTA\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppUserBaseSchemaProperty(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Master = \"OKTA\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppUserBaseSchemaProperty(ctx, \"example\", \u0026okta.AppUserBaseSchemaPropertyArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppUserBaseSchemaProperty;\nimport com.pulumi.okta.AppUserBaseSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppUserBaseSchemaProperty(\"example\", AppUserBaseSchemaPropertyArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .master(\"OKTA\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppUserBaseSchemaProperty\n properties:\n appId: \u003capp id\u003e\n index: customPropertyName\n title: customPropertyName\n type: string\n master: OKTA\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example \u003capp_id\u003e/\u003cproperty_name\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -10109,7 +10228,7 @@ } }, "okta:index/appUserSchemaProperty:AppUserSchemaProperty": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppUserSchemaProperty(\"example\", {\n appId: \"\u003capp id\u003e\",\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppUserSchemaProperty(\"example\",\n app_id=\"\u003capp id\u003e\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppUserSchemaProperty(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppUserSchemaProperty(ctx, \"example\", \u0026okta.AppUserSchemaPropertyArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppUserSchemaProperty;\nimport com.pulumi.okta.AppUserSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppUserSchemaProperty(\"example\", AppUserSchemaPropertyArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppUserSchemaProperty\n properties:\n appId: \u003capp id\u003e\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example \u0026#60;app id\u0026#62;/\u0026#60;property name\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AppUserSchemaProperty(\"example\", {\n appId: \"\u003capp id\u003e\",\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AppUserSchemaProperty(\"example\",\n app_id=\"\u003capp id\u003e\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AppUserSchemaProperty(\"example\", new()\n {\n AppId = \"\u003capp id\u003e\",\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAppUserSchemaProperty(ctx, \"example\", \u0026okta.AppUserSchemaPropertyArgs{\n\t\t\tAppId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AppUserSchemaProperty;\nimport com.pulumi.okta.AppUserSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AppUserSchemaProperty(\"example\", AppUserSchemaPropertyArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AppUserSchemaProperty\n properties:\n appId: \u003capp id\u003e\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example \u003capp_id\u003e/\u003cproperty_name\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -10436,7 +10555,7 @@ } }, "okta:index/authServerClaimDefault:AuthServerClaimDefault": { - "description": "Configures Default Authorization Server Claim.\nThis resource allows you to configure Default Authorization Server Claims.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AuthServerClaimDefault(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n name: \"sub\",\n value: \"(appuser != null) ? appuser.userName : app.clientId\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AuthServerClaimDefault(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n name=\"sub\",\n value=\"(appuser != null) ? appuser.userName : app.clientId\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AuthServerClaimDefault(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"sub\",\n Value = \"(appuser != null) ? appuser.userName : app.clientId\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAuthServerClaimDefault(ctx, \"example\", \u0026okta.AuthServerClaimDefaultArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tName: pulumi.String(\"sub\"),\n\t\t\tValue: pulumi.String(\"(appuser != null) ? appuser.userName : app.clientId\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AuthServerClaimDefault;\nimport com.pulumi.okta.AuthServerClaimDefaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AuthServerClaimDefault(\"example\", AuthServerClaimDefaultArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"sub\")\n .value(\"(appuser != null) ? appuser.userName : app.clientId\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AuthServerClaimDefault\n properties:\n authServerId: \u003cauth server id\u003e\n name: sub\n value: '(appuser != null) ? appuser.userName : app.clientId'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example \u0026#60;auth server id\u0026#62;/\u0026#60;claim name\u0026#62;\n```\n\n", + "description": "Configures Default Authorization Server Claim.\nThis resource allows you to configure Default Authorization Server Claims.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AuthServerClaimDefault(\"example\", {\n authServerId: \"\u003cauth server id\u003e\",\n name: \"sub\",\n value: \"(appuser != null) ? appuser.userName : app.clientId\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AuthServerClaimDefault(\"example\",\n auth_server_id=\"\u003cauth server id\u003e\",\n name=\"sub\",\n value=\"(appuser != null) ? appuser.userName : app.clientId\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AuthServerClaimDefault(\"example\", new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"sub\",\n Value = \"(appuser != null) ? appuser.userName : app.clientId\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAuthServerClaimDefault(ctx, \"example\", \u0026okta.AuthServerClaimDefaultArgs{\n\t\t\tAuthServerId: pulumi.String(\"\u003cauth server id\u003e\"),\n\t\t\tName: pulumi.String(\"sub\"),\n\t\t\tValue: pulumi.String(\"(appuser != null) ? appuser.userName : app.clientId\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AuthServerClaimDefault;\nimport com.pulumi.okta.AuthServerClaimDefaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AuthServerClaimDefault(\"example\", AuthServerClaimDefaultArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"sub\")\n .value(\"(appuser != null) ? appuser.userName : app.clientId\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AuthServerClaimDefault\n properties:\n authServerId: \u003cauth server id\u003e\n name: sub\n value: '(appuser != null) ? appuser.userName : app.clientId'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example \u003cauth_server_id\u003e/\u003cclaim_name\u003e\n```\n\n", "properties": { "alwaysIncludeInToken": { "type": "boolean", @@ -10551,7 +10670,7 @@ } }, "okta:index/authServerDefault:AuthServerDefault": { - "description": "Configures Default Authorization Server. This resource allows you to configure Default Authorization Server.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AuthServerDefault(\"example\", {\n audiences: [\"api://default\"],\n description: \"Default Authorization Server for your Applications\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AuthServerDefault(\"example\",\n audiences=[\"api://default\"],\n description=\"Default Authorization Server for your Applications\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AuthServerDefault(\"example\", new()\n {\n Audiences = new[]\n {\n \"api://default\",\n },\n Description = \"Default Authorization Server for your Applications\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAuthServerDefault(ctx, \"example\", \u0026okta.AuthServerDefaultArgs{\n\t\t\tAudiences: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"api://default\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Default Authorization Server for your Applications\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AuthServerDefault;\nimport com.pulumi.okta.AuthServerDefaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AuthServerDefault(\"example\", AuthServerDefaultArgs.builder()\n .audiences(\"api://default\")\n .description(\"Default Authorization Server for your Applications\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AuthServerDefault\n properties:\n audiences:\n - api://default\n description: Default Authorization Server for your Applications\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authServerDefault:AuthServerDefault example \u0026#60;default\u0026#62;\n```\n\n", + "description": "Configures Default Authorization Server. This resource allows you to configure Default Authorization Server.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.AuthServerDefault(\"example\", {\n audiences: [\"api://default\"],\n description: \"Default Authorization Server for your Applications\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.AuthServerDefault(\"example\",\n audiences=[\"api://default\"],\n description=\"Default Authorization Server for your Applications\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.AuthServerDefault(\"example\", new()\n {\n Audiences = new[]\n {\n \"api://default\",\n },\n Description = \"Default Authorization Server for your Applications\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewAuthServerDefault(ctx, \"example\", \u0026okta.AuthServerDefaultArgs{\n\t\t\tAudiences: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"api://default\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Default Authorization Server for your Applications\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.AuthServerDefault;\nimport com.pulumi.okta.AuthServerDefaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new AuthServerDefault(\"example\", AuthServerDefaultArgs.builder()\n .audiences(\"api://default\")\n .description(\"Default Authorization Server for your Applications\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AuthServerDefault\n properties:\n audiences:\n - api://default\n description: Default Authorization Server for your Applications\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authServerDefault:AuthServerDefault example \u003cdefault\u003e\n```\n\n", "properties": { "audiences": { "type": "array", @@ -10684,7 +10803,7 @@ } }, "okta:index/authenticator:Authenticator": { - "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nThis resource allows you to configure different authenticators.\n\n\u003e **Create:** The Okta API has an odd notion of create for authenticators. If\nthe authenticator doesn't exist then a one time 'POST /api/v1/authenticators' to\ncreate the authenticator (hard create) will be performed. Thereafter, that\nauthenticator is never deleted, it is only deactivated (soft delete). Therefore,\nif the authenticator already exists create is just a soft import of an existing\nauthenticator. This does not apply to custom_otp authenticator. There can be \nmultiple custom_otp authenticator. To create new custom_otp authenticator, a new \nname and key = custom_otp is required. If an old name is used, it will simply \nreactivate the old custom_otp authenticator\n\n\u003e **Update:** custom_otp authenticator cannot be updated\n\n\u003e **Delete:** Authenticators can not be truly deleted therefore delete is soft.\nDelete will attempt to deativate the authenticator. An authenticator can only be\ndeactivated if it's not in use by any other policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.Authenticator(\"test\", {\n name: \"Security Question\",\n key: \"security_question\",\n settings: JSON.stringify({\n allowedFor: \"recovery\",\n }),\n});\nconst otp = new okta.Authenticator(\"otp\", {\n name: \"Custom OTP\",\n key: \"custom_otp\",\n status: \"ACTIVE\",\n settings: JSON.stringify({\n protocol: \"TOTP\",\n acceptableAdjacentIntervals: 3,\n timeIntervalInSeconds: 30,\n encoding: \"base32\",\n algorithm: \"HMacSHA256\",\n passCodeLength: 6,\n }),\n legacyIgnoreName: false,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.Authenticator(\"test\",\n name=\"Security Question\",\n key=\"security_question\",\n settings=json.dumps({\n \"allowedFor\": \"recovery\",\n }))\notp = okta.Authenticator(\"otp\",\n name=\"Custom OTP\",\n key=\"custom_otp\",\n status=\"ACTIVE\",\n settings=json.dumps({\n \"protocol\": \"TOTP\",\n \"acceptableAdjacentIntervals\": 3,\n \"timeIntervalInSeconds\": 30,\n \"encoding\": \"base32\",\n \"algorithm\": \"HMacSHA256\",\n \"passCodeLength\": 6,\n }),\n legacy_ignore_name=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Authenticator(\"test\", new()\n {\n Name = \"Security Question\",\n Key = \"security_question\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"allowedFor\"] = \"recovery\",\n }),\n });\n\n var otp = new Okta.Authenticator(\"otp\", new()\n {\n Name = \"Custom OTP\",\n Key = \"custom_otp\",\n Status = \"ACTIVE\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"protocol\"] = \"TOTP\",\n [\"acceptableAdjacentIntervals\"] = 3,\n [\"timeIntervalInSeconds\"] = 30,\n [\"encoding\"] = \"base32\",\n [\"algorithm\"] = \"HMacSHA256\",\n [\"passCodeLength\"] = 6,\n }),\n LegacyIgnoreName = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"allowedFor\": \"recovery\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAuthenticator(ctx, \"test\", \u0026okta.AuthenticatorArgs{\n\t\t\tName: pulumi.String(\"Security Question\"),\n\t\t\tKey: pulumi.String(\"security_question\"),\n\t\t\tSettings: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON1, err := json.Marshal(map[string]interface{}{\n\t\t\t\"protocol\": \"TOTP\",\n\t\t\t\"acceptableAdjacentIntervals\": 3,\n\t\t\t\"timeIntervalInSeconds\": 30,\n\t\t\t\"encoding\": \"base32\",\n\t\t\t\"algorithm\": \"HMacSHA256\",\n\t\t\t\"passCodeLength\": 6,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson1 := string(tmpJSON1)\n\t\t_, err = okta.NewAuthenticator(ctx, \"otp\", \u0026okta.AuthenticatorArgs{\n\t\t\tName: pulumi.String(\"Custom OTP\"),\n\t\t\tKey: pulumi.String(\"custom_otp\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tSettings: pulumi.String(json1),\n\t\t\tLegacyIgnoreName: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Authenticator;\nimport com.pulumi.okta.AuthenticatorArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Authenticator(\"test\", AuthenticatorArgs.builder()\n .name(\"Security Question\")\n .key(\"security_question\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"allowedFor\", \"recovery\")\n )))\n .build());\n\n var otp = new Authenticator(\"otp\", AuthenticatorArgs.builder()\n .name(\"Custom OTP\")\n .key(\"custom_otp\")\n .status(\"ACTIVE\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"protocol\", \"TOTP\"),\n jsonProperty(\"acceptableAdjacentIntervals\", 3),\n jsonProperty(\"timeIntervalInSeconds\", 30),\n jsonProperty(\"encoding\", \"base32\"),\n jsonProperty(\"algorithm\", \"HMacSHA256\"),\n jsonProperty(\"passCodeLength\", 6)\n )))\n .legacyIgnoreName(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:Authenticator\n properties:\n name: Security Question\n key: security_question\n settings:\n fn::toJSON:\n allowedFor: recovery\n otp:\n type: okta:Authenticator\n properties:\n name: Custom OTP\n key: custom_otp\n status: ACTIVE\n settings:\n fn::toJSON:\n protocol: TOTP\n acceptableAdjacentIntervals: 3\n timeIntervalInSeconds: 30\n encoding: base32\n algorithm: HMacSHA256\n passCodeLength: 6\n legacyIgnoreName: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authenticator:Authenticator example \u0026#60;authenticator_id\u0026#62;\n```\n\n", + "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nThis resource allows you to configure different authenticators.\n\n\u003e **Create:** The Okta API has an odd notion of create for authenticators. If\nthe authenticator doesn't exist then a one time 'POST /api/v1/authenticators' to\ncreate the authenticator (hard create) will be performed. Thereafter, that\nauthenticator is never deleted, it is only deactivated (soft delete). Therefore,\nif the authenticator already exists create is just a soft import of an existing\nauthenticator. This does not apply to custom_otp authenticator. There can be \nmultiple custom_otp authenticator. To create new custom_otp authenticator, a new \nname and key = custom_otp is required. If an old name is used, it will simply \nreactivate the old custom_otp authenticator\n\n\u003e **Update:** custom_otp authenticator cannot be updated\n\n\u003e **Delete:** Authenticators can not be truly deleted therefore delete is soft.\nDelete will attempt to deativate the authenticator. An authenticator can only be\ndeactivated if it's not in use by any other policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.Authenticator(\"test\", {\n name: \"Security Question\",\n key: \"security_question\",\n settings: JSON.stringify({\n allowedFor: \"recovery\",\n }),\n});\nconst otp = new okta.Authenticator(\"otp\", {\n name: \"Custom OTP\",\n key: \"custom_otp\",\n status: \"ACTIVE\",\n settings: JSON.stringify({\n protocol: \"TOTP\",\n acceptableAdjacentIntervals: 3,\n timeIntervalInSeconds: 30,\n encoding: \"base32\",\n algorithm: \"HMacSHA256\",\n passCodeLength: 6,\n }),\n legacyIgnoreName: false,\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.Authenticator(\"test\",\n name=\"Security Question\",\n key=\"security_question\",\n settings=json.dumps({\n \"allowedFor\": \"recovery\",\n }))\notp = okta.Authenticator(\"otp\",\n name=\"Custom OTP\",\n key=\"custom_otp\",\n status=\"ACTIVE\",\n settings=json.dumps({\n \"protocol\": \"TOTP\",\n \"acceptableAdjacentIntervals\": 3,\n \"timeIntervalInSeconds\": 30,\n \"encoding\": \"base32\",\n \"algorithm\": \"HMacSHA256\",\n \"passCodeLength\": 6,\n }),\n legacy_ignore_name=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Authenticator(\"test\", new()\n {\n Name = \"Security Question\",\n Key = \"security_question\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"allowedFor\"] = \"recovery\",\n }),\n });\n\n var otp = new Okta.Authenticator(\"otp\", new()\n {\n Name = \"Custom OTP\",\n Key = \"custom_otp\",\n Status = \"ACTIVE\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"protocol\"] = \"TOTP\",\n [\"acceptableAdjacentIntervals\"] = 3,\n [\"timeIntervalInSeconds\"] = 30,\n [\"encoding\"] = \"base32\",\n [\"algorithm\"] = \"HMacSHA256\",\n [\"passCodeLength\"] = 6,\n }),\n LegacyIgnoreName = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"allowedFor\": \"recovery\",\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAuthenticator(ctx, \"test\", \u0026okta.AuthenticatorArgs{\n\t\t\tName: pulumi.String(\"Security Question\"),\n\t\t\tKey: pulumi.String(\"security_question\"),\n\t\t\tSettings: pulumi.String(json0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON1, err := json.Marshal(map[string]interface{}{\n\t\t\t\"protocol\": \"TOTP\",\n\t\t\t\"acceptableAdjacentIntervals\": 3,\n\t\t\t\"timeIntervalInSeconds\": 30,\n\t\t\t\"encoding\": \"base32\",\n\t\t\t\"algorithm\": \"HMacSHA256\",\n\t\t\t\"passCodeLength\": 6,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson1 := string(tmpJSON1)\n\t\t_, err = okta.NewAuthenticator(ctx, \"otp\", \u0026okta.AuthenticatorArgs{\n\t\t\tName: pulumi.String(\"Custom OTP\"),\n\t\t\tKey: pulumi.String(\"custom_otp\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tSettings: pulumi.String(json1),\n\t\t\tLegacyIgnoreName: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Authenticator;\nimport com.pulumi.okta.AuthenticatorArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Authenticator(\"test\", AuthenticatorArgs.builder()\n .name(\"Security Question\")\n .key(\"security_question\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"allowedFor\", \"recovery\")\n )))\n .build());\n\n var otp = new Authenticator(\"otp\", AuthenticatorArgs.builder()\n .name(\"Custom OTP\")\n .key(\"custom_otp\")\n .status(\"ACTIVE\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"protocol\", \"TOTP\"),\n jsonProperty(\"acceptableAdjacentIntervals\", 3),\n jsonProperty(\"timeIntervalInSeconds\", 30),\n jsonProperty(\"encoding\", \"base32\"),\n jsonProperty(\"algorithm\", \"HMacSHA256\"),\n jsonProperty(\"passCodeLength\", 6)\n )))\n .legacyIgnoreName(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:Authenticator\n properties:\n name: Security Question\n key: security_question\n settings:\n fn::toJSON:\n allowedFor: recovery\n otp:\n type: okta:Authenticator\n properties:\n name: Custom OTP\n key: custom_otp\n status: ACTIVE\n settings:\n fn::toJSON:\n protocol: TOTP\n acceptableAdjacentIntervals: 3\n timeIntervalInSeconds: 30\n encoding: base32\n algorithm: HMacSHA256\n passCodeLength: 6\n legacyIgnoreName: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/authenticator:Authenticator example \u003cauthenticator_id\u003e\n```\n\n", "properties": { "key": { "type": "string", @@ -10892,7 +11011,7 @@ } }, "okta:index/behaviour:Behaviour": { - "description": "This resource allows you to create and configure a behavior.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst myLocation = new okta.Behaviour(\"my_location\", {\n name: \"My Location\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"LAT_LONG\",\n radiusFromLocation: 20,\n});\nconst myCity = new okta.Behaviour(\"my_city\", {\n name: \"My City\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"CITY\",\n});\nconst myDevice = new okta.Behaviour(\"my_device\", {\n name: \"My Device\",\n type: \"ANOMALOUS_DEVICE\",\n numberOfAuthentications: 50,\n});\nconst myIp = new okta.Behaviour(\"my_ip\", {\n name: \"My IP\",\n type: \"ANOMALOUS_IP\",\n numberOfAuthentications: 50,\n});\nconst myVelocity = new okta.Behaviour(\"my_velocity\", {\n name: \"My Velocity\",\n type: \"VELOCITY\",\n velocity: 25,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nmy_location = okta.Behaviour(\"my_location\",\n name=\"My Location\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"LAT_LONG\",\n radius_from_location=20)\nmy_city = okta.Behaviour(\"my_city\",\n name=\"My City\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"CITY\")\nmy_device = okta.Behaviour(\"my_device\",\n name=\"My Device\",\n type=\"ANOMALOUS_DEVICE\",\n number_of_authentications=50)\nmy_ip = okta.Behaviour(\"my_ip\",\n name=\"My IP\",\n type=\"ANOMALOUS_IP\",\n number_of_authentications=50)\nmy_velocity = okta.Behaviour(\"my_velocity\",\n name=\"My Velocity\",\n type=\"VELOCITY\",\n velocity=25)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myLocation = new Okta.Behaviour(\"my_location\", new()\n {\n Name = \"My Location\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"LAT_LONG\",\n RadiusFromLocation = 20,\n });\n\n var myCity = new Okta.Behaviour(\"my_city\", new()\n {\n Name = \"My City\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"CITY\",\n });\n\n var myDevice = new Okta.Behaviour(\"my_device\", new()\n {\n Name = \"My Device\",\n Type = \"ANOMALOUS_DEVICE\",\n NumberOfAuthentications = 50,\n });\n\n var myIp = new Okta.Behaviour(\"my_ip\", new()\n {\n Name = \"My IP\",\n Type = \"ANOMALOUS_IP\",\n NumberOfAuthentications = 50,\n });\n\n var myVelocity = new Okta.Behaviour(\"my_velocity\", new()\n {\n Name = \"My Velocity\",\n Type = \"VELOCITY\",\n Velocity = 25,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewBehaviour(ctx, \"my_location\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Location\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"LAT_LONG\"),\n\t\t\tRadiusFromLocation: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_city\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My City\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"CITY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_device\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Device\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_DEVICE\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_ip\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My IP\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_IP\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_velocity\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Velocity\"),\n\t\t\tType: pulumi.String(\"VELOCITY\"),\n\t\t\tVelocity: pulumi.Int(25),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Behaviour;\nimport com.pulumi.okta.BehaviourArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myLocation = new Behaviour(\"myLocation\", BehaviourArgs.builder()\n .name(\"My Location\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"LAT_LONG\")\n .radiusFromLocation(20)\n .build());\n\n var myCity = new Behaviour(\"myCity\", BehaviourArgs.builder()\n .name(\"My City\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"CITY\")\n .build());\n\n var myDevice = new Behaviour(\"myDevice\", BehaviourArgs.builder()\n .name(\"My Device\")\n .type(\"ANOMALOUS_DEVICE\")\n .numberOfAuthentications(50)\n .build());\n\n var myIp = new Behaviour(\"myIp\", BehaviourArgs.builder()\n .name(\"My IP\")\n .type(\"ANOMALOUS_IP\")\n .numberOfAuthentications(50)\n .build());\n\n var myVelocity = new Behaviour(\"myVelocity\", BehaviourArgs.builder()\n .name(\"My Velocity\")\n .type(\"VELOCITY\")\n .velocity(25)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLocation:\n type: okta:Behaviour\n name: my_location\n properties:\n name: My Location\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: LAT_LONG\n radiusFromLocation: 20\n myCity:\n type: okta:Behaviour\n name: my_city\n properties:\n name: My City\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: CITY\n myDevice:\n type: okta:Behaviour\n name: my_device\n properties:\n name: My Device\n type: ANOMALOUS_DEVICE\n numberOfAuthentications: 50\n myIp:\n type: okta:Behaviour\n name: my_ip\n properties:\n name: My IP\n type: ANOMALOUS_IP\n numberOfAuthentications: 50\n myVelocity:\n type: okta:Behaviour\n name: my_velocity\n properties:\n name: My Velocity\n type: VELOCITY\n velocity: 25\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/behaviour:Behaviour example \u0026#60;behavior id\u0026#62;\n```\n\n", + "description": "This resource allows you to create and configure a behavior.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst myLocation = new okta.Behaviour(\"my_location\", {\n name: \"My Location\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"LAT_LONG\",\n radiusFromLocation: 20,\n});\nconst myCity = new okta.Behaviour(\"my_city\", {\n name: \"My City\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"CITY\",\n});\nconst myDevice = new okta.Behaviour(\"my_device\", {\n name: \"My Device\",\n type: \"ANOMALOUS_DEVICE\",\n numberOfAuthentications: 50,\n});\nconst myIp = new okta.Behaviour(\"my_ip\", {\n name: \"My IP\",\n type: \"ANOMALOUS_IP\",\n numberOfAuthentications: 50,\n});\nconst myVelocity = new okta.Behaviour(\"my_velocity\", {\n name: \"My Velocity\",\n type: \"VELOCITY\",\n velocity: 25,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nmy_location = okta.Behaviour(\"my_location\",\n name=\"My Location\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"LAT_LONG\",\n radius_from_location=20)\nmy_city = okta.Behaviour(\"my_city\",\n name=\"My City\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"CITY\")\nmy_device = okta.Behaviour(\"my_device\",\n name=\"My Device\",\n type=\"ANOMALOUS_DEVICE\",\n number_of_authentications=50)\nmy_ip = okta.Behaviour(\"my_ip\",\n name=\"My IP\",\n type=\"ANOMALOUS_IP\",\n number_of_authentications=50)\nmy_velocity = okta.Behaviour(\"my_velocity\",\n name=\"My Velocity\",\n type=\"VELOCITY\",\n velocity=25)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myLocation = new Okta.Behaviour(\"my_location\", new()\n {\n Name = \"My Location\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"LAT_LONG\",\n RadiusFromLocation = 20,\n });\n\n var myCity = new Okta.Behaviour(\"my_city\", new()\n {\n Name = \"My City\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"CITY\",\n });\n\n var myDevice = new Okta.Behaviour(\"my_device\", new()\n {\n Name = \"My Device\",\n Type = \"ANOMALOUS_DEVICE\",\n NumberOfAuthentications = 50,\n });\n\n var myIp = new Okta.Behaviour(\"my_ip\", new()\n {\n Name = \"My IP\",\n Type = \"ANOMALOUS_IP\",\n NumberOfAuthentications = 50,\n });\n\n var myVelocity = new Okta.Behaviour(\"my_velocity\", new()\n {\n Name = \"My Velocity\",\n Type = \"VELOCITY\",\n Velocity = 25,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewBehaviour(ctx, \"my_location\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Location\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"LAT_LONG\"),\n\t\t\tRadiusFromLocation: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_city\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My City\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"CITY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_device\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Device\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_DEVICE\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_ip\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My IP\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_IP\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_velocity\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Velocity\"),\n\t\t\tType: pulumi.String(\"VELOCITY\"),\n\t\t\tVelocity: pulumi.Int(25),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Behaviour;\nimport com.pulumi.okta.BehaviourArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myLocation = new Behaviour(\"myLocation\", BehaviourArgs.builder()\n .name(\"My Location\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"LAT_LONG\")\n .radiusFromLocation(20)\n .build());\n\n var myCity = new Behaviour(\"myCity\", BehaviourArgs.builder()\n .name(\"My City\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"CITY\")\n .build());\n\n var myDevice = new Behaviour(\"myDevice\", BehaviourArgs.builder()\n .name(\"My Device\")\n .type(\"ANOMALOUS_DEVICE\")\n .numberOfAuthentications(50)\n .build());\n\n var myIp = new Behaviour(\"myIp\", BehaviourArgs.builder()\n .name(\"My IP\")\n .type(\"ANOMALOUS_IP\")\n .numberOfAuthentications(50)\n .build());\n\n var myVelocity = new Behaviour(\"myVelocity\", BehaviourArgs.builder()\n .name(\"My Velocity\")\n .type(\"VELOCITY\")\n .velocity(25)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLocation:\n type: okta:Behaviour\n name: my_location\n properties:\n name: My Location\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: LAT_LONG\n radiusFromLocation: 20\n myCity:\n type: okta:Behaviour\n name: my_city\n properties:\n name: My City\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: CITY\n myDevice:\n type: okta:Behaviour\n name: my_device\n properties:\n name: My Device\n type: ANOMALOUS_DEVICE\n numberOfAuthentications: 50\n myIp:\n type: okta:Behaviour\n name: my_ip\n properties:\n name: My IP\n type: ANOMALOUS_IP\n numberOfAuthentications: 50\n myVelocity:\n type: okta:Behaviour\n name: my_velocity\n properties:\n name: My Velocity\n type: VELOCITY\n velocity: 25\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/behaviour:Behaviour example \u003cbehavior_id\u003e\n```\n\n", "properties": { "locationGranularityType": { "type": "string", @@ -10998,7 +11117,7 @@ } }, "okta:index/brand:Brand": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Brand(\"example\", {name: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Brand(\"example\", name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Brand(\"example\", new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewBrand(ctx, \"example\", \u0026okta.BrandArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Brand;\nimport com.pulumi.okta.BrandArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Brand(\"example\", BrandArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Brand\n properties:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/brand:Brand example \u0026#60;brand id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Brand(\"example\", {name: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Brand(\"example\", name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Brand(\"example\", new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewBrand(ctx, \"example\", \u0026okta.BrandArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Brand;\nimport com.pulumi.okta.BrandArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Brand(\"example\", BrandArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Brand\n properties:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/brand:Brand example \u003cbrand_id\u003e\n```\n\n", "properties": { "agreeToCustomPrivacyPolicy": { "type": "boolean", @@ -11156,7 +11275,7 @@ } }, "okta:index/captcha:Captcha": { - "description": "Creates different types of captcha.\n\t\t\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\t\tThis resource allows you to create and configure a CAPTCHA.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Captcha(\"example\", {\n name: \"My CAPTCHA\",\n type: \"HCAPTCHA\",\n siteKey: \"some_key\",\n secretKey: \"some_secret_key\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Captcha(\"example\",\n name=\"My CAPTCHA\",\n type=\"HCAPTCHA\",\n site_key=\"some_key\",\n secret_key=\"some_secret_key\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Captcha(\"example\", new()\n {\n Name = \"My CAPTCHA\",\n Type = \"HCAPTCHA\",\n SiteKey = \"some_key\",\n SecretKey = \"some_secret_key\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewCaptcha(ctx, \"example\", \u0026okta.CaptchaArgs{\n\t\t\tName: pulumi.String(\"My CAPTCHA\"),\n\t\t\tType: pulumi.String(\"HCAPTCHA\"),\n\t\t\tSiteKey: pulumi.String(\"some_key\"),\n\t\t\tSecretKey: pulumi.String(\"some_secret_key\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Captcha;\nimport com.pulumi.okta.CaptchaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Captcha(\"example\", CaptchaArgs.builder()\n .name(\"My CAPTCHA\")\n .type(\"HCAPTCHA\")\n .siteKey(\"some_key\")\n .secretKey(\"some_secret_key\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Captcha\n properties:\n name: My CAPTCHA\n type: HCAPTCHA\n siteKey: some_key\n secretKey: some_secret_key\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/captcha:Captcha example \u0026#60;captcha id\u0026#62;\n```\n\n", + "description": "Creates different types of captcha.\n\t\t\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\t\tThis resource allows you to create and configure a CAPTCHA.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Captcha(\"example\", {\n name: \"My CAPTCHA\",\n type: \"HCAPTCHA\",\n siteKey: \"some_key\",\n secretKey: \"some_secret_key\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Captcha(\"example\",\n name=\"My CAPTCHA\",\n type=\"HCAPTCHA\",\n site_key=\"some_key\",\n secret_key=\"some_secret_key\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Captcha(\"example\", new()\n {\n Name = \"My CAPTCHA\",\n Type = \"HCAPTCHA\",\n SiteKey = \"some_key\",\n SecretKey = \"some_secret_key\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewCaptcha(ctx, \"example\", \u0026okta.CaptchaArgs{\n\t\t\tName: pulumi.String(\"My CAPTCHA\"),\n\t\t\tType: pulumi.String(\"HCAPTCHA\"),\n\t\t\tSiteKey: pulumi.String(\"some_key\"),\n\t\t\tSecretKey: pulumi.String(\"some_secret_key\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Captcha;\nimport com.pulumi.okta.CaptchaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Captcha(\"example\", CaptchaArgs.builder()\n .name(\"My CAPTCHA\")\n .type(\"HCAPTCHA\")\n .siteKey(\"some_key\")\n .secretKey(\"some_secret_key\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Captcha\n properties:\n name: My CAPTCHA\n type: HCAPTCHA\n siteKey: some_key\n secretKey: some_secret_key\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/captcha:Captcha example \u003ccaptcha_id\u003e\n```\n\n", "properties": { "name": { "type": "string", @@ -11279,7 +11398,7 @@ } }, "okta:index/customizedSigninPage:CustomizedSigninPage": { - "description": "Manage the customized signin page of a brand\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Brand;\nimport com.pulumi.okta.BrandArgs;\nimport com.pulumi.okta.CustomizedSigninPage;\nimport com.pulumi.okta.CustomizedSigninPageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Brand(\"test\", BrandArgs.builder()\n .name(\"testBrand\")\n .locale(\"en\")\n .build());\n\n var testCustomizedSigninPage = new CustomizedSigninPage(\"testCustomizedSigninPage\", CustomizedSigninPageArgs.builder()\n .brandId(oktaBrand.test().id())\n .pageContent(\"\"\"\n\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"\u003e\n\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n \u003cmeta name=\"robots\" content=\"noindex,nofollow\" /\u003e\n \u003c!-- Styles generated from theme --\u003e\n \u003clink href=\"{{themedStylesUrl}}\" rel=\"stylesheet\" type=\"text/css\"\u003e\n \u003c!-- Favicon from theme --\u003e\n \u003clink rel=\"shortcut icon\" href=\"{{faviconUrl}}\" type=\"image/x-icon\"/\u003e\n\n \u003ctitle\u003e{{pageTitle}}\u003c/title\u003e\n {{{SignInWidgetResources}}}\n\n \u003cstyle nonce=\"{{nonceValue}}\"\u003e\n #login-bg-image-id {\n background-image: {{bgImageUrl}}\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv id=\"login-bg-image-id\" class=\"login-bg-image tb--background\"\u003e\u003c/div\u003e\n \u003cdiv id=\"okta-login-container\"\u003e\u003c/div\u003e\n\n \u003c!--\n \"OktaUtil\" defines a global OktaUtil object\n that contains methods used to complete the Okta login flow.\n --\u003e\n {{{OktaUtil}}}\n\n \u003cscript type=\"text/javascript\" nonce=\"{{nonceValue}}\"\u003e\n // \"config\" object contains default widget configuration\n // with any custom overrides defined in your admin settings.\n var config = OktaUtil.getSignInWidgetConfig();\n\n // Render the Okta Sign-In Widget\n var oktaSignIn = new OktaSignIn(config);\n oktaSignIn.renderEl({ el: '#okta-login-container' },\n OktaUtil.completeLogin,\n function(error) {\n // Logs errors that occur when configuring the widget.\n // Remove or replace this with your own custom error handler.\n console.log(error.message, error);\n }\n );\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n \"\"\")\n .widgetVersion(\"^6\")\n .widgetCustomizations(CustomizedSigninPageWidgetCustomizationsArgs.builder()\n .widgetGeneration(\"G3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:Brand\n properties:\n name: testBrand\n locale: en\n testCustomizedSigninPage:\n type: okta:CustomizedSigninPage\n name: test\n properties:\n brandId: ${oktaBrand.test.id}\n pageContent: |\n \u003c!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"\u003e\n \u003chtml\u003e\n \u003chead\u003e\n \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n \u003cmeta name=\"robots\" content=\"noindex,nofollow\" /\u003e\n \u003c!-- Styles generated from theme --\u003e\n \u003clink href=\"{{themedStylesUrl}}\" rel=\"stylesheet\" type=\"text/css\"\u003e\n \u003c!-- Favicon from theme --\u003e\n \u003clink rel=\"shortcut icon\" href=\"{{faviconUrl}}\" type=\"image/x-icon\"/\u003e\n\n \u003ctitle\u003e{{pageTitle}}\u003c/title\u003e\n {{{SignInWidgetResources}}}\n\n \u003cstyle nonce=\"{{nonceValue}}\"\u003e\n #login-bg-image-id {\n background-image: {{bgImageUrl}}\n }\n \u003c/style\u003e\n \u003c/head\u003e\n \u003cbody\u003e\n \u003cdiv id=\"login-bg-image-id\" class=\"login-bg-image tb--background\"\u003e\u003c/div\u003e\n \u003cdiv id=\"okta-login-container\"\u003e\u003c/div\u003e\n\n \u003c!--\n \"OktaUtil\" defines a global OktaUtil object\n that contains methods used to complete the Okta login flow.\n --\u003e\n {{{OktaUtil}}}\n\n \u003cscript type=\"text/javascript\" nonce=\"{{nonceValue}}\"\u003e\n // \"config\" object contains default widget configuration\n // with any custom overrides defined in your admin settings.\n var config = OktaUtil.getSignInWidgetConfig();\n\n // Render the Okta Sign-In Widget\n var oktaSignIn = new OktaSignIn(config);\n oktaSignIn.renderEl({ el: '#okta-login-container' },\n OktaUtil.completeLogin,\n function(error) {\n // Logs errors that occur when configuring the widget.\n // Remove or replace this with your own custom error handler.\n console.log(error.message, error);\n }\n );\n \u003c/script\u003e\n \u003c/body\u003e\n \u003c/html\u003e\n widgetVersion: ^6\n widgetCustomizations:\n - widgetGeneration: G3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example \u0026#60;customized_signin_page_id\u0026#62;\n```\n\n", + "description": "Manage the customized signin page of a brand\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Brand;\nimport com.pulumi.okta.BrandArgs;\nimport com.pulumi.okta.CustomizedSigninPage;\nimport com.pulumi.okta.CustomizedSigninPageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Brand(\"test\", BrandArgs.builder()\n .name(\"testBrand\")\n .locale(\"en\")\n .build());\n\n var testCustomizedSigninPage = new CustomizedSigninPage(\"testCustomizedSigninPage\", CustomizedSigninPageArgs.builder()\n .brandId(oktaBrand.test().id())\n .pageContent(\"\"\"\n\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"\u003e\n\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n \u003cmeta name=\"robots\" content=\"noindex,nofollow\" /\u003e\n \u003c!-- Styles generated from theme --\u003e\n \u003clink href=\"{{themedStylesUrl}}\" rel=\"stylesheet\" type=\"text/css\"\u003e\n \u003c!-- Favicon from theme --\u003e\n \u003clink rel=\"shortcut icon\" href=\"{{faviconUrl}}\" type=\"image/x-icon\"/\u003e\n\n \u003ctitle\u003e{{pageTitle}}\u003c/title\u003e\n {{{SignInWidgetResources}}}\n\n \u003cstyle nonce=\"{{nonceValue}}\"\u003e\n #login-bg-image-id {\n background-image: {{bgImageUrl}}\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003cdiv id=\"login-bg-image-id\" class=\"login-bg-image tb--background\"\u003e\u003c/div\u003e\n \u003cdiv id=\"okta-login-container\"\u003e\u003c/div\u003e\n\n \u003c!--\n \"OktaUtil\" defines a global OktaUtil object\n that contains methods used to complete the Okta login flow.\n --\u003e\n {{{OktaUtil}}}\n\n \u003cscript type=\"text/javascript\" nonce=\"{{nonceValue}}\"\u003e\n // \"config\" object contains default widget configuration\n // with any custom overrides defined in your admin settings.\n var config = OktaUtil.getSignInWidgetConfig();\n\n // Render the Okta Sign-In Widget\n var oktaSignIn = new OktaSignIn(config);\n oktaSignIn.renderEl({ el: '#okta-login-container' },\n OktaUtil.completeLogin,\n function(error) {\n // Logs errors that occur when configuring the widget.\n // Remove or replace this with your own custom error handler.\n console.log(error.message, error);\n }\n );\n \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n \"\"\")\n .widgetVersion(\"^6\")\n .widgetCustomizations(CustomizedSigninPageWidgetCustomizationsArgs.builder()\n .widgetGeneration(\"G3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:Brand\n properties:\n name: testBrand\n locale: en\n testCustomizedSigninPage:\n type: okta:CustomizedSigninPage\n name: test\n properties:\n brandId: ${oktaBrand.test.id}\n pageContent: |\n \u003c!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"\u003e\n \u003chtml\u003e\n \u003chead\u003e\n \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n \u003cmeta name=\"robots\" content=\"noindex,nofollow\" /\u003e\n \u003c!-- Styles generated from theme --\u003e\n \u003clink href=\"{{themedStylesUrl}}\" rel=\"stylesheet\" type=\"text/css\"\u003e\n \u003c!-- Favicon from theme --\u003e\n \u003clink rel=\"shortcut icon\" href=\"{{faviconUrl}}\" type=\"image/x-icon\"/\u003e\n\n \u003ctitle\u003e{{pageTitle}}\u003c/title\u003e\n {{{SignInWidgetResources}}}\n\n \u003cstyle nonce=\"{{nonceValue}}\"\u003e\n #login-bg-image-id {\n background-image: {{bgImageUrl}}\n }\n \u003c/style\u003e\n \u003c/head\u003e\n \u003cbody\u003e\n \u003cdiv id=\"login-bg-image-id\" class=\"login-bg-image tb--background\"\u003e\u003c/div\u003e\n \u003cdiv id=\"okta-login-container\"\u003e\u003c/div\u003e\n\n \u003c!--\n \"OktaUtil\" defines a global OktaUtil object\n that contains methods used to complete the Okta login flow.\n --\u003e\n {{{OktaUtil}}}\n\n \u003cscript type=\"text/javascript\" nonce=\"{{nonceValue}}\"\u003e\n // \"config\" object contains default widget configuration\n // with any custom overrides defined in your admin settings.\n var config = OktaUtil.getSignInWidgetConfig();\n\n // Render the Okta Sign-In Widget\n var oktaSignIn = new OktaSignIn(config);\n oktaSignIn.renderEl({ el: '#okta-login-container' },\n OktaUtil.completeLogin,\n function(error) {\n // Logs errors that occur when configuring the widget.\n // Remove or replace this with your own custom error handler.\n console.log(error.message, error);\n }\n );\n \u003c/script\u003e\n \u003c/body\u003e\n \u003c/html\u003e\n widgetVersion: ^6\n widgetCustomizations:\n - widgetGeneration: G3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example \u003cbrand_id\u003e\n```\n\n", "properties": { "brandId": { "type": "string", @@ -11356,7 +11475,7 @@ } }, "okta:index/domain:Domain": { - "description": "Manages custom domain for your organization.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Domain(\"example\", {name: \"www.example.com\"});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Domain(\"example\", name=\"www.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Domain(\"example\", new()\n {\n Name = \"www.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewDomain(ctx, \"example\", \u0026okta.DomainArgs{\n\t\t\tName: pulumi.String(\"www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Domain;\nimport com.pulumi.okta.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Domain(\"example\", DomainArgs.builder()\n .name(\"www.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Domain\n properties:\n name: www.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/domain:Domain example \u0026#60;domain_id\u0026#62;\n```\n\n", + "description": "Manages custom domain for your organization.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Domain(\"example\", {name: \"www.example.com\"});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Domain(\"example\", name=\"www.example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Domain(\"example\", new()\n {\n Name = \"www.example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewDomain(ctx, \"example\", \u0026okta.DomainArgs{\n\t\t\tName: pulumi.String(\"www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.Domain;\nimport com.pulumi.okta.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Domain(\"example\", DomainArgs.builder()\n .name(\"www.example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Domain\n properties:\n name: www.example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/domain:Domain example \u003cdomain_id\u003e\n```\n\n", "properties": { "brandId": { "type": "string", @@ -11383,6 +11502,7 @@ } }, "required": [ + "brandId", "dnsRecords", "name", "validationStatus" @@ -11556,7 +11676,7 @@ } }, "okta:index/emailCustomization:EmailCustomization": { - "description": "Create an email customization of an email template belonging to a brand in an Okta organization.\n\t\tUse this resource to create an [email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)\n\t\tof an email template belonging to a brand in an Okta organization.\n\t\t\u003e Okta's public API is strict regarding the behavior of the 'is_default'\n\t\tproperty in [an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#email-customization).\n\t\tMake use of 'depends_on' meta argument to ensure the provider navigates email customization\n\t\tlanguage versions seamlessly. Have all secondary customizations depend on the primary\n\t\tcustomization that is marked default. See Example Usage.\n\t\t\u003e Caveats for [creating an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).\n\t\tIf this is the first customization being created for the email template, and\n\t\t'is_default' is not set for the customization in its resource configuration, the\n\t\tAPI will respond with the created customization marked as default. The API will\n\t\t400 if the language parameter is not one of the supported languages or the body\n\t\tparameter does not contain a required variable reference. The API will error 409\n\t\tif 'is_default' is true and a default customization exists. The API will 404 for\n\t\tan invalid 'brand_id' or 'template_name'.\n\t\t\u003e Caveats for [updating an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).\n\t\tIf the 'is_default' parameter is true, the previous default email customization\n\t\thas its 'is_default' set to false (see previous note about mitigating this with\n\t\t'depends_on' meta argument). The API will 409 if there’s already another email\n\t\tcustomization for the specified language or the 'is_default' parameter is false\n\t\tand the email customization being updated is the default. The API will 400 if\n\t\tthe language parameter is not one of the supported locales or the body parameter\n\t\tdoes not contain a required variable reference. The API will 404 for an invalid\n\t\t'brand_id' or 'template_name'.\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailCustomization:EmailCustomization example \u0026#60;customization_id\u0026#62;/\u0026#60;brand_id\u0026#62;/\u0026#60;template_name\u0026#62;\n```\n\n", + "description": "Create an email customization of an email template belonging to a brand in an Okta organization.\n\t\tUse this resource to create an [email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)\n\t\tof an email template belonging to a brand in an Okta organization.\n\t\t\u003e Okta's public API is strict regarding the behavior of the 'is_default'\n\t\tproperty in [an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#email-customization).\n\t\tMake use of 'depends_on' meta argument to ensure the provider navigates email customization\n\t\tlanguage versions seamlessly. Have all secondary customizations depend on the primary\n\t\tcustomization that is marked default. See Example Usage.\n\t\t\u003e Caveats for [creating an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).\n\t\tIf this is the first customization being created for the email template, and\n\t\t'is_default' is not set for the customization in its resource configuration, the\n\t\tAPI will respond with the created customization marked as default. The API will\n\t\t400 if the language parameter is not one of the supported languages or the body\n\t\tparameter does not contain a required variable reference. The API will error 409\n\t\tif 'is_default' is true and a default customization exists. The API will 404 for\n\t\tan invalid 'brand_id' or 'template_name'.\n\t\t\u003e Caveats for [updating an email\n\t\tcustomization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).\n\t\tIf the 'is_default' parameter is true, the previous default email customization\n\t\thas its 'is_default' set to false (see previous note about mitigating this with\n\t\t'depends_on' meta argument). The API will 409 if there’s already another email\n\t\tcustomization for the specified language or the 'is_default' parameter is false\n\t\tand the email customization being updated is the default. The API will 400 if\n\t\tthe language parameter is not one of the supported locales or the body parameter\n\t\tdoes not contain a required variable reference. The API will 404 for an invalid\n\t\t'brand_id' or 'template_name'.\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailCustomization:EmailCustomization example \u003ccustomization_id\u003e/\u003cbrand_id\u003e/\u003ctemplate_name\u003e\n```\n\n", "properties": { "body": { "type": "string", @@ -11673,7 +11793,7 @@ } }, "okta:index/emailDomain:EmailDomain": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EmailDomain(\"example\", {\n brandId: \"abc123\",\n domain: \"example.com\",\n displayName: \"test\",\n userName: \"paul_atreides\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EmailDomain(\"example\",\n brand_id=\"abc123\",\n domain=\"example.com\",\n display_name=\"test\",\n user_name=\"paul_atreides\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EmailDomain(\"example\", new()\n {\n BrandId = \"abc123\",\n Domain = \"example.com\",\n DisplayName = \"test\",\n UserName = \"paul_atreides\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEmailDomain(ctx, \"example\", \u0026okta.EmailDomainArgs{\n\t\t\tBrandId: pulumi.String(\"abc123\"),\n\t\t\tDomain: pulumi.String(\"example.com\"),\n\t\t\tDisplayName: pulumi.String(\"test\"),\n\t\t\tUserName: pulumi.String(\"paul_atreides\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EmailDomain;\nimport com.pulumi.okta.EmailDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EmailDomain(\"example\", EmailDomainArgs.builder()\n .brandId(\"abc123\")\n .domain(\"example.com\")\n .displayName(\"test\")\n .userName(\"paul_atreides\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EmailDomain\n properties:\n brandId: abc123\n domain: example.com\n displayName: test\n userName: paul_atreides\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailDomain:EmailDomain example \u0026#60;domain id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EmailDomain(\"example\", {\n brandId: \"abc123\",\n domain: \"example.com\",\n displayName: \"test\",\n userName: \"paul_atreides\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EmailDomain(\"example\",\n brand_id=\"abc123\",\n domain=\"example.com\",\n display_name=\"test\",\n user_name=\"paul_atreides\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EmailDomain(\"example\", new()\n {\n BrandId = \"abc123\",\n Domain = \"example.com\",\n DisplayName = \"test\",\n UserName = \"paul_atreides\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEmailDomain(ctx, \"example\", \u0026okta.EmailDomainArgs{\n\t\t\tBrandId: pulumi.String(\"abc123\"),\n\t\t\tDomain: pulumi.String(\"example.com\"),\n\t\t\tDisplayName: pulumi.String(\"test\"),\n\t\t\tUserName: pulumi.String(\"paul_atreides\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EmailDomain;\nimport com.pulumi.okta.EmailDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EmailDomain(\"example\", EmailDomainArgs.builder()\n .brandId(\"abc123\")\n .domain(\"example.com\")\n .displayName(\"test\")\n .userName(\"paul_atreides\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EmailDomain\n properties:\n brandId: abc123\n domain: example.com\n displayName: test\n userName: paul_atreides\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailDomain:EmailDomain example \u003cdomain_id\u003e\n```\n\n", "properties": { "brandId": { "type": "string", @@ -11803,7 +11923,7 @@ } }, "okta:index/emailSender:EmailSender": { - "description": "Creates custom email sender. This resource allows you to create and configure a custom email sender.\n\n\u003e **DEPRECATED** The api for this resource has been deprecated. Please use `okta.EmailDomain` instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EmailSender(\"example\", {\n fromName: \"Paul Atreides\",\n fromAddress: \"no-reply@caladan.planet\",\n subdomain: \"mail\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EmailSender(\"example\",\n from_name=\"Paul Atreides\",\n from_address=\"no-reply@caladan.planet\",\n subdomain=\"mail\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EmailSender(\"example\", new()\n {\n FromName = \"Paul Atreides\",\n FromAddress = \"no-reply@caladan.planet\",\n Subdomain = \"mail\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEmailSender(ctx, \"example\", \u0026okta.EmailSenderArgs{\n\t\t\tFromName: pulumi.String(\"Paul Atreides\"),\n\t\t\tFromAddress: pulumi.String(\"no-reply@caladan.planet\"),\n\t\t\tSubdomain: pulumi.String(\"mail\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EmailSender;\nimport com.pulumi.okta.EmailSenderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EmailSender(\"example\", EmailSenderArgs.builder()\n .fromName(\"Paul Atreides\")\n .fromAddress(\"no-reply@caladan.planet\")\n .subdomain(\"mail\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EmailSender\n properties:\n fromName: Paul Atreides\n fromAddress: no-reply@caladan.planet\n subdomain: mail\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailSender:EmailSender example \u0026#60;sender id\u0026#62;\n```\n\n", + "description": "Creates custom email sender. This resource allows you to create and configure a custom email sender.\n\n\u003e **DEPRECATED** The api for this resource has been deprecated. Please use `okta.EmailDomain` instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EmailSender(\"example\", {\n fromName: \"Paul Atreides\",\n fromAddress: \"no-reply@caladan.planet\",\n subdomain: \"mail\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EmailSender(\"example\",\n from_name=\"Paul Atreides\",\n from_address=\"no-reply@caladan.planet\",\n subdomain=\"mail\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EmailSender(\"example\", new()\n {\n FromName = \"Paul Atreides\",\n FromAddress = \"no-reply@caladan.planet\",\n Subdomain = \"mail\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEmailSender(ctx, \"example\", \u0026okta.EmailSenderArgs{\n\t\t\tFromName: pulumi.String(\"Paul Atreides\"),\n\t\t\tFromAddress: pulumi.String(\"no-reply@caladan.planet\"),\n\t\t\tSubdomain: pulumi.String(\"mail\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EmailSender;\nimport com.pulumi.okta.EmailSenderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EmailSender(\"example\", EmailSenderArgs.builder()\n .fromName(\"Paul Atreides\")\n .fromAddress(\"no-reply@caladan.planet\")\n .subdomain(\"mail\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EmailSender\n properties:\n fromName: Paul Atreides\n fromAddress: no-reply@caladan.planet\n subdomain: mail\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/emailSender:EmailSender example \u003csender_id\u003e\n```\n\n", "properties": { "dnsRecords": { "type": "array", @@ -11921,7 +12041,7 @@ } }, "okta:index/eventHook:EventHook": { - "description": "Creates an event hook. This resource allows you to create and configure an event hook.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EventHook(\"example\", {\n name: \"example\",\n events: [\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n ],\n channel: {\n type: \"HTTP\",\n version: \"1.0.0\",\n uri: \"https://example.com/test\",\n },\n auth: {\n type: \"HEADER\",\n key: \"Authorization\",\n value: \"123\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EventHook(\"example\",\n name=\"example\",\n events=[\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n ],\n channel={\n \"type\": \"HTTP\",\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test\",\n },\n auth={\n \"type\": \"HEADER\",\n \"key\": \"Authorization\",\n \"value\": \"123\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EventHook(\"example\", new()\n {\n Name = \"example\",\n Events = new[]\n {\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n },\n Channel = \n {\n { \"type\", \"HTTP\" },\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test\" },\n },\n Auth = \n {\n { \"type\", \"HEADER\" },\n { \"key\", \"Authorization\" },\n { \"value\", \"123\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEventHook(ctx, \"example\", \u0026okta.EventHookArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tEvents: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user.lifecycle.create\"),\n\t\t\t\tpulumi.String(\"user.lifecycle.delete.initiated\"),\n\t\t\t},\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HTTP\"),\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test\"),\n\t\t\t},\n\t\t\tAuth: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HEADER\"),\n\t\t\t\t\"key\": pulumi.String(\"Authorization\"),\n\t\t\t\t\"value\": pulumi.String(\"123\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EventHook;\nimport com.pulumi.okta.EventHookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EventHook(\"example\", EventHookArgs.builder()\n .name(\"example\")\n .events( \n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\")\n .channel(Map.ofEntries(\n Map.entry(\"type\", \"HTTP\"),\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test\")\n ))\n .auth(Map.ofEntries(\n Map.entry(\"type\", \"HEADER\"),\n Map.entry(\"key\", \"Authorization\"),\n Map.entry(\"value\", \"123\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EventHook\n properties:\n name: example\n events:\n - user.lifecycle.create\n - user.lifecycle.delete.initiated\n channel:\n type: HTTP\n version: 1.0.0\n uri: https://example.com/test\n auth:\n type: HEADER\n key: Authorization\n value: '123'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/eventHook:EventHook example \u0026#60;hook id\u0026#62;\n```\n\n", + "description": "Creates an event hook. This resource allows you to create and configure an event hook.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.EventHook(\"example\", {\n name: \"example\",\n events: [\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n ],\n channel: {\n type: \"HTTP\",\n version: \"1.0.0\",\n uri: \"https://example.com/test\",\n },\n auth: {\n type: \"HEADER\",\n key: \"Authorization\",\n value: \"123\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.EventHook(\"example\",\n name=\"example\",\n events=[\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n ],\n channel={\n \"type\": \"HTTP\",\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test\",\n },\n auth={\n \"type\": \"HEADER\",\n \"key\": \"Authorization\",\n \"value\": \"123\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.EventHook(\"example\", new()\n {\n Name = \"example\",\n Events = new[]\n {\n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\",\n },\n Channel = \n {\n { \"type\", \"HTTP\" },\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test\" },\n },\n Auth = \n {\n { \"type\", \"HEADER\" },\n { \"key\", \"Authorization\" },\n { \"value\", \"123\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewEventHook(ctx, \"example\", \u0026okta.EventHookArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tEvents: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"user.lifecycle.create\"),\n\t\t\t\tpulumi.String(\"user.lifecycle.delete.initiated\"),\n\t\t\t},\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HTTP\"),\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test\"),\n\t\t\t},\n\t\t\tAuth: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HEADER\"),\n\t\t\t\t\"key\": pulumi.String(\"Authorization\"),\n\t\t\t\t\"value\": pulumi.String(\"123\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.EventHook;\nimport com.pulumi.okta.EventHookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new EventHook(\"example\", EventHookArgs.builder()\n .name(\"example\")\n .events( \n \"user.lifecycle.create\",\n \"user.lifecycle.delete.initiated\")\n .channel(Map.ofEntries(\n Map.entry(\"type\", \"HTTP\"),\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test\")\n ))\n .auth(Map.ofEntries(\n Map.entry(\"type\", \"HEADER\"),\n Map.entry(\"key\", \"Authorization\"),\n Map.entry(\"value\", \"123\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:EventHook\n properties:\n name: example\n events:\n - user.lifecycle.create\n - user.lifecycle.delete.initiated\n channel:\n type: HTTP\n version: 1.0.0\n uri: https://example.com/test\n auth:\n type: HEADER\n key: Authorization\n value: '123'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/eventHook:EventHook example \u003chook_id\u003e\n```\n\n", "properties": { "auth": { "type": "object", @@ -12182,7 +12302,7 @@ } }, "okta:index/groupMemberships:GroupMemberships": { - "description": "Resource to manage a set of memberships for a specific group.\nThis resource will allow you to bulk manage group membership in Okta for a given\ngroup. This offers an interface to pass multiple users into a single resource\ncall, for better API resource usage. If you need a relationship of a single \nuser to many groups, please use the 'okta_user_group_memberships' resource.\n**Important**: The default behavior of the resource is to only maintain the\nstate of user ids that are assigned it. This behavior will signal drift only if\nthose users stop being part of the group. If the desired behavior is track all\nusers that are added/removed from the group make use of the 'track_all_users'\nargument with this resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.group.Group(\"test\", {\n name: \"testAcc_replace_with_uuid\",\n description: \"testing, testing\",\n});\nconst testGroupMemberships = new okta.GroupMemberships(\"test\", {\n groupId: test.id,\n users: [\n test1.id,\n test2.id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.group.Group(\"test\",\n name=\"testAcc_replace_with_uuid\",\n description=\"testing, testing\")\ntest_group_memberships = okta.GroupMemberships(\"test\",\n group_id=test.id,\n users=[\n test1[\"id\"],\n test2[\"id\"],\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Group.Group(\"test\", new()\n {\n Name = \"testAcc_replace_with_uuid\",\n Description = \"testing, testing\",\n });\n\n var testGroupMemberships = new Okta.GroupMemberships(\"test\", new()\n {\n GroupId = test.Id,\n Users = new[]\n {\n test1.Id,\n test2.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := group.NewGroup(ctx, \"test\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tDescription: pulumi.String(\"testing, testing\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewGroupMemberships(ctx, \"test\", \u0026okta.GroupMembershipsArgs{\n\t\t\tGroupId: test.ID(),\n\t\t\tUsers: pulumi.StringArray{\n\t\t\t\ttest1.Id,\n\t\t\t\ttest2.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.GroupMemberships;\nimport com.pulumi.okta.GroupMembershipsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Group(\"test\", GroupArgs.builder()\n .name(\"testAcc_replace_with_uuid\")\n .description(\"testing, testing\")\n .build());\n\n var testGroupMemberships = new GroupMemberships(\"testGroupMemberships\", GroupMembershipsArgs.builder()\n .groupId(test.id())\n .users( \n test1.id(),\n test2.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:group:Group\n properties:\n name: testAcc_replace_with_uuid\n description: testing, testing\n testGroupMemberships:\n type: okta:GroupMemberships\n name: test\n properties:\n groupId: ${test.id}\n users:\n - ${test1.id}\n - ${test2.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nan Okta Group's memberships can be imported via the Okta group ID.\n\n```sh\n$ pulumi import okta:index/groupMemberships:GroupMemberships test \u0026#60;group id\u0026#62;\n```\n\noptional parameter track all users will also import all user id currently assigned to the group\n\n```sh\n$ pulumi import okta:index/groupMemberships:GroupMemberships test \u0026#60;group id\u0026#62;/\u0026#60;true\u0026#62;\n```\n\n", + "description": "Resource to manage a set of memberships for a specific group.\nThis resource will allow you to bulk manage group membership in Okta for a given\ngroup. This offers an interface to pass multiple users into a single resource\ncall, for better API resource usage. If you need a relationship of a single \nuser to many groups, please use the 'okta_user_group_memberships' resource.\n**Important**: The default behavior of the resource is to only maintain the\nstate of user ids that are assigned it. This behavior will signal drift only if\nthose users stop being part of the group. If the desired behavior is track all\nusers that are added/removed from the group make use of the 'track_all_users'\nargument with this resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.group.Group(\"test\", {\n name: \"testAcc_replace_with_uuid\",\n description: \"testing, testing\",\n});\nconst testGroupMemberships = new okta.GroupMemberships(\"test\", {\n groupId: test.id,\n users: [\n test1.id,\n test2.id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.group.Group(\"test\",\n name=\"testAcc_replace_with_uuid\",\n description=\"testing, testing\")\ntest_group_memberships = okta.GroupMemberships(\"test\",\n group_id=test.id,\n users=[\n test1[\"id\"],\n test2[\"id\"],\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Group.Group(\"test\", new()\n {\n Name = \"testAcc_replace_with_uuid\",\n Description = \"testing, testing\",\n });\n\n var testGroupMemberships = new Okta.GroupMemberships(\"test\", new()\n {\n GroupId = test.Id,\n Users = new[]\n {\n test1.Id,\n test2.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := group.NewGroup(ctx, \"test\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"testAcc_replace_with_uuid\"),\n\t\t\tDescription: pulumi.String(\"testing, testing\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewGroupMemberships(ctx, \"test\", \u0026okta.GroupMembershipsArgs{\n\t\t\tGroupId: test.ID(),\n\t\t\tUsers: pulumi.StringArray{\n\t\t\t\ttest1.Id,\n\t\t\t\ttest2.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.GroupMemberships;\nimport com.pulumi.okta.GroupMembershipsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Group(\"test\", GroupArgs.builder()\n .name(\"testAcc_replace_with_uuid\")\n .description(\"testing, testing\")\n .build());\n\n var testGroupMemberships = new GroupMemberships(\"testGroupMemberships\", GroupMembershipsArgs.builder()\n .groupId(test.id())\n .users( \n test1.id(),\n test2.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:group:Group\n properties:\n name: testAcc_replace_with_uuid\n description: testing, testing\n testGroupMemberships:\n type: okta:GroupMemberships\n name: test\n properties:\n groupId: ${test.id}\n users:\n - ${test1.id}\n - ${test2.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nan Okta Group's memberships can be imported via the Okta group ID.\n\n```sh\n$ pulumi import okta:index/groupMemberships:GroupMemberships test \u003cgroup_id\u003e\n```\n\noptional parameter track all users will also import all user id currently assigned to the group\n\n```sh\n$ pulumi import okta:index/groupMemberships:GroupMemberships test \u003cgroup_id\u003e/\u003ctrue\u003e\n```\n\n", "properties": { "groupId": { "type": "string", @@ -12250,7 +12370,7 @@ } }, "okta:index/groupSchemaProperty:GroupSchemaProperty": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.GroupSchemaProperty(\"example\", {\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.GroupSchemaProperty(\"example\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.GroupSchemaProperty(\"example\", new()\n {\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewGroupSchemaProperty(ctx, \"example\", \u0026okta.GroupSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.GroupSchemaProperty;\nimport com.pulumi.okta.GroupSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new GroupSchemaProperty(\"example\", GroupSchemaPropertyArgs.builder()\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:GroupSchemaProperty\n properties:\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example \u0026#60;index\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.GroupSchemaProperty(\"example\", {\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.GroupSchemaProperty(\"example\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.GroupSchemaProperty(\"example\", new()\n {\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewGroupSchemaProperty(ctx, \"example\", \u0026okta.GroupSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.GroupSchemaProperty;\nimport com.pulumi.okta.GroupSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new GroupSchemaProperty(\"example\", GroupSchemaPropertyArgs.builder()\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:GroupSchemaProperty\n properties:\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example \u003cindex\u003e\n```\n\n", "properties": { "arrayEnums": { "type": "array", @@ -12555,7 +12675,7 @@ } }, "okta:index/linkDefinition:LinkDefinition": { - "description": "Manages the creation and removal of the link definitions.\n\t\t\nLink definition operations allow you to manage the creation and removal of the link definitions. If you remove a link \ndefinition, links based on that definition are unavailable. Note that this resource is immutable, thus can not be modified.\n\u003e **NOTE:** Links reappear if you recreate the definition. However, Okta is likely to change this behavior so that links don't reappear. Don't rely on this behavior in production environments.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.LinkDefinition(\"example\", {\n primaryName: \"emperor\",\n primaryTitle: \"Emperor\",\n primaryDescription: \"Hereditary ruler of the Imperium and the Known Universe\",\n associatedName: \"sardaukar\",\n associatedTitle: \"Sardaukar\",\n associatedDescription: \"Elite military force member\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.LinkDefinition(\"example\",\n primary_name=\"emperor\",\n primary_title=\"Emperor\",\n primary_description=\"Hereditary ruler of the Imperium and the Known Universe\",\n associated_name=\"sardaukar\",\n associated_title=\"Sardaukar\",\n associated_description=\"Elite military force member\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.LinkDefinition(\"example\", new()\n {\n PrimaryName = \"emperor\",\n PrimaryTitle = \"Emperor\",\n PrimaryDescription = \"Hereditary ruler of the Imperium and the Known Universe\",\n AssociatedName = \"sardaukar\",\n AssociatedTitle = \"Sardaukar\",\n AssociatedDescription = \"Elite military force member\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewLinkDefinition(ctx, \"example\", \u0026okta.LinkDefinitionArgs{\n\t\t\tPrimaryName: pulumi.String(\"emperor\"),\n\t\t\tPrimaryTitle: pulumi.String(\"Emperor\"),\n\t\t\tPrimaryDescription: pulumi.String(\"Hereditary ruler of the Imperium and the Known Universe\"),\n\t\t\tAssociatedName: pulumi.String(\"sardaukar\"),\n\t\t\tAssociatedTitle: pulumi.String(\"Sardaukar\"),\n\t\t\tAssociatedDescription: pulumi.String(\"Elite military force member\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.LinkDefinition;\nimport com.pulumi.okta.LinkDefinitionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new LinkDefinition(\"example\", LinkDefinitionArgs.builder()\n .primaryName(\"emperor\")\n .primaryTitle(\"Emperor\")\n .primaryDescription(\"Hereditary ruler of the Imperium and the Known Universe\")\n .associatedName(\"sardaukar\")\n .associatedTitle(\"Sardaukar\")\n .associatedDescription(\"Elite military force member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:LinkDefinition\n properties:\n primaryName: emperor\n primaryTitle: Emperor\n primaryDescription: Hereditary ruler of the Imperium and the Known Universe\n associatedName: sardaukar\n associatedTitle: Sardaukar\n associatedDescription: Elite military force member\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/linkDefinition:LinkDefinition example \u0026#60;primary_name\u0026#62;\n```\n\n", + "description": "Manages the creation and removal of the link definitions.\n\t\t\nLink definition operations allow you to manage the creation and removal of the link definitions. If you remove a link \ndefinition, links based on that definition are unavailable. Note that this resource is immutable, thus can not be modified.\n\u003e **NOTE:** Links reappear if you recreate the definition. However, Okta is likely to change this behavior so that links don't reappear. Don't rely on this behavior in production environments.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.LinkDefinition(\"example\", {\n primaryName: \"emperor\",\n primaryTitle: \"Emperor\",\n primaryDescription: \"Hereditary ruler of the Imperium and the Known Universe\",\n associatedName: \"sardaukar\",\n associatedTitle: \"Sardaukar\",\n associatedDescription: \"Elite military force member\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.LinkDefinition(\"example\",\n primary_name=\"emperor\",\n primary_title=\"Emperor\",\n primary_description=\"Hereditary ruler of the Imperium and the Known Universe\",\n associated_name=\"sardaukar\",\n associated_title=\"Sardaukar\",\n associated_description=\"Elite military force member\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.LinkDefinition(\"example\", new()\n {\n PrimaryName = \"emperor\",\n PrimaryTitle = \"Emperor\",\n PrimaryDescription = \"Hereditary ruler of the Imperium and the Known Universe\",\n AssociatedName = \"sardaukar\",\n AssociatedTitle = \"Sardaukar\",\n AssociatedDescription = \"Elite military force member\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewLinkDefinition(ctx, \"example\", \u0026okta.LinkDefinitionArgs{\n\t\t\tPrimaryName: pulumi.String(\"emperor\"),\n\t\t\tPrimaryTitle: pulumi.String(\"Emperor\"),\n\t\t\tPrimaryDescription: pulumi.String(\"Hereditary ruler of the Imperium and the Known Universe\"),\n\t\t\tAssociatedName: pulumi.String(\"sardaukar\"),\n\t\t\tAssociatedTitle: pulumi.String(\"Sardaukar\"),\n\t\t\tAssociatedDescription: pulumi.String(\"Elite military force member\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.LinkDefinition;\nimport com.pulumi.okta.LinkDefinitionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new LinkDefinition(\"example\", LinkDefinitionArgs.builder()\n .primaryName(\"emperor\")\n .primaryTitle(\"Emperor\")\n .primaryDescription(\"Hereditary ruler of the Imperium and the Known Universe\")\n .associatedName(\"sardaukar\")\n .associatedTitle(\"Sardaukar\")\n .associatedDescription(\"Elite military force member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:LinkDefinition\n properties:\n primaryName: emperor\n primaryTitle: Emperor\n primaryDescription: Hereditary ruler of the Imperium and the Known Universe\n associatedName: sardaukar\n associatedTitle: Sardaukar\n associatedDescription: Elite military force member\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/linkDefinition:LinkDefinition example \u003cprimary_name\u003e\n```\n\n", "properties": { "associatedDescription": { "type": "string", @@ -12668,7 +12788,7 @@ } }, "okta:index/linkValue:LinkValue": { - "description": "Manages users relationships. Link value operations allow you to create relationships between primary and associated users.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst padishah = new okta.LinkDefinition(\"padishah\", {\n primaryName: \"emperor\",\n primaryTitle: \"Emperor\",\n primaryDescription: \"Hereditary ruler of the Imperium and the Known Universe\",\n associatedName: \"sardaukar\",\n associatedTitle: \"Sardaukar\",\n associatedDescription: \"Elite military force member\",\n});\nconst emperor = new okta.user.User(\"emperor\", {\n firstName: \"Shaddam\",\n lastName: \"Corrino IV\",\n login: \"shaddam.corrino.iv@salusa-secundus.planet\",\n email: \"shaddam.corrino.iv@salusa-secundus.planet\",\n});\nconst sardaukars: okta.user.User[] = [];\nfor (const range = {value: 0}; range.value \u003c 5; range.value++) {\n sardaukars.push(new okta.user.User(`sardaukars-${range.value}`, {\n firstName: \"Amrit\",\n lastName: `Sardaukar_${range.value}`,\n login: `amritsardaukar_${range.value}@salusa-secundus.planet`,\n email: `amritsardaukar_${range.value}@salusa-secundus.planet`,\n }));\n}\nconst example = new okta.LinkValue(\"example\", {\n primaryName: padishah.primaryName,\n primaryUserId: emperor.id,\n associatedUserIds: [\n sardaukars[0].id,\n sardaukars[1].id,\n sardaukars[2].id,\n sardaukars[3].id,\n sardaukars[4].id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\npadishah = okta.LinkDefinition(\"padishah\",\n primary_name=\"emperor\",\n primary_title=\"Emperor\",\n primary_description=\"Hereditary ruler of the Imperium and the Known Universe\",\n associated_name=\"sardaukar\",\n associated_title=\"Sardaukar\",\n associated_description=\"Elite military force member\")\nemperor = okta.user.User(\"emperor\",\n first_name=\"Shaddam\",\n last_name=\"Corrino IV\",\n login=\"shaddam.corrino.iv@salusa-secundus.planet\",\n email=\"shaddam.corrino.iv@salusa-secundus.planet\")\nsardaukars = []\nfor range in [{\"value\": i} for i in range(0, 5)]:\n sardaukars.append(okta.user.User(f\"sardaukars-{range['value']}\",\n first_name=\"Amrit\",\n last_name=f\"Sardaukar_{range['value']}\",\n login=f\"amritsardaukar_{range['value']}@salusa-secundus.planet\",\n email=f\"amritsardaukar_{range['value']}@salusa-secundus.planet\"))\nexample = okta.LinkValue(\"example\",\n primary_name=padishah.primary_name,\n primary_user_id=emperor.id,\n associated_user_ids=[\n sardaukars[0].id,\n sardaukars[1].id,\n sardaukars[2].id,\n sardaukars[3].id,\n sardaukars[4].id,\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var padishah = new Okta.LinkDefinition(\"padishah\", new()\n {\n PrimaryName = \"emperor\",\n PrimaryTitle = \"Emperor\",\n PrimaryDescription = \"Hereditary ruler of the Imperium and the Known Universe\",\n AssociatedName = \"sardaukar\",\n AssociatedTitle = \"Sardaukar\",\n AssociatedDescription = \"Elite military force member\",\n });\n\n var emperor = new Okta.User.User(\"emperor\", new()\n {\n FirstName = \"Shaddam\",\n LastName = \"Corrino IV\",\n Login = \"shaddam.corrino.iv@salusa-secundus.planet\",\n Email = \"shaddam.corrino.iv@salusa-secundus.planet\",\n });\n\n var sardaukars = new List\u003cOkta.User.User\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 5; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n sardaukars.Add(new Okta.User.User($\"sardaukars-{range.Value}\", new()\n {\n FirstName = \"Amrit\",\n LastName = $\"Sardaukar_{range.Value}\",\n Login = $\"amritsardaukar_{range.Value}@salusa-secundus.planet\",\n Email = $\"amritsardaukar_{range.Value}@salusa-secundus.planet\",\n }));\n }\n var example = new Okta.LinkValue(\"example\", new()\n {\n PrimaryName = padishah.PrimaryName,\n PrimaryUserId = emperor.Id,\n AssociatedUserIds = new[]\n {\n sardaukars[0].Id,\n sardaukars[1].Id,\n sardaukars[2].Id,\n sardaukars[3].Id,\n sardaukars[4].Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpadishah, err := okta.NewLinkDefinition(ctx, \"padishah\", \u0026okta.LinkDefinitionArgs{\n\t\t\tPrimaryName: pulumi.String(\"emperor\"),\n\t\t\tPrimaryTitle: pulumi.String(\"Emperor\"),\n\t\t\tPrimaryDescription: pulumi.String(\"Hereditary ruler of the Imperium and the Known Universe\"),\n\t\t\tAssociatedName: pulumi.String(\"sardaukar\"),\n\t\t\tAssociatedTitle: pulumi.String(\"Sardaukar\"),\n\t\t\tAssociatedDescription: pulumi.String(\"Elite military force member\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\temperor, err := user.NewUser(ctx, \"emperor\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"Shaddam\"),\n\t\t\tLastName: pulumi.String(\"Corrino IV\"),\n\t\t\tLogin: pulumi.String(\"shaddam.corrino.iv@salusa-secundus.planet\"),\n\t\t\tEmail: pulumi.String(\"shaddam.corrino.iv@salusa-secundus.planet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar sardaukars []*user.User\n\t\tfor index := 0; index \u003c 5; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := user.NewUser(ctx, fmt.Sprintf(\"sardaukars-%v\", key0), \u0026user.UserArgs{\n\t\t\t\tFirstName: pulumi.String(\"Amrit\"),\n\t\t\t\tLastName: pulumi.Sprintf(\"Sardaukar_%v\", val0),\n\t\t\t\tLogin: pulumi.Sprintf(\"amritsardaukar_%v@salusa-secundus.planet\", val0),\n\t\t\t\tEmail: pulumi.Sprintf(\"amritsardaukar_%v@salusa-secundus.planet\", val0),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tsardaukars = append(sardaukars, __res)\n\t\t}\n\t\t_, err = okta.NewLinkValue(ctx, \"example\", \u0026okta.LinkValueArgs{\n\t\t\tPrimaryName: padishah.PrimaryName,\n\t\t\tPrimaryUserId: emperor.ID(),\n\t\t\tAssociatedUserIds: pulumi.StringArray{\n\t\t\t\tsardaukars[0].ID(),\n\t\t\t\tsardaukars[1].ID(),\n\t\t\t\tsardaukars[2].ID(),\n\t\t\t\tsardaukars[3].ID(),\n\t\t\t\tsardaukars[4].ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.LinkDefinition;\nimport com.pulumi.okta.LinkDefinitionArgs;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.LinkValue;\nimport com.pulumi.okta.LinkValueArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var padishah = new LinkDefinition(\"padishah\", LinkDefinitionArgs.builder()\n .primaryName(\"emperor\")\n .primaryTitle(\"Emperor\")\n .primaryDescription(\"Hereditary ruler of the Imperium and the Known Universe\")\n .associatedName(\"sardaukar\")\n .associatedTitle(\"Sardaukar\")\n .associatedDescription(\"Elite military force member\")\n .build());\n\n var emperor = new User(\"emperor\", UserArgs.builder()\n .firstName(\"Shaddam\")\n .lastName(\"Corrino IV\")\n .login(\"shaddam.corrino.iv@salusa-secundus.planet\")\n .email(\"shaddam.corrino.iv@salusa-secundus.planet\")\n .build());\n\n for (var i = 0; i \u003c 5; i++) {\n new User(\"sardaukars-\" + i, UserArgs.builder()\n .firstName(\"Amrit\")\n .lastName(String.format(\"Sardaukar_%s\", range.value()))\n .login(String.format(\"amritsardaukar_%s@salusa-secundus.planet\", range.value()))\n .email(String.format(\"amritsardaukar_%s@salusa-secundus.planet\", range.value()))\n .build());\n\n \n}\n var example = new LinkValue(\"example\", LinkValueArgs.builder()\n .primaryName(padishah.primaryName())\n .primaryUserId(emperor.id())\n .associatedUserIds( \n sardaukars[0].id(),\n sardaukars[1].id(),\n sardaukars[2].id(),\n sardaukars[3].id(),\n sardaukars[4].id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n padishah:\n type: okta:LinkDefinition\n properties:\n primaryName: emperor\n primaryTitle: Emperor\n primaryDescription: Hereditary ruler of the Imperium and the Known Universe\n associatedName: sardaukar\n associatedTitle: Sardaukar\n associatedDescription: Elite military force member\n emperor:\n type: okta:user:User\n properties:\n firstName: Shaddam\n lastName: Corrino IV\n login: shaddam.corrino.iv@salusa-secundus.planet\n email: shaddam.corrino.iv@salusa-secundus.planet\n sardaukars:\n type: okta:user:User\n properties:\n firstName: Amrit\n lastName: Sardaukar_${range.value}\n login: amritsardaukar_${range.value}@salusa-secundus.planet\n email: amritsardaukar_${range.value}@salusa-secundus.planet\n options: {}\n example:\n type: okta:LinkValue\n properties:\n primaryName: ${padishah.primaryName}\n primaryUserId: ${emperor.id}\n associatedUserIds:\n - ${sardaukars[0].id}\n - ${sardaukars[1].id}\n - ${sardaukars[2].id}\n - ${sardaukars[3].id}\n - ${sardaukars[4].id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/linkValue:LinkValue example \u0026#60;primary_name\u0026#62;/\u0026#60;primary_user_id\u0026#62;\n```\n\n", + "description": "Manages users relationships. Link value operations allow you to create relationships between primary and associated users.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst padishah = new okta.LinkDefinition(\"padishah\", {\n primaryName: \"emperor\",\n primaryTitle: \"Emperor\",\n primaryDescription: \"Hereditary ruler of the Imperium and the Known Universe\",\n associatedName: \"sardaukar\",\n associatedTitle: \"Sardaukar\",\n associatedDescription: \"Elite military force member\",\n});\nconst emperor = new okta.user.User(\"emperor\", {\n firstName: \"Shaddam\",\n lastName: \"Corrino IV\",\n login: \"shaddam.corrino.iv@salusa-secundus.planet\",\n email: \"shaddam.corrino.iv@salusa-secundus.planet\",\n});\nconst sardaukars: okta.user.User[] = [];\nfor (const range = {value: 0}; range.value \u003c 5; range.value++) {\n sardaukars.push(new okta.user.User(`sardaukars-${range.value}`, {\n firstName: \"Amrit\",\n lastName: `Sardaukar_${range.value}`,\n login: `amritsardaukar_${range.value}@salusa-secundus.planet`,\n email: `amritsardaukar_${range.value}@salusa-secundus.planet`,\n }));\n}\nconst example = new okta.LinkValue(\"example\", {\n primaryName: padishah.primaryName,\n primaryUserId: emperor.id,\n associatedUserIds: [\n sardaukars[0].id,\n sardaukars[1].id,\n sardaukars[2].id,\n sardaukars[3].id,\n sardaukars[4].id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\npadishah = okta.LinkDefinition(\"padishah\",\n primary_name=\"emperor\",\n primary_title=\"Emperor\",\n primary_description=\"Hereditary ruler of the Imperium and the Known Universe\",\n associated_name=\"sardaukar\",\n associated_title=\"Sardaukar\",\n associated_description=\"Elite military force member\")\nemperor = okta.user.User(\"emperor\",\n first_name=\"Shaddam\",\n last_name=\"Corrino IV\",\n login=\"shaddam.corrino.iv@salusa-secundus.planet\",\n email=\"shaddam.corrino.iv@salusa-secundus.planet\")\nsardaukars = []\nfor range in [{\"value\": i} for i in range(0, 5)]:\n sardaukars.append(okta.user.User(f\"sardaukars-{range['value']}\",\n first_name=\"Amrit\",\n last_name=f\"Sardaukar_{range['value']}\",\n login=f\"amritsardaukar_{range['value']}@salusa-secundus.planet\",\n email=f\"amritsardaukar_{range['value']}@salusa-secundus.planet\"))\nexample = okta.LinkValue(\"example\",\n primary_name=padishah.primary_name,\n primary_user_id=emperor.id,\n associated_user_ids=[\n sardaukars[0].id,\n sardaukars[1].id,\n sardaukars[2].id,\n sardaukars[3].id,\n sardaukars[4].id,\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var padishah = new Okta.LinkDefinition(\"padishah\", new()\n {\n PrimaryName = \"emperor\",\n PrimaryTitle = \"Emperor\",\n PrimaryDescription = \"Hereditary ruler of the Imperium and the Known Universe\",\n AssociatedName = \"sardaukar\",\n AssociatedTitle = \"Sardaukar\",\n AssociatedDescription = \"Elite military force member\",\n });\n\n var emperor = new Okta.User.User(\"emperor\", new()\n {\n FirstName = \"Shaddam\",\n LastName = \"Corrino IV\",\n Login = \"shaddam.corrino.iv@salusa-secundus.planet\",\n Email = \"shaddam.corrino.iv@salusa-secundus.planet\",\n });\n\n var sardaukars = new List\u003cOkta.User.User\u003e();\n for (var rangeIndex = 0; rangeIndex \u003c 5; rangeIndex++)\n {\n var range = new { Value = rangeIndex };\n sardaukars.Add(new Okta.User.User($\"sardaukars-{range.Value}\", new()\n {\n FirstName = \"Amrit\",\n LastName = $\"Sardaukar_{range.Value}\",\n Login = $\"amritsardaukar_{range.Value}@salusa-secundus.planet\",\n Email = $\"amritsardaukar_{range.Value}@salusa-secundus.planet\",\n }));\n }\n var example = new Okta.LinkValue(\"example\", new()\n {\n PrimaryName = padishah.PrimaryName,\n PrimaryUserId = emperor.Id,\n AssociatedUserIds = new[]\n {\n sardaukars[0].Id,\n sardaukars[1].Id,\n sardaukars[2].Id,\n sardaukars[3].Id,\n sardaukars[4].Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tpadishah, err := okta.NewLinkDefinition(ctx, \"padishah\", \u0026okta.LinkDefinitionArgs{\n\t\t\tPrimaryName: pulumi.String(\"emperor\"),\n\t\t\tPrimaryTitle: pulumi.String(\"Emperor\"),\n\t\t\tPrimaryDescription: pulumi.String(\"Hereditary ruler of the Imperium and the Known Universe\"),\n\t\t\tAssociatedName: pulumi.String(\"sardaukar\"),\n\t\t\tAssociatedTitle: pulumi.String(\"Sardaukar\"),\n\t\t\tAssociatedDescription: pulumi.String(\"Elite military force member\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\temperor, err := user.NewUser(ctx, \"emperor\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"Shaddam\"),\n\t\t\tLastName: pulumi.String(\"Corrino IV\"),\n\t\t\tLogin: pulumi.String(\"shaddam.corrino.iv@salusa-secundus.planet\"),\n\t\t\tEmail: pulumi.String(\"shaddam.corrino.iv@salusa-secundus.planet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar sardaukars []*user.User\n\t\tfor index := 0; index \u003c 5; index++ {\n\t\t\tkey0 := index\n\t\t\tval0 := index\n\t\t\t__res, err := user.NewUser(ctx, fmt.Sprintf(\"sardaukars-%v\", key0), \u0026user.UserArgs{\n\t\t\t\tFirstName: pulumi.String(\"Amrit\"),\n\t\t\t\tLastName: pulumi.Sprintf(\"Sardaukar_%v\", val0),\n\t\t\t\tLogin: pulumi.Sprintf(\"amritsardaukar_%v@salusa-secundus.planet\", val0),\n\t\t\t\tEmail: pulumi.Sprintf(\"amritsardaukar_%v@salusa-secundus.planet\", val0),\n\t\t\t})\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tsardaukars = append(sardaukars, __res)\n\t\t}\n\t\t_, err = okta.NewLinkValue(ctx, \"example\", \u0026okta.LinkValueArgs{\n\t\t\tPrimaryName: padishah.PrimaryName,\n\t\t\tPrimaryUserId: emperor.ID(),\n\t\t\tAssociatedUserIds: pulumi.StringArray{\n\t\t\t\tsardaukars[0].ID(),\n\t\t\t\tsardaukars[1].ID(),\n\t\t\t\tsardaukars[2].ID(),\n\t\t\t\tsardaukars[3].ID(),\n\t\t\t\tsardaukars[4].ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.LinkDefinition;\nimport com.pulumi.okta.LinkDefinitionArgs;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.LinkValue;\nimport com.pulumi.okta.LinkValueArgs;\nimport com.pulumi.codegen.internal.KeyedValue;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var padishah = new LinkDefinition(\"padishah\", LinkDefinitionArgs.builder()\n .primaryName(\"emperor\")\n .primaryTitle(\"Emperor\")\n .primaryDescription(\"Hereditary ruler of the Imperium and the Known Universe\")\n .associatedName(\"sardaukar\")\n .associatedTitle(\"Sardaukar\")\n .associatedDescription(\"Elite military force member\")\n .build());\n\n var emperor = new User(\"emperor\", UserArgs.builder()\n .firstName(\"Shaddam\")\n .lastName(\"Corrino IV\")\n .login(\"shaddam.corrino.iv@salusa-secundus.planet\")\n .email(\"shaddam.corrino.iv@salusa-secundus.planet\")\n .build());\n\n for (var i = 0; i \u003c 5; i++) {\n new User(\"sardaukars-\" + i, UserArgs.builder()\n .firstName(\"Amrit\")\n .lastName(String.format(\"Sardaukar_%s\", range.value()))\n .login(String.format(\"amritsardaukar_%s@salusa-secundus.planet\", range.value()))\n .email(String.format(\"amritsardaukar_%s@salusa-secundus.planet\", range.value()))\n .build());\n\n \n}\n var example = new LinkValue(\"example\", LinkValueArgs.builder()\n .primaryName(padishah.primaryName())\n .primaryUserId(emperor.id())\n .associatedUserIds( \n sardaukars[0].id(),\n sardaukars[1].id(),\n sardaukars[2].id(),\n sardaukars[3].id(),\n sardaukars[4].id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n padishah:\n type: okta:LinkDefinition\n properties:\n primaryName: emperor\n primaryTitle: Emperor\n primaryDescription: Hereditary ruler of the Imperium and the Known Universe\n associatedName: sardaukar\n associatedTitle: Sardaukar\n associatedDescription: Elite military force member\n emperor:\n type: okta:user:User\n properties:\n firstName: Shaddam\n lastName: Corrino IV\n login: shaddam.corrino.iv@salusa-secundus.planet\n email: shaddam.corrino.iv@salusa-secundus.planet\n sardaukars:\n type: okta:user:User\n properties:\n firstName: Amrit\n lastName: Sardaukar_${range.value}\n login: amritsardaukar_${range.value}@salusa-secundus.planet\n email: amritsardaukar_${range.value}@salusa-secundus.planet\n options: {}\n example:\n type: okta:LinkValue\n properties:\n primaryName: ${padishah.primaryName}\n primaryUserId: ${emperor.id}\n associatedUserIds:\n - ${sardaukars[0].id}\n - ${sardaukars[1].id}\n - ${sardaukars[2].id}\n - ${sardaukars[3].id}\n - ${sardaukars[4].id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/linkValue:LinkValue example \u003cprimary_name\u003e/\u003cprimary_user_id\u003e\n```\n\n", "properties": { "associatedUserIds": { "type": "array", @@ -12738,7 +12858,7 @@ } }, "okta:index/logStream:LogStream": { - "description": "Manages log streams\n\n## Import\n\n```sh\n$ pulumi import okta:index/logStream:LogStream example \u0026#60;strema id\u0026#62;\n```\n\n", + "description": "Manages log streams\n\n## Import\n\n```sh\n$ pulumi import okta:index/logStream:LogStream example \u003cstream_id\u003e\n```\n\n", "properties": { "name": { "type": "string", @@ -13913,7 +14033,7 @@ } }, "okta:index/policyProfileEnrollment:PolicyProfileEnrollment": { - "description": "Creates a Profile Enrollment Policy\n\t\t\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to create and configure a Profile Enrollment Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.PolicyProfileEnrollment(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.PolicyProfileEnrollment(\"example\",\n name=\"example\",\n status=\"ACTIVE\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.PolicyProfileEnrollment(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewPolicyProfileEnrollment(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.PolicyProfileEnrollment;\nimport com.pulumi.okta.PolicyProfileEnrollmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new PolicyProfileEnrollment(\"example\", PolicyProfileEnrollmentArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:PolicyProfileEnrollment\n properties:\n name: example\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example \u0026#60;policy id\u0026#62;\n```\n\n", + "description": "Creates a Profile Enrollment Policy\n\t\t\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to create and configure a Profile Enrollment Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.PolicyProfileEnrollment(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.PolicyProfileEnrollment(\"example\",\n name=\"example\",\n status=\"ACTIVE\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.PolicyProfileEnrollment(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewPolicyProfileEnrollment(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.PolicyProfileEnrollment;\nimport com.pulumi.okta.PolicyProfileEnrollmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new PolicyProfileEnrollment(\"example\", PolicyProfileEnrollmentArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:PolicyProfileEnrollment\n properties:\n name: example\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example \u003cpolicy_id\u003e\n```\n\n", "properties": { "name": { "type": "string", @@ -13953,7 +14073,7 @@ } }, "okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps": { - "description": "Manages Profile Enrollment Policy Apps\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to manage the apps in the Profile Enrollment Policy. \n**Important Notes:** \n - 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.\n - 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 \n unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"My Policy\",\n type: \"PROFILE_ENROLLMENT\",\n});\nconst test = okta.app.getApp({\n label: \"My App\",\n});\nconst examplePolicyProfileEnrollmentApps = new okta.PolicyProfileEnrollmentApps(\"example\", {\n policyId: exampleOktaPolicy.id,\n apps: [id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"My Policy\",\n type=\"PROFILE_ENROLLMENT\")\ntest = okta.app.get_app(label=\"My App\")\nexample_policy_profile_enrollment_apps = okta.PolicyProfileEnrollmentApps(\"example\",\n policy_id=example_okta_policy[\"id\"],\n apps=[id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"My Policy\",\n Type = \"PROFILE_ENROLLMENT\",\n });\n\n var test = Okta.App.GetApp.Invoke(new()\n {\n Label = \"My App\",\n });\n\n var examplePolicyProfileEnrollmentApps = new Okta.PolicyProfileEnrollmentApps(\"example\", new()\n {\n PolicyId = exampleOktaPolicy.Id,\n Apps = new[]\n {\n id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"My Policy\",\n\t\t\tType: \"PROFILE_ENROLLMENT\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"My App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyProfileEnrollmentApps(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentAppsArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicy.Id),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tid,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.PolicyProfileEnrollmentApps;\nimport com.pulumi.okta.PolicyProfileEnrollmentAppsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"My Policy\")\n .type(\"PROFILE_ENROLLMENT\")\n .build());\n\n final var test = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"My App\")\n .build());\n\n var examplePolicyProfileEnrollmentApps = new PolicyProfileEnrollmentApps(\"examplePolicyProfileEnrollmentApps\", PolicyProfileEnrollmentAppsArgs.builder()\n .policyId(exampleOktaPolicy.id())\n .apps(id)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplePolicyProfileEnrollmentApps:\n type: okta:PolicyProfileEnrollmentApps\n name: example\n properties:\n policyId: ${exampleOktaPolicy.id}\n apps:\n - ${id}\nvariables:\n example:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: My Policy\n type: PROFILE_ENROLLMENT\n test:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: My App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example \u0026#60;policy id\u0026#62;\n```\n\n", + "description": "Manages Profile Enrollment Policy Apps\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to manage the apps in the Profile Enrollment Policy. \n**Important Notes:** \n - 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.\n - 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 \n unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"My Policy\",\n type: \"PROFILE_ENROLLMENT\",\n});\nconst test = okta.app.getApp({\n label: \"My App\",\n});\nconst examplePolicyProfileEnrollmentApps = new okta.PolicyProfileEnrollmentApps(\"example\", {\n policyId: exampleOktaPolicy.id,\n apps: [id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"My Policy\",\n type=\"PROFILE_ENROLLMENT\")\ntest = okta.app.get_app(label=\"My App\")\nexample_policy_profile_enrollment_apps = okta.PolicyProfileEnrollmentApps(\"example\",\n policy_id=example_okta_policy[\"id\"],\n apps=[id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"My Policy\",\n Type = \"PROFILE_ENROLLMENT\",\n });\n\n var test = Okta.App.GetApp.Invoke(new()\n {\n Label = \"My App\",\n });\n\n var examplePolicyProfileEnrollmentApps = new Okta.PolicyProfileEnrollmentApps(\"example\", new()\n {\n PolicyId = exampleOktaPolicy.Id,\n Apps = new[]\n {\n id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"My Policy\",\n\t\t\tType: \"PROFILE_ENROLLMENT\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"My App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyProfileEnrollmentApps(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentAppsArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicy.Id),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tid,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.PolicyProfileEnrollmentApps;\nimport com.pulumi.okta.PolicyProfileEnrollmentAppsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"My Policy\")\n .type(\"PROFILE_ENROLLMENT\")\n .build());\n\n final var test = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"My App\")\n .build());\n\n var examplePolicyProfileEnrollmentApps = new PolicyProfileEnrollmentApps(\"examplePolicyProfileEnrollmentApps\", PolicyProfileEnrollmentAppsArgs.builder()\n .policyId(exampleOktaPolicy.id())\n .apps(id)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplePolicyProfileEnrollmentApps:\n type: okta:PolicyProfileEnrollmentApps\n name: example\n properties:\n policyId: ${exampleOktaPolicy.id}\n apps:\n - ${id}\nvariables:\n example:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: My Policy\n type: PROFILE_ENROLLMENT\n test:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: My App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example \u003cpolicy_id\u003e\n```\n\n", "properties": { "apps": { "type": "array", @@ -14016,7 +14136,7 @@ } }, "okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment": { - "description": "Creates a Profile Enrollment Policy Rule.\n\t\t\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nA [profile enrollment\npolicy](https://developer.okta.com/docs/reference/api/policy/#profile-enrollment-policy)\nis limited to one default rule. This resource does not create a rule for an\nenrollment policy, it allows the default policy rule to be updated.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.PolicyProfileEnrollment(\"example\", {name: \"My Enrollment Policy\"});\nconst exampleHook = new okta.inline.Hook(\"example\", {\n name: \"My Inline Hook\",\n status: \"ACTIVE\",\n type: \"com.okta.user.pre-registration\",\n version: \"1.0.3\",\n channel: {\n type: \"HTTP\",\n version: \"1.0.0\",\n uri: \"https://example.com/test2\",\n method: \"POST\",\n },\n});\nconst exampleGroup = new okta.group.Group(\"example\", {\n name: \"My Group\",\n description: \"Group of some users\",\n});\nconst examplePolicyRuleProfileEnrollment = new okta.PolicyRuleProfileEnrollment(\"example\", {\n policyId: example.id,\n inlineHookId: exampleHook.id,\n targetGroupId: exampleGroup.id,\n unknownUserAction: \"REGISTER\",\n emailVerification: true,\n access: \"ALLOW\",\n profileAttributes: [\n {\n name: \"email\",\n label: \"Email\",\n required: true,\n },\n {\n name: \"name\",\n label: \"Name\",\n required: true,\n },\n {\n name: \"t-shirt\",\n label: \"T-Shirt Size\",\n required: false,\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.PolicyProfileEnrollment(\"example\", name=\"My Enrollment Policy\")\nexample_hook = okta.inline.Hook(\"example\",\n name=\"My Inline Hook\",\n status=\"ACTIVE\",\n type=\"com.okta.user.pre-registration\",\n version=\"1.0.3\",\n channel={\n \"type\": \"HTTP\",\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test2\",\n \"method\": \"POST\",\n })\nexample_group = okta.group.Group(\"example\",\n name=\"My Group\",\n description=\"Group of some users\")\nexample_policy_rule_profile_enrollment = okta.PolicyRuleProfileEnrollment(\"example\",\n policy_id=example.id,\n inline_hook_id=example_hook.id,\n target_group_id=example_group.id,\n unknown_user_action=\"REGISTER\",\n email_verification=True,\n access=\"ALLOW\",\n profile_attributes=[\n {\n \"name\": \"email\",\n \"label\": \"Email\",\n \"required\": True,\n },\n {\n \"name\": \"name\",\n \"label\": \"Name\",\n \"required\": True,\n },\n {\n \"name\": \"t-shirt\",\n \"label\": \"T-Shirt Size\",\n \"required\": False,\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.PolicyProfileEnrollment(\"example\", new()\n {\n Name = \"My Enrollment Policy\",\n });\n\n var exampleHook = new Okta.Inline.Hook(\"example\", new()\n {\n Name = \"My Inline Hook\",\n Status = \"ACTIVE\",\n Type = \"com.okta.user.pre-registration\",\n Version = \"1.0.3\",\n Channel = \n {\n { \"type\", \"HTTP\" },\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test2\" },\n { \"method\", \"POST\" },\n },\n });\n\n var exampleGroup = new Okta.Group.Group(\"example\", new()\n {\n Name = \"My Group\",\n Description = \"Group of some users\",\n });\n\n var examplePolicyRuleProfileEnrollment = new Okta.PolicyRuleProfileEnrollment(\"example\", new()\n {\n PolicyId = example.Id,\n InlineHookId = exampleHook.Id,\n TargetGroupId = exampleGroup.Id,\n UnknownUserAction = \"REGISTER\",\n EmailVerification = true,\n Access = \"ALLOW\",\n ProfileAttributes = new[]\n {\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"email\",\n Label = \"Email\",\n Required = true,\n },\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"name\",\n Label = \"Name\",\n Required = true,\n },\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"t-shirt\",\n Label = \"T-Shirt Size\",\n Required = false,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/inline\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := okta.NewPolicyProfileEnrollment(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentArgs{\n\t\t\tName: pulumi.String(\"My Enrollment Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleHook, err := inline.NewHook(ctx, \"example\", \u0026inline.HookArgs{\n\t\t\tName: pulumi.String(\"My Inline Hook\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tType: pulumi.String(\"com.okta.user.pre-registration\"),\n\t\t\tVersion: pulumi.String(\"1.0.3\"),\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HTTP\"),\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test2\"),\n\t\t\t\t\"method\": pulumi.String(\"POST\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleGroup, err := group.NewGroup(ctx, \"example\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"My Group\"),\n\t\t\tDescription: pulumi.String(\"Group of some users\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyRuleProfileEnrollment(ctx, \"example\", \u0026okta.PolicyRuleProfileEnrollmentArgs{\n\t\t\tPolicyId: example.ID(),\n\t\t\tInlineHookId: exampleHook.ID(),\n\t\t\tTargetGroupId: exampleGroup.ID(),\n\t\t\tUnknownUserAction: pulumi.String(\"REGISTER\"),\n\t\t\tEmailVerification: pulumi.Bool(true),\n\t\t\tAccess: pulumi.String(\"ALLOW\"),\n\t\t\tProfileAttributes: okta.PolicyRuleProfileEnrollmentProfileAttributeArray{\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"email\"),\n\t\t\t\t\tLabel: pulumi.String(\"Email\"),\n\t\t\t\t\tRequired: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"name\"),\n\t\t\t\t\tLabel: pulumi.String(\"Name\"),\n\t\t\t\t\tRequired: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"t-shirt\"),\n\t\t\t\t\tLabel: pulumi.String(\"T-Shirt Size\"),\n\t\t\t\t\tRequired: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.PolicyProfileEnrollment;\nimport com.pulumi.okta.PolicyProfileEnrollmentArgs;\nimport com.pulumi.okta.inline.Hook;\nimport com.pulumi.okta.inline.HookArgs;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.PolicyRuleProfileEnrollment;\nimport com.pulumi.okta.PolicyRuleProfileEnrollmentArgs;\nimport com.pulumi.okta.inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new PolicyProfileEnrollment(\"example\", PolicyProfileEnrollmentArgs.builder()\n .name(\"My Enrollment Policy\")\n .build());\n\n var exampleHook = new Hook(\"exampleHook\", HookArgs.builder()\n .name(\"My Inline Hook\")\n .status(\"ACTIVE\")\n .type(\"com.okta.user.pre-registration\")\n .version(\"1.0.3\")\n .channel(Map.ofEntries(\n Map.entry(\"type\", \"HTTP\"),\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test2\"),\n Map.entry(\"method\", \"POST\")\n ))\n .build());\n\n var exampleGroup = new Group(\"exampleGroup\", GroupArgs.builder()\n .name(\"My Group\")\n .description(\"Group of some users\")\n .build());\n\n var examplePolicyRuleProfileEnrollment = new PolicyRuleProfileEnrollment(\"examplePolicyRuleProfileEnrollment\", PolicyRuleProfileEnrollmentArgs.builder()\n .policyId(example.id())\n .inlineHookId(exampleHook.id())\n .targetGroupId(exampleGroup.id())\n .unknownUserAction(\"REGISTER\")\n .emailVerification(true)\n .access(\"ALLOW\")\n .profileAttributes( \n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"email\")\n .label(\"Email\")\n .required(true)\n .build(),\n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"name\")\n .label(\"Name\")\n .required(true)\n .build(),\n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"t-shirt\")\n .label(\"T-Shirt Size\")\n .required(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:PolicyProfileEnrollment\n properties:\n name: My Enrollment Policy\n exampleHook:\n type: okta:inline:Hook\n name: example\n properties:\n name: My Inline Hook\n status: ACTIVE\n type: com.okta.user.pre-registration\n version: 1.0.3\n channel:\n type: HTTP\n version: 1.0.0\n uri: https://example.com/test2\n method: POST\n exampleGroup:\n type: okta:group:Group\n name: example\n properties:\n name: My Group\n description: Group of some users\n examplePolicyRuleProfileEnrollment:\n type: okta:PolicyRuleProfileEnrollment\n name: example\n properties:\n policyId: ${example.id}\n inlineHookId: ${exampleHook.id}\n targetGroupId: ${exampleGroup.id}\n unknownUserAction: REGISTER\n emailVerification: true\n access: ALLOW\n profileAttributes:\n - name: email\n label: Email\n required: true\n - name: name\n label: Name\n required: true\n - name: t-shirt\n label: T-Shirt Size\n required: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example \u0026#60;policy id\u0026#62;/\u0026#60;rule id\u0026#62;\n```\n\n", + "description": "Creates a Profile Enrollment Policy Rule.\n\t\t\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nA [profile enrollment\npolicy](https://developer.okta.com/docs/reference/api/policy/#profile-enrollment-policy)\nis limited to one default rule. This resource does not create a rule for an\nenrollment policy, it allows the default policy rule to be updated.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.PolicyProfileEnrollment(\"example\", {name: \"My Enrollment Policy\"});\nconst exampleHook = new okta.inline.Hook(\"example\", {\n name: \"My Inline Hook\",\n status: \"ACTIVE\",\n type: \"com.okta.user.pre-registration\",\n version: \"1.0.3\",\n channel: {\n type: \"HTTP\",\n version: \"1.0.0\",\n uri: \"https://example.com/test2\",\n method: \"POST\",\n },\n});\nconst exampleGroup = new okta.group.Group(\"example\", {\n name: \"My Group\",\n description: \"Group of some users\",\n});\nconst examplePolicyRuleProfileEnrollment = new okta.PolicyRuleProfileEnrollment(\"example\", {\n policyId: example.id,\n inlineHookId: exampleHook.id,\n targetGroupId: exampleGroup.id,\n unknownUserAction: \"REGISTER\",\n emailVerification: true,\n access: \"ALLOW\",\n profileAttributes: [\n {\n name: \"email\",\n label: \"Email\",\n required: true,\n },\n {\n name: \"name\",\n label: \"Name\",\n required: true,\n },\n {\n name: \"t-shirt\",\n label: \"T-Shirt Size\",\n required: false,\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.PolicyProfileEnrollment(\"example\", name=\"My Enrollment Policy\")\nexample_hook = okta.inline.Hook(\"example\",\n name=\"My Inline Hook\",\n status=\"ACTIVE\",\n type=\"com.okta.user.pre-registration\",\n version=\"1.0.3\",\n channel={\n \"type\": \"HTTP\",\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test2\",\n \"method\": \"POST\",\n })\nexample_group = okta.group.Group(\"example\",\n name=\"My Group\",\n description=\"Group of some users\")\nexample_policy_rule_profile_enrollment = okta.PolicyRuleProfileEnrollment(\"example\",\n policy_id=example.id,\n inline_hook_id=example_hook.id,\n target_group_id=example_group.id,\n unknown_user_action=\"REGISTER\",\n email_verification=True,\n access=\"ALLOW\",\n profile_attributes=[\n {\n \"name\": \"email\",\n \"label\": \"Email\",\n \"required\": True,\n },\n {\n \"name\": \"name\",\n \"label\": \"Name\",\n \"required\": True,\n },\n {\n \"name\": \"t-shirt\",\n \"label\": \"T-Shirt Size\",\n \"required\": False,\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.PolicyProfileEnrollment(\"example\", new()\n {\n Name = \"My Enrollment Policy\",\n });\n\n var exampleHook = new Okta.Inline.Hook(\"example\", new()\n {\n Name = \"My Inline Hook\",\n Status = \"ACTIVE\",\n Type = \"com.okta.user.pre-registration\",\n Version = \"1.0.3\",\n Channel = \n {\n { \"type\", \"HTTP\" },\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test2\" },\n { \"method\", \"POST\" },\n },\n });\n\n var exampleGroup = new Okta.Group.Group(\"example\", new()\n {\n Name = \"My Group\",\n Description = \"Group of some users\",\n });\n\n var examplePolicyRuleProfileEnrollment = new Okta.PolicyRuleProfileEnrollment(\"example\", new()\n {\n PolicyId = example.Id,\n InlineHookId = exampleHook.Id,\n TargetGroupId = exampleGroup.Id,\n UnknownUserAction = \"REGISTER\",\n EmailVerification = true,\n Access = \"ALLOW\",\n ProfileAttributes = new[]\n {\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"email\",\n Label = \"Email\",\n Required = true,\n },\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"name\",\n Label = \"Name\",\n Required = true,\n },\n new Okta.Inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs\n {\n Name = \"t-shirt\",\n Label = \"T-Shirt Size\",\n Required = false,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/inline\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := okta.NewPolicyProfileEnrollment(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentArgs{\n\t\t\tName: pulumi.String(\"My Enrollment Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleHook, err := inline.NewHook(ctx, \"example\", \u0026inline.HookArgs{\n\t\t\tName: pulumi.String(\"My Inline Hook\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tType: pulumi.String(\"com.okta.user.pre-registration\"),\n\t\t\tVersion: pulumi.String(\"1.0.3\"),\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"type\": pulumi.String(\"HTTP\"),\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test2\"),\n\t\t\t\t\"method\": pulumi.String(\"POST\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleGroup, err := group.NewGroup(ctx, \"example\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"My Group\"),\n\t\t\tDescription: pulumi.String(\"Group of some users\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyRuleProfileEnrollment(ctx, \"example\", \u0026okta.PolicyRuleProfileEnrollmentArgs{\n\t\t\tPolicyId: example.ID(),\n\t\t\tInlineHookId: exampleHook.ID(),\n\t\t\tTargetGroupId: exampleGroup.ID(),\n\t\t\tUnknownUserAction: pulumi.String(\"REGISTER\"),\n\t\t\tEmailVerification: pulumi.Bool(true),\n\t\t\tAccess: pulumi.String(\"ALLOW\"),\n\t\t\tProfileAttributes: okta.PolicyRuleProfileEnrollmentProfileAttributeArray{\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"email\"),\n\t\t\t\t\tLabel: pulumi.String(\"Email\"),\n\t\t\t\t\tRequired: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"name\"),\n\t\t\t\t\tLabel: pulumi.String(\"Name\"),\n\t\t\t\t\tRequired: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026okta.PolicyRuleProfileEnrollmentProfileAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"t-shirt\"),\n\t\t\t\t\tLabel: pulumi.String(\"T-Shirt Size\"),\n\t\t\t\t\tRequired: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.PolicyProfileEnrollment;\nimport com.pulumi.okta.PolicyProfileEnrollmentArgs;\nimport com.pulumi.okta.inline.Hook;\nimport com.pulumi.okta.inline.HookArgs;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.PolicyRuleProfileEnrollment;\nimport com.pulumi.okta.PolicyRuleProfileEnrollmentArgs;\nimport com.pulumi.okta.inputs.PolicyRuleProfileEnrollmentProfileAttributeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new PolicyProfileEnrollment(\"example\", PolicyProfileEnrollmentArgs.builder()\n .name(\"My Enrollment Policy\")\n .build());\n\n var exampleHook = new Hook(\"exampleHook\", HookArgs.builder()\n .name(\"My Inline Hook\")\n .status(\"ACTIVE\")\n .type(\"com.okta.user.pre-registration\")\n .version(\"1.0.3\")\n .channel(Map.ofEntries(\n Map.entry(\"type\", \"HTTP\"),\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test2\"),\n Map.entry(\"method\", \"POST\")\n ))\n .build());\n\n var exampleGroup = new Group(\"exampleGroup\", GroupArgs.builder()\n .name(\"My Group\")\n .description(\"Group of some users\")\n .build());\n\n var examplePolicyRuleProfileEnrollment = new PolicyRuleProfileEnrollment(\"examplePolicyRuleProfileEnrollment\", PolicyRuleProfileEnrollmentArgs.builder()\n .policyId(example.id())\n .inlineHookId(exampleHook.id())\n .targetGroupId(exampleGroup.id())\n .unknownUserAction(\"REGISTER\")\n .emailVerification(true)\n .access(\"ALLOW\")\n .profileAttributes( \n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"email\")\n .label(\"Email\")\n .required(true)\n .build(),\n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"name\")\n .label(\"Name\")\n .required(true)\n .build(),\n PolicyRuleProfileEnrollmentProfileAttributeArgs.builder()\n .name(\"t-shirt\")\n .label(\"T-Shirt Size\")\n .required(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:PolicyProfileEnrollment\n properties:\n name: My Enrollment Policy\n exampleHook:\n type: okta:inline:Hook\n name: example\n properties:\n name: My Inline Hook\n status: ACTIVE\n type: com.okta.user.pre-registration\n version: 1.0.3\n channel:\n type: HTTP\n version: 1.0.0\n uri: https://example.com/test2\n method: POST\n exampleGroup:\n type: okta:group:Group\n name: example\n properties:\n name: My Group\n description: Group of some users\n examplePolicyRuleProfileEnrollment:\n type: okta:PolicyRuleProfileEnrollment\n name: example\n properties:\n policyId: ${example.id}\n inlineHookId: ${exampleHook.id}\n targetGroupId: ${exampleGroup.id}\n unknownUserAction: REGISTER\n emailVerification: true\n access: ALLOW\n profileAttributes:\n - name: email\n label: Email\n required: true\n - name: name\n label: Name\n required: true\n - name: t-shirt\n label: T-Shirt Size\n required: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "access": { "type": "string", @@ -14308,7 +14428,7 @@ } }, "okta:index/resourceSet:ResourceSet": { - "description": "Manages Resource Sets as custom collections of resources. This resource allows the creation and manipulation of Okta Resource Sets as custom collections of Okta resources. You can use Okta Resource Sets to assign Custom Roles to administrators who are scoped to the designated resources. \nThe 'resources' field supports the following:\n\t- Apps\n\t- Groups\n\t- All Users within a Group\n\t- All Users within the org\n\t- All Groups within the org\n\t- All Apps within the org\n\t- All Apps of the same type\n\n## Import\n\n```sh\n$ pulumi import okta:index/resourceSet:ResourceSet example \u0026#60;resource_set_id\u0026#62;\n```\n\n", + "description": "Manages Resource Sets as custom collections of resources. This resource allows the creation and manipulation of Okta Resource Sets as custom collections of Okta resources. You can use Okta Resource Sets to assign Custom Roles to administrators who are scoped to the designated resources. \nThe 'resources' field supports the following:\n\t- Apps\n\t- Groups\n\t- All Users within a Group\n\t- All Users within the org\n\t- All Groups within the org\n\t- All Apps within the org\n\t- All Apps of the same type\n\n## Import\n\n```sh\n$ pulumi import okta:index/resourceSet:ResourceSet example \u003cresource_set_id\u003e\n```\n\n", "properties": { "description": { "type": "string", @@ -14374,7 +14494,7 @@ } }, "okta:index/roleSubscription:RoleSubscription": { - "description": "Manages group subscription.\n\t\t\nThis resource allows you to configure subscriptions of a Role with a specific type. \nCheck [configure email notifications](https://help.okta.com/oie/en-us/Content/Topics/Security/custom-admin-role/administrator-email-settings.htm) \npage regarding what notifications are available for specific admin roles.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.RoleSubscription(\"test\", {\n roleType: \"SUPER_ADMIN\",\n notificationType: \"APP_IMPORT\",\n status: \"unsubscribed\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.RoleSubscription(\"test\",\n role_type=\"SUPER_ADMIN\",\n notification_type=\"APP_IMPORT\",\n status=\"unsubscribed\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.RoleSubscription(\"test\", new()\n {\n RoleType = \"SUPER_ADMIN\",\n NotificationType = \"APP_IMPORT\",\n Status = \"unsubscribed\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewRoleSubscription(ctx, \"test\", \u0026okta.RoleSubscriptionArgs{\n\t\t\tRoleType: pulumi.String(\"SUPER_ADMIN\"),\n\t\t\tNotificationType: pulumi.String(\"APP_IMPORT\"),\n\t\t\tStatus: pulumi.String(\"unsubscribed\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.RoleSubscription;\nimport com.pulumi.okta.RoleSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new RoleSubscription(\"test\", RoleSubscriptionArgs.builder()\n .roleType(\"SUPER_ADMIN\")\n .notificationType(\"APP_IMPORT\")\n .status(\"unsubscribed\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:RoleSubscription\n properties:\n roleType: SUPER_ADMIN\n notificationType: APP_IMPORT\n status: unsubscribed\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/roleSubscription:RoleSubscription example \u0026#60;role_type\u0026#62;/\u0026#60;notification_type\u0026#62;\n```\n\n", + "description": "Manages group subscription.\n\t\t\nThis resource allows you to configure subscriptions of a Role with a specific type. \nCheck [configure email notifications](https://help.okta.com/oie/en-us/Content/Topics/Security/custom-admin-role/administrator-email-settings.htm) \npage regarding what notifications are available for specific admin roles.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.RoleSubscription(\"test\", {\n roleType: \"SUPER_ADMIN\",\n notificationType: \"APP_IMPORT\",\n status: \"unsubscribed\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.RoleSubscription(\"test\",\n role_type=\"SUPER_ADMIN\",\n notification_type=\"APP_IMPORT\",\n status=\"unsubscribed\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.RoleSubscription(\"test\", new()\n {\n RoleType = \"SUPER_ADMIN\",\n NotificationType = \"APP_IMPORT\",\n Status = \"unsubscribed\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewRoleSubscription(ctx, \"test\", \u0026okta.RoleSubscriptionArgs{\n\t\t\tRoleType: pulumi.String(\"SUPER_ADMIN\"),\n\t\t\tNotificationType: pulumi.String(\"APP_IMPORT\"),\n\t\t\tStatus: pulumi.String(\"unsubscribed\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.RoleSubscription;\nimport com.pulumi.okta.RoleSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new RoleSubscription(\"test\", RoleSubscriptionArgs.builder()\n .roleType(\"SUPER_ADMIN\")\n .notificationType(\"APP_IMPORT\")\n .status(\"unsubscribed\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:RoleSubscription\n properties:\n roleType: SUPER_ADMIN\n notificationType: APP_IMPORT\n status: unsubscribed\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/roleSubscription:RoleSubscription example \u003crole_type\u003e/\u003cnotification_type\u003e\n```\n\n", "properties": { "notificationType": { "type": "string", @@ -14508,7 +14628,7 @@ } }, "okta:index/templateSms:TemplateSms": { - "description": "Creates an Okta SMS Template. This resource allows you to create and configure an Okta SMS Template.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.TemplateSms(\"example\", {\n type: \"SMS_VERIFY_CODE\",\n template: \"Your ${org.name} code is: ${code}\",\n translations: [\n {\n language: \"en\",\n template: \"Your ${org.name} code is: ${code}\",\n },\n {\n language: \"es\",\n template: \"Tu código de ${org.name} es: ${code}.\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.TemplateSms(\"example\",\n type=\"SMS_VERIFY_CODE\",\n template=\"Your ${org.name} code is: ${code}\",\n translations=[\n {\n \"language\": \"en\",\n \"template\": \"Your ${org.name} code is: ${code}\",\n },\n {\n \"language\": \"es\",\n \"template\": \"Tu código de ${org.name} es: ${code}.\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TemplateSms(\"example\", new()\n {\n Type = \"SMS_VERIFY_CODE\",\n Template = \"Your ${org.name} code is: ${code}\",\n Translations = new[]\n {\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"en\",\n Template = \"Your ${org.name} code is: ${code}\",\n },\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"es\",\n Template = \"Tu código de ${org.name} es: ${code}.\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewTemplateSms(ctx, \"example\", \u0026okta.TemplateSmsArgs{\n\t\t\tType: pulumi.String(\"SMS_VERIFY_CODE\"),\n\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\tTranslations: okta.TemplateSmsTranslationArray{\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"en\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\t\t},\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"es\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Tu código de ${org.name} es: ${code}.\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.TemplateSms;\nimport com.pulumi.okta.TemplateSmsArgs;\nimport com.pulumi.okta.inputs.TemplateSmsTranslationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new TemplateSms(\"example\", TemplateSmsArgs.builder()\n .type(\"SMS_VERIFY_CODE\")\n .template(\"Your ${org.name} code is: ${code}\")\n .translations( \n TemplateSmsTranslationArgs.builder()\n .language(\"en\")\n .template(\"Your ${org.name} code is: ${code}\")\n .build(),\n TemplateSmsTranslationArgs.builder()\n .language(\"es\")\n .template(\"Tu código de ${org.name} es: ${code}.\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:TemplateSms\n properties:\n type: SMS_VERIFY_CODE\n template: 'Your ${org.name} code is: ${code}'\n translations:\n - language: en\n template: 'Your ${org.name} code is: ${code}'\n - language: es\n template: 'Tu código de ${org.name} es: ${code}.'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/templateSms:TemplateSms example \u0026#60;template type\u0026#62;\n```\n\n", + "description": "Creates an Okta SMS Template. This resource allows you to create and configure an Okta SMS Template.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.TemplateSms(\"example\", {\n type: \"SMS_VERIFY_CODE\",\n template: \"Your ${org.name} code is: ${code}\",\n translations: [\n {\n language: \"en\",\n template: \"Your ${org.name} code is: ${code}\",\n },\n {\n language: \"es\",\n template: \"Tu código de ${org.name} es: ${code}.\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.TemplateSms(\"example\",\n type=\"SMS_VERIFY_CODE\",\n template=\"Your ${org.name} code is: ${code}\",\n translations=[\n {\n \"language\": \"en\",\n \"template\": \"Your ${org.name} code is: ${code}\",\n },\n {\n \"language\": \"es\",\n \"template\": \"Tu código de ${org.name} es: ${code}.\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TemplateSms(\"example\", new()\n {\n Type = \"SMS_VERIFY_CODE\",\n Template = \"Your ${org.name} code is: ${code}\",\n Translations = new[]\n {\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"en\",\n Template = \"Your ${org.name} code is: ${code}\",\n },\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"es\",\n Template = \"Tu código de ${org.name} es: ${code}.\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewTemplateSms(ctx, \"example\", \u0026okta.TemplateSmsArgs{\n\t\t\tType: pulumi.String(\"SMS_VERIFY_CODE\"),\n\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\tTranslations: okta.TemplateSmsTranslationArray{\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"en\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\t\t},\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"es\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Tu código de ${org.name} es: ${code}.\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.TemplateSms;\nimport com.pulumi.okta.TemplateSmsArgs;\nimport com.pulumi.okta.inputs.TemplateSmsTranslationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new TemplateSms(\"example\", TemplateSmsArgs.builder()\n .type(\"SMS_VERIFY_CODE\")\n .template(\"Your ${org.name} code is: ${code}\")\n .translations( \n TemplateSmsTranslationArgs.builder()\n .language(\"en\")\n .template(\"Your ${org.name} code is: ${code}\")\n .build(),\n TemplateSmsTranslationArgs.builder()\n .language(\"es\")\n .template(\"Tu código de ${org.name} es: ${code}.\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:TemplateSms\n properties:\n type: SMS_VERIFY_CODE\n template: 'Your ${org.name} code is: ${code}'\n translations:\n - language: en\n template: 'Your ${org.name} code is: ${code}'\n - language: es\n template: 'Tu código de ${org.name} es: ${code}.'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/templateSms:TemplateSms example \u003ctemplate_type\u003e\n```\n\n", "properties": { "template": { "type": "string", @@ -14574,7 +14694,7 @@ } }, "okta:index/theme:Theme": { - "description": "Gets, updates, a single Theme of a Brand of an Okta Organization.\n\nThis resource allows you to get and update an Okta\n[Theme](https://developer.okta.com/docs/reference/api/brands/#theme-object).\n\nThe Okta Management API does not have a true Create or Delete for a theme. Therefore, the theme resource must be imported\nfirst into the pulumi state before updates can be applied to the theme.\n\n## Import\n\n```sh\n$ pulumi import okta:index/theme:Theme example \u0026#60;brand id\u0026#62;/\u0026#60;theme id\u0026#62;\n```\n\n", + "description": "Gets, updates, a single Theme of a Brand of an Okta Organization.\n\nThis resource allows you to get and update an Okta\n[Theme](https://developer.okta.com/docs/reference/api/brands/#theme-object).\n\nThe Okta Management API does not have a true Create or Delete for a theme. Therefore, the theme resource must be imported\nfirst into the pulumi state before updates can be applied to the theme.\n\n## Import\n\n```sh\n$ pulumi import okta:index/theme:Theme example \u003cbrand_id\u003e/\u003ctheme_id\u003e\n```\n\n", "properties": { "backgroundImage": { "type": "string", @@ -14891,7 +15011,7 @@ } }, "okta:index/userAdminRoles:UserAdminRoles": { - "description": "Resource to manage a set of administrator roles for a specific user. This resource allows you to manage admin roles for a single user, independent of the user schema itself.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.user.User(\"test\", {\n firstName: \"TestAcc\",\n lastName: \"Smith\",\n login: \"testAcc-replace_with_uuid@example.com\",\n email: \"testAcc-replace_with_uuid@example.com\",\n});\nconst testUserAdminRoles = new okta.UserAdminRoles(\"test\", {\n userId: test.id,\n adminRoles: [\"APP_ADMIN\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.user.User(\"test\",\n first_name=\"TestAcc\",\n last_name=\"Smith\",\n login=\"testAcc-replace_with_uuid@example.com\",\n email=\"testAcc-replace_with_uuid@example.com\")\ntest_user_admin_roles = okta.UserAdminRoles(\"test\",\n user_id=test.id,\n admin_roles=[\"APP_ADMIN\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.User.User(\"test\", new()\n {\n FirstName = \"TestAcc\",\n LastName = \"Smith\",\n Login = \"testAcc-replace_with_uuid@example.com\",\n Email = \"testAcc-replace_with_uuid@example.com\",\n });\n\n var testUserAdminRoles = new Okta.UserAdminRoles(\"test\", new()\n {\n UserId = test.Id,\n AdminRoles = new[]\n {\n \"APP_ADMIN\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := user.NewUser(ctx, \"test\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"TestAcc\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t\tEmail: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserAdminRoles(ctx, \"test\", \u0026okta.UserAdminRolesArgs{\n\t\t\tUserId: test.ID(),\n\t\t\tAdminRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"APP_ADMIN\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.UserAdminRoles;\nimport com.pulumi.okta.UserAdminRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new User(\"test\", UserArgs.builder()\n .firstName(\"TestAcc\")\n .lastName(\"Smith\")\n .login(\"testAcc-replace_with_uuid@example.com\")\n .email(\"testAcc-replace_with_uuid@example.com\")\n .build());\n\n var testUserAdminRoles = new UserAdminRoles(\"testUserAdminRoles\", UserAdminRolesArgs.builder()\n .userId(test.id())\n .adminRoles(\"APP_ADMIN\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:user:User\n properties:\n firstName: TestAcc\n lastName: Smith\n login: testAcc-replace_with_uuid@example.com\n email: testAcc-replace_with_uuid@example.com\n testUserAdminRoles:\n type: okta:UserAdminRoles\n name: test\n properties:\n userId: ${test.id}\n adminRoles:\n - APP_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userAdminRoles:UserAdminRoles example \u0026#60;user id\u0026#62;\n```\n\n", + "description": "Resource to manage a set of administrator roles for a specific user. This resource allows you to manage admin roles for a single user, independent of the user schema itself.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.user.User(\"test\", {\n firstName: \"TestAcc\",\n lastName: \"Smith\",\n login: \"testAcc-replace_with_uuid@example.com\",\n email: \"testAcc-replace_with_uuid@example.com\",\n});\nconst testUserAdminRoles = new okta.UserAdminRoles(\"test\", {\n userId: test.id,\n adminRoles: [\"APP_ADMIN\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.user.User(\"test\",\n first_name=\"TestAcc\",\n last_name=\"Smith\",\n login=\"testAcc-replace_with_uuid@example.com\",\n email=\"testAcc-replace_with_uuid@example.com\")\ntest_user_admin_roles = okta.UserAdminRoles(\"test\",\n user_id=test.id,\n admin_roles=[\"APP_ADMIN\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.User.User(\"test\", new()\n {\n FirstName = \"TestAcc\",\n LastName = \"Smith\",\n Login = \"testAcc-replace_with_uuid@example.com\",\n Email = \"testAcc-replace_with_uuid@example.com\",\n });\n\n var testUserAdminRoles = new Okta.UserAdminRoles(\"test\", new()\n {\n UserId = test.Id,\n AdminRoles = new[]\n {\n \"APP_ADMIN\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := user.NewUser(ctx, \"test\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"TestAcc\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t\tEmail: pulumi.String(\"testAcc-replace_with_uuid@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserAdminRoles(ctx, \"test\", \u0026okta.UserAdminRolesArgs{\n\t\t\tUserId: test.ID(),\n\t\t\tAdminRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"APP_ADMIN\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.UserAdminRoles;\nimport com.pulumi.okta.UserAdminRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new User(\"test\", UserArgs.builder()\n .firstName(\"TestAcc\")\n .lastName(\"Smith\")\n .login(\"testAcc-replace_with_uuid@example.com\")\n .email(\"testAcc-replace_with_uuid@example.com\")\n .build());\n\n var testUserAdminRoles = new UserAdminRoles(\"testUserAdminRoles\", UserAdminRolesArgs.builder()\n .userId(test.id())\n .adminRoles(\"APP_ADMIN\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:user:User\n properties:\n firstName: TestAcc\n lastName: Smith\n login: testAcc-replace_with_uuid@example.com\n email: testAcc-replace_with_uuid@example.com\n testUserAdminRoles:\n type: okta:UserAdminRoles\n name: test\n properties:\n userId: ${test.id}\n adminRoles:\n - APP_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userAdminRoles:UserAdminRoles example \u003cuser_id\u003e\n```\n\n", "properties": { "adminRoles": { "type": "array", @@ -14959,7 +15079,7 @@ } }, "okta:index/userBaseSchemaProperty:UserBaseSchemaProperty": { - "description": "Manages a User Base Schema property. This resource allows you to configure a base user schema property.\n\n## IMPORTANT NOTE: \n\nBased on the [official documentation](https://developer.okta.com/docs/reference/api/schemas/#user-profile-base-subschema)\nbase properties can not be modified, except to update permissions, to change the nullability of `firstName` and \n`lastName` (`required` property) or to specify a `pattern` for `login`. Currently, `title` and `type` are required, so\nthey should be set to the current values of the base property. This will be fixed in the future releases, as this is \na breaking change.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.UserBaseSchemaProperty(\"example\", {\n index: \"firstName\",\n title: \"First name\",\n type: \"string\",\n required: true,\n master: \"OKTA\",\n userType: exampleOktaUserType.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.UserBaseSchemaProperty(\"example\",\n index=\"firstName\",\n title=\"First name\",\n type=\"string\",\n required=True,\n master=\"OKTA\",\n user_type=example_okta_user_type[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.UserBaseSchemaProperty(\"example\", new()\n {\n Index = \"firstName\",\n Title = \"First name\",\n Type = \"string\",\n Required = true,\n Master = \"OKTA\",\n UserType = exampleOktaUserType.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewUserBaseSchemaProperty(ctx, \"example\", \u0026okta.UserBaseSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"firstName\"),\n\t\t\tTitle: pulumi.String(\"First name\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tRequired: pulumi.Bool(true),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tUserType: pulumi.Any(exampleOktaUserType.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.UserBaseSchemaProperty;\nimport com.pulumi.okta.UserBaseSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserBaseSchemaProperty(\"example\", UserBaseSchemaPropertyArgs.builder()\n .index(\"firstName\")\n .title(\"First name\")\n .type(\"string\")\n .required(true)\n .master(\"OKTA\")\n .userType(exampleOktaUserType.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:UserBaseSchemaProperty\n properties:\n index: firstName\n title: First name\n type: string\n required: true\n master: OKTA\n userType: ${exampleOktaUserType.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n### User schema property of default user type can be imported via the property index.\n\n```sh\n$ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example \u0026#60;property name\u0026#62;\n```\n\n### User schema property of custom user type can be imported via user type id and property index\n\n```sh\n$ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example \u0026#60;user type id\u0026#62;.\u0026#60;property name\u0026#62;\n```\n\n", + "description": "Manages a User Base Schema property. This resource allows you to configure a base user schema property.\n\n## IMPORTANT NOTE: \n\nBased on the [official documentation](https://developer.okta.com/docs/reference/api/schemas/#user-profile-base-subschema)\nbase properties can not be modified, except to update permissions, to change the nullability of `firstName` and \n`lastName` (`required` property) or to specify a `pattern` for `login`. Currently, `title` and `type` are required, so\nthey should be set to the current values of the base property. This will be fixed in the future releases, as this is \na breaking change.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.UserBaseSchemaProperty(\"example\", {\n index: \"firstName\",\n title: \"First name\",\n type: \"string\",\n required: true,\n master: \"OKTA\",\n userType: exampleOktaUserType.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.UserBaseSchemaProperty(\"example\",\n index=\"firstName\",\n title=\"First name\",\n type=\"string\",\n required=True,\n master=\"OKTA\",\n user_type=example_okta_user_type[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.UserBaseSchemaProperty(\"example\", new()\n {\n Index = \"firstName\",\n Title = \"First name\",\n Type = \"string\",\n Required = true,\n Master = \"OKTA\",\n UserType = exampleOktaUserType.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewUserBaseSchemaProperty(ctx, \"example\", \u0026okta.UserBaseSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"firstName\"),\n\t\t\tTitle: pulumi.String(\"First name\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tRequired: pulumi.Bool(true),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tUserType: pulumi.Any(exampleOktaUserType.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.UserBaseSchemaProperty;\nimport com.pulumi.okta.UserBaseSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserBaseSchemaProperty(\"example\", UserBaseSchemaPropertyArgs.builder()\n .index(\"firstName\")\n .title(\"First name\")\n .type(\"string\")\n .required(true)\n .master(\"OKTA\")\n .userType(exampleOktaUserType.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:UserBaseSchemaProperty\n properties:\n index: firstName\n title: First name\n type: string\n required: true\n master: OKTA\n userType: ${exampleOktaUserType.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n### User schema property of default user type can be imported via the property index.\n\n```sh\n$ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example \u003cproperty_name\u003e\n```\n\n### User schema property of custom user type can be imported via user type id and property index\n\n```sh\n$ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example \u003cuser_type_id\u003e.\u003cproperty name\u003e\n```\n\n", "properties": { "index": { "type": "string", @@ -15082,7 +15202,7 @@ } }, "okta:index/userFactorQuestion:UserFactorQuestion": { - "description": "Creates security question factor for a user. This resource allows you to create and configure security question factor for a user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\nconst exampleFactor = new okta.factor.Factor(\"example\", {\n providerId: \"okta_question\",\n active: true,\n});\nconst exampleUserFactorQuestion = new okta.UserFactorQuestion(\"example\", {\n userId: exampleUser.id,\n key: example.apply(example =\u003e example.questions?.[0]?.key),\n answer: \"meatball\",\n}, {\n dependsOn: [exampleFactor],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\nexample_factor = okta.factor.Factor(\"example\",\n provider_id=\"okta_question\",\n active=True)\nexample_user_factor_question = okta.UserFactorQuestion(\"example\",\n user_id=example_user.id,\n key=example.questions[0].key,\n answer=\"meatball\",\n opts = pulumi.ResourceOptions(depends_on=[example_factor]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n var exampleFactor = new Okta.Factor.Factor(\"example\", new()\n {\n ProviderId = \"okta_question\",\n Active = true,\n });\n\n var exampleUserFactorQuestion = new Okta.UserFactorQuestion(\"example\", new()\n {\n UserId = exampleUser.Id,\n Key = example.Apply(getUserSecurityQuestionsResult =\u003e getUserSecurityQuestionsResult.Questions[0]?.Key),\n Answer = \"meatball\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n exampleFactor,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/factor\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample := okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\n\t\texampleFactor, err := factor.NewFactor(ctx, \"example\", \u0026factor.FactorArgs{\n\t\t\tProviderId: pulumi.String(\"okta_question\"),\n\t\t\tActive: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserFactorQuestion(ctx, \"example\", \u0026okta.UserFactorQuestionArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t\tKey: pulumi.String(example.ApplyT(func(example okta.GetUserSecurityQuestionsResult) (*string, error) {\n\t\t\t\treturn \u0026example.Questions[0].Key, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tAnswer: pulumi.String(\"meatball\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texampleFactor,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\nimport com.pulumi.okta.factor.Factor;\nimport com.pulumi.okta.factor.FactorArgs;\nimport com.pulumi.okta.UserFactorQuestion;\nimport com.pulumi.okta.UserFactorQuestionArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n var exampleFactor = new Factor(\"exampleFactor\", FactorArgs.builder()\n .providerId(\"okta_question\")\n .active(true)\n .build());\n\n var exampleUserFactorQuestion = new UserFactorQuestion(\"exampleUserFactorQuestion\", UserFactorQuestionArgs.builder()\n .userId(exampleUser.id())\n .key(example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult).applyValue(example -\u003e example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult.questions()[0].key())))\n .answer(\"meatball\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(exampleFactor)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n exampleFactor:\n type: okta:factor:Factor\n name: example\n properties:\n providerId: okta_question\n active: true\n exampleUserFactorQuestion:\n type: okta:UserFactorQuestion\n name: example\n properties:\n userId: ${exampleUser.id}\n key: ${example.questions[0].key}\n answer: meatball\n options:\n dependson:\n - ${exampleFactor}\nvariables:\n example:\n fn::invoke:\n Function: okta:getUserSecurityQuestions\n Arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example \u0026#60;user id\u0026#62;/\u0026#60;question factor id\u0026#62;\n```\n\n", + "description": "Creates security question factor for a user. This resource allows you to create and configure security question factor for a user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\nconst exampleFactor = new okta.factor.Factor(\"example\", {\n providerId: \"okta_question\",\n active: true,\n});\nconst exampleUserFactorQuestion = new okta.UserFactorQuestion(\"example\", {\n userId: exampleUser.id,\n key: example.apply(example =\u003e example.questions?.[0]?.key),\n answer: \"meatball\",\n}, {\n dependsOn: [exampleFactor],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\nexample_factor = okta.factor.Factor(\"example\",\n provider_id=\"okta_question\",\n active=True)\nexample_user_factor_question = okta.UserFactorQuestion(\"example\",\n user_id=example_user.id,\n key=example.questions[0].key,\n answer=\"meatball\",\n opts = pulumi.ResourceOptions(depends_on=[example_factor]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n var exampleFactor = new Okta.Factor.Factor(\"example\", new()\n {\n ProviderId = \"okta_question\",\n Active = true,\n });\n\n var exampleUserFactorQuestion = new Okta.UserFactorQuestion(\"example\", new()\n {\n UserId = exampleUser.Id,\n Key = example.Apply(getUserSecurityQuestionsResult =\u003e getUserSecurityQuestionsResult.Questions[0]?.Key),\n Answer = \"meatball\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n exampleFactor,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/factor\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample := okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\n\t\texampleFactor, err := factor.NewFactor(ctx, \"example\", \u0026factor.FactorArgs{\n\t\t\tProviderId: pulumi.String(\"okta_question\"),\n\t\t\tActive: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserFactorQuestion(ctx, \"example\", \u0026okta.UserFactorQuestionArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t\tKey: pulumi.String(example.ApplyT(func(example okta.GetUserSecurityQuestionsResult) (*string, error) {\n\t\t\t\treturn \u0026example.Questions[0].Key, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tAnswer: pulumi.String(\"meatball\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texampleFactor,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\nimport com.pulumi.okta.factor.Factor;\nimport com.pulumi.okta.factor.FactorArgs;\nimport com.pulumi.okta.UserFactorQuestion;\nimport com.pulumi.okta.UserFactorQuestionArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n var exampleFactor = new Factor(\"exampleFactor\", FactorArgs.builder()\n .providerId(\"okta_question\")\n .active(true)\n .build());\n\n var exampleUserFactorQuestion = new UserFactorQuestion(\"exampleUserFactorQuestion\", UserFactorQuestionArgs.builder()\n .userId(exampleUser.id())\n .key(example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult).applyValue(example -\u003e example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult.questions()[0].key())))\n .answer(\"meatball\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(exampleFactor)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n exampleFactor:\n type: okta:factor:Factor\n name: example\n properties:\n providerId: okta_question\n active: true\n exampleUserFactorQuestion:\n type: okta:UserFactorQuestion\n name: example\n properties:\n userId: ${exampleUser.id}\n key: ${example.questions[0].key}\n answer: meatball\n options:\n dependson:\n - ${exampleFactor}\nvariables:\n example:\n fn::invoke:\n Function: okta:getUserSecurityQuestions\n Arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example \u003cuser_id\u003e/\u003cquestion_factor_id\u003e\n```\n\n", "properties": { "answer": { "type": "string", @@ -15220,7 +15340,7 @@ } }, "okta:index/userSchemaProperty:UserSchemaProperty": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.UserSchemaProperty(\"example\", {\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n userType: exampleOktaUserType.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.UserSchemaProperty(\"example\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\",\n user_type=example_okta_user_type[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.UserSchemaProperty(\"example\", new()\n {\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n UserType = exampleOktaUserType.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewUserSchemaProperty(ctx, \"example\", \u0026okta.UserSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t\tUserType: pulumi.Any(exampleOktaUserType.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.UserSchemaProperty;\nimport com.pulumi.okta.UserSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserSchemaProperty(\"example\", UserSchemaPropertyArgs.builder()\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .userType(exampleOktaUserType.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:UserSchemaProperty\n properties:\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n userType: ${exampleOktaUserType.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example \u0026#60;user type id\u0026#62;.\u0026#60;index\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.UserSchemaProperty(\"example\", {\n index: \"customPropertyName\",\n title: \"customPropertyName\",\n type: \"string\",\n description: \"My custom property name\",\n master: \"OKTA\",\n scope: \"SELF\",\n userType: exampleOktaUserType.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.UserSchemaProperty(\"example\",\n index=\"customPropertyName\",\n title=\"customPropertyName\",\n type=\"string\",\n description=\"My custom property name\",\n master=\"OKTA\",\n scope=\"SELF\",\n user_type=example_okta_user_type[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.UserSchemaProperty(\"example\", new()\n {\n Index = \"customPropertyName\",\n Title = \"customPropertyName\",\n Type = \"string\",\n Description = \"My custom property name\",\n Master = \"OKTA\",\n Scope = \"SELF\",\n UserType = exampleOktaUserType.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := okta.NewUserSchemaProperty(ctx, \"example\", \u0026okta.UserSchemaPropertyArgs{\n\t\t\tIndex: pulumi.String(\"customPropertyName\"),\n\t\t\tTitle: pulumi.String(\"customPropertyName\"),\n\t\t\tType: pulumi.String(\"string\"),\n\t\t\tDescription: pulumi.String(\"My custom property name\"),\n\t\t\tMaster: pulumi.String(\"OKTA\"),\n\t\t\tScope: pulumi.String(\"SELF\"),\n\t\t\tUserType: pulumi.Any(exampleOktaUserType.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.UserSchemaProperty;\nimport com.pulumi.okta.UserSchemaPropertyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserSchemaProperty(\"example\", UserSchemaPropertyArgs.builder()\n .index(\"customPropertyName\")\n .title(\"customPropertyName\")\n .type(\"string\")\n .description(\"My custom property name\")\n .master(\"OKTA\")\n .scope(\"SELF\")\n .userType(exampleOktaUserType.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:UserSchemaProperty\n properties:\n index: customPropertyName\n title: customPropertyName\n type: string\n description: My custom property name\n master: OKTA\n scope: SELF\n userType: ${exampleOktaUserType.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example \u003cvariableName\u003e\n```\n\n```sh\n$ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example \u003cuser_type_id\u003e.\u003cindex\u003e\n```\n\n", "properties": { "arrayEnums": { "type": "array", @@ -15552,7 +15672,7 @@ } }, "okta:inline/hook:Hook": { - "description": "Creates an inline hook. This resource allows you to create and configure an inline hook.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.inline.Hook(\"example\", {\n name: \"example\",\n version: \"1.0.0\",\n type: \"com.okta.oauth2.tokens.transform\",\n channel: {\n version: \"1.0.0\",\n uri: \"https://example.com/test\",\n method: \"POST\",\n },\n auth: {\n key: \"Authorization\",\n type: \"HEADER\",\n value: \"secret\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.inline.Hook(\"example\",\n name=\"example\",\n version=\"1.0.0\",\n type=\"com.okta.oauth2.tokens.transform\",\n channel={\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test\",\n \"method\": \"POST\",\n },\n auth={\n \"key\": \"Authorization\",\n \"type\": \"HEADER\",\n \"value\": \"secret\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Inline.Hook(\"example\", new()\n {\n Name = \"example\",\n Version = \"1.0.0\",\n Type = \"com.okta.oauth2.tokens.transform\",\n Channel = \n {\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test\" },\n { \"method\", \"POST\" },\n },\n Auth = \n {\n { \"key\", \"Authorization\" },\n { \"type\", \"HEADER\" },\n { \"value\", \"secret\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/inline\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := inline.NewHook(ctx, \"example\", \u0026inline.HookArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tType: pulumi.String(\"com.okta.oauth2.tokens.transform\"),\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test\"),\n\t\t\t\t\"method\": pulumi.String(\"POST\"),\n\t\t\t},\n\t\t\tAuth: pulumi.StringMap{\n\t\t\t\t\"key\": pulumi.String(\"Authorization\"),\n\t\t\t\t\"type\": pulumi.String(\"HEADER\"),\n\t\t\t\t\"value\": pulumi.String(\"secret\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.inline.Hook;\nimport com.pulumi.okta.inline.HookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Hook(\"example\", HookArgs.builder()\n .name(\"example\")\n .version(\"1.0.0\")\n .type(\"com.okta.oauth2.tokens.transform\")\n .channel(Map.ofEntries(\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test\"),\n Map.entry(\"method\", \"POST\")\n ))\n .auth(Map.ofEntries(\n Map.entry(\"key\", \"Authorization\"),\n Map.entry(\"type\", \"HEADER\"),\n Map.entry(\"value\", \"secret\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:inline:Hook\n properties:\n name: example\n version: 1.0.0\n type: com.okta.oauth2.tokens.transform\n channel:\n version: 1.0.0\n uri: https://example.com/test\n method: POST\n auth:\n key: Authorization\n type: HEADER\n value: secret\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:inline/hook:Hook example \u0026#60;hook id\u0026#62;\n```\n\n", + "description": "Creates an inline hook. This resource allows you to create and configure an inline hook.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.inline.Hook(\"example\", {\n name: \"example\",\n version: \"1.0.0\",\n type: \"com.okta.oauth2.tokens.transform\",\n channel: {\n version: \"1.0.0\",\n uri: \"https://example.com/test\",\n method: \"POST\",\n },\n auth: {\n key: \"Authorization\",\n type: \"HEADER\",\n value: \"secret\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.inline.Hook(\"example\",\n name=\"example\",\n version=\"1.0.0\",\n type=\"com.okta.oauth2.tokens.transform\",\n channel={\n \"version\": \"1.0.0\",\n \"uri\": \"https://example.com/test\",\n \"method\": \"POST\",\n },\n auth={\n \"key\": \"Authorization\",\n \"type\": \"HEADER\",\n \"value\": \"secret\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Inline.Hook(\"example\", new()\n {\n Name = \"example\",\n Version = \"1.0.0\",\n Type = \"com.okta.oauth2.tokens.transform\",\n Channel = \n {\n { \"version\", \"1.0.0\" },\n { \"uri\", \"https://example.com/test\" },\n { \"method\", \"POST\" },\n },\n Auth = \n {\n { \"key\", \"Authorization\" },\n { \"type\", \"HEADER\" },\n { \"value\", \"secret\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/inline\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := inline.NewHook(ctx, \"example\", \u0026inline.HookArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tType: pulumi.String(\"com.okta.oauth2.tokens.transform\"),\n\t\t\tChannel: pulumi.StringMap{\n\t\t\t\t\"version\": pulumi.String(\"1.0.0\"),\n\t\t\t\t\"uri\": pulumi.String(\"https://example.com/test\"),\n\t\t\t\t\"method\": pulumi.String(\"POST\"),\n\t\t\t},\n\t\t\tAuth: pulumi.StringMap{\n\t\t\t\t\"key\": pulumi.String(\"Authorization\"),\n\t\t\t\t\"type\": pulumi.String(\"HEADER\"),\n\t\t\t\t\"value\": pulumi.String(\"secret\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.inline.Hook;\nimport com.pulumi.okta.inline.HookArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Hook(\"example\", HookArgs.builder()\n .name(\"example\")\n .version(\"1.0.0\")\n .type(\"com.okta.oauth2.tokens.transform\")\n .channel(Map.ofEntries(\n Map.entry(\"version\", \"1.0.0\"),\n Map.entry(\"uri\", \"https://example.com/test\"),\n Map.entry(\"method\", \"POST\")\n ))\n .auth(Map.ofEntries(\n Map.entry(\"key\", \"Authorization\"),\n Map.entry(\"type\", \"HEADER\"),\n Map.entry(\"value\", \"secret\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:inline:Hook\n properties:\n name: example\n version: 1.0.0\n type: com.okta.oauth2.tokens.transform\n channel:\n version: 1.0.0\n uri: https://example.com/test\n method: POST\n auth:\n key: Authorization\n type: HEADER\n value: secret\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:inline/hook:Hook example \u003chook_id\u003e\n```\n\n", "properties": { "auth": { "type": "object", @@ -15683,7 +15803,7 @@ } }, "okta:network/zone:Zone": { - "description": "Creates an Okta Network Zone. This resource allows you to create and configure an Okta Network Zone.\n\n## Import\n\n```sh\n$ pulumi import okta:network/zone:Zone example \u0026#60;zone id\u0026#62;\n```\n\n", + "description": "Creates an Okta Network Zone. This resource allows you to create and configure an Okta Network Zone.\n\n## Import\n\n```sh\n$ pulumi import okta:network/zone:Zone example \u003czone_id\u003e\n```\n\n", "properties": { "asns": { "type": "array", @@ -15910,7 +16030,7 @@ } }, "okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid": { - "description": "Manages a device assurance policy for android.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example \u0026#60;device assurance id\u0026#62;\n```\n\n", + "description": "Manages a device assurance policy for android.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example \u003cdevice_assurance_id\u003e\n```\n\n", "properties": { "createdBy": { "type": "string", @@ -16061,7 +16181,7 @@ } }, "okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos": { - "description": "Manages a device assurance policy for chromeos.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.DeviceAssuranceChromeos(\"example\", {\n name: \"example\",\n tpspAllowScreenLock: true,\n tpspBrowserVersion: \"15393.27.0\",\n tpspBuiltinDnsClientEnabled: true,\n tpspChromeRemoteDesktopAppBlocked: true,\n tpspDeviceEnrollmentDomain: \"exampleDomain\",\n tpspDiskEncrypted: true,\n tpspKeyTrustLevel: \"CHROME_OS_VERIFIED_MODE\",\n tpspOsFirewall: true,\n tpspOsVersion: \"10.0.19041.1110\",\n tpspPasswordProctectionWarningTrigger: \"PASSWORD_PROTECTION_OFF\",\n tpspRealtimeUrlCheckMode: true,\n tpspSafeBrowsingProtectionLevel: \"ENHANCED_PROTECTION\",\n tpspScreenLockSecured: true,\n tpspSiteIsolationEnabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.DeviceAssuranceChromeos(\"example\",\n name=\"example\",\n tpsp_allow_screen_lock=True,\n tpsp_browser_version=\"15393.27.0\",\n tpsp_builtin_dns_client_enabled=True,\n tpsp_chrome_remote_desktop_app_blocked=True,\n tpsp_device_enrollment_domain=\"exampleDomain\",\n tpsp_disk_encrypted=True,\n tpsp_key_trust_level=\"CHROME_OS_VERIFIED_MODE\",\n tpsp_os_firewall=True,\n tpsp_os_version=\"10.0.19041.1110\",\n tpsp_password_proctection_warning_trigger=\"PASSWORD_PROTECTION_OFF\",\n tpsp_realtime_url_check_mode=True,\n tpsp_safe_browsing_protection_level=\"ENHANCED_PROTECTION\",\n tpsp_screen_lock_secured=True,\n tpsp_site_isolation_enabled=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.DeviceAssuranceChromeos(\"example\", new()\n {\n Name = \"example\",\n TpspAllowScreenLock = true,\n TpspBrowserVersion = \"15393.27.0\",\n TpspBuiltinDnsClientEnabled = true,\n TpspChromeRemoteDesktopAppBlocked = true,\n TpspDeviceEnrollmentDomain = \"exampleDomain\",\n TpspDiskEncrypted = true,\n TpspKeyTrustLevel = \"CHROME_OS_VERIFIED_MODE\",\n TpspOsFirewall = true,\n TpspOsVersion = \"10.0.19041.1110\",\n TpspPasswordProctectionWarningTrigger = \"PASSWORD_PROTECTION_OFF\",\n TpspRealtimeUrlCheckMode = true,\n TpspSafeBrowsingProtectionLevel = \"ENHANCED_PROTECTION\",\n TpspScreenLockSecured = true,\n TpspSiteIsolationEnabled = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewDeviceAssuranceChromeos(ctx, \"example\", \u0026policy.DeviceAssuranceChromeosArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tTpspAllowScreenLock: pulumi.Bool(true),\n\t\t\tTpspBrowserVersion: pulumi.String(\"15393.27.0\"),\n\t\t\tTpspBuiltinDnsClientEnabled: pulumi.Bool(true),\n\t\t\tTpspChromeRemoteDesktopAppBlocked: pulumi.Bool(true),\n\t\t\tTpspDeviceEnrollmentDomain: pulumi.String(\"exampleDomain\"),\n\t\t\tTpspDiskEncrypted: pulumi.Bool(true),\n\t\t\tTpspKeyTrustLevel: pulumi.String(\"CHROME_OS_VERIFIED_MODE\"),\n\t\t\tTpspOsFirewall: pulumi.Bool(true),\n\t\t\tTpspOsVersion: pulumi.String(\"10.0.19041.1110\"),\n\t\t\tTpspPasswordProctectionWarningTrigger: pulumi.String(\"PASSWORD_PROTECTION_OFF\"),\n\t\t\tTpspRealtimeUrlCheckMode: pulumi.Bool(true),\n\t\t\tTpspSafeBrowsingProtectionLevel: pulumi.String(\"ENHANCED_PROTECTION\"),\n\t\t\tTpspScreenLockSecured: pulumi.Bool(true),\n\t\t\tTpspSiteIsolationEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.DeviceAssuranceChromeos;\nimport com.pulumi.okta.policy.DeviceAssuranceChromeosArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new DeviceAssuranceChromeos(\"example\", DeviceAssuranceChromeosArgs.builder()\n .name(\"example\")\n .tpspAllowScreenLock(true)\n .tpspBrowserVersion(\"15393.27.0\")\n .tpspBuiltinDnsClientEnabled(true)\n .tpspChromeRemoteDesktopAppBlocked(true)\n .tpspDeviceEnrollmentDomain(\"exampleDomain\")\n .tpspDiskEncrypted(true)\n .tpspKeyTrustLevel(\"CHROME_OS_VERIFIED_MODE\")\n .tpspOsFirewall(true)\n .tpspOsVersion(\"10.0.19041.1110\")\n .tpspPasswordProctectionWarningTrigger(\"PASSWORD_PROTECTION_OFF\")\n .tpspRealtimeUrlCheckMode(true)\n .tpspSafeBrowsingProtectionLevel(\"ENHANCED_PROTECTION\")\n .tpspScreenLockSecured(true)\n .tpspSiteIsolationEnabled(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:DeviceAssuranceChromeos\n properties:\n name: example\n tpspAllowScreenLock: true\n tpspBrowserVersion: 15393.27.0\n tpspBuiltinDnsClientEnabled: true\n tpspChromeRemoteDesktopAppBlocked: true\n tpspDeviceEnrollmentDomain: exampleDomain\n tpspDiskEncrypted: true\n tpspKeyTrustLevel: CHROME_OS_VERIFIED_MODE\n tpspOsFirewall: true\n tpspOsVersion: 10.0.19041.1110\n tpspPasswordProctectionWarningTrigger: PASSWORD_PROTECTION_OFF\n tpspRealtimeUrlCheckMode: true\n tpspSafeBrowsingProtectionLevel: ENHANCED_PROTECTION\n tpspScreenLockSecured: true\n tpspSiteIsolationEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example \u0026#60;device assurance id\u0026#62;\n```\n\n", + "description": "Manages a device assurance policy for chromeos.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.DeviceAssuranceChromeos(\"example\", {\n name: \"example\",\n tpspAllowScreenLock: true,\n tpspBrowserVersion: \"15393.27.0\",\n tpspBuiltinDnsClientEnabled: true,\n tpspChromeRemoteDesktopAppBlocked: true,\n tpspDeviceEnrollmentDomain: \"exampleDomain\",\n tpspDiskEncrypted: true,\n tpspKeyTrustLevel: \"CHROME_OS_VERIFIED_MODE\",\n tpspOsFirewall: true,\n tpspOsVersion: \"10.0.19041.1110\",\n tpspPasswordProctectionWarningTrigger: \"PASSWORD_PROTECTION_OFF\",\n tpspRealtimeUrlCheckMode: true,\n tpspSafeBrowsingProtectionLevel: \"ENHANCED_PROTECTION\",\n tpspScreenLockSecured: true,\n tpspSiteIsolationEnabled: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.DeviceAssuranceChromeos(\"example\",\n name=\"example\",\n tpsp_allow_screen_lock=True,\n tpsp_browser_version=\"15393.27.0\",\n tpsp_builtin_dns_client_enabled=True,\n tpsp_chrome_remote_desktop_app_blocked=True,\n tpsp_device_enrollment_domain=\"exampleDomain\",\n tpsp_disk_encrypted=True,\n tpsp_key_trust_level=\"CHROME_OS_VERIFIED_MODE\",\n tpsp_os_firewall=True,\n tpsp_os_version=\"10.0.19041.1110\",\n tpsp_password_proctection_warning_trigger=\"PASSWORD_PROTECTION_OFF\",\n tpsp_realtime_url_check_mode=True,\n tpsp_safe_browsing_protection_level=\"ENHANCED_PROTECTION\",\n tpsp_screen_lock_secured=True,\n tpsp_site_isolation_enabled=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.DeviceAssuranceChromeos(\"example\", new()\n {\n Name = \"example\",\n TpspAllowScreenLock = true,\n TpspBrowserVersion = \"15393.27.0\",\n TpspBuiltinDnsClientEnabled = true,\n TpspChromeRemoteDesktopAppBlocked = true,\n TpspDeviceEnrollmentDomain = \"exampleDomain\",\n TpspDiskEncrypted = true,\n TpspKeyTrustLevel = \"CHROME_OS_VERIFIED_MODE\",\n TpspOsFirewall = true,\n TpspOsVersion = \"10.0.19041.1110\",\n TpspPasswordProctectionWarningTrigger = \"PASSWORD_PROTECTION_OFF\",\n TpspRealtimeUrlCheckMode = true,\n TpspSafeBrowsingProtectionLevel = \"ENHANCED_PROTECTION\",\n TpspScreenLockSecured = true,\n TpspSiteIsolationEnabled = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewDeviceAssuranceChromeos(ctx, \"example\", \u0026policy.DeviceAssuranceChromeosArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tTpspAllowScreenLock: pulumi.Bool(true),\n\t\t\tTpspBrowserVersion: pulumi.String(\"15393.27.0\"),\n\t\t\tTpspBuiltinDnsClientEnabled: pulumi.Bool(true),\n\t\t\tTpspChromeRemoteDesktopAppBlocked: pulumi.Bool(true),\n\t\t\tTpspDeviceEnrollmentDomain: pulumi.String(\"exampleDomain\"),\n\t\t\tTpspDiskEncrypted: pulumi.Bool(true),\n\t\t\tTpspKeyTrustLevel: pulumi.String(\"CHROME_OS_VERIFIED_MODE\"),\n\t\t\tTpspOsFirewall: pulumi.Bool(true),\n\t\t\tTpspOsVersion: pulumi.String(\"10.0.19041.1110\"),\n\t\t\tTpspPasswordProctectionWarningTrigger: pulumi.String(\"PASSWORD_PROTECTION_OFF\"),\n\t\t\tTpspRealtimeUrlCheckMode: pulumi.Bool(true),\n\t\t\tTpspSafeBrowsingProtectionLevel: pulumi.String(\"ENHANCED_PROTECTION\"),\n\t\t\tTpspScreenLockSecured: pulumi.Bool(true),\n\t\t\tTpspSiteIsolationEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.DeviceAssuranceChromeos;\nimport com.pulumi.okta.policy.DeviceAssuranceChromeosArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new DeviceAssuranceChromeos(\"example\", DeviceAssuranceChromeosArgs.builder()\n .name(\"example\")\n .tpspAllowScreenLock(true)\n .tpspBrowserVersion(\"15393.27.0\")\n .tpspBuiltinDnsClientEnabled(true)\n .tpspChromeRemoteDesktopAppBlocked(true)\n .tpspDeviceEnrollmentDomain(\"exampleDomain\")\n .tpspDiskEncrypted(true)\n .tpspKeyTrustLevel(\"CHROME_OS_VERIFIED_MODE\")\n .tpspOsFirewall(true)\n .tpspOsVersion(\"10.0.19041.1110\")\n .tpspPasswordProctectionWarningTrigger(\"PASSWORD_PROTECTION_OFF\")\n .tpspRealtimeUrlCheckMode(true)\n .tpspSafeBrowsingProtectionLevel(\"ENHANCED_PROTECTION\")\n .tpspScreenLockSecured(true)\n .tpspSiteIsolationEnabled(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:DeviceAssuranceChromeos\n properties:\n name: example\n tpspAllowScreenLock: true\n tpspBrowserVersion: 15393.27.0\n tpspBuiltinDnsClientEnabled: true\n tpspChromeRemoteDesktopAppBlocked: true\n tpspDeviceEnrollmentDomain: exampleDomain\n tpspDiskEncrypted: true\n tpspKeyTrustLevel: CHROME_OS_VERIFIED_MODE\n tpspOsFirewall: true\n tpspOsVersion: 10.0.19041.1110\n tpspPasswordProctectionWarningTrigger: PASSWORD_PROTECTION_OFF\n tpspRealtimeUrlCheckMode: true\n tpspSafeBrowsingProtectionLevel: ENHANCED_PROTECTION\n tpspScreenLockSecured: true\n tpspSiteIsolationEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example \u003cdevice_assurance_id\u003e\n```\n\n", "properties": { "createdBy": { "type": "string", @@ -16302,7 +16422,7 @@ } }, "okta:policy/deviceAssuranceIos:DeviceAssuranceIos": { - "description": "Manages a device assurance policy for ios.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example \u0026#60;device assurance id\u0026#62;\n```\n\n", + "description": "Manages a device assurance policy for ios.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example \u003cdevice_assurance_id\u003e\n```\n\n", "properties": { "createdBy": { "type": "string", @@ -16420,7 +16540,7 @@ } }, "okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos": { - "description": "Manages a device assurance policy for macos.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example \u0026#60;device assurance id\u0026#62;\n```\n\n", + "description": "Manages a device assurance policy for macos.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example \u003cdevice_assurance_id\u003e\n```\n\n", "properties": { "createdBy": { "type": "string", @@ -16727,7 +16847,7 @@ } }, "okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows": { - "description": "Manages a device assurance policy for windows.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example \u0026#60;device assurance id\u0026#62;\n```\n\n", + "description": "Manages a device assurance policy for windows.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example \u003cdevice_assurance_id\u003e\n```\n\n", "properties": { "createdBy": { "type": "string", @@ -17106,7 +17226,7 @@ } }, "okta:policy/mfa:Mfa": { - "description": "## Example Usage\n\n## Import\n\n```sh\n$ pulumi import okta:policy/mfa:Mfa example \u0026#60;policy id\u0026#62;\n```\n\n", + "description": "## Example Usage\n\n## Import\n\n```sh\n$ pulumi import okta:policy/mfa:Mfa example \u003cpolicy_id\u003e\n```\n\n", "properties": { "description": { "type": "string", @@ -17611,7 +17731,7 @@ } }, "okta:policy/password:Password": { - "description": "Creates a Password Policy. This resource allows you to create and configure a Password Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.Password(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n description: \"Example\",\n passwordHistoryCount: 4,\n groupsIncludeds: [everyone.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.Password(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n description=\"Example\",\n password_history_count=4,\n groups_includeds=[everyone[\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.Password(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n Description = \"Example\",\n PasswordHistoryCount = 4,\n GroupsIncludeds = new[]\n {\n everyone.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewPassword(ctx, \"example\", \u0026policy.PasswordArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example\"),\n\t\t\tPasswordHistoryCount: pulumi.Int(4),\n\t\t\tGroupsIncludeds: pulumi.StringArray{\n\t\t\t\teveryone.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Password;\nimport com.pulumi.okta.policy.PasswordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Password(\"example\", PasswordArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .description(\"Example\")\n .passwordHistoryCount(4)\n .groupsIncludeds(everyone.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:Password\n properties:\n name: example\n status: ACTIVE\n description: Example\n passwordHistoryCount: 4\n groupsIncludeds:\n - ${everyone.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/password:Password example \u0026#60;policy id\u0026#62;\n```\n\n", + "description": "Creates a Password Policy. This resource allows you to create and configure a Password Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.Password(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n description: \"Example\",\n passwordHistoryCount: 4,\n groupsIncludeds: [everyone.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.Password(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n description=\"Example\",\n password_history_count=4,\n groups_includeds=[everyone[\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.Password(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n Description = \"Example\",\n PasswordHistoryCount = 4,\n GroupsIncludeds = new[]\n {\n everyone.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewPassword(ctx, \"example\", \u0026policy.PasswordArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example\"),\n\t\t\tPasswordHistoryCount: pulumi.Int(4),\n\t\t\tGroupsIncludeds: pulumi.StringArray{\n\t\t\t\teveryone.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Password;\nimport com.pulumi.okta.policy.PasswordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Password(\"example\", PasswordArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .description(\"Example\")\n .passwordHistoryCount(4)\n .groupsIncludeds(everyone.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:Password\n properties:\n name: example\n status: ACTIVE\n description: Example\n passwordHistoryCount: 4\n groupsIncludeds:\n - ${everyone.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/password:Password example \u003cpolicy_id\u003e\n```\n\n", "properties": { "authProvider": { "type": "string", @@ -18005,7 +18125,7 @@ } }, "okta:policy/ruleIdpDiscovery:RuleIdpDiscovery": { - "description": "Creates an IdP Discovery Policy Rule.\n\t\t\nThis resource allows you to create and configure an IdP Discovery Policy Rule.\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## All Okta orgs contain only one IdP Discovery Policy\nconst idpDiscoveryPolicy = okta.policy.getPolicy({\n name: \"Idp Discovery Policy\",\n type: \"IDP_DISCOVERY\",\n});\nconst example = new okta.policy.RuleIdpDiscovery(\"example\", {\n policyId: idpDiscoveryPolicy.then(idpDiscoveryPolicy =\u003e idpDiscoveryPolicy.id),\n name: \"example\",\n idpId: \"\u003cidp id\u003e\",\n idpType: \"OIDC\",\n networkConnection: \"ANYWHERE\",\n priority: 1,\n status: \"ACTIVE\",\n userIdentifierType: \"ATTRIBUTE\",\n userIdentifierAttribute: \"company\",\n appExcludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"yahoo_mail\",\n type: \"APP_TYPE\",\n },\n ],\n appIncludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"\u003capp type name\u003e\",\n type: \"APP_TYPE\",\n },\n ],\n platformIncludes: [{\n type: \"MOBILE\",\n osType: \"OSX\",\n }],\n userIdentifierPatterns: [{\n matchType: \"EQUALS\",\n value: \"Articulate\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### All Okta orgs contain only one IdP Discovery Policy\nidp_discovery_policy = okta.policy.get_policy(name=\"Idp Discovery Policy\",\n type=\"IDP_DISCOVERY\")\nexample = okta.policy.RuleIdpDiscovery(\"example\",\n policy_id=idp_discovery_policy.id,\n name=\"example\",\n idp_id=\"\u003cidp id\u003e\",\n idp_type=\"OIDC\",\n network_connection=\"ANYWHERE\",\n priority=1,\n status=\"ACTIVE\",\n user_identifier_type=\"ATTRIBUTE\",\n user_identifier_attribute=\"company\",\n app_excludes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"yahoo_mail\",\n \"type\": \"APP_TYPE\",\n },\n ],\n app_includes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"\u003capp type name\u003e\",\n \"type\": \"APP_TYPE\",\n },\n ],\n platform_includes=[{\n \"type\": \"MOBILE\",\n \"os_type\": \"OSX\",\n }],\n user_identifier_patterns=[{\n \"match_type\": \"EQUALS\",\n \"value\": \"Articulate\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## All Okta orgs contain only one IdP Discovery Policy\n var idpDiscoveryPolicy = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Idp Discovery Policy\",\n Type = \"IDP_DISCOVERY\",\n });\n\n var example = new Okta.Policy.RuleIdpDiscovery(\"example\", new()\n {\n PolicyId = idpDiscoveryPolicy.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n Name = \"example\",\n IdpId = \"\u003cidp id\u003e\",\n IdpType = \"OIDC\",\n NetworkConnection = \"ANYWHERE\",\n Priority = 1,\n Status = \"ACTIVE\",\n UserIdentifierType = \"ATTRIBUTE\",\n UserIdentifierAttribute = \"company\",\n AppExcludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Name = \"yahoo_mail\",\n Type = \"APP_TYPE\",\n },\n },\n AppIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Name = \"\u003capp type name\u003e\",\n Type = \"APP_TYPE\",\n },\n },\n PlatformIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryPlatformIncludeArgs\n {\n Type = \"MOBILE\",\n OsType = \"OSX\",\n },\n },\n UserIdentifierPatterns = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryUserIdentifierPatternArgs\n {\n MatchType = \"EQUALS\",\n Value = \"Articulate\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// ## All Okta orgs contain only one IdP Discovery Policy\n\t\tidpDiscoveryPolicy, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Idp Discovery Policy\",\n\t\t\tType: \"IDP_DISCOVERY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleIdpDiscovery(ctx, \"example\", \u0026policy.RuleIdpDiscoveryArgs{\n\t\t\tPolicyId: pulumi.String(idpDiscoveryPolicy.Id),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIdpId: pulumi.String(\"\u003cidp id\u003e\"),\n\t\t\tIdpType: pulumi.String(\"OIDC\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserIdentifierType: pulumi.String(\"ATTRIBUTE\"),\n\t\t\tUserIdentifierAttribute: pulumi.String(\"company\"),\n\t\t\tAppExcludes: policy.RuleIdpDiscoveryAppExcludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tName: pulumi.String(\"yahoo_mail\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAppIncludes: policy.RuleIdpDiscoveryAppIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tName: pulumi.String(\"\u003capp type name\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlatformIncludes: policy.RuleIdpDiscoveryPlatformIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryPlatformIncludeArgs{\n\t\t\t\t\tType: pulumi.String(\"MOBILE\"),\n\t\t\t\t\tOsType: pulumi.String(\"OSX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUserIdentifierPatterns: policy.RuleIdpDiscoveryUserIdentifierPatternArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryUserIdentifierPatternArgs{\n\t\t\t\t\tMatchType: pulumi.String(\"EQUALS\"),\n\t\t\t\t\tValue: pulumi.String(\"Articulate\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.policy.RuleIdpDiscovery;\nimport com.pulumi.okta.policy.RuleIdpDiscoveryArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppExcludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryPlatformIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryUserIdentifierPatternArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## All Okta orgs contain only one IdP Discovery Policy\n final var idpDiscoveryPolicy = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Idp Discovery Policy\")\n .type(\"IDP_DISCOVERY\")\n .build());\n\n var example = new RuleIdpDiscovery(\"example\", RuleIdpDiscoveryArgs.builder()\n .policyId(idpDiscoveryPolicy.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .name(\"example\")\n .idpId(\"\u003cidp id\u003e\")\n .idpType(\"OIDC\")\n .networkConnection(\"ANYWHERE\")\n .priority(1)\n .status(\"ACTIVE\")\n .userIdentifierType(\"ATTRIBUTE\")\n .userIdentifierAttribute(\"company\")\n .appExcludes( \n RuleIdpDiscoveryAppExcludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppExcludeArgs.builder()\n .name(\"yahoo_mail\")\n .type(\"APP_TYPE\")\n .build())\n .appIncludes( \n RuleIdpDiscoveryAppIncludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppIncludeArgs.builder()\n .name(\"\u003capp type name\u003e\")\n .type(\"APP_TYPE\")\n .build())\n .platformIncludes(RuleIdpDiscoveryPlatformIncludeArgs.builder()\n .type(\"MOBILE\")\n .osType(\"OSX\")\n .build())\n .userIdentifierPatterns(RuleIdpDiscoveryUserIdentifierPatternArgs.builder()\n .matchType(\"EQUALS\")\n .value(\"Articulate\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:RuleIdpDiscovery\n properties:\n policyId: ${idpDiscoveryPolicy.id}\n name: example\n idpId: \u003cidp id\u003e\n idpType: OIDC\n networkConnection: ANYWHERE\n priority: 1\n status: ACTIVE\n userIdentifierType: ATTRIBUTE\n userIdentifierAttribute: company\n appExcludes:\n - id: \u003capp id\u003e\n type: APP\n - name: yahoo_mail\n type: APP_TYPE\n appIncludes:\n - id: \u003capp id\u003e\n type: APP\n - name: \u003capp type name\u003e\n type: APP_TYPE\n platformIncludes:\n - type: MOBILE\n osType: OSX\n userIdentifierPatterns:\n - matchType: EQUALS\n value: Articulate\nvariables:\n ### All Okta orgs contain only one IdP Discovery Policy\n idpDiscoveryPolicy:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Idp Discovery Policy\n type: IDP_DISCOVERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example \u0026#60;policy id\u0026#62;/\u0026#60;rule id\u0026#62;\n```\n\n", + "description": "Creates an IdP Discovery Policy Rule.\n\t\t\nThis resource allows you to create and configure an IdP Discovery Policy Rule.\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## All Okta orgs contain only one IdP Discovery Policy\nconst idpDiscoveryPolicy = okta.policy.getPolicy({\n name: \"Idp Discovery Policy\",\n type: \"IDP_DISCOVERY\",\n});\nconst example = new okta.policy.RuleIdpDiscovery(\"example\", {\n policyId: idpDiscoveryPolicy.then(idpDiscoveryPolicy =\u003e idpDiscoveryPolicy.id),\n name: \"example\",\n idpId: \"\u003cidp id\u003e\",\n idpType: \"OIDC\",\n networkConnection: \"ANYWHERE\",\n priority: 1,\n status: \"ACTIVE\",\n userIdentifierType: \"ATTRIBUTE\",\n userIdentifierAttribute: \"company\",\n appExcludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"yahoo_mail\",\n type: \"APP_TYPE\",\n },\n ],\n appIncludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"\u003capp type name\u003e\",\n type: \"APP_TYPE\",\n },\n ],\n platformIncludes: [{\n type: \"MOBILE\",\n osType: \"OSX\",\n }],\n userIdentifierPatterns: [{\n matchType: \"EQUALS\",\n value: \"Articulate\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### All Okta orgs contain only one IdP Discovery Policy\nidp_discovery_policy = okta.policy.get_policy(name=\"Idp Discovery Policy\",\n type=\"IDP_DISCOVERY\")\nexample = okta.policy.RuleIdpDiscovery(\"example\",\n policy_id=idp_discovery_policy.id,\n name=\"example\",\n idp_id=\"\u003cidp id\u003e\",\n idp_type=\"OIDC\",\n network_connection=\"ANYWHERE\",\n priority=1,\n status=\"ACTIVE\",\n user_identifier_type=\"ATTRIBUTE\",\n user_identifier_attribute=\"company\",\n app_excludes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"yahoo_mail\",\n \"type\": \"APP_TYPE\",\n },\n ],\n app_includes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"\u003capp type name\u003e\",\n \"type\": \"APP_TYPE\",\n },\n ],\n platform_includes=[{\n \"type\": \"MOBILE\",\n \"os_type\": \"OSX\",\n }],\n user_identifier_patterns=[{\n \"match_type\": \"EQUALS\",\n \"value\": \"Articulate\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## All Okta orgs contain only one IdP Discovery Policy\n var idpDiscoveryPolicy = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Idp Discovery Policy\",\n Type = \"IDP_DISCOVERY\",\n });\n\n var example = new Okta.Policy.RuleIdpDiscovery(\"example\", new()\n {\n PolicyId = idpDiscoveryPolicy.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n Name = \"example\",\n IdpId = \"\u003cidp id\u003e\",\n IdpType = \"OIDC\",\n NetworkConnection = \"ANYWHERE\",\n Priority = 1,\n Status = \"ACTIVE\",\n UserIdentifierType = \"ATTRIBUTE\",\n UserIdentifierAttribute = \"company\",\n AppExcludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Name = \"yahoo_mail\",\n Type = \"APP_TYPE\",\n },\n },\n AppIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Name = \"\u003capp type name\u003e\",\n Type = \"APP_TYPE\",\n },\n },\n PlatformIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryPlatformIncludeArgs\n {\n Type = \"MOBILE\",\n OsType = \"OSX\",\n },\n },\n UserIdentifierPatterns = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryUserIdentifierPatternArgs\n {\n MatchType = \"EQUALS\",\n Value = \"Articulate\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// ## All Okta orgs contain only one IdP Discovery Policy\n\t\tidpDiscoveryPolicy, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Idp Discovery Policy\",\n\t\t\tType: \"IDP_DISCOVERY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleIdpDiscovery(ctx, \"example\", \u0026policy.RuleIdpDiscoveryArgs{\n\t\t\tPolicyId: pulumi.String(idpDiscoveryPolicy.Id),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIdpId: pulumi.String(\"\u003cidp id\u003e\"),\n\t\t\tIdpType: pulumi.String(\"OIDC\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserIdentifierType: pulumi.String(\"ATTRIBUTE\"),\n\t\t\tUserIdentifierAttribute: pulumi.String(\"company\"),\n\t\t\tAppExcludes: policy.RuleIdpDiscoveryAppExcludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tName: pulumi.String(\"yahoo_mail\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAppIncludes: policy.RuleIdpDiscoveryAppIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tName: pulumi.String(\"\u003capp type name\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlatformIncludes: policy.RuleIdpDiscoveryPlatformIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryPlatformIncludeArgs{\n\t\t\t\t\tType: pulumi.String(\"MOBILE\"),\n\t\t\t\t\tOsType: pulumi.String(\"OSX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUserIdentifierPatterns: policy.RuleIdpDiscoveryUserIdentifierPatternArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryUserIdentifierPatternArgs{\n\t\t\t\t\tMatchType: pulumi.String(\"EQUALS\"),\n\t\t\t\t\tValue: pulumi.String(\"Articulate\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.policy.RuleIdpDiscovery;\nimport com.pulumi.okta.policy.RuleIdpDiscoveryArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppExcludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryPlatformIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryUserIdentifierPatternArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## All Okta orgs contain only one IdP Discovery Policy\n final var idpDiscoveryPolicy = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Idp Discovery Policy\")\n .type(\"IDP_DISCOVERY\")\n .build());\n\n var example = new RuleIdpDiscovery(\"example\", RuleIdpDiscoveryArgs.builder()\n .policyId(idpDiscoveryPolicy.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .name(\"example\")\n .idpId(\"\u003cidp id\u003e\")\n .idpType(\"OIDC\")\n .networkConnection(\"ANYWHERE\")\n .priority(1)\n .status(\"ACTIVE\")\n .userIdentifierType(\"ATTRIBUTE\")\n .userIdentifierAttribute(\"company\")\n .appExcludes( \n RuleIdpDiscoveryAppExcludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppExcludeArgs.builder()\n .name(\"yahoo_mail\")\n .type(\"APP_TYPE\")\n .build())\n .appIncludes( \n RuleIdpDiscoveryAppIncludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppIncludeArgs.builder()\n .name(\"\u003capp type name\u003e\")\n .type(\"APP_TYPE\")\n .build())\n .platformIncludes(RuleIdpDiscoveryPlatformIncludeArgs.builder()\n .type(\"MOBILE\")\n .osType(\"OSX\")\n .build())\n .userIdentifierPatterns(RuleIdpDiscoveryUserIdentifierPatternArgs.builder()\n .matchType(\"EQUALS\")\n .value(\"Articulate\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:RuleIdpDiscovery\n properties:\n policyId: ${idpDiscoveryPolicy.id}\n name: example\n idpId: \u003cidp id\u003e\n idpType: OIDC\n networkConnection: ANYWHERE\n priority: 1\n status: ACTIVE\n userIdentifierType: ATTRIBUTE\n userIdentifierAttribute: company\n appExcludes:\n - id: \u003capp id\u003e\n type: APP\n - name: yahoo_mail\n type: APP_TYPE\n appIncludes:\n - id: \u003capp id\u003e\n type: APP\n - name: \u003capp type name\u003e\n type: APP_TYPE\n platformIncludes:\n - type: MOBILE\n osType: OSX\n userIdentifierPatterns:\n - matchType: EQUALS\n value: Articulate\nvariables:\n ### All Okta orgs contain only one IdP Discovery Policy\n idpDiscoveryPolicy:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Idp Discovery Policy\n type: IDP_DISCOVERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "appExcludes": { "type": "array", @@ -18259,7 +18379,7 @@ } }, "okta:policy/ruleMfa:RuleMfa": { - "description": "Creates an MFA Policy Rule. This resource allows you to create and configure an MFA Policy Rule.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleMfa:RuleMfa example \u0026#60;policy id\u0026#62;/\u0026#60;rule id\u0026#62;\n```\n\n", + "description": "Creates an MFA Policy Rule. This resource allows you to create and configure an MFA Policy Rule.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleMfa:RuleMfa example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "appExcludes": { "type": "array", @@ -18456,7 +18576,7 @@ } }, "okta:policy/rulePassword:RulePassword": { - "description": "Creates a Password Policy Rule. This resource allows you to create and configure a Password Policy Rule.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/rulePassword:RulePassword example \u0026#60;policy id\u0026#62;/\u0026#60;rule id\u0026#62;\n```\n\n", + "description": "Creates a Password Policy Rule. This resource allows you to create and configure a Password Policy Rule.\n\n## Import\n\n```sh\n$ pulumi import okta:policy/rulePassword:RulePassword example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "name": { "type": "string", @@ -18635,7 +18755,7 @@ } }, "okta:policy/ruleSignon:RuleSignon": { - "description": "Creates a Sign On Policy Rule. In case `Invalid condition type specified: riskScore.` error is thrown, set `risc_level` to an empty string, since this feature is not enabled.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.policy.Signon(\"test\", {\n name: \"Example Policy\",\n status: \"ACTIVE\",\n description: \"Example Policy\",\n});\nconst newCity = okta.getBehaviour({\n name: \"New City\",\n});\nconst example = new okta.policy.RuleSignon(\"example\", {\n access: \"CHALLENGE\",\n authtype: \"RADIUS\",\n name: \"Example Policy Rule\",\n networkConnection: \"ANYWHERE\",\n policyId: exampleOktaPolicySignon.id,\n status: \"ACTIVE\",\n riscLevel: \"HIGH\",\n behaviors: [newCity.then(newCity =\u003e newCity.id)],\n factorSequences: [\n {\n primaryCriteriaFactorType: \"token:hotp\",\n primaryCriteriaProvider: \"CUSTOM\",\n secondaryCriterias: [\n {\n factorType: \"token:software:totp\",\n provider: \"OKTA\",\n },\n {\n factorType: \"push\",\n provider: \"OKTA\",\n },\n {\n factorType: \"password\",\n provider: \"OKTA\",\n },\n {\n factorType: \"question\",\n provider: \"OKTA\",\n },\n {\n factorType: \"sms\",\n provider: \"OKTA\",\n },\n {\n factorType: \"token:software:totp\",\n provider: \"GOOGLE\",\n },\n {\n factorType: \"email\",\n provider: \"OKTA\",\n },\n {\n factorType: \"call\",\n provider: \"OKTA\",\n },\n {\n factorType: \"webauthn\",\n provider: \"FIDO\",\n },\n {\n factorType: \"token\",\n provider: \"RSA\",\n },\n {\n factorType: \"token\",\n provider: \"SYMANTEC\",\n },\n ],\n },\n {\n primaryCriteriaFactorType: \"token:software:totp\",\n primaryCriteriaProvider: \"OKTA\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.policy.Signon(\"test\",\n name=\"Example Policy\",\n status=\"ACTIVE\",\n description=\"Example Policy\")\nnew_city = okta.get_behaviour(name=\"New City\")\nexample = okta.policy.RuleSignon(\"example\",\n access=\"CHALLENGE\",\n authtype=\"RADIUS\",\n name=\"Example Policy Rule\",\n network_connection=\"ANYWHERE\",\n policy_id=example_okta_policy_signon[\"id\"],\n status=\"ACTIVE\",\n risc_level=\"HIGH\",\n behaviors=[new_city.id],\n factor_sequences=[\n {\n \"primary_criteria_factor_type\": \"token:hotp\",\n \"primary_criteria_provider\": \"CUSTOM\",\n \"secondary_criterias\": [\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"push\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"password\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"question\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"sms\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"GOOGLE\",\n },\n {\n \"factor_type\": \"email\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"call\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"webauthn\",\n \"provider\": \"FIDO\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"RSA\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"SYMANTEC\",\n },\n ],\n },\n {\n \"primary_criteria_factor_type\": \"token:software:totp\",\n \"primary_criteria_provider\": \"OKTA\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Policy.Signon(\"test\", new()\n {\n Name = \"Example Policy\",\n Status = \"ACTIVE\",\n Description = \"Example Policy\",\n });\n\n var newCity = Okta.GetBehaviour.Invoke(new()\n {\n Name = \"New City\",\n });\n\n var example = new Okta.Policy.RuleSignon(\"example\", new()\n {\n Access = \"CHALLENGE\",\n Authtype = \"RADIUS\",\n Name = \"Example Policy Rule\",\n NetworkConnection = \"ANYWHERE\",\n PolicyId = exampleOktaPolicySignon.Id,\n Status = \"ACTIVE\",\n RiscLevel = \"HIGH\",\n Behaviors = new[]\n {\n newCity.Apply(getBehaviourResult =\u003e getBehaviourResult.Id),\n },\n FactorSequences = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:hotp\",\n PrimaryCriteriaProvider = \"CUSTOM\",\n SecondaryCriterias = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"push\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"password\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"question\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"sms\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"GOOGLE\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"email\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"call\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"webauthn\",\n Provider = \"FIDO\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"RSA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"SYMANTEC\",\n },\n },\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:software:totp\",\n PrimaryCriteriaProvider = \"OKTA\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewSignon(ctx, \"test\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"Example Policy\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tnewCity, err := okta.LookupBehaviour(ctx, \u0026okta.LookupBehaviourArgs{\n\t\t\tName: pulumi.StringRef(\"New City\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleSignon(ctx, \"example\", \u0026policy.RuleSignonArgs{\n\t\t\tAccess: pulumi.String(\"CHALLENGE\"),\n\t\t\tAuthtype: pulumi.String(\"RADIUS\"),\n\t\t\tName: pulumi.String(\"Example Policy Rule\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicySignon.Id),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tRiscLevel: pulumi.String(\"HIGH\"),\n\t\t\tBehaviors: pulumi.StringArray{\n\t\t\t\tpulumi.String(newCity.Id),\n\t\t\t},\n\t\t\tFactorSequences: policy.RuleSignonFactorSequenceArray{\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:hotp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\tSecondaryCriterias: policy.RuleSignonFactorSequenceSecondaryCriteriaArray{\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"push\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"password\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"question\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"sms\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"GOOGLE\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"email\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"call\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"webauthn\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"FIDO\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"RSA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"SYMANTEC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport com.pulumi.okta.policy.RuleSignon;\nimport com.pulumi.okta.policy.RuleSignonArgs;\nimport com.pulumi.okta.policy.inputs.RuleSignonFactorSequenceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Signon(\"test\", SignonArgs.builder()\n .name(\"Example Policy\")\n .status(\"ACTIVE\")\n .description(\"Example Policy\")\n .build());\n\n final var newCity = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .name(\"New City\")\n .build());\n\n var example = new RuleSignon(\"example\", RuleSignonArgs.builder()\n .access(\"CHALLENGE\")\n .authtype(\"RADIUS\")\n .name(\"Example Policy Rule\")\n .networkConnection(\"ANYWHERE\")\n .policyId(exampleOktaPolicySignon.id())\n .status(\"ACTIVE\")\n .riscLevel(\"HIGH\")\n .behaviors(newCity.applyValue(getBehaviourResult -\u003e getBehaviourResult.id()))\n .factorSequences( \n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:hotp\")\n .primaryCriteriaProvider(\"CUSTOM\")\n .secondaryCriterias( \n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"push\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"password\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"question\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"sms\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"GOOGLE\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"email\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"call\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"webauthn\")\n .provider(\"FIDO\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"RSA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"SYMANTEC\")\n .build())\n .build(),\n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:software:totp\")\n .primaryCriteriaProvider(\"OKTA\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:policy:Signon\n properties:\n name: Example Policy\n status: ACTIVE\n description: Example Policy\n example:\n type: okta:policy:RuleSignon\n properties:\n access: CHALLENGE\n authtype: RADIUS\n name: Example Policy Rule\n networkConnection: ANYWHERE\n policyId: ${exampleOktaPolicySignon.id}\n status: ACTIVE\n riscLevel: HIGH\n behaviors:\n - ${newCity.id}\n factorSequences:\n - primaryCriteriaFactorType: token:hotp\n primaryCriteriaProvider: CUSTOM\n secondaryCriterias:\n - factorType: token:software:totp\n provider: OKTA\n - factorType: push\n provider: OKTA\n - factorType: password\n provider: OKTA\n - factorType: question\n provider: OKTA\n - factorType: sms\n provider: OKTA\n - factorType: token:software:totp\n provider: GOOGLE\n - factorType: email\n provider: OKTA\n - factorType: call\n provider: OKTA\n - factorType: webauthn\n provider: FIDO\n - factorType: token\n provider: RSA\n - factorType: token\n provider: SYMANTEC\n - primaryCriteriaFactorType: token:software:totp\n primaryCriteriaProvider: OKTA\nvariables:\n newCity:\n fn::invoke:\n Function: okta:getBehaviour\n Arguments:\n name: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleSignon:RuleSignon example \u0026#60;policy id\u0026#62;/\u0026#60;rule id\u0026#62;\n```\n\n", + "description": "Creates a Sign On Policy Rule. In case `Invalid condition type specified: riskScore.` error is thrown, set `risc_level` to an empty string, since this feature is not enabled.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.policy.Signon(\"test\", {\n name: \"Example Policy\",\n status: \"ACTIVE\",\n description: \"Example Policy\",\n});\nconst newCity = okta.getBehaviour({\n name: \"New City\",\n});\nconst example = new okta.policy.RuleSignon(\"example\", {\n access: \"CHALLENGE\",\n authtype: \"RADIUS\",\n name: \"Example Policy Rule\",\n networkConnection: \"ANYWHERE\",\n policyId: exampleOktaPolicySignon.id,\n status: \"ACTIVE\",\n riscLevel: \"HIGH\",\n behaviors: [newCity.then(newCity =\u003e newCity.id)],\n factorSequences: [\n {\n primaryCriteriaFactorType: \"token:hotp\",\n primaryCriteriaProvider: \"CUSTOM\",\n secondaryCriterias: [\n {\n factorType: \"token:software:totp\",\n provider: \"OKTA\",\n },\n {\n factorType: \"push\",\n provider: \"OKTA\",\n },\n {\n factorType: \"password\",\n provider: \"OKTA\",\n },\n {\n factorType: \"question\",\n provider: \"OKTA\",\n },\n {\n factorType: \"sms\",\n provider: \"OKTA\",\n },\n {\n factorType: \"token:software:totp\",\n provider: \"GOOGLE\",\n },\n {\n factorType: \"email\",\n provider: \"OKTA\",\n },\n {\n factorType: \"call\",\n provider: \"OKTA\",\n },\n {\n factorType: \"webauthn\",\n provider: \"FIDO\",\n },\n {\n factorType: \"token\",\n provider: \"RSA\",\n },\n {\n factorType: \"token\",\n provider: \"SYMANTEC\",\n },\n ],\n },\n {\n primaryCriteriaFactorType: \"token:software:totp\",\n primaryCriteriaProvider: \"OKTA\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.policy.Signon(\"test\",\n name=\"Example Policy\",\n status=\"ACTIVE\",\n description=\"Example Policy\")\nnew_city = okta.get_behaviour(name=\"New City\")\nexample = okta.policy.RuleSignon(\"example\",\n access=\"CHALLENGE\",\n authtype=\"RADIUS\",\n name=\"Example Policy Rule\",\n network_connection=\"ANYWHERE\",\n policy_id=example_okta_policy_signon[\"id\"],\n status=\"ACTIVE\",\n risc_level=\"HIGH\",\n behaviors=[new_city.id],\n factor_sequences=[\n {\n \"primary_criteria_factor_type\": \"token:hotp\",\n \"primary_criteria_provider\": \"CUSTOM\",\n \"secondary_criterias\": [\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"push\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"password\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"question\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"sms\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"GOOGLE\",\n },\n {\n \"factor_type\": \"email\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"call\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"webauthn\",\n \"provider\": \"FIDO\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"RSA\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"SYMANTEC\",\n },\n ],\n },\n {\n \"primary_criteria_factor_type\": \"token:software:totp\",\n \"primary_criteria_provider\": \"OKTA\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Policy.Signon(\"test\", new()\n {\n Name = \"Example Policy\",\n Status = \"ACTIVE\",\n Description = \"Example Policy\",\n });\n\n var newCity = Okta.GetBehaviour.Invoke(new()\n {\n Name = \"New City\",\n });\n\n var example = new Okta.Policy.RuleSignon(\"example\", new()\n {\n Access = \"CHALLENGE\",\n Authtype = \"RADIUS\",\n Name = \"Example Policy Rule\",\n NetworkConnection = \"ANYWHERE\",\n PolicyId = exampleOktaPolicySignon.Id,\n Status = \"ACTIVE\",\n RiscLevel = \"HIGH\",\n Behaviors = new[]\n {\n newCity.Apply(getBehaviourResult =\u003e getBehaviourResult.Id),\n },\n FactorSequences = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:hotp\",\n PrimaryCriteriaProvider = \"CUSTOM\",\n SecondaryCriterias = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"push\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"password\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"question\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"sms\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"GOOGLE\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"email\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"call\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"webauthn\",\n Provider = \"FIDO\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"RSA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"SYMANTEC\",\n },\n },\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:software:totp\",\n PrimaryCriteriaProvider = \"OKTA\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewSignon(ctx, \"test\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"Example Policy\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tnewCity, err := okta.LookupBehaviour(ctx, \u0026okta.LookupBehaviourArgs{\n\t\t\tName: pulumi.StringRef(\"New City\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleSignon(ctx, \"example\", \u0026policy.RuleSignonArgs{\n\t\t\tAccess: pulumi.String(\"CHALLENGE\"),\n\t\t\tAuthtype: pulumi.String(\"RADIUS\"),\n\t\t\tName: pulumi.String(\"Example Policy Rule\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicySignon.Id),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tRiscLevel: pulumi.String(\"HIGH\"),\n\t\t\tBehaviors: pulumi.StringArray{\n\t\t\t\tpulumi.String(newCity.Id),\n\t\t\t},\n\t\t\tFactorSequences: policy.RuleSignonFactorSequenceArray{\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:hotp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\tSecondaryCriterias: policy.RuleSignonFactorSequenceSecondaryCriteriaArray{\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"push\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"password\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"question\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"sms\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"GOOGLE\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"email\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"call\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"webauthn\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"FIDO\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"RSA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"SYMANTEC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport com.pulumi.okta.policy.RuleSignon;\nimport com.pulumi.okta.policy.RuleSignonArgs;\nimport com.pulumi.okta.policy.inputs.RuleSignonFactorSequenceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new Signon(\"test\", SignonArgs.builder()\n .name(\"Example Policy\")\n .status(\"ACTIVE\")\n .description(\"Example Policy\")\n .build());\n\n final var newCity = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .name(\"New City\")\n .build());\n\n var example = new RuleSignon(\"example\", RuleSignonArgs.builder()\n .access(\"CHALLENGE\")\n .authtype(\"RADIUS\")\n .name(\"Example Policy Rule\")\n .networkConnection(\"ANYWHERE\")\n .policyId(exampleOktaPolicySignon.id())\n .status(\"ACTIVE\")\n .riscLevel(\"HIGH\")\n .behaviors(newCity.applyValue(getBehaviourResult -\u003e getBehaviourResult.id()))\n .factorSequences( \n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:hotp\")\n .primaryCriteriaProvider(\"CUSTOM\")\n .secondaryCriterias( \n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"push\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"password\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"question\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"sms\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"GOOGLE\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"email\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"call\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"webauthn\")\n .provider(\"FIDO\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"RSA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"SYMANTEC\")\n .build())\n .build(),\n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:software:totp\")\n .primaryCriteriaProvider(\"OKTA\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:policy:Signon\n properties:\n name: Example Policy\n status: ACTIVE\n description: Example Policy\n example:\n type: okta:policy:RuleSignon\n properties:\n access: CHALLENGE\n authtype: RADIUS\n name: Example Policy Rule\n networkConnection: ANYWHERE\n policyId: ${exampleOktaPolicySignon.id}\n status: ACTIVE\n riscLevel: HIGH\n behaviors:\n - ${newCity.id}\n factorSequences:\n - primaryCriteriaFactorType: token:hotp\n primaryCriteriaProvider: CUSTOM\n secondaryCriterias:\n - factorType: token:software:totp\n provider: OKTA\n - factorType: push\n provider: OKTA\n - factorType: password\n provider: OKTA\n - factorType: question\n provider: OKTA\n - factorType: sms\n provider: OKTA\n - factorType: token:software:totp\n provider: GOOGLE\n - factorType: email\n provider: OKTA\n - factorType: call\n provider: OKTA\n - factorType: webauthn\n provider: FIDO\n - factorType: token\n provider: RSA\n - factorType: token\n provider: SYMANTEC\n - primaryCriteriaFactorType: token:software:totp\n primaryCriteriaProvider: OKTA\nvariables:\n newCity:\n fn::invoke:\n Function: okta:getBehaviour\n Arguments:\n name: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleSignon:RuleSignon example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "access": { "type": "string", @@ -19001,7 +19121,7 @@ } }, "okta:policy/signon:Signon": { - "description": "Creates a Sign On Policy. This resource allows you to create and configure a Sign On Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.Signon(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n description: \"Example\",\n groupsIncludeds: [everyone.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.Signon(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n description=\"Example\",\n groups_includeds=[everyone[\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.Signon(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n Description = \"Example\",\n GroupsIncludeds = new[]\n {\n everyone.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewSignon(ctx, \"example\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example\"),\n\t\t\tGroupsIncludeds: pulumi.StringArray{\n\t\t\t\teveryone.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Signon(\"example\", SignonArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .description(\"Example\")\n .groupsIncludeds(everyone.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:Signon\n properties:\n name: example\n status: ACTIVE\n description: Example\n groupsIncludeds:\n - ${everyone.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/signon:Signon example \u0026#60;policy id\u0026#62;\n```\n\n", + "description": "Creates a Sign On Policy. This resource allows you to create and configure a Sign On Policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.policy.Signon(\"example\", {\n name: \"example\",\n status: \"ACTIVE\",\n description: \"Example\",\n groupsIncludeds: [everyone.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.Signon(\"example\",\n name=\"example\",\n status=\"ACTIVE\",\n description=\"Example\",\n groups_includeds=[everyone[\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Policy.Signon(\"example\", new()\n {\n Name = \"example\",\n Status = \"ACTIVE\",\n Description = \"Example\",\n GroupsIncludeds = new[]\n {\n everyone.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := policy.NewSignon(ctx, \"example\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example\"),\n\t\t\tGroupsIncludeds: pulumi.StringArray{\n\t\t\t\teveryone.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Signon(\"example\", SignonArgs.builder()\n .name(\"example\")\n .status(\"ACTIVE\")\n .description(\"Example\")\n .groupsIncludeds(everyone.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:Signon\n properties:\n name: example\n status: ACTIVE\n description: Example\n groupsIncludeds:\n - ${everyone.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/signon:Signon example \u003cpolicy_id\u003e\n```\n\n", "properties": { "description": { "type": "string", @@ -19209,7 +19329,7 @@ } }, "okta:trustedorigin/origin:Origin": { - "description": "Creates a Trusted Origin. This resource allows you to create and configure a Trusted Origin.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.trustedorigin.Origin(\"example\", {\n name: \"example\",\n origin: \"https://example.com\",\n scopes: [\"CORS\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.trustedorigin.Origin(\"example\",\n name=\"example\",\n origin=\"https://example.com\",\n scopes=[\"CORS\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TrustedOrigin.Origin(\"example\", new()\n {\n Name = \"example\",\n OriginName = \"https://example.com\",\n Scopes = new[]\n {\n \"CORS\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/trustedorigin\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := trustedorigin.NewOrigin(ctx, \"example\", \u0026trustedorigin.OriginArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tOrigin: pulumi.String(\"https://example.com\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CORS\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.trustedorigin.Origin;\nimport com.pulumi.okta.trustedorigin.OriginArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Origin(\"example\", OriginArgs.builder()\n .name(\"example\")\n .origin(\"https://example.com\")\n .scopes(\"CORS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:trustedorigin:Origin\n properties:\n name: example\n origin: https://example.com\n scopes:\n - CORS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:trustedorigin/origin:Origin example \u0026#60;trusted origin id\u0026#62;\n```\n\n", + "description": "Creates a Trusted Origin. This resource allows you to create and configure a Trusted Origin.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.trustedorigin.Origin(\"example\", {\n name: \"example\",\n origin: \"https://example.com\",\n scopes: [\"CORS\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.trustedorigin.Origin(\"example\",\n name=\"example\",\n origin=\"https://example.com\",\n scopes=[\"CORS\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TrustedOrigin.Origin(\"example\", new()\n {\n Name = \"example\",\n OriginName = \"https://example.com\",\n Scopes = new[]\n {\n \"CORS\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/trustedorigin\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := trustedorigin.NewOrigin(ctx, \"example\", \u0026trustedorigin.OriginArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tOrigin: pulumi.String(\"https://example.com\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CORS\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.trustedorigin.Origin;\nimport com.pulumi.okta.trustedorigin.OriginArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Origin(\"example\", OriginArgs.builder()\n .name(\"example\")\n .origin(\"https://example.com\")\n .scopes(\"CORS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:trustedorigin:Origin\n properties:\n name: example\n origin: https://example.com\n scopes:\n - CORS\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:trustedorigin/origin:Origin example \u003ctrusted_origin_id\u003e\n```\n\n", "properties": { "active": { "type": "boolean", @@ -19303,7 +19423,7 @@ } }, "okta:user/user:User": { - "description": "Creates an Okta User. This resource allows you to create and configure an Okta User.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## Full profile:\nconst example = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n city: \"New York\",\n costCenter: \"10\",\n countryCode: \"US\",\n department: \"IT\",\n displayName: \"Dr. John Smith\",\n division: \"Acquisitions\",\n employeeNumber: \"111111\",\n honorificPrefix: \"Dr.\",\n honorificSuffix: \"Jr.\",\n locale: \"en_US\",\n manager: \"Jimbo\",\n managerId: \"222222\",\n middleName: \"John\",\n mobilePhone: \"1112223333\",\n nickName: \"Johnny\",\n organization: \"Testing Inc.\",\n postalAddress: \"1234 Testing St.\",\n preferredLanguage: \"en-us\",\n primaryPhone: \"4445556666\",\n profileUrl: \"https://www.example.com/profile\",\n secondEmail: \"john.smith.fun@example.com\",\n state: \"NY\",\n streetAddress: \"5678 Testing Ave.\",\n timezone: \"America/New_York\",\n title: \"Director\",\n userType: \"Employee\",\n zipCode: \"11111\",\n});\n//## With Password Inline Hook:\nconst test2 = new okta.user.User(\"test2\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"example@example.com\",\n email: \"example@example.com\",\n passwordInlineHook: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### Full profile:\nexample = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\",\n city=\"New York\",\n cost_center=\"10\",\n country_code=\"US\",\n department=\"IT\",\n display_name=\"Dr. John Smith\",\n division=\"Acquisitions\",\n employee_number=\"111111\",\n honorific_prefix=\"Dr.\",\n honorific_suffix=\"Jr.\",\n locale=\"en_US\",\n manager=\"Jimbo\",\n manager_id=\"222222\",\n middle_name=\"John\",\n mobile_phone=\"1112223333\",\n nick_name=\"Johnny\",\n organization=\"Testing Inc.\",\n postal_address=\"1234 Testing St.\",\n preferred_language=\"en-us\",\n primary_phone=\"4445556666\",\n profile_url=\"https://www.example.com/profile\",\n second_email=\"john.smith.fun@example.com\",\n state=\"NY\",\n street_address=\"5678 Testing Ave.\",\n timezone=\"America/New_York\",\n title=\"Director\",\n user_type=\"Employee\",\n zip_code=\"11111\")\n### With Password Inline Hook:\ntest2 = okta.user.User(\"test2\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"example@example.com\",\n email=\"example@example.com\",\n password_inline_hook=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## Full profile:\n var example = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n City = \"New York\",\n CostCenter = \"10\",\n CountryCode = \"US\",\n Department = \"IT\",\n DisplayName = \"Dr. John Smith\",\n Division = \"Acquisitions\",\n EmployeeNumber = \"111111\",\n HonorificPrefix = \"Dr.\",\n HonorificSuffix = \"Jr.\",\n Locale = \"en_US\",\n Manager = \"Jimbo\",\n ManagerId = \"222222\",\n MiddleName = \"John\",\n MobilePhone = \"1112223333\",\n NickName = \"Johnny\",\n Organization = \"Testing Inc.\",\n PostalAddress = \"1234 Testing St.\",\n PreferredLanguage = \"en-us\",\n PrimaryPhone = \"4445556666\",\n ProfileUrl = \"https://www.example.com/profile\",\n SecondEmail = \"john.smith.fun@example.com\",\n State = \"NY\",\n StreetAddress = \"5678 Testing Ave.\",\n Timezone = \"America/New_York\",\n Title = \"Director\",\n UserType = \"Employee\",\n ZipCode = \"11111\",\n });\n\n //## With Password Inline Hook:\n var test2 = new Okta.User.User(\"test2\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"example@example.com\",\n Email = \"example@example.com\",\n PasswordInlineHook = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// ## Full profile:\n\t\t_, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t\tCity: pulumi.String(\"New York\"),\n\t\t\tCostCenter: pulumi.String(\"10\"),\n\t\t\tCountryCode: pulumi.String(\"US\"),\n\t\t\tDepartment: pulumi.String(\"IT\"),\n\t\t\tDisplayName: pulumi.String(\"Dr. John Smith\"),\n\t\t\tDivision: pulumi.String(\"Acquisitions\"),\n\t\t\tEmployeeNumber: pulumi.String(\"111111\"),\n\t\t\tHonorificPrefix: pulumi.String(\"Dr.\"),\n\t\t\tHonorificSuffix: pulumi.String(\"Jr.\"),\n\t\t\tLocale: pulumi.String(\"en_US\"),\n\t\t\tManager: pulumi.String(\"Jimbo\"),\n\t\t\tManagerId: pulumi.String(\"222222\"),\n\t\t\tMiddleName: pulumi.String(\"John\"),\n\t\t\tMobilePhone: pulumi.String(\"1112223333\"),\n\t\t\tNickName: pulumi.String(\"Johnny\"),\n\t\t\tOrganization: pulumi.String(\"Testing Inc.\"),\n\t\t\tPostalAddress: pulumi.String(\"1234 Testing St.\"),\n\t\t\tPreferredLanguage: pulumi.String(\"en-us\"),\n\t\t\tPrimaryPhone: pulumi.String(\"4445556666\"),\n\t\t\tProfileUrl: pulumi.String(\"https://www.example.com/profile\"),\n\t\t\tSecondEmail: pulumi.String(\"john.smith.fun@example.com\"),\n\t\t\tState: pulumi.String(\"NY\"),\n\t\t\tStreetAddress: pulumi.String(\"5678 Testing Ave.\"),\n\t\t\tTimezone: pulumi.String(\"America/New_York\"),\n\t\t\tTitle: pulumi.String(\"Director\"),\n\t\t\tUserType: pulumi.String(\"Employee\"),\n\t\t\tZipCode: pulumi.String(\"11111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## With Password Inline Hook:\n\t\t_, err = user.NewUser(ctx, \"test2\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"example@example.com\"),\n\t\t\tEmail: pulumi.String(\"example@example.com\"),\n\t\t\tPasswordInlineHook: pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## Full profile:\n var example = new User(\"example\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .city(\"New York\")\n .costCenter(\"10\")\n .countryCode(\"US\")\n .department(\"IT\")\n .displayName(\"Dr. John Smith\")\n .division(\"Acquisitions\")\n .employeeNumber(\"111111\")\n .honorificPrefix(\"Dr.\")\n .honorificSuffix(\"Jr.\")\n .locale(\"en_US\")\n .manager(\"Jimbo\")\n .managerId(\"222222\")\n .middleName(\"John\")\n .mobilePhone(\"1112223333\")\n .nickName(\"Johnny\")\n .organization(\"Testing Inc.\")\n .postalAddress(\"1234 Testing St.\")\n .preferredLanguage(\"en-us\")\n .primaryPhone(\"4445556666\")\n .profileUrl(\"https://www.example.com/profile\")\n .secondEmail(\"john.smith.fun@example.com\")\n .state(\"NY\")\n .streetAddress(\"5678 Testing Ave.\")\n .timezone(\"America/New_York\")\n .title(\"Director\")\n .userType(\"Employee\")\n .zipCode(\"11111\")\n .build());\n\n //## With Password Inline Hook:\n var test2 = new User(\"test2\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"example@example.com\")\n .email(\"example@example.com\")\n .passwordInlineHook(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ### Full profile:\n example:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n city: New York\n costCenter: '10'\n countryCode: US\n department: IT\n displayName: Dr. John Smith\n division: Acquisitions\n employeeNumber: '111111'\n honorificPrefix: Dr.\n honorificSuffix: Jr.\n locale: en_US\n manager: Jimbo\n managerId: '222222'\n middleName: John\n mobilePhone: '1112223333'\n nickName: Johnny\n organization: Testing Inc.\n postalAddress: 1234 Testing St.\n preferredLanguage: en-us\n primaryPhone: '4445556666'\n profileUrl: https://www.example.com/profile\n secondEmail: john.smith.fun@example.com\n state: NY\n streetAddress: 5678 Testing Ave.\n timezone: America/New_York\n title: Director\n userType: Employee\n zipCode: '11111'\n ### With Password Inline Hook:\n test2:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: example@example.com\n email: example@example.com\n passwordInlineHook: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:user/user:User example \u0026#60;user id\u0026#62;\n```\n\n", + "description": "Creates an Okta User. This resource allows you to create and configure an Okta User.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## Full profile:\nconst example = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n city: \"New York\",\n costCenter: \"10\",\n countryCode: \"US\",\n department: \"IT\",\n displayName: \"Dr. John Smith\",\n division: \"Acquisitions\",\n employeeNumber: \"111111\",\n honorificPrefix: \"Dr.\",\n honorificSuffix: \"Jr.\",\n locale: \"en_US\",\n manager: \"Jimbo\",\n managerId: \"222222\",\n middleName: \"John\",\n mobilePhone: \"1112223333\",\n nickName: \"Johnny\",\n organization: \"Testing Inc.\",\n postalAddress: \"1234 Testing St.\",\n preferredLanguage: \"en-us\",\n primaryPhone: \"4445556666\",\n profileUrl: \"https://www.example.com/profile\",\n secondEmail: \"john.smith.fun@example.com\",\n state: \"NY\",\n streetAddress: \"5678 Testing Ave.\",\n timezone: \"America/New_York\",\n title: \"Director\",\n userType: \"Employee\",\n zipCode: \"11111\",\n});\n//## With Password Inline Hook:\nconst test2 = new okta.user.User(\"test2\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"example@example.com\",\n email: \"example@example.com\",\n passwordInlineHook: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### Full profile:\nexample = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\",\n city=\"New York\",\n cost_center=\"10\",\n country_code=\"US\",\n department=\"IT\",\n display_name=\"Dr. John Smith\",\n division=\"Acquisitions\",\n employee_number=\"111111\",\n honorific_prefix=\"Dr.\",\n honorific_suffix=\"Jr.\",\n locale=\"en_US\",\n manager=\"Jimbo\",\n manager_id=\"222222\",\n middle_name=\"John\",\n mobile_phone=\"1112223333\",\n nick_name=\"Johnny\",\n organization=\"Testing Inc.\",\n postal_address=\"1234 Testing St.\",\n preferred_language=\"en-us\",\n primary_phone=\"4445556666\",\n profile_url=\"https://www.example.com/profile\",\n second_email=\"john.smith.fun@example.com\",\n state=\"NY\",\n street_address=\"5678 Testing Ave.\",\n timezone=\"America/New_York\",\n title=\"Director\",\n user_type=\"Employee\",\n zip_code=\"11111\")\n### With Password Inline Hook:\ntest2 = okta.user.User(\"test2\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"example@example.com\",\n email=\"example@example.com\",\n password_inline_hook=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## Full profile:\n var example = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n City = \"New York\",\n CostCenter = \"10\",\n CountryCode = \"US\",\n Department = \"IT\",\n DisplayName = \"Dr. John Smith\",\n Division = \"Acquisitions\",\n EmployeeNumber = \"111111\",\n HonorificPrefix = \"Dr.\",\n HonorificSuffix = \"Jr.\",\n Locale = \"en_US\",\n Manager = \"Jimbo\",\n ManagerId = \"222222\",\n MiddleName = \"John\",\n MobilePhone = \"1112223333\",\n NickName = \"Johnny\",\n Organization = \"Testing Inc.\",\n PostalAddress = \"1234 Testing St.\",\n PreferredLanguage = \"en-us\",\n PrimaryPhone = \"4445556666\",\n ProfileUrl = \"https://www.example.com/profile\",\n SecondEmail = \"john.smith.fun@example.com\",\n State = \"NY\",\n StreetAddress = \"5678 Testing Ave.\",\n Timezone = \"America/New_York\",\n Title = \"Director\",\n UserType = \"Employee\",\n ZipCode = \"11111\",\n });\n\n //## With Password Inline Hook:\n var test2 = new Okta.User.User(\"test2\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"example@example.com\",\n Email = \"example@example.com\",\n PasswordInlineHook = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// ## Full profile:\n\t\t_, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t\tCity: pulumi.String(\"New York\"),\n\t\t\tCostCenter: pulumi.String(\"10\"),\n\t\t\tCountryCode: pulumi.String(\"US\"),\n\t\t\tDepartment: pulumi.String(\"IT\"),\n\t\t\tDisplayName: pulumi.String(\"Dr. John Smith\"),\n\t\t\tDivision: pulumi.String(\"Acquisitions\"),\n\t\t\tEmployeeNumber: pulumi.String(\"111111\"),\n\t\t\tHonorificPrefix: pulumi.String(\"Dr.\"),\n\t\t\tHonorificSuffix: pulumi.String(\"Jr.\"),\n\t\t\tLocale: pulumi.String(\"en_US\"),\n\t\t\tManager: pulumi.String(\"Jimbo\"),\n\t\t\tManagerId: pulumi.String(\"222222\"),\n\t\t\tMiddleName: pulumi.String(\"John\"),\n\t\t\tMobilePhone: pulumi.String(\"1112223333\"),\n\t\t\tNickName: pulumi.String(\"Johnny\"),\n\t\t\tOrganization: pulumi.String(\"Testing Inc.\"),\n\t\t\tPostalAddress: pulumi.String(\"1234 Testing St.\"),\n\t\t\tPreferredLanguage: pulumi.String(\"en-us\"),\n\t\t\tPrimaryPhone: pulumi.String(\"4445556666\"),\n\t\t\tProfileUrl: pulumi.String(\"https://www.example.com/profile\"),\n\t\t\tSecondEmail: pulumi.String(\"john.smith.fun@example.com\"),\n\t\t\tState: pulumi.String(\"NY\"),\n\t\t\tStreetAddress: pulumi.String(\"5678 Testing Ave.\"),\n\t\t\tTimezone: pulumi.String(\"America/New_York\"),\n\t\t\tTitle: pulumi.String(\"Director\"),\n\t\t\tUserType: pulumi.String(\"Employee\"),\n\t\t\tZipCode: pulumi.String(\"11111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## With Password Inline Hook:\n\t\t_, err = user.NewUser(ctx, \"test2\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"example@example.com\"),\n\t\t\tEmail: pulumi.String(\"example@example.com\"),\n\t\t\tPasswordInlineHook: pulumi.String(\"default\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n //## Full profile:\n var example = new User(\"example\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .city(\"New York\")\n .costCenter(\"10\")\n .countryCode(\"US\")\n .department(\"IT\")\n .displayName(\"Dr. John Smith\")\n .division(\"Acquisitions\")\n .employeeNumber(\"111111\")\n .honorificPrefix(\"Dr.\")\n .honorificSuffix(\"Jr.\")\n .locale(\"en_US\")\n .manager(\"Jimbo\")\n .managerId(\"222222\")\n .middleName(\"John\")\n .mobilePhone(\"1112223333\")\n .nickName(\"Johnny\")\n .organization(\"Testing Inc.\")\n .postalAddress(\"1234 Testing St.\")\n .preferredLanguage(\"en-us\")\n .primaryPhone(\"4445556666\")\n .profileUrl(\"https://www.example.com/profile\")\n .secondEmail(\"john.smith.fun@example.com\")\n .state(\"NY\")\n .streetAddress(\"5678 Testing Ave.\")\n .timezone(\"America/New_York\")\n .title(\"Director\")\n .userType(\"Employee\")\n .zipCode(\"11111\")\n .build());\n\n //## With Password Inline Hook:\n var test2 = new User(\"test2\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"example@example.com\")\n .email(\"example@example.com\")\n .passwordInlineHook(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ### Full profile:\n example:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n city: New York\n costCenter: '10'\n countryCode: US\n department: IT\n displayName: Dr. John Smith\n division: Acquisitions\n employeeNumber: '111111'\n honorificPrefix: Dr.\n honorificSuffix: Jr.\n locale: en_US\n manager: Jimbo\n managerId: '222222'\n middleName: John\n mobilePhone: '1112223333'\n nickName: Johnny\n organization: Testing Inc.\n postalAddress: 1234 Testing St.\n preferredLanguage: en-us\n primaryPhone: '4445556666'\n profileUrl: https://www.example.com/profile\n secondEmail: john.smith.fun@example.com\n state: NY\n streetAddress: 5678 Testing Ave.\n timezone: America/New_York\n title: Director\n userType: Employee\n zipCode: '11111'\n ### With Password Inline Hook:\n test2:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: example@example.com\n email: example@example.com\n passwordInlineHook: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:user/user:User example \u003cuser_id\u003e\n```\n\n", "properties": { "city": { "type": "string", @@ -19860,7 +19980,7 @@ } }, "okta:user/userType:UserType": { - "description": "Creates a User type. This resource allows you to create and configure a User Type.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.user.UserType(\"example\", {\n name: \"example\",\n displayName: \"example\",\n description: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.UserType(\"example\",\n name=\"example\",\n display_name=\"example\",\n description=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.User.UserType(\"example\", new()\n {\n Name = \"example\",\n DisplayName = \"example\",\n Description = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := user.NewUserType(ctx, \"example\", \u0026user.UserTypeArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDisplayName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.UserType;\nimport com.pulumi.okta.user.UserTypeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserType(\"example\", UserTypeArgs.builder()\n .name(\"example\")\n .displayName(\"example\")\n .description(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:user:UserType\n properties:\n name: example\n displayName: example\n description: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:user/userType:UserType example \u0026#60;user type id\u0026#62;\n```\n\n", + "description": "Creates a User type. This resource allows you to create and configure a User Type.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.user.UserType(\"example\", {\n name: \"example\",\n displayName: \"example\",\n description: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.UserType(\"example\",\n name=\"example\",\n display_name=\"example\",\n description=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.User.UserType(\"example\", new()\n {\n Name = \"example\",\n DisplayName = \"example\",\n Description = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := user.NewUserType(ctx, \"example\", \u0026user.UserTypeArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDisplayName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.user.UserType;\nimport com.pulumi.okta.user.UserTypeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new UserType(\"example\", UserTypeArgs.builder()\n .name(\"example\")\n .displayName(\"example\")\n .description(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:user:UserType\n properties:\n name: example\n displayName: example\n description: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:user/userType:UserType example \u003cuser_type_id\u003e\n```\n\n", "properties": { "description": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 04b12b2e8..f15fc55ec 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,13 +1,15 @@ module github.com/pulumi/pulumi-okta/provider/v4 -go 1.21.12 +go 1.22 + +toolchain go1.22.7 require ( github.com/okta/terraform-provider-okta v0.0.0 github.com/pulumi/providertest v0.0.14 - github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 - github.com/pulumi/pulumi/sdk/v3 v3.129.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 github.com/stretchr/testify v1.9.0 ) @@ -33,13 +35,13 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect - github.com/BurntSushi/toml v1.3.2 // indirect + github.com/BurntSushi/toml v1.4.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.2.0 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect + github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect @@ -124,7 +126,7 @@ require ( github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect github.com/hashicorp/go-sockaddr v1.0.6 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect - github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/go-version v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect @@ -182,7 +184,7 @@ require ( github.com/nxadm/tail v1.4.11 // indirect github.com/oklog/run v1.1.0 // indirect github.com/okta/okta-sdk-golang/v4 v4.1.2 // indirect - github.com/okta/okta-sdk-golang/v5 v5.0.0 // indirect + github.com/okta/okta-sdk-golang/v5 v5.0.2 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/patrickmn/go-cache v2.1.0+incompatible // indirect @@ -200,7 +202,7 @@ require ( github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect github.com/pulumi/pulumi-yaml v1.9.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.129.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.130.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -233,7 +235,7 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/yuin/goldmark v1.7.4 // indirect - github.com/zclconf/go-cty v1.14.2 // indirect + github.com/zclconf/go-cty v1.14.4 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 81354ae73..02c996bed 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1165,8 +1165,8 @@ github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1/go.mod h1:9V2j0jn github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 h1:XHOnouVk1mxXfQidrMEnLlPk9UMeRtyBTnEFtxkV0kU= github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= -github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0= +github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= @@ -1186,8 +1186,9 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0= github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg= +github.com/ProtonMail/go-crypto v1.1.0-alpha.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= @@ -1651,13 +1652,15 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= +github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= -github.com/hashicorp/hc-install v0.6.3 h1:yE/r1yJvWbtrJ0STwScgEnCanb0U9v7zp0Gbkmcoxqs= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= +github.com/hashicorp/hc-install v0.7.0 h1:Uu9edVqjKQxxuD28mR5TikkKDd/p55S8vzPC1659aBk= +github.com/hashicorp/hc-install v0.7.0/go.mod h1:ELmmzZlGnEcqoUMKUuykHaPCIR1sYLYX+KSggWSKZuA= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= @@ -1669,12 +1672,14 @@ github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNws github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo= github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw= +github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVWkd/RG0D2XQ= +github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= github.com/hashicorp/terraform-json v0.19.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= -github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= +github.com/hashicorp/terraform-json v0.22.1 h1:xft84GZR0QzjPVWs4lRUwvTcPnegqlyS7orfb5Ltvec= +github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= github.com/hashicorp/terraform-plugin-framework v1.11.0 h1:M7+9zBArexHFXDx/pKTxjE6n/2UCXY6b8FIq9ZYhwfE= github.com/hashicorp/terraform-plugin-framework v1.11.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= @@ -1881,8 +1886,8 @@ github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/okta/okta-sdk-golang/v4 v4.1.2 h1:gSycAYWGrvYeXBW8HakMZnNu/ptMuTvTQ/zZ7lgmtPI= github.com/okta/okta-sdk-golang/v4 v4.1.2/go.mod h1:01oiHDXvZQHlZo1Uw084VDYwXIqJe19z34b53PBZpUY= -github.com/okta/okta-sdk-golang/v5 v5.0.0 h1:QYe3pPSg1eI3SSKzBBXDUPdxmAzFzQ5Ukp0hSlGifGM= -github.com/okta/okta-sdk-golang/v5 v5.0.0/go.mod h1:T/vmECtJX33YPZSVD+sorebd8LLhe38Bi/VrFTjgVX0= +github.com/okta/okta-sdk-golang/v5 v5.0.2 h1:eecvycE/XDX56IWTsOVhqfj5txCgqryTXzKy7wKEq78= +github.com/okta/okta-sdk-golang/v5 v5.0.2/go.mod h1:T/vmECtJX33YPZSVD+sorebd8LLhe38Bi/VrFTjgVX0= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= @@ -1966,18 +1971,18 @@ github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2p github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= -github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1 h1:IMn3MmvoO66iptcU5kBdun60PqwNJBJ20A4hD3AqkDE= -github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1/go.mod h1:SXxx1PJNNdGoD4/CxELgy0F46uzcTbDkz63DJsjIRXE= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 h1:FLQknb6r3r/uaj1XLbouFF88eF1Fk0h4JOVS9kHKDRY= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1/go.mod h1:JAxygKR/XGW6zIv6iOP6sHAYjZ7OCtqU7j6Od1lUk38= +github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 h1:g15WgVKJBhFtzhLqOky6R77QIU3x4KkunrLHDSkK6CM= +github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0/go.mod h1:xdU2rcUBjPX/alXMiywUK1GvN4goUHZxos8ZfT6sVXM= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 h1:e7xfYAiXCE8LCwfKvbGeNAjdPmKwPM3kavEXECt3wvs= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0/go.mod h1:dIVp4qG+GsUwmpz40L7Z+PZnzHf3cQq1CAFwhz++ris= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= -github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= -github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= +github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2121,8 +2126,9 @@ github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= +github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= diff --git a/sdk/dotnet/AdminRoleCustom.cs b/sdk/dotnet/AdminRoleCustom.cs index ff9144318..398fe247f 100644 --- a/sdk/dotnet/AdminRoleCustom.cs +++ b/sdk/dotnet/AdminRoleCustom.cs @@ -40,7 +40,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example &#60;custom role id&#62 + /// $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom_role_id> /// ``` /// [OktaResourceType("okta:index/adminRoleCustom:AdminRoleCustom")] diff --git a/sdk/dotnet/AdminRoleCustomAssignments.cs b/sdk/dotnet/AdminRoleCustomAssignments.cs index a082aca2b..f4f355f21 100644 --- a/sdk/dotnet/AdminRoleCustomAssignments.cs +++ b/sdk/dotnet/AdminRoleCustomAssignments.cs @@ -18,7 +18,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example &#60;resource_set_id&#62;/&#60;custom_role_id&#62; + /// $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> /// ``` /// [OktaResourceType("okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments")] diff --git a/sdk/dotnet/AdminRoleTargets.cs b/sdk/dotnet/AdminRoleTargets.cs index 2c49cac51..e56b8c5ce 100644 --- a/sdk/dotnet/AdminRoleTargets.cs +++ b/sdk/dotnet/AdminRoleTargets.cs @@ -42,7 +42,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example &#60;user id&#62;/&#60;role type&#62; + /// $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user_id>/<role_type> /// ``` /// [OktaResourceType("okta:index/adminRoleTargets:AdminRoleTargets")] diff --git a/sdk/dotnet/App/AccessPolicyAssignment.cs b/sdk/dotnet/App/AccessPolicyAssignment.cs index 00a29a148..13c538ae1 100644 --- a/sdk/dotnet/App/AccessPolicyAssignment.cs +++ b/sdk/dotnet/App/AccessPolicyAssignment.cs @@ -60,7 +60,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example &#60;app id&#62; + /// $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app_id> /// ``` /// [OktaResourceType("okta:app/accessPolicyAssignment:AccessPolicyAssignment")] diff --git a/sdk/dotnet/App/AutoLogin.cs b/sdk/dotnet/App/AutoLogin.cs index c1f098b3d..a4be18b2b 100644 --- a/sdk/dotnet/App/AutoLogin.cs +++ b/sdk/dotnet/App/AutoLogin.cs @@ -19,7 +19,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/autoLogin:AutoLogin example &#60;app id&#62 + /// $ pulumi import okta:app/autoLogin:AutoLogin example <app_id> /// ``` /// [OktaResourceType("okta:app/autoLogin:AutoLogin")] diff --git a/sdk/dotnet/App/BasicAuth.cs b/sdk/dotnet/App/BasicAuth.cs index 10cb74bc9..de04837ff 100644 --- a/sdk/dotnet/App/BasicAuth.cs +++ b/sdk/dotnet/App/BasicAuth.cs @@ -38,7 +38,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/basicAuth:BasicAuth example &#60;app id&#62 + /// $ pulumi import okta:app/basicAuth:BasicAuth example <app_id> /// ``` /// [OktaResourceType("okta:app/basicAuth:BasicAuth")] diff --git a/sdk/dotnet/App/Bookmark.cs b/sdk/dotnet/App/Bookmark.cs index 39a30e8ee..7865d19b7 100644 --- a/sdk/dotnet/App/Bookmark.cs +++ b/sdk/dotnet/App/Bookmark.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/bookmark:Bookmark example &#60;app id&#62t + /// $ pulumi import okta:app/bookmark:Bookmark example <app_id> /// ``` /// [OktaResourceType("okta:app/bookmark:Bookmark")] diff --git a/sdk/dotnet/App/GroupAssignment.cs b/sdk/dotnet/App/GroupAssignment.cs index 2ccf99d5e..80b1aba7d 100644 --- a/sdk/dotnet/App/GroupAssignment.cs +++ b/sdk/dotnet/App/GroupAssignment.cs @@ -36,7 +36,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/groupAssignment:GroupAssignment example &#60;app_id&#62;/&#60;group_id&#62 + /// $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> /// ``` /// [OktaResourceType("okta:app/groupAssignment:GroupAssignment")] diff --git a/sdk/dotnet/App/OAuth.cs b/sdk/dotnet/App/OAuth.cs index 5243936a8..1ba0409d2 100644 --- a/sdk/dotnet/App/OAuth.cs +++ b/sdk/dotnet/App/OAuth.cs @@ -32,7 +32,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/oAuth:OAuth example &#60;app id&#62 + /// $ pulumi import okta:app/oAuth:OAuth example <app_id> /// ``` /// [OktaResourceType("okta:app/oAuth:OAuth")] diff --git a/sdk/dotnet/App/OAuthPostLogoutRedirectUri.cs b/sdk/dotnet/App/OAuthPostLogoutRedirectUri.cs index 7fefaaaff..4953b4e03 100644 --- a/sdk/dotnet/App/OAuthPostLogoutRedirectUri.cs +++ b/sdk/dotnet/App/OAuthPostLogoutRedirectUri.cs @@ -60,7 +60,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example &#60;app id&#62;/&#60;uri&#62 + /// $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app_id>/<uri> /// ``` /// [OktaResourceType("okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri")] diff --git a/sdk/dotnet/App/OAuthRedirectUri.cs b/sdk/dotnet/App/OAuthRedirectUri.cs index a5511fb79..1f1640683 100644 --- a/sdk/dotnet/App/OAuthRedirectUri.cs +++ b/sdk/dotnet/App/OAuthRedirectUri.cs @@ -56,7 +56,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example &#60;app id&#62;/&#60;uri&#62 + /// $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app_id>/<uri> /// ``` /// [OktaResourceType("okta:app/oAuthRedirectUri:OAuthRedirectUri")] diff --git a/sdk/dotnet/App/Saml.cs b/sdk/dotnet/App/Saml.cs index 1f2df6b0e..0d8303202 100644 --- a/sdk/dotnet/App/Saml.cs +++ b/sdk/dotnet/App/Saml.cs @@ -22,7 +22,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/saml:Saml example &#60;app id&#62 + /// $ pulumi import okta:app/saml:Saml example <app_id> /// ``` /// [OktaResourceType("okta:app/saml:Saml")] diff --git a/sdk/dotnet/App/SecurePasswordStore.cs b/sdk/dotnet/App/SecurePasswordStore.cs index 0ea686627..22e42a98f 100644 --- a/sdk/dotnet/App/SecurePasswordStore.cs +++ b/sdk/dotnet/App/SecurePasswordStore.cs @@ -42,7 +42,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example &#60;app id&#62 + /// $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app_id> /// ``` /// [OktaResourceType("okta:app/securePasswordStore:SecurePasswordStore")] diff --git a/sdk/dotnet/App/Swa.cs b/sdk/dotnet/App/Swa.cs index 8b2c6dc47..3cee23e09 100644 --- a/sdk/dotnet/App/Swa.cs +++ b/sdk/dotnet/App/Swa.cs @@ -42,7 +42,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/swa:Swa example &#60;app id&#62; + /// $ pulumi import okta:app/swa:Swa example <app_id> /// ``` /// [OktaResourceType("okta:app/swa:Swa")] diff --git a/sdk/dotnet/App/ThreeField.cs b/sdk/dotnet/App/ThreeField.cs index 6e2acad66..c0ccd34b0 100644 --- a/sdk/dotnet/App/ThreeField.cs +++ b/sdk/dotnet/App/ThreeField.cs @@ -19,7 +19,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/threeField:ThreeField example &#60;app id&#62; + /// $ pulumi import okta:app/threeField:ThreeField example <app_id> /// ``` /// [OktaResourceType("okta:app/threeField:ThreeField")] diff --git a/sdk/dotnet/App/User.cs b/sdk/dotnet/App/User.cs index 2010c9b44..896b28c42 100644 --- a/sdk/dotnet/App/User.cs +++ b/sdk/dotnet/App/User.cs @@ -33,7 +33,7 @@ namespace Pulumi.Okta.App /// ## Import /// /// ```sh - /// $ pulumi import okta:app/user:User example &#60;app id&#62;/&#60;user id&#62; + /// $ pulumi import okta:app/user:User example <app_id>/<user_id> /// ``` /// [OktaResourceType("okta:app/user:User")] diff --git a/sdk/dotnet/AppGroupAssignments.cs b/sdk/dotnet/AppGroupAssignments.cs index 5d6a8a9d8..809ebbe6b 100644 --- a/sdk/dotnet/AppGroupAssignments.cs +++ b/sdk/dotnet/AppGroupAssignments.cs @@ -53,7 +53,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example &#60;app_id&#62 + /// $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> /// ``` /// [OktaResourceType("okta:index/appGroupAssignments:AppGroupAssignments")] diff --git a/sdk/dotnet/AppOauthApiScope.cs b/sdk/dotnet/AppOauthApiScope.cs index b635dff2a..4a2f699e3 100644 --- a/sdk/dotnet/AppOauthApiScope.cs +++ b/sdk/dotnet/AppOauthApiScope.cs @@ -41,7 +41,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example &#60;app id&#62 + /// $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app_id> /// ``` /// [OktaResourceType("okta:index/appOauthApiScope:AppOauthApiScope")] diff --git a/sdk/dotnet/AppSamlAppSettings.cs b/sdk/dotnet/AppSamlAppSettings.cs index 8f8ac4691..2366a856f 100644 --- a/sdk/dotnet/AppSamlAppSettings.cs +++ b/sdk/dotnet/AppSamlAppSettings.cs @@ -54,7 +54,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example &#60;app id&#62 + /// $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app_id> /// ``` /// [OktaResourceType("okta:index/appSamlAppSettings:AppSamlAppSettings")] diff --git a/sdk/dotnet/AppSharedCredentials.cs b/sdk/dotnet/AppSharedCredentials.cs index f430a9f24..5608d79ca 100644 --- a/sdk/dotnet/AppSharedCredentials.cs +++ b/sdk/dotnet/AppSharedCredentials.cs @@ -54,7 +54,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example &#60;app id&#62 + /// $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app_id> /// ``` /// [OktaResourceType("okta:index/appSharedCredentials:AppSharedCredentials")] diff --git a/sdk/dotnet/AppSignonPolicy.cs b/sdk/dotnet/AppSignonPolicy.cs index d1ccfa55b..2cea09de9 100644 --- a/sdk/dotnet/AppSignonPolicy.cs +++ b/sdk/dotnet/AppSignonPolicy.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example &#60;policy_id&#62; + /// $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> /// ``` /// [OktaResourceType("okta:index/appSignonPolicy:AppSignonPolicy")] diff --git a/sdk/dotnet/AppSignonPolicyRule.cs b/sdk/dotnet/AppSignonPolicyRule.cs index 1d4bf899b..33e0ad7a1 100644 --- a/sdk/dotnet/AppSignonPolicyRule.cs +++ b/sdk/dotnet/AppSignonPolicyRule.cs @@ -21,7 +21,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example &#60;policy_id&#62;/&#60;rule_id&#62 + /// $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:index/appSignonPolicyRule:AppSignonPolicyRule")] diff --git a/sdk/dotnet/AppUserBaseSchemaProperty.cs b/sdk/dotnet/AppUserBaseSchemaProperty.cs index d0baee2ed..2c697b2c4 100644 --- a/sdk/dotnet/AppUserBaseSchemaProperty.cs +++ b/sdk/dotnet/AppUserBaseSchemaProperty.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example &#60;app id&#62;/&#60;property name&#62; + /// $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app_id>/<property_name> /// ``` /// [OktaResourceType("okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty")] diff --git a/sdk/dotnet/AppUserSchemaProperty.cs b/sdk/dotnet/AppUserSchemaProperty.cs index 60ece7bbd..d636c4c4d 100644 --- a/sdk/dotnet/AppUserSchemaProperty.cs +++ b/sdk/dotnet/AppUserSchemaProperty.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example &#60;app id&#62;/&#60;property name&#62; + /// $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app_id>/<property_name> /// ``` /// [OktaResourceType("okta:index/appUserSchemaProperty:AppUserSchemaProperty")] diff --git a/sdk/dotnet/Auth/Server.cs b/sdk/dotnet/Auth/Server.cs index b2a84dc37..5603ef3a9 100644 --- a/sdk/dotnet/Auth/Server.cs +++ b/sdk/dotnet/Auth/Server.cs @@ -40,7 +40,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/server:Server example &#60;auth server id&#62; + /// $ pulumi import okta:auth/server:Server example <auth_server_id> /// ``` /// [OktaResourceType("okta:auth/server:Server")] diff --git a/sdk/dotnet/Auth/ServerClaim.cs b/sdk/dotnet/Auth/ServerClaim.cs index 329bf2b91..8f96ce149 100644 --- a/sdk/dotnet/Auth/ServerClaim.cs +++ b/sdk/dotnet/Auth/ServerClaim.cs @@ -40,7 +40,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/serverClaim:ServerClaim example &#60;auth server id&#62;/&#60;claim id&#62; + /// $ pulumi import okta:auth/serverClaim:ServerClaim example <auth_server_id>/<claim_id> /// ``` /// [OktaResourceType("okta:auth/serverClaim:ServerClaim")] diff --git a/sdk/dotnet/Auth/ServerPolicy.cs b/sdk/dotnet/Auth/ServerPolicy.cs index c40bf95c3..c096af0e6 100644 --- a/sdk/dotnet/Auth/ServerPolicy.cs +++ b/sdk/dotnet/Auth/ServerPolicy.cs @@ -41,7 +41,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/serverPolicy:ServerPolicy example &#60;auth server id&#62;/&#60;policy id&#62; + /// $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth_server_id>/<policy_id> /// ``` /// [OktaResourceType("okta:auth/serverPolicy:ServerPolicy")] diff --git a/sdk/dotnet/Auth/ServerPolicyClaim.cs b/sdk/dotnet/Auth/ServerPolicyClaim.cs index d1f37e6bd..8e703595f 100644 --- a/sdk/dotnet/Auth/ServerPolicyClaim.cs +++ b/sdk/dotnet/Auth/ServerPolicyClaim.cs @@ -43,7 +43,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example &#60;auth server id&#62;/&#60;policy id&#62;/&#60;policy rule id&#62; + /// $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth_server_id>/<policy_id>/<policy_rule_id> /// ``` /// [Obsolete(@"okta.auth/serverpolicyclaim.ServerPolicyClaim has been deprecated in favor of okta.auth/serverpolicyrule.ServerPolicyRule")] diff --git a/sdk/dotnet/Auth/ServerPolicyRule.cs b/sdk/dotnet/Auth/ServerPolicyRule.cs index 9984919c5..096c4e0c7 100644 --- a/sdk/dotnet/Auth/ServerPolicyRule.cs +++ b/sdk/dotnet/Auth/ServerPolicyRule.cs @@ -43,7 +43,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example &#60;auth server id&#62;/&#60;policy id&#62;/&#60;policy rule id&#62; + /// $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth_server_id>/<policy_id>/<policy_rule_id> /// ``` /// [OktaResourceType("okta:auth/serverPolicyRule:ServerPolicyRule")] diff --git a/sdk/dotnet/Auth/ServerScope.cs b/sdk/dotnet/Auth/ServerScope.cs index 703a45964..7e39daeeb 100644 --- a/sdk/dotnet/Auth/ServerScope.cs +++ b/sdk/dotnet/Auth/ServerScope.cs @@ -36,7 +36,7 @@ namespace Pulumi.Okta.Auth /// ## Import /// /// ```sh - /// $ pulumi import okta:auth/serverScope:ServerScope example &#60;auth server id&#62;/&#60;scope id&#62; + /// $ pulumi import okta:auth/serverScope:ServerScope example <auth_server_id>/<scope_id> /// ``` /// [OktaResourceType("okta:auth/serverScope:ServerScope")] diff --git a/sdk/dotnet/AuthServerClaimDefault.cs b/sdk/dotnet/AuthServerClaimDefault.cs index 63abdcdbe..b84a460d3 100644 --- a/sdk/dotnet/AuthServerClaimDefault.cs +++ b/sdk/dotnet/AuthServerClaimDefault.cs @@ -36,7 +36,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example &#60;auth server id&#62;/&#60;claim name&#62; + /// $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth_server_id>/<claim_name> /// ``` /// [OktaResourceType("okta:index/authServerClaimDefault:AuthServerClaimDefault")] diff --git a/sdk/dotnet/AuthServerDefault.cs b/sdk/dotnet/AuthServerDefault.cs index 31c1126af..1c307e96c 100644 --- a/sdk/dotnet/AuthServerDefault.cs +++ b/sdk/dotnet/AuthServerDefault.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/authServerDefault:AuthServerDefault example &#60;default&#62; + /// $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> /// ``` /// [OktaResourceType("okta:index/authServerDefault:AuthServerDefault")] diff --git a/sdk/dotnet/Authenticator.cs b/sdk/dotnet/Authenticator.cs index 3bdf6529d..a76fe1be7 100644 --- a/sdk/dotnet/Authenticator.cs +++ b/sdk/dotnet/Authenticator.cs @@ -74,7 +74,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/authenticator:Authenticator example &#60;authenticator_id&#62; + /// $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> /// ``` /// [OktaResourceType("okta:index/authenticator:Authenticator")] diff --git a/sdk/dotnet/Behaviour.cs b/sdk/dotnet/Behaviour.cs index 12219762e..0fdb4a391 100644 --- a/sdk/dotnet/Behaviour.cs +++ b/sdk/dotnet/Behaviour.cs @@ -66,7 +66,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/behaviour:Behaviour example &#60;behavior id&#62; + /// $ pulumi import okta:index/behaviour:Behaviour example <behavior_id> /// ``` /// [OktaResourceType("okta:index/behaviour:Behaviour")] diff --git a/sdk/dotnet/Brand.cs b/sdk/dotnet/Brand.cs index 966e00766..6cdce4ea9 100644 --- a/sdk/dotnet/Brand.cs +++ b/sdk/dotnet/Brand.cs @@ -31,7 +31,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/brand:Brand example &#60;brand id&#62; + /// $ pulumi import okta:index/brand:Brand example <brand_id> /// ``` /// [OktaResourceType("okta:index/brand:Brand")] diff --git a/sdk/dotnet/Captcha.cs b/sdk/dotnet/Captcha.cs index 05cccd13a..17db4b01d 100644 --- a/sdk/dotnet/Captcha.cs +++ b/sdk/dotnet/Captcha.cs @@ -38,7 +38,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/captcha:Captcha example &#60;captcha id&#62; + /// $ pulumi import okta:index/captcha:Captcha example <captcha_id> /// ``` /// [OktaResourceType("okta:index/captcha:Captcha")] diff --git a/sdk/dotnet/CustomizedSigninPage.cs b/sdk/dotnet/CustomizedSigninPage.cs index ae99a2630..3b4502b11 100644 --- a/sdk/dotnet/CustomizedSigninPage.cs +++ b/sdk/dotnet/CustomizedSigninPage.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example &#60;customized_signin_page_id&#62; + /// $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <brand_id> /// ``` /// [OktaResourceType("okta:index/customizedSigninPage:CustomizedSigninPage")] diff --git a/sdk/dotnet/Domain.cs b/sdk/dotnet/Domain.cs index 6eccd526b..a734bc1e0 100644 --- a/sdk/dotnet/Domain.cs +++ b/sdk/dotnet/Domain.cs @@ -33,7 +33,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/domain:Domain example &#60;domain_id&#62; + /// $ pulumi import okta:index/domain:Domain example <domain_id> /// ``` /// [OktaResourceType("okta:index/domain:Domain")] @@ -43,7 +43,7 @@ public partial class Domain : global::Pulumi.CustomResource /// Brand id of the domain /// [Output("brandId")] - public Output BrandId { get; private set; } = null!; + public Output BrandId { get; private set; } = null!; /// /// Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL diff --git a/sdk/dotnet/EmailCustomization.cs b/sdk/dotnet/EmailCustomization.cs index 9513f31b3..15de0eded 100644 --- a/sdk/dotnet/EmailCustomization.cs +++ b/sdk/dotnet/EmailCustomization.cs @@ -43,7 +43,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/emailCustomization:EmailCustomization example &#60;customization_id&#62;/&#60;brand_id&#62;/&#60;template_name&#62; + /// $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> /// ``` /// [OktaResourceType("okta:index/emailCustomization:EmailCustomization")] diff --git a/sdk/dotnet/EmailDomain.cs b/sdk/dotnet/EmailDomain.cs index 81e51ff80..95cdba386 100644 --- a/sdk/dotnet/EmailDomain.cs +++ b/sdk/dotnet/EmailDomain.cs @@ -34,7 +34,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/emailDomain:EmailDomain example &#60;domain id&#62; + /// $ pulumi import okta:index/emailDomain:EmailDomain example <domain_id> /// ``` /// [OktaResourceType("okta:index/emailDomain:EmailDomain")] diff --git a/sdk/dotnet/EmailSender.cs b/sdk/dotnet/EmailSender.cs index 77f2e6b63..a25f366dd 100644 --- a/sdk/dotnet/EmailSender.cs +++ b/sdk/dotnet/EmailSender.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/emailSender:EmailSender example &#60;sender id&#62; + /// $ pulumi import okta:index/emailSender:EmailSender example <sender_id> /// ``` /// [OktaResourceType("okta:index/emailSender:EmailSender")] diff --git a/sdk/dotnet/EventHook.cs b/sdk/dotnet/EventHook.cs index 73bda41b0..6cf8cc7e4 100644 --- a/sdk/dotnet/EventHook.cs +++ b/sdk/dotnet/EventHook.cs @@ -50,7 +50,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/eventHook:EventHook example &#60;hook id&#62; + /// $ pulumi import okta:index/eventHook:EventHook example <hook_id> /// ``` /// [OktaResourceType("okta:index/eventHook:EventHook")] diff --git a/sdk/dotnet/Group/Group.cs b/sdk/dotnet/Group/Group.cs index 3f76020b3..293620f33 100644 --- a/sdk/dotnet/Group/Group.cs +++ b/sdk/dotnet/Group/Group.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Group /// ## Import /// /// ```sh - /// $ pulumi import okta:group/group:Group example &#60;group id&#62; + /// $ pulumi import okta:group/group:Group example <group_id> /// ``` /// [OktaResourceType("okta:group/group:Group")] diff --git a/sdk/dotnet/Group/Owner.cs b/sdk/dotnet/Group/Owner.cs new file mode 100644 index 000000000..3a571c796 --- /dev/null +++ b/sdk/dotnet/Group/Owner.cs @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Group +{ + /// + /// Manages group owner resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = new Okta.User.User("test", new() + /// { + /// FirstName = "TestAcc", + /// LastName = "Smith", + /// Login = "testAcc-replace_with_uuid@example.com", + /// Email = "testAcc-replace_with_uuid@example.com", + /// }); + /// + /// var testGroup = new Okta.Group.Group("test", new() + /// { + /// Name = "testAcc_replace_with_uuid", + /// }); + /// + /// var testOwner = new Okta.Group.Owner("test", new() + /// { + /// GroupId = testGroup.Id, + /// IdOfGroupOwner = test.Id, + /// Type = "USER", + /// }); + /// + /// }); + /// ``` + /// + [OktaResourceType("okta:group/owner:Owner")] + public partial class Owner : global::Pulumi.CustomResource + { + /// + /// The display name of the group owner + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// The id of the group + /// + [Output("groupId")] + public Output GroupId { get; private set; } = null!; + + /// + /// The user id of the group owner + /// + [Output("idOfGroupOwner")] + public Output IdOfGroupOwner { get; private set; } = null!; + + /// + /// The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + /// + [Output("originId")] + public Output OriginId { get; private set; } = null!; + + /// + /// The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + /// + [Output("originType")] + public Output OriginType { get; private set; } = null!; + + /// + /// If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + /// + [Output("resolved")] + public Output Resolved { get; private set; } = null!; + + /// + /// The entity type of the owner. Enum: "GROUP" "USER" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Owner resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Owner(string name, OwnerArgs args, CustomResourceOptions? options = null) + : base("okta:group/owner:Owner", name, args ?? new OwnerArgs(), MakeResourceOptions(options, "")) + { + } + + private Owner(string name, Input id, OwnerState? state = null, CustomResourceOptions? options = null) + : base("okta:group/owner:Owner", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Owner resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Owner Get(string name, Input id, OwnerState? state = null, CustomResourceOptions? options = null) + { + return new Owner(name, id, state, options); + } + } + + public sealed class OwnerArgs : global::Pulumi.ResourceArgs + { + /// + /// The id of the group + /// + [Input("groupId", required: true)] + public Input GroupId { get; set; } = null!; + + /// + /// The user id of the group owner + /// + [Input("idOfGroupOwner", required: true)] + public Input IdOfGroupOwner { get; set; } = null!; + + /// + /// The entity type of the owner. Enum: "GROUP" "USER" + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public OwnerArgs() + { + } + public static new OwnerArgs Empty => new OwnerArgs(); + } + + public sealed class OwnerState : global::Pulumi.ResourceArgs + { + /// + /// The display name of the group owner + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// The id of the group + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The user id of the group owner + /// + [Input("idOfGroupOwner")] + public Input? IdOfGroupOwner { get; set; } + + /// + /// The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + /// + [Input("originId")] + public Input? OriginId { get; set; } + + /// + /// The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + /// + [Input("originType")] + public Input? OriginType { get; set; } + + /// + /// If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + /// + [Input("resolved")] + public Input? Resolved { get; set; } + + /// + /// The entity type of the owner. Enum: "GROUP" "USER" + /// + [Input("type")] + public Input? Type { get; set; } + + public OwnerState() + { + } + public static new OwnerState Empty => new OwnerState(); + } +} diff --git a/sdk/dotnet/Group/Role.cs b/sdk/dotnet/Group/Role.cs index a6064f51e..2789524e8 100644 --- a/sdk/dotnet/Group/Role.cs +++ b/sdk/dotnet/Group/Role.cs @@ -12,29 +12,10 @@ namespace Pulumi.Okta.Group /// /// Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Okta = Pulumi.Okta; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var example = new Okta.Group.Role("example", new() - /// { - /// GroupId = "<group id>", - /// RoleType = "READ_ONLY_ADMIN", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh - /// $ pulumi import okta:group/role:Role example &#60;group id&#62;/&#60;role id&#62; + /// $ pulumi import okta:group/role:Role example <group_id>/<role_id> /// ``` /// [OktaResourceType("okta:group/role:Role")] @@ -53,6 +34,18 @@ public partial class Role : global::Pulumi.CustomResource [Output("groupId")] public Output GroupId { get; private set; } = null!; + /// + /// Resource Set ID. Required for role_type = `CUSTOM` + /// + [Output("resourceSetId")] + public Output ResourceSetId { get; private set; } = null!; + + /// + /// Role ID. Required for role_type = `CUSTOM` + /// + [Output("roleId")] + public Output RoleId { get; private set; } = null!; + /// /// Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", /// "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -136,6 +129,18 @@ public sealed class RoleArgs : global::Pulumi.ResourceArgs [Input("groupId", required: true)] public Input GroupId { get; set; } = null!; + /// + /// Resource Set ID. Required for role_type = `CUSTOM` + /// + [Input("resourceSetId")] + public Input? ResourceSetId { get; set; } + + /// + /// Role ID. Required for role_type = `CUSTOM` + /// + [Input("roleId")] + public Input? RoleId { get; set; } + /// /// Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", /// "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -193,6 +198,18 @@ public sealed class RoleState : global::Pulumi.ResourceArgs [Input("groupId")] public Input? GroupId { get; set; } + /// + /// Resource Set ID. Required for role_type = `CUSTOM` + /// + [Input("resourceSetId")] + public Input? ResourceSetId { get; set; } + + /// + /// Role ID. Required for role_type = `CUSTOM` + /// + [Input("roleId")] + public Input? RoleId { get; set; } + /// /// Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", /// "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", diff --git a/sdk/dotnet/Group/Rule.cs b/sdk/dotnet/Group/Rule.cs index 1c37c5542..ff0647405 100644 --- a/sdk/dotnet/Group/Rule.cs +++ b/sdk/dotnet/Group/Rule.cs @@ -38,7 +38,7 @@ namespace Pulumi.Okta.Group /// ## Import /// /// ```sh - /// $ pulumi import okta:group/rule:Rule example &#60;group rule id&#62; + /// $ pulumi import okta:group/rule:Rule example <group_rule_id> /// ``` /// [OktaResourceType("okta:group/rule:Rule")] diff --git a/sdk/dotnet/GroupMemberships.cs b/sdk/dotnet/GroupMemberships.cs index 0b2ab758b..9ee19870c 100644 --- a/sdk/dotnet/GroupMemberships.cs +++ b/sdk/dotnet/GroupMemberships.cs @@ -55,13 +55,13 @@ namespace Pulumi.Okta /// an Okta Group's memberships can be imported via the Okta group ID. /// /// ```sh - /// $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62; + /// $ pulumi import okta:index/groupMemberships:GroupMemberships test <group_id> /// ``` /// /// optional parameter track all users will also import all user id currently assigned to the group /// /// ```sh - /// $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62;/&#60;true&#62; + /// $ pulumi import okta:index/groupMemberships:GroupMemberships test <group_id>/<true> /// ``` /// [OktaResourceType("okta:index/groupMemberships:GroupMemberships")] diff --git a/sdk/dotnet/GroupSchemaProperty.cs b/sdk/dotnet/GroupSchemaProperty.cs index fd7ff082f..3f0dc45fb 100644 --- a/sdk/dotnet/GroupSchemaProperty.cs +++ b/sdk/dotnet/GroupSchemaProperty.cs @@ -36,7 +36,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example &#60;index&#62; + /// $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> /// ``` /// [OktaResourceType("okta:index/groupSchemaProperty:GroupSchemaProperty")] diff --git a/sdk/dotnet/Idp/Oidc.cs b/sdk/dotnet/Idp/Oidc.cs index 8f2a8b9f4..6cbe200c0 100644 --- a/sdk/dotnet/Idp/Oidc.cs +++ b/sdk/dotnet/Idp/Oidc.cs @@ -49,7 +49,7 @@ namespace Pulumi.Okta.Idp /// ## Import /// /// ```sh - /// $ pulumi import okta:idp/oidc:Oidc example &#60;idp id&#62; + /// $ pulumi import okta:idp/oidc:Oidc example <idp_id> /// ``` /// [OktaResourceType("okta:idp/oidc:Oidc")] diff --git a/sdk/dotnet/Idp/Saml.cs b/sdk/dotnet/Idp/Saml.cs index a2de83043..3d151b64b 100644 --- a/sdk/dotnet/Idp/Saml.cs +++ b/sdk/dotnet/Idp/Saml.cs @@ -42,7 +42,7 @@ namespace Pulumi.Okta.Idp /// ## Import /// /// ```sh - /// $ pulumi import okta:idp/saml:Saml example &#60;idp id&#62; + /// $ pulumi import okta:idp/saml:Saml example <idp_id> /// ``` /// [OktaResourceType("okta:idp/saml:Saml")] diff --git a/sdk/dotnet/Idp/SamlKey.cs b/sdk/dotnet/Idp/SamlKey.cs index da55f29a1..bd626c8c8 100644 --- a/sdk/dotnet/Idp/SamlKey.cs +++ b/sdk/dotnet/Idp/SamlKey.cs @@ -54,7 +54,7 @@ namespace Pulumi.Okta.Idp /// ## Import /// /// ```sh - /// $ pulumi import okta:idp/samlKey:SamlKey example &#60;key id&#62; + /// $ pulumi import okta:idp/samlKey:SamlKey example <key_id> /// ``` /// [OktaResourceType("okta:idp/samlKey:SamlKey")] diff --git a/sdk/dotnet/Idp/Social.cs b/sdk/dotnet/Idp/Social.cs index eeda920d8..6d8d4e64a 100644 --- a/sdk/dotnet/Idp/Social.cs +++ b/sdk/dotnet/Idp/Social.cs @@ -43,7 +43,7 @@ namespace Pulumi.Okta.Idp /// ## Import /// /// ```sh - /// $ pulumi import okta:idp/social:Social example &#60;idp id&#62; + /// $ pulumi import okta:idp/social:Social example <idp_id> /// ``` /// [OktaResourceType("okta:idp/social:Social")] diff --git a/sdk/dotnet/Inline/Hook.cs b/sdk/dotnet/Inline/Hook.cs index 60199432d..ccb060436 100644 --- a/sdk/dotnet/Inline/Hook.cs +++ b/sdk/dotnet/Inline/Hook.cs @@ -47,7 +47,7 @@ namespace Pulumi.Okta.Inline /// ## Import /// /// ```sh - /// $ pulumi import okta:inline/hook:Hook example &#60;hook id&#62; + /// $ pulumi import okta:inline/hook:Hook example <hook_id> /// ``` /// [OktaResourceType("okta:inline/hook:Hook")] diff --git a/sdk/dotnet/LinkDefinition.cs b/sdk/dotnet/LinkDefinition.cs index 7ea90e8c5..657e9d080 100644 --- a/sdk/dotnet/LinkDefinition.cs +++ b/sdk/dotnet/LinkDefinition.cs @@ -42,7 +42,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/linkDefinition:LinkDefinition example &#60;primary_name&#62; + /// $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> /// ``` /// [OktaResourceType("okta:index/linkDefinition:LinkDefinition")] diff --git a/sdk/dotnet/LinkValue.cs b/sdk/dotnet/LinkValue.cs index 640986d3c..434dec6d6 100644 --- a/sdk/dotnet/LinkValue.cs +++ b/sdk/dotnet/LinkValue.cs @@ -72,7 +72,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/linkValue:LinkValue example &#60;primary_name&#62;/&#60;primary_user_id&#62; + /// $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> /// ``` /// [OktaResourceType("okta:index/linkValue:LinkValue")] diff --git a/sdk/dotnet/LogStream.cs b/sdk/dotnet/LogStream.cs index 26e87e13e..33c7f2696 100644 --- a/sdk/dotnet/LogStream.cs +++ b/sdk/dotnet/LogStream.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/logStream:LogStream example &#60;strema id&#62; + /// $ pulumi import okta:index/logStream:LogStream example <stream_id> /// ``` /// [OktaResourceType("okta:index/logStream:LogStream")] diff --git a/sdk/dotnet/Network/Zone.cs b/sdk/dotnet/Network/Zone.cs index aa0031dab..a86f9d076 100644 --- a/sdk/dotnet/Network/Zone.cs +++ b/sdk/dotnet/Network/Zone.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Network /// ## Import /// /// ```sh - /// $ pulumi import okta:network/zone:Zone example &#60;zone id&#62; + /// $ pulumi import okta:network/zone:Zone example <zone_id> /// ``` /// [OktaResourceType("okta:network/zone:Zone")] diff --git a/sdk/dotnet/Policy/DeviceAssuranceAndroid.cs b/sdk/dotnet/Policy/DeviceAssuranceAndroid.cs index 6c1df33f6..e9ac6c90d 100644 --- a/sdk/dotnet/Policy/DeviceAssuranceAndroid.cs +++ b/sdk/dotnet/Policy/DeviceAssuranceAndroid.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example &#60;device assurance id&#62; + /// $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device_assurance_id> /// ``` /// [OktaResourceType("okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid")] diff --git a/sdk/dotnet/Policy/DeviceAssuranceChromeos.cs b/sdk/dotnet/Policy/DeviceAssuranceChromeos.cs index 69d5449d0..6993e9f7e 100644 --- a/sdk/dotnet/Policy/DeviceAssuranceChromeos.cs +++ b/sdk/dotnet/Policy/DeviceAssuranceChromeos.cs @@ -47,7 +47,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example &#60;device assurance id&#62; + /// $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device_assurance_id> /// ``` /// [OktaResourceType("okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos")] diff --git a/sdk/dotnet/Policy/DeviceAssuranceIos.cs b/sdk/dotnet/Policy/DeviceAssuranceIos.cs index 722f24ef0..3b4e5b4b6 100644 --- a/sdk/dotnet/Policy/DeviceAssuranceIos.cs +++ b/sdk/dotnet/Policy/DeviceAssuranceIos.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example &#60;device assurance id&#62; + /// $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device_assurance_id> /// ``` /// [OktaResourceType("okta:policy/deviceAssuranceIos:DeviceAssuranceIos")] diff --git a/sdk/dotnet/Policy/DeviceAssuranceMacos.cs b/sdk/dotnet/Policy/DeviceAssuranceMacos.cs index 36cc6bf0e..3a44d6fac 100644 --- a/sdk/dotnet/Policy/DeviceAssuranceMacos.cs +++ b/sdk/dotnet/Policy/DeviceAssuranceMacos.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example &#60;device assurance id&#62; + /// $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device_assurance_id> /// ``` /// [OktaResourceType("okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos")] diff --git a/sdk/dotnet/Policy/DeviceAssuranceWindows.cs b/sdk/dotnet/Policy/DeviceAssuranceWindows.cs index 9f61a8d82..75ccaf593 100644 --- a/sdk/dotnet/Policy/DeviceAssuranceWindows.cs +++ b/sdk/dotnet/Policy/DeviceAssuranceWindows.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example &#60;device assurance id&#62; + /// $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device_assurance_id> /// ``` /// [OktaResourceType("okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows")] diff --git a/sdk/dotnet/Policy/Mfa.cs b/sdk/dotnet/Policy/Mfa.cs index 609b40fc5..e4d75ca5c 100644 --- a/sdk/dotnet/Policy/Mfa.cs +++ b/sdk/dotnet/Policy/Mfa.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/mfa:Mfa example &#60;policy id&#62; + /// $ pulumi import okta:policy/mfa:Mfa example <policy_id> /// ``` /// [OktaResourceType("okta:policy/mfa:Mfa")] diff --git a/sdk/dotnet/Policy/Password.cs b/sdk/dotnet/Policy/Password.cs index 45dd9e2b8..2f8fcd0b0 100644 --- a/sdk/dotnet/Policy/Password.cs +++ b/sdk/dotnet/Policy/Password.cs @@ -40,7 +40,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/password:Password example &#60;policy id&#62; + /// $ pulumi import okta:policy/password:Password example <policy_id> /// ``` /// [OktaResourceType("okta:policy/password:Password")] diff --git a/sdk/dotnet/Policy/RuleIdpDiscovery.cs b/sdk/dotnet/Policy/RuleIdpDiscovery.cs index 60543079a..b54228c10 100644 --- a/sdk/dotnet/Policy/RuleIdpDiscovery.cs +++ b/sdk/dotnet/Policy/RuleIdpDiscovery.cs @@ -95,7 +95,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example &#60;policy id&#62;/&#60;rule id&#62; + /// $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:policy/ruleIdpDiscovery:RuleIdpDiscovery")] diff --git a/sdk/dotnet/Policy/RuleMfa.cs b/sdk/dotnet/Policy/RuleMfa.cs index 3006347d5..744041aa6 100644 --- a/sdk/dotnet/Policy/RuleMfa.cs +++ b/sdk/dotnet/Policy/RuleMfa.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/ruleMfa:RuleMfa example &#60;policy id&#62;/&#60;rule id&#62; + /// $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:policy/ruleMfa:RuleMfa")] diff --git a/sdk/dotnet/Policy/RulePassword.cs b/sdk/dotnet/Policy/RulePassword.cs index 66e8e72e6..5b836ea35 100644 --- a/sdk/dotnet/Policy/RulePassword.cs +++ b/sdk/dotnet/Policy/RulePassword.cs @@ -15,7 +15,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/rulePassword:RulePassword example &#60;policy id&#62;/&#60;rule id&#62; + /// $ pulumi import okta:policy/rulePassword:RulePassword example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:policy/rulePassword:RulePassword")] diff --git a/sdk/dotnet/Policy/RuleSignon.cs b/sdk/dotnet/Policy/RuleSignon.cs index 01ca60c2a..866ccf79d 100644 --- a/sdk/dotnet/Policy/RuleSignon.cs +++ b/sdk/dotnet/Policy/RuleSignon.cs @@ -126,7 +126,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/ruleSignon:RuleSignon example &#60;policy id&#62;/&#60;rule id&#62; + /// $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:policy/ruleSignon:RuleSignon")] diff --git a/sdk/dotnet/Policy/Signon.cs b/sdk/dotnet/Policy/Signon.cs index 226f56d06..9e0b50e33 100644 --- a/sdk/dotnet/Policy/Signon.cs +++ b/sdk/dotnet/Policy/Signon.cs @@ -39,7 +39,7 @@ namespace Pulumi.Okta.Policy /// ## Import /// /// ```sh - /// $ pulumi import okta:policy/signon:Signon example &#60;policy id&#62; + /// $ pulumi import okta:policy/signon:Signon example <policy_id> /// ``` /// [OktaResourceType("okta:policy/signon:Signon")] diff --git a/sdk/dotnet/PolicyProfileEnrollment.cs b/sdk/dotnet/PolicyProfileEnrollment.cs index 1990e636e..8579c2836 100644 --- a/sdk/dotnet/PolicyProfileEnrollment.cs +++ b/sdk/dotnet/PolicyProfileEnrollment.cs @@ -37,7 +37,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example &#60;policy id&#62; + /// $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy_id> /// ``` /// [OktaResourceType("okta:index/policyProfileEnrollment:PolicyProfileEnrollment")] diff --git a/sdk/dotnet/PolicyProfileEnrollmentApps.cs b/sdk/dotnet/PolicyProfileEnrollmentApps.cs index ce95aa7f7..38143daa2 100644 --- a/sdk/dotnet/PolicyProfileEnrollmentApps.cs +++ b/sdk/dotnet/PolicyProfileEnrollmentApps.cs @@ -54,7 +54,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example &#60;policy id&#62; + /// $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy_id> /// ``` /// [OktaResourceType("okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps")] diff --git a/sdk/dotnet/PolicyRuleProfileEnrollment.cs b/sdk/dotnet/PolicyRuleProfileEnrollment.cs index bf1ba3c28..3b7a82669 100644 --- a/sdk/dotnet/PolicyRuleProfileEnrollment.cs +++ b/sdk/dotnet/PolicyRuleProfileEnrollment.cs @@ -91,7 +91,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example &#60;policy id&#62;/&#60;rule id&#62; + /// $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy_id>/<rule_id> /// ``` /// [OktaResourceType("okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment")] diff --git a/sdk/dotnet/ResourceSet.cs b/sdk/dotnet/ResourceSet.cs index d50530d61..4d01a8c43 100644 --- a/sdk/dotnet/ResourceSet.cs +++ b/sdk/dotnet/ResourceSet.cs @@ -23,7 +23,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/resourceSet:ResourceSet example &#60;resource_set_id&#62; + /// $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> /// ``` /// [OktaResourceType("okta:index/resourceSet:ResourceSet")] diff --git a/sdk/dotnet/RoleSubscription.cs b/sdk/dotnet/RoleSubscription.cs index 6f849ba3a..eb92c6308 100644 --- a/sdk/dotnet/RoleSubscription.cs +++ b/sdk/dotnet/RoleSubscription.cs @@ -39,7 +39,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/roleSubscription:RoleSubscription example &#60;role_type&#62;/&#60;notification_type&#62; + /// $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> /// ``` /// [OktaResourceType("okta:index/roleSubscription:RoleSubscription")] diff --git a/sdk/dotnet/TemplateSms.cs b/sdk/dotnet/TemplateSms.cs index bbe0ca5df..5921ef4b1 100644 --- a/sdk/dotnet/TemplateSms.cs +++ b/sdk/dotnet/TemplateSms.cs @@ -47,7 +47,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/templateSms:TemplateSms example &#60;template type&#62; + /// $ pulumi import okta:index/templateSms:TemplateSms example <template_type> /// ``` /// [OktaResourceType("okta:index/templateSms:TemplateSms")] diff --git a/sdk/dotnet/Theme.cs b/sdk/dotnet/Theme.cs index 72534bcf1..b94463915 100644 --- a/sdk/dotnet/Theme.cs +++ b/sdk/dotnet/Theme.cs @@ -21,7 +21,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/theme:Theme example &#60;brand id&#62;/&#60;theme id&#62; + /// $ pulumi import okta:index/theme:Theme example <brand_id>/<theme_id> /// ``` /// [OktaResourceType("okta:index/theme:Theme")] diff --git a/sdk/dotnet/TrustedOrigin/Origin.cs b/sdk/dotnet/TrustedOrigin/Origin.cs index b6c1d3de5..29a890418 100644 --- a/sdk/dotnet/TrustedOrigin/Origin.cs +++ b/sdk/dotnet/TrustedOrigin/Origin.cs @@ -38,7 +38,7 @@ namespace Pulumi.Okta.TrustedOrigin /// ## Import /// /// ```sh - /// $ pulumi import okta:trustedorigin/origin:Origin example &#60;trusted origin id&#62; + /// $ pulumi import okta:trustedorigin/origin:Origin example <trusted_origin_id> /// ``` /// [OktaResourceType("okta:trustedorigin/origin:Origin")] diff --git a/sdk/dotnet/User/User.cs b/sdk/dotnet/User/User.cs index ed2faa868..4640e56e1 100644 --- a/sdk/dotnet/User/User.cs +++ b/sdk/dotnet/User/User.cs @@ -74,7 +74,7 @@ namespace Pulumi.Okta.User /// ## Import /// /// ```sh - /// $ pulumi import okta:user/user:User example &#60;user id&#62; + /// $ pulumi import okta:user/user:User example <user_id> /// ``` /// [OktaResourceType("okta:user/user:User")] diff --git a/sdk/dotnet/User/UserType.cs b/sdk/dotnet/User/UserType.cs index a6c1667d5..563825186 100644 --- a/sdk/dotnet/User/UserType.cs +++ b/sdk/dotnet/User/UserType.cs @@ -35,7 +35,7 @@ namespace Pulumi.Okta.User /// ## Import /// /// ```sh - /// $ pulumi import okta:user/userType:UserType example &#60;user type id&#62; + /// $ pulumi import okta:user/userType:UserType example <user_type_id> /// ``` /// [OktaResourceType("okta:user/userType:UserType")] diff --git a/sdk/dotnet/UserAdminRoles.cs b/sdk/dotnet/UserAdminRoles.cs index 80bb4f910..0e7c8a248 100644 --- a/sdk/dotnet/UserAdminRoles.cs +++ b/sdk/dotnet/UserAdminRoles.cs @@ -45,7 +45,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/userAdminRoles:UserAdminRoles example &#60;user id&#62; + /// $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user_id> /// ``` /// [OktaResourceType("okta:index/userAdminRoles:UserAdminRoles")] diff --git a/sdk/dotnet/UserBaseSchemaProperty.cs b/sdk/dotnet/UserBaseSchemaProperty.cs index e664f637e..c28649742 100644 --- a/sdk/dotnet/UserBaseSchemaProperty.cs +++ b/sdk/dotnet/UserBaseSchemaProperty.cs @@ -48,13 +48,13 @@ namespace Pulumi.Okta /// ### User schema property of default user type can be imported via the property index. /// /// ```sh - /// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example &#60;property name&#62; + /// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property_name> /// ``` /// /// ### User schema property of custom user type can be imported via user type id and property index /// /// ```sh - /// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example &#60;user type id&#62;.&#60;property name&#62; + /// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user_type_id>.<property name> /// ``` /// [OktaResourceType("okta:index/userBaseSchemaProperty:UserBaseSchemaProperty")] diff --git a/sdk/dotnet/UserFactorQuestion.cs b/sdk/dotnet/UserFactorQuestion.cs index 09728da04..cd232e488 100644 --- a/sdk/dotnet/UserFactorQuestion.cs +++ b/sdk/dotnet/UserFactorQuestion.cs @@ -60,7 +60,7 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example &#60;user id&#62;/&#60;question factor id&#62; + /// $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user_id>/<question_factor_id> /// ``` /// [OktaResourceType("okta:index/userFactorQuestion:UserFactorQuestion")] diff --git a/sdk/dotnet/UserSchemaProperty.cs b/sdk/dotnet/UserSchemaProperty.cs index 3e4062ba9..644e82ee3 100644 --- a/sdk/dotnet/UserSchemaProperty.cs +++ b/sdk/dotnet/UserSchemaProperty.cs @@ -37,7 +37,11 @@ namespace Pulumi.Okta /// ## Import /// /// ```sh - /// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example &#60;user type id&#62;.&#60;index&#62; + /// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <variableName> + /// ``` + /// + /// ```sh + /// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user_type_id>.<index> /// ``` /// [OktaResourceType("okta:index/userSchemaProperty:UserSchemaProperty")] diff --git a/sdk/go.mod b/sdk/go.mod index 652083f66..78dbd36a6 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.129.0 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 07e28f48e..db4a0a8c8 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/okta/adminRoleCustom.go b/sdk/go/okta/adminRoleCustom.go index 4fff317d8..92c5436df 100644 --- a/sdk/go/okta/adminRoleCustom.go +++ b/sdk/go/okta/adminRoleCustom.go @@ -49,7 +49,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom role id> +// $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example // ``` type AdminRoleCustom struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/adminRoleCustomAssignments.go b/sdk/go/okta/adminRoleCustomAssignments.go index 592cedd9a..3b0805499 100644 --- a/sdk/go/okta/adminRoleCustomAssignments.go +++ b/sdk/go/okta/adminRoleCustomAssignments.go @@ -20,7 +20,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> +// $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example / // ``` type AdminRoleCustomAssignments struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/adminRoleTargets.go b/sdk/go/okta/adminRoleTargets.go index 0f801cf55..142bbfc13 100644 --- a/sdk/go/okta/adminRoleTargets.go +++ b/sdk/go/okta/adminRoleTargets.go @@ -51,7 +51,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user id>/<role type> +// $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example / // ``` type AdminRoleTargets struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/accessPolicyAssignment.go b/sdk/go/okta/app/accessPolicyAssignment.go index 51f3c4343..f814611c9 100644 --- a/sdk/go/okta/app/accessPolicyAssignment.go +++ b/sdk/go/okta/app/accessPolicyAssignment.go @@ -73,7 +73,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app id> +// $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example // ``` type AccessPolicyAssignment struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/autoLogin.go b/sdk/go/okta/app/autoLogin.go index 17bb9bbf6..01609670f 100644 --- a/sdk/go/okta/app/autoLogin.go +++ b/sdk/go/okta/app/autoLogin.go @@ -21,7 +21,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/autoLogin:AutoLogin example <app id> +// $ pulumi import okta:app/autoLogin:AutoLogin example // ``` type AutoLogin struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/basicAuth.go b/sdk/go/okta/app/basicAuth.go index 5c7d87fda..2360a6dd8 100644 --- a/sdk/go/okta/app/basicAuth.go +++ b/sdk/go/okta/app/basicAuth.go @@ -48,7 +48,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/basicAuth:BasicAuth example <app id> +// $ pulumi import okta:app/basicAuth:BasicAuth example // ``` type BasicAuth struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/bookmark.go b/sdk/go/okta/app/bookmark.go index 13b947158..c3f9918a4 100644 --- a/sdk/go/okta/app/bookmark.go +++ b/sdk/go/okta/app/bookmark.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/bookmark:Bookmark example <app id>t +// $ pulumi import okta:app/bookmark:Bookmark example // ``` type Bookmark struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/groupAssignment.go b/sdk/go/okta/app/groupAssignment.go index 17b2d87b2..142e3c0ae 100644 --- a/sdk/go/okta/app/groupAssignment.go +++ b/sdk/go/okta/app/groupAssignment.go @@ -43,7 +43,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> +// $ pulumi import okta:app/groupAssignment:GroupAssignment example / // ``` type GroupAssignment struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/oauth.go b/sdk/go/okta/app/oauth.go index 9507c8c2c..4bfe9e029 100644 --- a/sdk/go/okta/app/oauth.go +++ b/sdk/go/okta/app/oauth.go @@ -34,7 +34,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/oAuth:OAuth example <app id> +// $ pulumi import okta:app/oAuth:OAuth example // ``` type OAuth struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/oauthPostLogoutRedirectUri.go b/sdk/go/okta/app/oauthPostLogoutRedirectUri.go index 69347acd0..ba6d5253a 100644 --- a/sdk/go/okta/app/oauthPostLogoutRedirectUri.go +++ b/sdk/go/okta/app/oauthPostLogoutRedirectUri.go @@ -67,7 +67,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app id>/<uri> +// $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example / // ``` type OAuthPostLogoutRedirectUri struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/oauthRedirectUri.go b/sdk/go/okta/app/oauthRedirectUri.go index 710da3e53..62274c776 100644 --- a/sdk/go/okta/app/oauthRedirectUri.go +++ b/sdk/go/okta/app/oauthRedirectUri.go @@ -64,7 +64,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app id>/<uri> +// $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example / // ``` type OAuthRedirectUri struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/saml.go b/sdk/go/okta/app/saml.go index 430c82ab0..355decbde 100644 --- a/sdk/go/okta/app/saml.go +++ b/sdk/go/okta/app/saml.go @@ -24,7 +24,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/saml:Saml example <app id> +// $ pulumi import okta:app/saml:Saml example // ``` type Saml struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/securePasswordStore.go b/sdk/go/okta/app/securePasswordStore.go index 6416873a6..c9f0d1f60 100644 --- a/sdk/go/okta/app/securePasswordStore.go +++ b/sdk/go/okta/app/securePasswordStore.go @@ -52,7 +52,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app id> +// $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example // ``` type SecurePasswordStore struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/swa.go b/sdk/go/okta/app/swa.go index 4a72c1440..7ef862a38 100644 --- a/sdk/go/okta/app/swa.go +++ b/sdk/go/okta/app/swa.go @@ -52,7 +52,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/swa:Swa example <app id> +// $ pulumi import okta:app/swa:Swa example // ``` type Swa struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/threeField.go b/sdk/go/okta/app/threeField.go index 9799e260f..6c86d57d3 100644 --- a/sdk/go/okta/app/threeField.go +++ b/sdk/go/okta/app/threeField.go @@ -22,7 +22,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/threeField:ThreeField example <app id> +// $ pulumi import okta:app/threeField:ThreeField example // ``` type ThreeField struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/app/user.go b/sdk/go/okta/app/user.go index 2ca46e92a..1a87f365b 100644 --- a/sdk/go/okta/app/user.go +++ b/sdk/go/okta/app/user.go @@ -43,7 +43,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:app/user:User example <app id>/<user id> +// $ pulumi import okta:app/user:User example / // ``` type User struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appGroupAssignments.go b/sdk/go/okta/appGroupAssignments.go index b7c25022e..c74a2e8c5 100644 --- a/sdk/go/okta/appGroupAssignments.go +++ b/sdk/go/okta/appGroupAssignments.go @@ -65,7 +65,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> +// $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example // ``` type AppGroupAssignments struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appOauthApiScope.go b/sdk/go/okta/appOauthApiScope.go index 36cb11326..3cea89d97 100644 --- a/sdk/go/okta/appOauthApiScope.go +++ b/sdk/go/okta/appOauthApiScope.go @@ -50,7 +50,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app id> +// $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example // ``` type AppOauthApiScope struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appSamlAppSettings.go b/sdk/go/okta/appSamlAppSettings.go index e57ffbff3..90e96cc30 100644 --- a/sdk/go/okta/appSamlAppSettings.go +++ b/sdk/go/okta/appSamlAppSettings.go @@ -71,7 +71,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app id> +// $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example // ``` type AppSamlAppSettings struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appSharedCredentials.go b/sdk/go/okta/appSharedCredentials.go index b5fa6ffd9..1ff8c1d66 100644 --- a/sdk/go/okta/appSharedCredentials.go +++ b/sdk/go/okta/appSharedCredentials.go @@ -64,7 +64,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app id> +// $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example // ``` type AppSharedCredentials struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appSignonPolicy.go b/sdk/go/okta/appSignonPolicy.go index 855a7cf50..9d35bff9a 100644 --- a/sdk/go/okta/appSignonPolicy.go +++ b/sdk/go/okta/appSignonPolicy.go @@ -17,7 +17,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> +// $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example // ``` type AppSignonPolicy struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appSignonPolicyRule.go b/sdk/go/okta/appSignonPolicyRule.go index bf2e2d13f..a2cbb2865 100644 --- a/sdk/go/okta/appSignonPolicyRule.go +++ b/sdk/go/okta/appSignonPolicyRule.go @@ -23,7 +23,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> +// $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example / // ``` type AppSignonPolicyRule struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appUserBaseSchemaProperty.go b/sdk/go/okta/appUserBaseSchemaProperty.go index 062bcdac9..e402c3315 100644 --- a/sdk/go/okta/appUserBaseSchemaProperty.go +++ b/sdk/go/okta/appUserBaseSchemaProperty.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app id>/<property name> +// $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example / // ``` type AppUserBaseSchemaProperty struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/appUserSchemaProperty.go b/sdk/go/okta/appUserSchemaProperty.go index 2f0dce6bd..c3d134537 100644 --- a/sdk/go/okta/appUserSchemaProperty.go +++ b/sdk/go/okta/appUserSchemaProperty.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app id>/<property name> +// $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example / // ``` type AppUserSchemaProperty struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/auth/server.go b/sdk/go/okta/auth/server.go index 40d6588d9..d97270f74 100644 --- a/sdk/go/okta/auth/server.go +++ b/sdk/go/okta/auth/server.go @@ -49,7 +49,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/server:Server example <auth server id> +// $ pulumi import okta:auth/server:Server example // ``` type Server struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/auth/serverClaim.go b/sdk/go/okta/auth/serverClaim.go index 7ca818629..56542f9f2 100644 --- a/sdk/go/okta/auth/serverClaim.go +++ b/sdk/go/okta/auth/serverClaim.go @@ -49,7 +49,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/serverClaim:ServerClaim example <auth server id>/<claim id> +// $ pulumi import okta:auth/serverClaim:ServerClaim example / // ``` type ServerClaim struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/auth/serverPolicy.go b/sdk/go/okta/auth/serverPolicy.go index b9b51fa58..d6058e1bf 100644 --- a/sdk/go/okta/auth/serverPolicy.go +++ b/sdk/go/okta/auth/serverPolicy.go @@ -50,7 +50,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth server id>/<policy id> +// $ pulumi import okta:auth/serverPolicy:ServerPolicy example / // ``` type ServerPolicy struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/auth/serverPolicyClaim.go b/sdk/go/okta/auth/serverPolicyClaim.go index aef3e4f7d..51777b550 100644 --- a/sdk/go/okta/auth/serverPolicyClaim.go +++ b/sdk/go/okta/auth/serverPolicyClaim.go @@ -51,7 +51,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth server id>/<policy id>/<policy rule id> +// $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example // // ``` // // Deprecated: okta.auth/serverpolicyclaim.ServerPolicyClaim has been deprecated in favor of okta.auth/serverpolicyrule.ServerPolicyRule diff --git a/sdk/go/okta/auth/serverPolicyRule.go b/sdk/go/okta/auth/serverPolicyRule.go index 83f6d69ac..0217514e4 100644 --- a/sdk/go/okta/auth/serverPolicyRule.go +++ b/sdk/go/okta/auth/serverPolicyRule.go @@ -51,7 +51,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth server id>/<policy id>/<policy rule id> +// $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example // // ``` type ServerPolicyRule struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/auth/serverScope.go b/sdk/go/okta/auth/serverScope.go index 5379481f2..c53f0e329 100644 --- a/sdk/go/okta/auth/serverScope.go +++ b/sdk/go/okta/auth/serverScope.go @@ -46,7 +46,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:auth/serverScope:ServerScope example <auth server id>/<scope id> +// $ pulumi import okta:auth/serverScope:ServerScope example / // ``` type ServerScope struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/authServerClaimDefault.go b/sdk/go/okta/authServerClaimDefault.go index fb5d92148..50848da68 100644 --- a/sdk/go/okta/authServerClaimDefault.go +++ b/sdk/go/okta/authServerClaimDefault.go @@ -46,7 +46,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim name> +// $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example / // ``` type AuthServerClaimDefault struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/authServerDefault.go b/sdk/go/okta/authServerDefault.go index 57b016726..72e2601fe 100644 --- a/sdk/go/okta/authServerDefault.go +++ b/sdk/go/okta/authServerDefault.go @@ -45,7 +45,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> +// $ pulumi import okta:index/authServerDefault:AuthServerDefault example // ``` type AuthServerDefault struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/authenticator.go b/sdk/go/okta/authenticator.go index 35e41f210..c0dbcaf25 100644 --- a/sdk/go/okta/authenticator.go +++ b/sdk/go/okta/authenticator.go @@ -94,7 +94,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> +// $ pulumi import okta:index/authenticator:Authenticator example // ``` type Authenticator struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/behaviour.go b/sdk/go/okta/behaviour.go index 91cb85647..d786fd51c 100644 --- a/sdk/go/okta/behaviour.go +++ b/sdk/go/okta/behaviour.go @@ -80,7 +80,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/behaviour:Behaviour example <behavior id> +// $ pulumi import okta:index/behaviour:Behaviour example // ``` type Behaviour struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/brand.go b/sdk/go/okta/brand.go index 9741b735d..0c79cf82c 100644 --- a/sdk/go/okta/brand.go +++ b/sdk/go/okta/brand.go @@ -40,7 +40,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/brand:Brand example <brand id> +// $ pulumi import okta:index/brand:Brand example // ``` type Brand struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/captcha.go b/sdk/go/okta/captcha.go index e3f7c0cb8..843dfe09d 100644 --- a/sdk/go/okta/captcha.go +++ b/sdk/go/okta/captcha.go @@ -49,7 +49,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/captcha:Captcha example <captcha id> +// $ pulumi import okta:index/captcha:Captcha example // ``` type Captcha struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/customizedSigninPage.go b/sdk/go/okta/customizedSigninPage.go index 3ebd0d2ea..96e6175ec 100644 --- a/sdk/go/okta/customizedSigninPage.go +++ b/sdk/go/okta/customizedSigninPage.go @@ -17,7 +17,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <customized_signin_page_id> +// $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example // ``` type CustomizedSigninPage struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/domain.go b/sdk/go/okta/domain.go index 306a49eed..26520bd7b 100644 --- a/sdk/go/okta/domain.go +++ b/sdk/go/okta/domain.go @@ -42,13 +42,13 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/domain:Domain example <domain_id> +// $ pulumi import okta:index/domain:Domain example // ``` type Domain struct { pulumi.CustomResourceState // Brand id of the domain - BrandId pulumi.StringPtrOutput `pulumi:"brandId"` + BrandId pulumi.StringOutput `pulumi:"brandId"` // Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL CertificateSourceType pulumi.StringPtrOutput `pulumi:"certificateSourceType"` // TXT and CNAME records to be registered for the Domain @@ -225,8 +225,8 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu } // Brand id of the domain -func (o DomainOutput) BrandId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Domain) pulumi.StringPtrOutput { return v.BrandId }).(pulumi.StringPtrOutput) +func (o DomainOutput) BrandId() pulumi.StringOutput { + return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.BrandId }).(pulumi.StringOutput) } // Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL diff --git a/sdk/go/okta/emailCustomization.go b/sdk/go/okta/emailCustomization.go index 55b7f54c7..c8a05924d 100644 --- a/sdk/go/okta/emailCustomization.go +++ b/sdk/go/okta/emailCustomization.go @@ -46,7 +46,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> +// $ pulumi import okta:index/emailCustomization:EmailCustomization example // // ``` type EmailCustomization struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/emailDomain.go b/sdk/go/okta/emailDomain.go index 64445ce21..ef2b6bf18 100644 --- a/sdk/go/okta/emailDomain.go +++ b/sdk/go/okta/emailDomain.go @@ -44,7 +44,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/emailDomain:EmailDomain example <domain id> +// $ pulumi import okta:index/emailDomain:EmailDomain example // ``` type EmailDomain struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/emailSender.go b/sdk/go/okta/emailSender.go index ebe358e11..4a15bbbb8 100644 --- a/sdk/go/okta/emailSender.go +++ b/sdk/go/okta/emailSender.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/emailSender:EmailSender example <sender id> +// $ pulumi import okta:index/emailSender:EmailSender example // ``` type EmailSender struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/eventHook.go b/sdk/go/okta/eventHook.go index 75e94a59b..867513a58 100644 --- a/sdk/go/okta/eventHook.go +++ b/sdk/go/okta/eventHook.go @@ -57,7 +57,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/eventHook:EventHook example <hook id> +// $ pulumi import okta:index/eventHook:EventHook example // ``` type EventHook struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/group/group.go b/sdk/go/okta/group/group.go index a9bb28e25..24872dc63 100644 --- a/sdk/go/okta/group/group.go +++ b/sdk/go/okta/group/group.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:group/group:Group example <group id> +// $ pulumi import okta:group/group:Group example // ``` type Group struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/group/init.go b/sdk/go/okta/group/init.go index 65ec5f024..0f11db067 100644 --- a/sdk/go/okta/group/init.go +++ b/sdk/go/okta/group/init.go @@ -23,6 +23,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi switch typ { case "okta:group/group:Group": r = &Group{} + case "okta:group/owner:Owner": + r = &Owner{} case "okta:group/role:Role": r = &Role{} case "okta:group/rule:Rule": @@ -45,6 +47,11 @@ func init() { "group/group", &module{version}, ) + pulumi.RegisterResourceModule( + "okta", + "group/owner", + &module{version}, + ) pulumi.RegisterResourceModule( "okta", "group/role", diff --git a/sdk/go/okta/group/owner.go b/sdk/go/okta/group/owner.go new file mode 100644 index 000000000..61385fa29 --- /dev/null +++ b/sdk/go/okta/group/owner.go @@ -0,0 +1,343 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package group + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v4/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages group owner resource. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group" +// "github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// test, err := user.NewUser(ctx, "test", &user.UserArgs{ +// FirstName: pulumi.String("TestAcc"), +// LastName: pulumi.String("Smith"), +// Login: pulumi.String("testAcc-replace_with_uuid@example.com"), +// Email: pulumi.String("testAcc-replace_with_uuid@example.com"), +// }) +// if err != nil { +// return err +// } +// testGroup, err := group.NewGroup(ctx, "test", &group.GroupArgs{ +// Name: pulumi.String("testAcc_replace_with_uuid"), +// }) +// if err != nil { +// return err +// } +// _, err = group.NewOwner(ctx, "test", &group.OwnerArgs{ +// GroupId: testGroup.ID(), +// IdOfGroupOwner: test.ID(), +// Type: pulumi.String("USER"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type Owner struct { + pulumi.CustomResourceState + + // The display name of the group owner + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // The id of the group + GroupId pulumi.StringOutput `pulumi:"groupId"` + // The user id of the group owner + IdOfGroupOwner pulumi.StringOutput `pulumi:"idOfGroupOwner"` + // The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + OriginId pulumi.StringOutput `pulumi:"originId"` + // The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + OriginType pulumi.StringOutput `pulumi:"originType"` + // If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + Resolved pulumi.BoolOutput `pulumi:"resolved"` + // The entity type of the owner. Enum: "GROUP" "USER" + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewOwner registers a new resource with the given unique name, arguments, and options. +func NewOwner(ctx *pulumi.Context, + name string, args *OwnerArgs, opts ...pulumi.ResourceOption) (*Owner, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.GroupId == nil { + return nil, errors.New("invalid value for required argument 'GroupId'") + } + if args.IdOfGroupOwner == nil { + return nil, errors.New("invalid value for required argument 'IdOfGroupOwner'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Owner + err := ctx.RegisterResource("okta:group/owner:Owner", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetOwner gets an existing Owner resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetOwner(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *OwnerState, opts ...pulumi.ResourceOption) (*Owner, error) { + var resource Owner + err := ctx.ReadResource("okta:group/owner:Owner", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Owner resources. +type ownerState struct { + // The display name of the group owner + DisplayName *string `pulumi:"displayName"` + // The id of the group + GroupId *string `pulumi:"groupId"` + // The user id of the group owner + IdOfGroupOwner *string `pulumi:"idOfGroupOwner"` + // The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + OriginId *string `pulumi:"originId"` + // The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + OriginType *string `pulumi:"originType"` + // If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + Resolved *bool `pulumi:"resolved"` + // The entity type of the owner. Enum: "GROUP" "USER" + Type *string `pulumi:"type"` +} + +type OwnerState struct { + // The display name of the group owner + DisplayName pulumi.StringPtrInput + // The id of the group + GroupId pulumi.StringPtrInput + // The user id of the group owner + IdOfGroupOwner pulumi.StringPtrInput + // The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + OriginId pulumi.StringPtrInput + // The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + OriginType pulumi.StringPtrInput + // If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + Resolved pulumi.BoolPtrInput + // The entity type of the owner. Enum: "GROUP" "USER" + Type pulumi.StringPtrInput +} + +func (OwnerState) ElementType() reflect.Type { + return reflect.TypeOf((*ownerState)(nil)).Elem() +} + +type ownerArgs struct { + // The id of the group + GroupId string `pulumi:"groupId"` + // The user id of the group owner + IdOfGroupOwner string `pulumi:"idOfGroupOwner"` + // The entity type of the owner. Enum: "GROUP" "USER" + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a Owner resource. +type OwnerArgs struct { + // The id of the group + GroupId pulumi.StringInput + // The user id of the group owner + IdOfGroupOwner pulumi.StringInput + // The entity type of the owner. Enum: "GROUP" "USER" + Type pulumi.StringInput +} + +func (OwnerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ownerArgs)(nil)).Elem() +} + +type OwnerInput interface { + pulumi.Input + + ToOwnerOutput() OwnerOutput + ToOwnerOutputWithContext(ctx context.Context) OwnerOutput +} + +func (*Owner) ElementType() reflect.Type { + return reflect.TypeOf((**Owner)(nil)).Elem() +} + +func (i *Owner) ToOwnerOutput() OwnerOutput { + return i.ToOwnerOutputWithContext(context.Background()) +} + +func (i *Owner) ToOwnerOutputWithContext(ctx context.Context) OwnerOutput { + return pulumi.ToOutputWithContext(ctx, i).(OwnerOutput) +} + +// OwnerArrayInput is an input type that accepts OwnerArray and OwnerArrayOutput values. +// You can construct a concrete instance of `OwnerArrayInput` via: +// +// OwnerArray{ OwnerArgs{...} } +type OwnerArrayInput interface { + pulumi.Input + + ToOwnerArrayOutput() OwnerArrayOutput + ToOwnerArrayOutputWithContext(context.Context) OwnerArrayOutput +} + +type OwnerArray []OwnerInput + +func (OwnerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Owner)(nil)).Elem() +} + +func (i OwnerArray) ToOwnerArrayOutput() OwnerArrayOutput { + return i.ToOwnerArrayOutputWithContext(context.Background()) +} + +func (i OwnerArray) ToOwnerArrayOutputWithContext(ctx context.Context) OwnerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(OwnerArrayOutput) +} + +// OwnerMapInput is an input type that accepts OwnerMap and OwnerMapOutput values. +// You can construct a concrete instance of `OwnerMapInput` via: +// +// OwnerMap{ "key": OwnerArgs{...} } +type OwnerMapInput interface { + pulumi.Input + + ToOwnerMapOutput() OwnerMapOutput + ToOwnerMapOutputWithContext(context.Context) OwnerMapOutput +} + +type OwnerMap map[string]OwnerInput + +func (OwnerMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Owner)(nil)).Elem() +} + +func (i OwnerMap) ToOwnerMapOutput() OwnerMapOutput { + return i.ToOwnerMapOutputWithContext(context.Background()) +} + +func (i OwnerMap) ToOwnerMapOutputWithContext(ctx context.Context) OwnerMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(OwnerMapOutput) +} + +type OwnerOutput struct{ *pulumi.OutputState } + +func (OwnerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Owner)(nil)).Elem() +} + +func (o OwnerOutput) ToOwnerOutput() OwnerOutput { + return o +} + +func (o OwnerOutput) ToOwnerOutputWithContext(ctx context.Context) OwnerOutput { + return o +} + +// The display name of the group owner +func (o OwnerOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// The id of the group +func (o OwnerOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The user id of the group owner +func (o OwnerOutput) IdOfGroupOwner() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.IdOfGroupOwner }).(pulumi.StringOutput) +} + +// The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. +func (o OwnerOutput) OriginId() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.OriginId }).(pulumi.StringOutput) +} + +// The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" +func (o OwnerOutput) OriginType() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.OriginType }).(pulumi.StringOutput) +} + +// If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. +func (o OwnerOutput) Resolved() pulumi.BoolOutput { + return o.ApplyT(func(v *Owner) pulumi.BoolOutput { return v.Resolved }).(pulumi.BoolOutput) +} + +// The entity type of the owner. Enum: "GROUP" "USER" +func (o OwnerOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *Owner) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +type OwnerArrayOutput struct{ *pulumi.OutputState } + +func (OwnerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Owner)(nil)).Elem() +} + +func (o OwnerArrayOutput) ToOwnerArrayOutput() OwnerArrayOutput { + return o +} + +func (o OwnerArrayOutput) ToOwnerArrayOutputWithContext(ctx context.Context) OwnerArrayOutput { + return o +} + +func (o OwnerArrayOutput) Index(i pulumi.IntInput) OwnerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Owner { + return vs[0].([]*Owner)[vs[1].(int)] + }).(OwnerOutput) +} + +type OwnerMapOutput struct{ *pulumi.OutputState } + +func (OwnerMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Owner)(nil)).Elem() +} + +func (o OwnerMapOutput) ToOwnerMapOutput() OwnerMapOutput { + return o +} + +func (o OwnerMapOutput) ToOwnerMapOutputWithContext(ctx context.Context) OwnerMapOutput { + return o +} + +func (o OwnerMapOutput) MapIndex(k pulumi.StringInput) OwnerOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Owner { + return vs[0].(map[string]*Owner)[vs[1].(string)] + }).(OwnerOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*OwnerInput)(nil)).Elem(), &Owner{}) + pulumi.RegisterInputType(reflect.TypeOf((*OwnerArrayInput)(nil)).Elem(), OwnerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*OwnerMapInput)(nil)).Elem(), OwnerMap{}) + pulumi.RegisterOutputType(OwnerOutput{}) + pulumi.RegisterOutputType(OwnerArrayOutput{}) + pulumi.RegisterOutputType(OwnerMapOutput{}) +} diff --git a/sdk/go/okta/group/role.go b/sdk/go/okta/group/role.go index 6987ae062..fe63fe22f 100644 --- a/sdk/go/okta/group/role.go +++ b/sdk/go/okta/group/role.go @@ -14,37 +14,10 @@ import ( // Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := group.NewRole(ctx, "example", &group.RoleArgs{ -// GroupId: pulumi.String(""), -// RoleType: pulumi.String("READ_ONLY_ADMIN"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh -// $ pulumi import okta:group/role:Role example <group id>/<role id> +// $ pulumi import okta:group/role:Role example / // ``` type Role struct { pulumi.CustomResourceState @@ -54,6 +27,10 @@ type Role struct { DisableNotifications pulumi.BoolPtrOutput `pulumi:"disableNotifications"` // ID of group to attach admin roles to GroupId pulumi.StringOutput `pulumi:"groupId"` + // Resource Set ID. Required for roleType = `CUSTOM` + ResourceSetId pulumi.StringPtrOutput `pulumi:"resourceSetId"` + // Role ID. Required for roleType = `CUSTOM` + RoleId pulumi.StringPtrOutput `pulumi:"roleId"` // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -109,6 +86,10 @@ type roleState struct { DisableNotifications *bool `pulumi:"disableNotifications"` // ID of group to attach admin roles to GroupId *string `pulumi:"groupId"` + // Resource Set ID. Required for roleType = `CUSTOM` + ResourceSetId *string `pulumi:"resourceSetId"` + // Role ID. Required for roleType = `CUSTOM` + RoleId *string `pulumi:"roleId"` // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -129,6 +110,10 @@ type RoleState struct { DisableNotifications pulumi.BoolPtrInput // ID of group to attach admin roles to GroupId pulumi.StringPtrInput + // Resource Set ID. Required for roleType = `CUSTOM` + ResourceSetId pulumi.StringPtrInput + // Role ID. Required for roleType = `CUSTOM` + RoleId pulumi.StringPtrInput // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -153,6 +138,10 @@ type roleArgs struct { DisableNotifications *bool `pulumi:"disableNotifications"` // ID of group to attach admin roles to GroupId string `pulumi:"groupId"` + // Resource Set ID. Required for roleType = `CUSTOM` + ResourceSetId *string `pulumi:"resourceSetId"` + // Role ID. Required for roleType = `CUSTOM` + RoleId *string `pulumi:"roleId"` // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -174,6 +163,10 @@ type RoleArgs struct { DisableNotifications pulumi.BoolPtrInput // ID of group to attach admin roles to GroupId pulumi.StringInput + // Resource Set ID. Required for roleType = `CUSTOM` + ResourceSetId pulumi.StringPtrInput + // Role ID. Required for roleType = `CUSTOM` + RoleId pulumi.StringPtrInput // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -286,6 +279,16 @@ func (o RoleOutput) GroupId() pulumi.StringOutput { return o.ApplyT(func(v *Role) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) } +// Resource Set ID. Required for roleType = `CUSTOM` +func (o RoleOutput) ResourceSetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Role) pulumi.StringPtrOutput { return v.ResourceSetId }).(pulumi.StringPtrOutput) +} + +// Role ID. Required for roleType = `CUSTOM` +func (o RoleOutput) RoleId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Role) pulumi.StringPtrOutput { return v.RoleId }).(pulumi.StringPtrOutput) +} + // Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", // "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", // "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - diff --git a/sdk/go/okta/group/rule.go b/sdk/go/okta/group/rule.go index f68c06e82..9c24aeee7 100644 --- a/sdk/go/okta/group/rule.go +++ b/sdk/go/okta/group/rule.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:group/rule:Rule example <group rule id> +// $ pulumi import okta:group/rule:Rule example // ``` type Rule struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/groupMemberships.go b/sdk/go/okta/groupMemberships.go index d816ea002..bfd406d93 100644 --- a/sdk/go/okta/groupMemberships.go +++ b/sdk/go/okta/groupMemberships.go @@ -66,13 +66,13 @@ import ( // an Okta Group's memberships can be imported via the Okta group ID. // // ```sh -// $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id> +// $ pulumi import okta:index/groupMemberships:GroupMemberships test // ``` // // optional parameter track all users will also import all user id currently assigned to the group // // ```sh -// $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id>/<true> +// $ pulumi import okta:index/groupMemberships:GroupMemberships test / // ``` type GroupMemberships struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/groupSchemaProperty.go b/sdk/go/okta/groupSchemaProperty.go index 7def9e6f9..bf3cfece3 100644 --- a/sdk/go/okta/groupSchemaProperty.go +++ b/sdk/go/okta/groupSchemaProperty.go @@ -46,7 +46,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> +// $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example // ``` type GroupSchemaProperty struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/idp/oidc.go b/sdk/go/okta/idp/oidc.go index cd494da56..b5f6951e1 100644 --- a/sdk/go/okta/idp/oidc.go +++ b/sdk/go/okta/idp/oidc.go @@ -58,7 +58,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:idp/oidc:Oidc example <idp id> +// $ pulumi import okta:idp/oidc:Oidc example // ``` type Oidc struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/idp/saml.go b/sdk/go/okta/idp/saml.go index b3dc07409..9d0b256b3 100644 --- a/sdk/go/okta/idp/saml.go +++ b/sdk/go/okta/idp/saml.go @@ -52,7 +52,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:idp/saml:Saml example <idp id> +// $ pulumi import okta:idp/saml:Saml example // ``` type Saml struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/idp/samlKey.go b/sdk/go/okta/idp/samlKey.go index cf25fe8db..ca037b8e9 100644 --- a/sdk/go/okta/idp/samlKey.go +++ b/sdk/go/okta/idp/samlKey.go @@ -65,7 +65,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:idp/samlKey:SamlKey example <key id> +// $ pulumi import okta:idp/samlKey:SamlKey example // ``` type SamlKey struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/idp/social.go b/sdk/go/okta/idp/social.go index 9de3ca30b..a00c4d1a9 100644 --- a/sdk/go/okta/idp/social.go +++ b/sdk/go/okta/idp/social.go @@ -52,7 +52,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:idp/social:Social example <idp id> +// $ pulumi import okta:idp/social:Social example // ``` type Social struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/inline/hook.go b/sdk/go/okta/inline/hook.go index 59afa6051..0b913d901 100644 --- a/sdk/go/okta/inline/hook.go +++ b/sdk/go/okta/inline/hook.go @@ -55,7 +55,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:inline/hook:Hook example <hook id> +// $ pulumi import okta:inline/hook:Hook example // ``` type Hook struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/linkDefinition.go b/sdk/go/okta/linkDefinition.go index da9deb618..be6c782e9 100644 --- a/sdk/go/okta/linkDefinition.go +++ b/sdk/go/okta/linkDefinition.go @@ -52,7 +52,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> +// $ pulumi import okta:index/linkDefinition:LinkDefinition example // ``` type LinkDefinition struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/linkValue.go b/sdk/go/okta/linkValue.go index 26ebc1a92..5af2e3aec 100644 --- a/sdk/go/okta/linkValue.go +++ b/sdk/go/okta/linkValue.go @@ -89,7 +89,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> +// $ pulumi import okta:index/linkValue:LinkValue example / // ``` type LinkValue struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/logStream.go b/sdk/go/okta/logStream.go index 564c347c9..4e542ed8b 100644 --- a/sdk/go/okta/logStream.go +++ b/sdk/go/okta/logStream.go @@ -17,7 +17,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/logStream:LogStream example <strema id> +// $ pulumi import okta:index/logStream:LogStream example // ``` type LogStream struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/network/zone.go b/sdk/go/okta/network/zone.go index 5f586ed68..be5f63c85 100644 --- a/sdk/go/okta/network/zone.go +++ b/sdk/go/okta/network/zone.go @@ -17,7 +17,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:network/zone:Zone example <zone id> +// $ pulumi import okta:network/zone:Zone example // ``` type Zone struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/deviceAssuranceAndroid.go b/sdk/go/okta/policy/deviceAssuranceAndroid.go index 7446616ed..61d80d497 100644 --- a/sdk/go/okta/policy/deviceAssuranceAndroid.go +++ b/sdk/go/okta/policy/deviceAssuranceAndroid.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device assurance id> +// $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example // ``` type DeviceAssuranceAndroid struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/deviceAssuranceChromeos.go b/sdk/go/okta/policy/deviceAssuranceChromeos.go index a98bf86c2..4edc27917 100644 --- a/sdk/go/okta/policy/deviceAssuranceChromeos.go +++ b/sdk/go/okta/policy/deviceAssuranceChromeos.go @@ -56,7 +56,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device assurance id> +// $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example // ``` type DeviceAssuranceChromeos struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/deviceAssuranceIos.go b/sdk/go/okta/policy/deviceAssuranceIos.go index 3608fe3fe..1e2eec222 100644 --- a/sdk/go/okta/policy/deviceAssuranceIos.go +++ b/sdk/go/okta/policy/deviceAssuranceIos.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device assurance id> +// $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example // ``` type DeviceAssuranceIos struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/deviceAssuranceMacos.go b/sdk/go/okta/policy/deviceAssuranceMacos.go index 6f8bb212c..d5fbeaef5 100644 --- a/sdk/go/okta/policy/deviceAssuranceMacos.go +++ b/sdk/go/okta/policy/deviceAssuranceMacos.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device assurance id> +// $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example // ``` type DeviceAssuranceMacos struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/deviceAssuranceWindows.go b/sdk/go/okta/policy/deviceAssuranceWindows.go index c3239fd6a..8aef3b01e 100644 --- a/sdk/go/okta/policy/deviceAssuranceWindows.go +++ b/sdk/go/okta/policy/deviceAssuranceWindows.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device assurance id> +// $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example // ``` type DeviceAssuranceWindows struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/mfa.go b/sdk/go/okta/policy/mfa.go index b96b457c4..6f44759c1 100644 --- a/sdk/go/okta/policy/mfa.go +++ b/sdk/go/okta/policy/mfa.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/mfa:Mfa example <policy id> +// $ pulumi import okta:policy/mfa:Mfa example // ``` type Mfa struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/password.go b/sdk/go/okta/policy/password.go index ffb0d29fb..499d32ad6 100644 --- a/sdk/go/okta/policy/password.go +++ b/sdk/go/okta/policy/password.go @@ -48,7 +48,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/password:Password example <policy id> +// $ pulumi import okta:policy/password:Password example // ``` type Password struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/ruleIdpDiscovery.go b/sdk/go/okta/policy/ruleIdpDiscovery.go index 97937e1b9..88a6f0bac 100644 --- a/sdk/go/okta/policy/ruleIdpDiscovery.go +++ b/sdk/go/okta/policy/ruleIdpDiscovery.go @@ -95,7 +95,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy id>/<rule id> +// $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example / // ``` type RuleIdpDiscovery struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/ruleMfa.go b/sdk/go/okta/policy/ruleMfa.go index 714b41bda..bc0c47c9d 100644 --- a/sdk/go/okta/policy/ruleMfa.go +++ b/sdk/go/okta/policy/ruleMfa.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy id>/<rule id> +// $ pulumi import okta:policy/ruleMfa:RuleMfa example / // ``` type RuleMfa struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/rulePassword.go b/sdk/go/okta/policy/rulePassword.go index 372f6b932..4e59c6e48 100644 --- a/sdk/go/okta/policy/rulePassword.go +++ b/sdk/go/okta/policy/rulePassword.go @@ -16,7 +16,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/rulePassword:RulePassword example <policy id>/<rule id> +// $ pulumi import okta:policy/rulePassword:RulePassword example / // ``` type RulePassword struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/ruleSignon.go b/sdk/go/okta/policy/ruleSignon.go index 803fc398b..e36fc82fc 100644 --- a/sdk/go/okta/policy/ruleSignon.go +++ b/sdk/go/okta/policy/ruleSignon.go @@ -122,7 +122,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy id>/<rule id> +// $ pulumi import okta:policy/ruleSignon:RuleSignon example / // ``` type RuleSignon struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policy/signon.go b/sdk/go/okta/policy/signon.go index 7a97161c2..810c6c091 100644 --- a/sdk/go/okta/policy/signon.go +++ b/sdk/go/okta/policy/signon.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:policy/signon:Signon example <policy id> +// $ pulumi import okta:policy/signon:Signon example // ``` type Signon struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policyProfileEnrollment.go b/sdk/go/okta/policyProfileEnrollment.go index 300c7aadb..6695288e3 100644 --- a/sdk/go/okta/policyProfileEnrollment.go +++ b/sdk/go/okta/policyProfileEnrollment.go @@ -46,7 +46,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id> +// $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example // ``` type PolicyProfileEnrollment struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policyProfileEnrollmentApps.go b/sdk/go/okta/policyProfileEnrollmentApps.go index a0077a12a..908a1d797 100644 --- a/sdk/go/okta/policyProfileEnrollmentApps.go +++ b/sdk/go/okta/policyProfileEnrollmentApps.go @@ -67,7 +67,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy id> +// $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example // ``` type PolicyProfileEnrollmentApps struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/policyRuleProfileEnrollment.go b/sdk/go/okta/policyRuleProfileEnrollment.go index aee203822..4a504bd05 100644 --- a/sdk/go/okta/policyRuleProfileEnrollment.go +++ b/sdk/go/okta/policyRuleProfileEnrollment.go @@ -101,7 +101,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy id>/<rule id> +// $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example / // ``` type PolicyRuleProfileEnrollment struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/resourceSet.go b/sdk/go/okta/resourceSet.go index 6bf801a6f..86dd13a75 100644 --- a/sdk/go/okta/resourceSet.go +++ b/sdk/go/okta/resourceSet.go @@ -25,7 +25,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> +// $ pulumi import okta:index/resourceSet:ResourceSet example // ``` type ResourceSet struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/roleSubscription.go b/sdk/go/okta/roleSubscription.go index 42eaff965..88ec0d8ae 100644 --- a/sdk/go/okta/roleSubscription.go +++ b/sdk/go/okta/roleSubscription.go @@ -49,7 +49,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> +// $ pulumi import okta:index/roleSubscription:RoleSubscription example / // ``` type RoleSubscription struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/templateSms.go b/sdk/go/okta/templateSms.go index fdbf5b291..f54ae8561 100644 --- a/sdk/go/okta/templateSms.go +++ b/sdk/go/okta/templateSms.go @@ -54,7 +54,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/templateSms:TemplateSms example <template type> +// $ pulumi import okta:index/templateSms:TemplateSms example // ``` type TemplateSms struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/theme.go b/sdk/go/okta/theme.go index 559425d02..7bce89121 100644 --- a/sdk/go/okta/theme.go +++ b/sdk/go/okta/theme.go @@ -23,7 +23,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/theme:Theme example <brand id>/<theme id> +// $ pulumi import okta:index/theme:Theme example / // ``` type Theme struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/trustedorigin/origin.go b/sdk/go/okta/trustedorigin/origin.go index 171b7a0a4..d2aece08f 100644 --- a/sdk/go/okta/trustedorigin/origin.go +++ b/sdk/go/okta/trustedorigin/origin.go @@ -47,7 +47,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:trustedorigin/origin:Origin example <trusted origin id> +// $ pulumi import okta:trustedorigin/origin:Origin example // ``` type Origin struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/user/user.go b/sdk/go/okta/user/user.go index 09ab0667d..c56914c8c 100644 --- a/sdk/go/okta/user/user.go +++ b/sdk/go/okta/user/user.go @@ -85,7 +85,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:user/user:User example <user id> +// $ pulumi import okta:user/user:User example // ``` type User struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/user/userType.go b/sdk/go/okta/user/userType.go index 21474d6cc..65af4e23a 100644 --- a/sdk/go/okta/user/userType.go +++ b/sdk/go/okta/user/userType.go @@ -45,7 +45,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:user/userType:UserType example <user type id> +// $ pulumi import okta:user/userType:UserType example // ``` type UserType struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/userAdminRoles.go b/sdk/go/okta/userAdminRoles.go index 9f13ca864..05621b1cc 100644 --- a/sdk/go/okta/userAdminRoles.go +++ b/sdk/go/okta/userAdminRoles.go @@ -56,7 +56,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user id> +// $ pulumi import okta:index/userAdminRoles:UserAdminRoles example // ``` type UserAdminRoles struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/userBaseSchemaProperty.go b/sdk/go/okta/userBaseSchemaProperty.go index 2c1028271..b7bc5dce8 100644 --- a/sdk/go/okta/userBaseSchemaProperty.go +++ b/sdk/go/okta/userBaseSchemaProperty.go @@ -58,13 +58,13 @@ import ( // ### User schema property of default user type can be imported via the property index. // // ```sh -// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property name> +// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example // ``` // // ### User schema property of custom user type can be imported via user type id and property index // // ```sh -// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user type id>.<property name> +// $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example . // ``` type UserBaseSchemaProperty struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/userFactorQuestion.go b/sdk/go/okta/userFactorQuestion.go index e668a5570..b74eb578c 100644 --- a/sdk/go/okta/userFactorQuestion.go +++ b/sdk/go/okta/userFactorQuestion.go @@ -70,7 +70,7 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user id>/<question factor id> +// $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example / // ``` type UserFactorQuestion struct { pulumi.CustomResourceState diff --git a/sdk/go/okta/userSchemaProperty.go b/sdk/go/okta/userSchemaProperty.go index 664c56bc8..fd7610c55 100644 --- a/sdk/go/okta/userSchemaProperty.go +++ b/sdk/go/okta/userSchemaProperty.go @@ -47,7 +47,11 @@ import ( // ## Import // // ```sh -// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user type id>.<index> +// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example +// ``` +// +// ```sh +// $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example . // ``` type UserSchemaProperty struct { pulumi.CustomResourceState diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index e23caf872..9813906d0 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.15.0") + implementation("com.pulumi:pulumi:0.16.1") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustom.java b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustom.java index 1b9d62f82..56839d8e0 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustom.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustom.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example &#60;custom role id&#62 + * $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom_role_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustomAssignments.java b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustomAssignments.java index ef52f59a2..72917e061 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustomAssignments.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleCustomAssignments.java @@ -24,7 +24,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example &#60;resource_set_id&#62;/&#60;custom_role_id&#62; + * $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleTargets.java b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleTargets.java index fae0d8777..1572f7473 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AdminRoleTargets.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AdminRoleTargets.java @@ -63,7 +63,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example &#60;user id&#62;/&#60;role type&#62; + * $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user_id>/<role_type> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppGroupAssignments.java b/sdk/java/src/main/java/com/pulumi/okta/AppGroupAssignments.java index f6f73e8e6..4b8f70c0d 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppGroupAssignments.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppGroupAssignments.java @@ -73,7 +73,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example &#60;app_id&#62 + * $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppOauthApiScope.java b/sdk/java/src/main/java/com/pulumi/okta/AppOauthApiScope.java index 7dc0bd6ba..44b9a297f 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppOauthApiScope.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppOauthApiScope.java @@ -61,7 +61,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example &#60;app id&#62 + * $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSamlAppSettings.java b/sdk/java/src/main/java/com/pulumi/okta/AppSamlAppSettings.java index f3e0916f6..77a2b2534 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSamlAppSettings.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSamlAppSettings.java @@ -76,7 +76,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example &#60;app id&#62 + * $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSharedCredentials.java b/sdk/java/src/main/java/com/pulumi/okta/AppSharedCredentials.java index 986e13645..927d38fb1 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSharedCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSharedCredentials.java @@ -77,7 +77,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example &#60;app id&#62 + * $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicy.java b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicy.java index bc6ce8c29..0f6614c0d 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicy.java @@ -19,7 +19,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example &#60;policy_id&#62; + * $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java index 981347fb9..813ee77a8 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java @@ -30,7 +30,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example &#60;policy_id&#62;/&#60;rule_id&#62 + * $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppUserBaseSchemaProperty.java b/sdk/java/src/main/java/com/pulumi/okta/AppUserBaseSchemaProperty.java index 521444e48..b62912c91 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppUserBaseSchemaProperty.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppUserBaseSchemaProperty.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example &#60;app id&#62;/&#60;property name&#62; + * $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app_id>/<property_name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppUserSchemaProperty.java b/sdk/java/src/main/java/com/pulumi/okta/AppUserSchemaProperty.java index 81aaede77..61d34dcfd 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppUserSchemaProperty.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppUserSchemaProperty.java @@ -64,7 +64,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example &#60;app id&#62;/&#60;property name&#62; + * $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app_id>/<property_name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthServerClaimDefault.java b/sdk/java/src/main/java/com/pulumi/okta/AuthServerClaimDefault.java index e34529bfd..366489391 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AuthServerClaimDefault.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthServerClaimDefault.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example &#60;auth server id&#62;/&#60;claim name&#62; + * $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth_server_id>/<claim_name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthServerDefault.java b/sdk/java/src/main/java/com/pulumi/okta/AuthServerDefault.java index 038a99bca..eba1d65c9 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AuthServerDefault.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthServerDefault.java @@ -57,7 +57,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/authServerDefault:AuthServerDefault example &#60;default&#62; + * $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Authenticator.java b/sdk/java/src/main/java/com/pulumi/okta/Authenticator.java index 725269bb5..9415d6013 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Authenticator.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Authenticator.java @@ -98,7 +98,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/authenticator:Authenticator example &#60;authenticator_id&#62; + * $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Behaviour.java b/sdk/java/src/main/java/com/pulumi/okta/Behaviour.java index 2f17b374e..fe000a397 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Behaviour.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Behaviour.java @@ -85,7 +85,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/behaviour:Behaviour example &#60;behavior id&#62; + * $ pulumi import okta:index/behaviour:Behaviour example <behavior_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Brand.java b/sdk/java/src/main/java/com/pulumi/okta/Brand.java index bd50b5036..341af5c47 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Brand.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Brand.java @@ -54,7 +54,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/brand:Brand example &#60;brand id&#62; + * $ pulumi import okta:index/brand:Brand example <brand_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Captcha.java b/sdk/java/src/main/java/com/pulumi/okta/Captcha.java index 12d7fbbc6..e370c15c0 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Captcha.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Captcha.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/captcha:Captcha example &#60;captcha id&#62; + * $ pulumi import okta:index/captcha:Captcha example <captcha_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/CustomizedSigninPage.java b/sdk/java/src/main/java/com/pulumi/okta/CustomizedSigninPage.java index cdb632049..6fd55e297 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/CustomizedSigninPage.java +++ b/sdk/java/src/main/java/com/pulumi/okta/CustomizedSigninPage.java @@ -118,7 +118,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example &#60;customized_signin_page_id&#62; + * $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <brand_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Domain.java b/sdk/java/src/main/java/com/pulumi/okta/Domain.java index 624b0e659..2ef3ec450 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Domain.java @@ -57,7 +57,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/domain:Domain example &#60;domain_id&#62; + * $ pulumi import okta:index/domain:Domain example <domain_id> * ``` * */ @@ -68,14 +68,14 @@ public class Domain extends com.pulumi.resources.CustomResource { * */ @Export(name="brandId", refs={String.class}, tree="[0]") - private Output brandId; + private Output brandId; /** * @return Brand id of the domain * */ - public Output> brandId() { - return Codegen.optional(this.brandId); + public Output brandId() { + return this.brandId; } /** * Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL diff --git a/sdk/java/src/main/java/com/pulumi/okta/EmailCustomization.java b/sdk/java/src/main/java/com/pulumi/okta/EmailCustomization.java index a7c253699..b356f0b4f 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/EmailCustomization.java +++ b/sdk/java/src/main/java/com/pulumi/okta/EmailCustomization.java @@ -49,7 +49,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/emailCustomization:EmailCustomization example &#60;customization_id&#62;/&#60;brand_id&#62;/&#60;template_name&#62; + * $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/EmailDomain.java b/sdk/java/src/main/java/com/pulumi/okta/EmailDomain.java index 6117ed921..3aa4f9820 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/EmailDomain.java +++ b/sdk/java/src/main/java/com/pulumi/okta/EmailDomain.java @@ -57,7 +57,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/emailDomain:EmailDomain example &#60;domain id&#62; + * $ pulumi import okta:index/emailDomain:EmailDomain example <domain_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/EmailSender.java b/sdk/java/src/main/java/com/pulumi/okta/EmailSender.java index 12df3e999..759d668cf 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/EmailSender.java +++ b/sdk/java/src/main/java/com/pulumi/okta/EmailSender.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/emailSender:EmailSender example &#60;sender id&#62; + * $ pulumi import okta:index/emailSender:EmailSender example <sender_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/EventHook.java b/sdk/java/src/main/java/com/pulumi/okta/EventHook.java index 28cead66a..368cd19f8 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/EventHook.java +++ b/sdk/java/src/main/java/com/pulumi/okta/EventHook.java @@ -71,7 +71,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/eventHook:EventHook example &#60;hook id&#62; + * $ pulumi import okta:index/eventHook:EventHook example <hook_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/GroupMemberships.java b/sdk/java/src/main/java/com/pulumi/okta/GroupMemberships.java index 569a81993..0b71471f3 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/GroupMemberships.java +++ b/sdk/java/src/main/java/com/pulumi/okta/GroupMemberships.java @@ -78,13 +78,13 @@ * an Okta Group's memberships can be imported via the Okta group ID. * * ```sh - * $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62; + * $ pulumi import okta:index/groupMemberships:GroupMemberships test <group_id> * ``` * * optional parameter track all users will also import all user id currently assigned to the group * * ```sh - * $ pulumi import okta:index/groupMemberships:GroupMemberships test &#60;group id&#62;/&#60;true&#62; + * $ pulumi import okta:index/groupMemberships:GroupMemberships test <group_id>/<true> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/GroupSchemaProperty.java b/sdk/java/src/main/java/com/pulumi/okta/GroupSchemaProperty.java index c0a3e70c7..b417bd903 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/GroupSchemaProperty.java +++ b/sdk/java/src/main/java/com/pulumi/okta/GroupSchemaProperty.java @@ -64,7 +64,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example &#60;index&#62; + * $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/LinkDefinition.java b/sdk/java/src/main/java/com/pulumi/okta/LinkDefinition.java index e2174a26a..ffe9e6e92 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/LinkDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/okta/LinkDefinition.java @@ -63,7 +63,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/linkDefinition:LinkDefinition example &#60;primary_name&#62; + * $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/LinkValue.java b/sdk/java/src/main/java/com/pulumi/okta/LinkValue.java index 629ddaa02..404811f89 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/LinkValue.java +++ b/sdk/java/src/main/java/com/pulumi/okta/LinkValue.java @@ -94,7 +94,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/linkValue:LinkValue example &#60;primary_name&#62;/&#60;primary_user_id&#62; + * $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/LogStream.java b/sdk/java/src/main/java/com/pulumi/okta/LogStream.java index c4f221229..8c24403fe 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/LogStream.java +++ b/sdk/java/src/main/java/com/pulumi/okta/LogStream.java @@ -21,7 +21,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/logStream:LogStream example &#60;strema id&#62; + * $ pulumi import okta:index/logStream:LogStream example <stream_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollment.java b/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollment.java index 9f8d6e6da..3d1dc233a 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollment.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollment.java @@ -59,7 +59,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example &#60;policy id&#62; + * $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollmentApps.java b/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollmentApps.java index 8963b56c5..99dcf0882 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollmentApps.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PolicyProfileEnrollmentApps.java @@ -76,7 +76,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example &#60;policy id&#62; + * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/PolicyRuleProfileEnrollment.java b/sdk/java/src/main/java/com/pulumi/okta/PolicyRuleProfileEnrollment.java index a6b1bf4b7..94885fc4d 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PolicyRuleProfileEnrollment.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PolicyRuleProfileEnrollment.java @@ -114,7 +114,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example &#60;policy id&#62;/&#60;rule id&#62; + * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/ResourceSet.java b/sdk/java/src/main/java/com/pulumi/okta/ResourceSet.java index 7fd63b190..db3d3d0b0 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/ResourceSet.java +++ b/sdk/java/src/main/java/com/pulumi/okta/ResourceSet.java @@ -29,7 +29,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/resourceSet:ResourceSet example &#60;resource_set_id&#62; + * $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/RoleSubscription.java b/sdk/java/src/main/java/com/pulumi/okta/RoleSubscription.java index 0edabef2c..569bf2cdd 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/RoleSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/okta/RoleSubscription.java @@ -61,7 +61,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/roleSubscription:RoleSubscription example &#60;role_type&#62;/&#60;notification_type&#62; + * $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/TemplateSms.java b/sdk/java/src/main/java/com/pulumi/okta/TemplateSms.java index 56f5a615c..b7de886af 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/TemplateSms.java +++ b/sdk/java/src/main/java/com/pulumi/okta/TemplateSms.java @@ -68,7 +68,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/templateSms:TemplateSms example &#60;template type&#62; + * $ pulumi import okta:index/templateSms:TemplateSms example <template_type> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/Theme.java b/sdk/java/src/main/java/com/pulumi/okta/Theme.java index e42098adf..c37f2b9fd 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/Theme.java +++ b/sdk/java/src/main/java/com/pulumi/okta/Theme.java @@ -26,7 +26,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/theme:Theme example &#60;brand id&#62;/&#60;theme id&#62; + * $ pulumi import okta:index/theme:Theme example <brand_id>/<theme_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/UserAdminRoles.java b/sdk/java/src/main/java/com/pulumi/okta/UserAdminRoles.java index 7d16dde7f..9184bd763 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/UserAdminRoles.java +++ b/sdk/java/src/main/java/com/pulumi/okta/UserAdminRoles.java @@ -67,7 +67,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/userAdminRoles:UserAdminRoles example &#60;user id&#62; + * $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/UserBaseSchemaProperty.java b/sdk/java/src/main/java/com/pulumi/okta/UserBaseSchemaProperty.java index 97a891f08..7cfbe8992 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/UserBaseSchemaProperty.java +++ b/sdk/java/src/main/java/com/pulumi/okta/UserBaseSchemaProperty.java @@ -71,13 +71,13 @@ * ### User schema property of default user type can be imported via the property index. * * ```sh - * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example &#60;property name&#62; + * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property_name> * ``` * * ### User schema property of custom user type can be imported via user type id and property index * * ```sh - * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example &#60;user type id&#62;.&#60;property name&#62; + * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user_type_id>.<property name> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/UserFactorQuestion.java b/sdk/java/src/main/java/com/pulumi/okta/UserFactorQuestion.java index 1d5260da9..1f446abca 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/UserFactorQuestion.java +++ b/sdk/java/src/main/java/com/pulumi/okta/UserFactorQuestion.java @@ -82,7 +82,7 @@ * ## Import * * ```sh - * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example &#60;user id&#62;/&#60;question factor id&#62; + * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user_id>/<question_factor_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/UserSchemaProperty.java b/sdk/java/src/main/java/com/pulumi/okta/UserSchemaProperty.java index 48b4ea89f..570dd9a6e 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/UserSchemaProperty.java +++ b/sdk/java/src/main/java/com/pulumi/okta/UserSchemaProperty.java @@ -65,7 +65,11 @@ * ## Import * * ```sh - * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example &#60;user type id&#62;.&#60;index&#62; + * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <variableName> + * ``` + * + * ```sh + * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user_type_id>.<index> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/AccessPolicyAssignment.java b/sdk/java/src/main/java/com/pulumi/okta/app/AccessPolicyAssignment.java index f6fc22ea0..e44908d5e 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/AccessPolicyAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/AccessPolicyAssignment.java @@ -83,7 +83,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example &#60;app id&#62; + * $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/AutoLogin.java b/sdk/java/src/main/java/com/pulumi/okta/app/AutoLogin.java index 8a72cb2f1..80ae0d979 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/AutoLogin.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/AutoLogin.java @@ -25,7 +25,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/autoLogin:AutoLogin example &#60;app id&#62 + * $ pulumi import okta:app/autoLogin:AutoLogin example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/BasicAuth.java b/sdk/java/src/main/java/com/pulumi/okta/app/BasicAuth.java index c39cac7f4..58d366630 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/BasicAuth.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/BasicAuth.java @@ -61,7 +61,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/basicAuth:BasicAuth example &#60;app id&#62 + * $ pulumi import okta:app/basicAuth:BasicAuth example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/Bookmark.java b/sdk/java/src/main/java/com/pulumi/okta/app/Bookmark.java index 80122a1ab..2248a0557 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/Bookmark.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/Bookmark.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/bookmark:Bookmark example &#60;app id&#62t + * $ pulumi import okta:app/bookmark:Bookmark example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/GroupAssignment.java b/sdk/java/src/main/java/com/pulumi/okta/app/GroupAssignment.java index 84e808d52..8c580d3f0 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/GroupAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/GroupAssignment.java @@ -61,7 +61,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/groupAssignment:GroupAssignment example &#60;app_id&#62;/&#60;group_id&#62 + * $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java b/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java index a128577a1..cad18e616 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java @@ -42,7 +42,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/oAuth:OAuth example &#60;app id&#62 + * $ pulumi import okta:app/oAuth:OAuth example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthPostLogoutRedirectUri.java b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthPostLogoutRedirectUri.java index d2344dddf..e861ac69f 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthPostLogoutRedirectUri.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthPostLogoutRedirectUri.java @@ -70,7 +70,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example &#60;app id&#62;/&#60;uri&#62 + * $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app_id>/<uri> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthRedirectUri.java b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthRedirectUri.java index f1058846e..90a1d8f65 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthRedirectUri.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthRedirectUri.java @@ -69,7 +69,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example &#60;app id&#62;/&#60;uri&#62 + * $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app_id>/<uri> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/Saml.java b/sdk/java/src/main/java/com/pulumi/okta/app/Saml.java index da2960d37..2739f92ab 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/Saml.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/Saml.java @@ -32,7 +32,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/saml:Saml example &#60;app id&#62 + * $ pulumi import okta:app/saml:Saml example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/SecurePasswordStore.java b/sdk/java/src/main/java/com/pulumi/okta/app/SecurePasswordStore.java index 92abd6c45..036c9a610 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/SecurePasswordStore.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/SecurePasswordStore.java @@ -65,7 +65,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example &#60;app id&#62 + * $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/Swa.java b/sdk/java/src/main/java/com/pulumi/okta/app/Swa.java index 12358881a..651926709 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/Swa.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/Swa.java @@ -65,7 +65,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/swa:Swa example &#60;app id&#62; + * $ pulumi import okta:app/swa:Swa example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/ThreeField.java b/sdk/java/src/main/java/com/pulumi/okta/app/ThreeField.java index f75252670..92c8a9ac2 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/ThreeField.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/ThreeField.java @@ -30,7 +30,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/threeField:ThreeField example &#60;app id&#62; + * $ pulumi import okta:app/threeField:ThreeField example <app_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/User.java b/sdk/java/src/main/java/com/pulumi/okta/app/User.java index f1754e2f2..a169cc41c 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/User.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/User.java @@ -57,7 +57,7 @@ * ## Import * * ```sh - * $ pulumi import okta:app/user:User example &#60;app id&#62;/&#60;user id&#62; + * $ pulumi import okta:app/user:User example <app_id>/<user_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/Server.java b/sdk/java/src/main/java/com/pulumi/okta/auth/Server.java index 2dba1792b..cf7cc6236 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/Server.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/Server.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/server:Server example &#60;auth server id&#62; + * $ pulumi import okta:auth/server:Server example <auth_server_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerClaim.java b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerClaim.java index 3ed769d7f..cb25ba6a1 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerClaim.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerClaim.java @@ -61,7 +61,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/serverClaim:ServerClaim example &#60;auth server id&#62;/&#60;claim id&#62; + * $ pulumi import okta:auth/serverClaim:ServerClaim example <auth_server_id>/<claim_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicy.java b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicy.java index 6b6c02890..f2ae33a76 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicy.java @@ -62,7 +62,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicy:ServerPolicy example &#60;auth server id&#62;/&#60;policy id&#62; + * $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth_server_id>/<policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyClaim.java b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyClaim.java index 37114926f..b2066e130 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyClaim.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyClaim.java @@ -62,7 +62,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example &#60;auth server id&#62;/&#60;policy id&#62;/&#60;policy rule id&#62; + * $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth_server_id>/<policy_id>/<policy_rule_id> * ``` * * @deprecated diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyRule.java b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyRule.java index a75c3e3a0..e1cef2c1a 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyRule.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerPolicyRule.java @@ -63,7 +63,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example &#60;auth server id&#62;/&#60;policy id&#62;/&#60;policy rule id&#62; + * $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth_server_id>/<policy_id>/<policy_rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerScope.java b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerScope.java index ef90d97fe..0e0bf1e1e 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/auth/ServerScope.java +++ b/sdk/java/src/main/java/com/pulumi/okta/auth/ServerScope.java @@ -59,7 +59,7 @@ * ## Import * * ```sh - * $ pulumi import okta:auth/serverScope:ServerScope example &#60;auth server id&#62;/&#60;scope id&#62; + * $ pulumi import okta:auth/serverScope:ServerScope example <auth_server_id>/<scope_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/Group.java b/sdk/java/src/main/java/com/pulumi/okta/group/Group.java index 9c3bde340..3363de02b 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/group/Group.java +++ b/sdk/java/src/main/java/com/pulumi/okta/group/Group.java @@ -21,7 +21,7 @@ * ## Import * * ```sh - * $ pulumi import okta:group/group:Group example &#60;group id&#62; + * $ pulumi import okta:group/group:Group example <group_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/Owner.java b/sdk/java/src/main/java/com/pulumi/okta/group/Owner.java new file mode 100644 index 000000000..0d338a436 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/group/Owner.java @@ -0,0 +1,229 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.group; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.group.OwnerArgs; +import com.pulumi.okta.group.inputs.OwnerState; +import java.lang.Boolean; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * Manages group owner resource. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.user.User;
+ * import com.pulumi.okta.user.UserArgs;
+ * import com.pulumi.okta.group.Group;
+ * import com.pulumi.okta.group.GroupArgs;
+ * import com.pulumi.okta.group.Owner;
+ * import com.pulumi.okta.group.OwnerArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App }{{@code
+ *     public static void main(String[] args) }{{@code
+ *         Pulumi.run(App::stack);
+ *     }}{@code
+ * 
+ *     public static void stack(Context ctx) }{{@code
+ *         var test = new User("test", UserArgs.builder()
+ *             .firstName("TestAcc")
+ *             .lastName("Smith")
+ *             .login("testAcc-replace_with_uuid}{@literal @}{@code example.com")
+ *             .email("testAcc-replace_with_uuid}{@literal @}{@code example.com")
+ *             .build());
+ * 
+ *         var testGroup = new Group("testGroup", GroupArgs.builder()
+ *             .name("testAcc_replace_with_uuid")
+ *             .build());
+ * 
+ *         var testOwner = new Owner("testOwner", OwnerArgs.builder()
+ *             .groupId(testGroup.id())
+ *             .idOfGroupOwner(test.id())
+ *             .type("USER")
+ *             .build());
+ * 
+ *     }}{@code
+ * }}{@code
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + */ +@ResourceType(type="okta:group/owner:Owner") +public class Owner extends com.pulumi.resources.CustomResource { + /** + * The display name of the group owner + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return The display name of the group owner + * + */ + public Output displayName() { + return this.displayName; + } + /** + * The id of the group + * + */ + @Export(name="groupId", refs={String.class}, tree="[0]") + private Output groupId; + + /** + * @return The id of the group + * + */ + public Output groupId() { + return this.groupId; + } + /** + * The user id of the group owner + * + */ + @Export(name="idOfGroupOwner", refs={String.class}, tree="[0]") + private Output idOfGroupOwner; + + /** + * @return The user id of the group owner + * + */ + public Output idOfGroupOwner() { + return this.idOfGroupOwner; + } + /** + * The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + */ + @Export(name="originId", refs={String.class}, tree="[0]") + private Output originId; + + /** + * @return The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + */ + public Output originId() { + return this.originId; + } + /** + * The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + */ + @Export(name="originType", refs={String.class}, tree="[0]") + private Output originType; + + /** + * @return The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + */ + public Output originType() { + return this.originType; + } + /** + * If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + */ + @Export(name="resolved", refs={Boolean.class}, tree="[0]") + private Output resolved; + + /** + * @return If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + */ + public Output resolved() { + return this.resolved; + } + /** + * The entity type of the owner. Enum: "GROUP" "USER" + * + */ + @Export(name="type", refs={String.class}, tree="[0]") + private Output type; + + /** + * @return The entity type of the owner. Enum: "GROUP" "USER" + * + */ + public Output type() { + return this.type; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public Owner(java.lang.String name) { + this(name, OwnerArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public Owner(java.lang.String name, OwnerArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public Owner(java.lang.String name, OwnerArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:group/owner:Owner", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private Owner(java.lang.String name, Output id, @Nullable OwnerState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:group/owner:Owner", name, state, makeResourceOptions(options, id), false); + } + + private static OwnerArgs makeArgs(OwnerArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? OwnerArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static Owner get(java.lang.String name, Output id, @Nullable OwnerState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new Owner(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/OwnerArgs.java b/sdk/java/src/main/java/com/pulumi/okta/group/OwnerArgs.java new file mode 100644 index 000000000..a1ef34dcf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/group/OwnerArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.group; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class OwnerArgs extends com.pulumi.resources.ResourceArgs { + + public static final OwnerArgs Empty = new OwnerArgs(); + + /** + * The id of the group + * + */ + @Import(name="groupId", required=true) + private Output groupId; + + /** + * @return The id of the group + * + */ + public Output groupId() { + return this.groupId; + } + + /** + * The user id of the group owner + * + */ + @Import(name="idOfGroupOwner", required=true) + private Output idOfGroupOwner; + + /** + * @return The user id of the group owner + * + */ + public Output idOfGroupOwner() { + return this.idOfGroupOwner; + } + + /** + * The entity type of the owner. Enum: "GROUP" "USER" + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The entity type of the owner. Enum: "GROUP" "USER" + * + */ + public Output type() { + return this.type; + } + + private OwnerArgs() {} + + private OwnerArgs(OwnerArgs $) { + this.groupId = $.groupId; + this.idOfGroupOwner = $.idOfGroupOwner; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OwnerArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OwnerArgs $; + + public Builder() { + $ = new OwnerArgs(); + } + + public Builder(OwnerArgs defaults) { + $ = new OwnerArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupId The id of the group + * + * @return builder + * + */ + public Builder groupId(Output groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param groupId The id of the group + * + * @return builder + * + */ + public Builder groupId(String groupId) { + return groupId(Output.of(groupId)); + } + + /** + * @param idOfGroupOwner The user id of the group owner + * + * @return builder + * + */ + public Builder idOfGroupOwner(Output idOfGroupOwner) { + $.idOfGroupOwner = idOfGroupOwner; + return this; + } + + /** + * @param idOfGroupOwner The user id of the group owner + * + * @return builder + * + */ + public Builder idOfGroupOwner(String idOfGroupOwner) { + return idOfGroupOwner(Output.of(idOfGroupOwner)); + } + + /** + * @param type The entity type of the owner. Enum: "GROUP" "USER" + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The entity type of the owner. Enum: "GROUP" "USER" + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public OwnerArgs build() { + if ($.groupId == null) { + throw new MissingRequiredPropertyException("OwnerArgs", "groupId"); + } + if ($.idOfGroupOwner == null) { + throw new MissingRequiredPropertyException("OwnerArgs", "idOfGroupOwner"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("OwnerArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/Role.java b/sdk/java/src/main/java/com/pulumi/okta/group/Role.java index 0b25cad30..d7355cf24 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/group/Role.java +++ b/sdk/java/src/main/java/com/pulumi/okta/group/Role.java @@ -19,46 +19,10 @@ /** * Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
- * {@code
- * package generated_program;
- * 
- * import com.pulumi.Context;
- * import com.pulumi.Pulumi;
- * import com.pulumi.core.Output;
- * import com.pulumi.okta.group.Role;
- * import com.pulumi.okta.group.RoleArgs;
- * import java.util.List;
- * import java.util.ArrayList;
- * import java.util.Map;
- * import java.io.File;
- * import java.nio.file.Files;
- * import java.nio.file.Paths;
- * 
- * public class App {
- *     public static void main(String[] args) {
- *         Pulumi.run(App::stack);
- *     }
- * 
- *     public static void stack(Context ctx) {
- *         var example = new Role("example", RoleArgs.builder()
- *             .groupId("")
- *             .roleType("READ_ONLY_ADMIN")
- *             .build());
- * 
- *     }
- * }
- * }
- * 
- * <!--End PulumiCodeChooser --> - * * ## Import * * ```sh - * $ pulumi import okta:group/role:Role example &#60;group id&#62;/&#60;role id&#62; + * $ pulumi import okta:group/role:Role example <group_id>/<role_id> * ``` * */ @@ -94,6 +58,34 @@ public Output> disableNotifications() { public Output groupId() { return this.groupId; } + /** + * Resource Set ID. Required for role_type = `CUSTOM` + * + */ + @Export(name="resourceSetId", refs={String.class}, tree="[0]") + private Output resourceSetId; + + /** + * @return Resource Set ID. Required for role_type = `CUSTOM` + * + */ + public Output> resourceSetId() { + return Codegen.optional(this.resourceSetId); + } + /** + * Role ID. Required for role_type = `CUSTOM` + * + */ + @Export(name="roleId", refs={String.class}, tree="[0]") + private Output roleId; + + /** + * @return Role ID. Required for role_type = `CUSTOM` + * + */ + public Output> roleId() { + return Codegen.optional(this.roleId); + } /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/RoleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/group/RoleArgs.java index 6cc4f9a2a..95a22856d 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/group/RoleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/group/RoleArgs.java @@ -50,6 +50,36 @@ public Output groupId() { return this.groupId; } + /** + * Resource Set ID. Required for role_type = `CUSTOM` + * + */ + @Import(name="resourceSetId") + private @Nullable Output resourceSetId; + + /** + * @return Resource Set ID. Required for role_type = `CUSTOM` + * + */ + public Optional> resourceSetId() { + return Optional.ofNullable(this.resourceSetId); + } + + /** + * Role ID. Required for role_type = `CUSTOM` + * + */ + @Import(name="roleId") + private @Nullable Output roleId; + + /** + * @return Role ID. Required for role_type = `CUSTOM` + * + */ + public Optional> roleId() { + return Optional.ofNullable(this.roleId); + } + /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -112,6 +142,8 @@ private RoleArgs() {} private RoleArgs(RoleArgs $) { this.disableNotifications = $.disableNotifications; this.groupId = $.groupId; + this.resourceSetId = $.resourceSetId; + this.roleId = $.roleId; this.roleType = $.roleType; this.targetAppLists = $.targetAppLists; this.targetGroupLists = $.targetGroupLists; @@ -179,6 +211,48 @@ public Builder groupId(String groupId) { return groupId(Output.of(groupId)); } + /** + * @param resourceSetId Resource Set ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder resourceSetId(@Nullable Output resourceSetId) { + $.resourceSetId = resourceSetId; + return this; + } + + /** + * @param resourceSetId Resource Set ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder resourceSetId(String resourceSetId) { + return resourceSetId(Output.of(resourceSetId)); + } + + /** + * @param roleId Role ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder roleId(@Nullable Output roleId) { + $.roleId = roleId; + return this; + } + + /** + * @param roleId Role ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder roleId(String roleId) { + return roleId(Output.of(roleId)); + } + /** * @param roleType Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/Rule.java b/sdk/java/src/main/java/com/pulumi/okta/group/Rule.java index d7b1c7aaf..73ff5f41d 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/group/Rule.java +++ b/sdk/java/src/main/java/com/pulumi/okta/group/Rule.java @@ -59,7 +59,7 @@ * ## Import * * ```sh - * $ pulumi import okta:group/rule:Rule example &#60;group rule id&#62; + * $ pulumi import okta:group/rule:Rule example <group_rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/inputs/OwnerState.java b/sdk/java/src/main/java/com/pulumi/okta/group/inputs/OwnerState.java new file mode 100644 index 000000000..91a3f0341 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/group/inputs/OwnerState.java @@ -0,0 +1,306 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.group.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class OwnerState extends com.pulumi.resources.ResourceArgs { + + public static final OwnerState Empty = new OwnerState(); + + /** + * The display name of the group owner + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return The display name of the group owner + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * The id of the group + * + */ + @Import(name="groupId") + private @Nullable Output groupId; + + /** + * @return The id of the group + * + */ + public Optional> groupId() { + return Optional.ofNullable(this.groupId); + } + + /** + * The user id of the group owner + * + */ + @Import(name="idOfGroupOwner") + private @Nullable Output idOfGroupOwner; + + /** + * @return The user id of the group owner + * + */ + public Optional> idOfGroupOwner() { + return Optional.ofNullable(this.idOfGroupOwner); + } + + /** + * The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + */ + @Import(name="originId") + private @Nullable Output originId; + + /** + * @return The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + */ + public Optional> originId() { + return Optional.ofNullable(this.originId); + } + + /** + * The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + */ + @Import(name="originType") + private @Nullable Output originType; + + /** + * @return The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + */ + public Optional> originType() { + return Optional.ofNullable(this.originType); + } + + /** + * If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + */ + @Import(name="resolved") + private @Nullable Output resolved; + + /** + * @return If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + */ + public Optional> resolved() { + return Optional.ofNullable(this.resolved); + } + + /** + * The entity type of the owner. Enum: "GROUP" "USER" + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return The entity type of the owner. Enum: "GROUP" "USER" + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private OwnerState() {} + + private OwnerState(OwnerState $) { + this.displayName = $.displayName; + this.groupId = $.groupId; + this.idOfGroupOwner = $.idOfGroupOwner; + this.originId = $.originId; + this.originType = $.originType; + this.resolved = $.resolved; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(OwnerState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private OwnerState $; + + public Builder() { + $ = new OwnerState(); + } + + public Builder(OwnerState defaults) { + $ = new OwnerState(Objects.requireNonNull(defaults)); + } + + /** + * @param displayName The display name of the group owner + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName The display name of the group owner + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param groupId The id of the group + * + * @return builder + * + */ + public Builder groupId(@Nullable Output groupId) { + $.groupId = groupId; + return this; + } + + /** + * @param groupId The id of the group + * + * @return builder + * + */ + public Builder groupId(String groupId) { + return groupId(Output.of(groupId)); + } + + /** + * @param idOfGroupOwner The user id of the group owner + * + * @return builder + * + */ + public Builder idOfGroupOwner(@Nullable Output idOfGroupOwner) { + $.idOfGroupOwner = idOfGroupOwner; + return this; + } + + /** + * @param idOfGroupOwner The user id of the group owner + * + * @return builder + * + */ + public Builder idOfGroupOwner(String idOfGroupOwner) { + return idOfGroupOwner(Output.of(idOfGroupOwner)); + } + + /** + * @param originId The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + * @return builder + * + */ + public Builder originId(@Nullable Output originId) { + $.originId = originId; + return this; + } + + /** + * @param originId The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + * + * @return builder + * + */ + public Builder originId(String originId) { + return originId(Output.of(originId)); + } + + /** + * @param originType The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + * @return builder + * + */ + public Builder originType(@Nullable Output originType) { + $.originType = originType; + return this; + } + + /** + * @param originType The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + * + * @return builder + * + */ + public Builder originType(String originType) { + return originType(Output.of(originType)); + } + + /** + * @param resolved If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + * @return builder + * + */ + public Builder resolved(@Nullable Output resolved) { + $.resolved = resolved; + return this; + } + + /** + * @param resolved If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + * + * @return builder + * + */ + public Builder resolved(Boolean resolved) { + return resolved(Output.of(resolved)); + } + + /** + * @param type The entity type of the owner. Enum: "GROUP" "USER" + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type The entity type of the owner. Enum: "GROUP" "USER" + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public OwnerState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/group/inputs/RoleState.java b/sdk/java/src/main/java/com/pulumi/okta/group/inputs/RoleState.java index 4924d2aad..2ae6041c9 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/group/inputs/RoleState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/group/inputs/RoleState.java @@ -49,6 +49,36 @@ public Optional> groupId() { return Optional.ofNullable(this.groupId); } + /** + * Resource Set ID. Required for role_type = `CUSTOM` + * + */ + @Import(name="resourceSetId") + private @Nullable Output resourceSetId; + + /** + * @return Resource Set ID. Required for role_type = `CUSTOM` + * + */ + public Optional> resourceSetId() { + return Optional.ofNullable(this.resourceSetId); + } + + /** + * Role ID. Required for role_type = `CUSTOM` + * + */ + @Import(name="roleId") + private @Nullable Output roleId; + + /** + * @return Role ID. Required for role_type = `CUSTOM` + * + */ + public Optional> roleId() { + return Optional.ofNullable(this.roleId); + } + /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -111,6 +141,8 @@ private RoleState() {} private RoleState(RoleState $) { this.disableNotifications = $.disableNotifications; this.groupId = $.groupId; + this.resourceSetId = $.resourceSetId; + this.roleId = $.roleId; this.roleType = $.roleType; this.targetAppLists = $.targetAppLists; this.targetGroupLists = $.targetGroupLists; @@ -178,6 +210,48 @@ public Builder groupId(String groupId) { return groupId(Output.of(groupId)); } + /** + * @param resourceSetId Resource Set ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder resourceSetId(@Nullable Output resourceSetId) { + $.resourceSetId = resourceSetId; + return this; + } + + /** + * @param resourceSetId Resource Set ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder resourceSetId(String resourceSetId) { + return resourceSetId(Output.of(resourceSetId)); + } + + /** + * @param roleId Role ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder roleId(@Nullable Output roleId) { + $.roleId = roleId; + return this; + } + + /** + * @param roleId Role ID. Required for role_type = `CUSTOM` + * + * @return builder + * + */ + public Builder roleId(String roleId) { + return roleId(Output.of(roleId)); + } + /** * @param roleType Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", diff --git a/sdk/java/src/main/java/com/pulumi/okta/idp/Oidc.java b/sdk/java/src/main/java/com/pulumi/okta/idp/Oidc.java index 9cf747e60..e139921d6 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/idp/Oidc.java +++ b/sdk/java/src/main/java/com/pulumi/okta/idp/Oidc.java @@ -71,7 +71,7 @@ * ## Import * * ```sh - * $ pulumi import okta:idp/oidc:Oidc example &#60;idp id&#62; + * $ pulumi import okta:idp/oidc:Oidc example <idp_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/idp/Saml.java b/sdk/java/src/main/java/com/pulumi/okta/idp/Saml.java index 147f5dc38..cfe49c266 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/idp/Saml.java +++ b/sdk/java/src/main/java/com/pulumi/okta/idp/Saml.java @@ -67,7 +67,7 @@ * ## Import * * ```sh - * $ pulumi import okta:idp/saml:Saml example &#60;idp id&#62; + * $ pulumi import okta:idp/saml:Saml example <idp_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/idp/SamlKey.java b/sdk/java/src/main/java/com/pulumi/okta/idp/SamlKey.java index f67f142ed..4ca326511 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/idp/SamlKey.java +++ b/sdk/java/src/main/java/com/pulumi/okta/idp/SamlKey.java @@ -70,7 +70,7 @@ * ## Import * * ```sh - * $ pulumi import okta:idp/samlKey:SamlKey example &#60;key id&#62; + * $ pulumi import okta:idp/samlKey:SamlKey example <key_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/idp/Social.java b/sdk/java/src/main/java/com/pulumi/okta/idp/Social.java index 776e0d4a7..0c3a7aece 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/idp/Social.java +++ b/sdk/java/src/main/java/com/pulumi/okta/idp/Social.java @@ -66,7 +66,7 @@ * ## Import * * ```sh - * $ pulumi import okta:idp/social:Social example &#60;idp id&#62; + * $ pulumi import okta:idp/social:Social example <idp_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/inline/Hook.java b/sdk/java/src/main/java/com/pulumi/okta/inline/Hook.java index edeeeec4c..5435cecf3 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/inline/Hook.java +++ b/sdk/java/src/main/java/com/pulumi/okta/inline/Hook.java @@ -70,7 +70,7 @@ * ## Import * * ```sh - * $ pulumi import okta:inline/hook:Hook example &#60;hook id&#62; + * $ pulumi import okta:inline/hook:Hook example <hook_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/network/Zone.java b/sdk/java/src/main/java/com/pulumi/okta/network/Zone.java index 047dc99fe..32c2dc42a 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/network/Zone.java +++ b/sdk/java/src/main/java/com/pulumi/okta/network/Zone.java @@ -21,7 +21,7 @@ * ## Import * * ```sh - * $ pulumi import okta:network/zone:Zone example &#60;zone id&#62; + * $ pulumi import okta:network/zone:Zone example <zone_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceAndroid.java b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceAndroid.java index 077c39431..f080a2099 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceAndroid.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceAndroid.java @@ -22,7 +22,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example &#60;device assurance id&#62; + * $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device_assurance_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceChromeos.java b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceChromeos.java index eac377e1b..4177fdee2 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceChromeos.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceChromeos.java @@ -70,7 +70,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example &#60;device assurance id&#62; + * $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device_assurance_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceIos.java b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceIos.java index 6d4dc906f..2d97a8f0a 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceIos.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceIos.java @@ -22,7 +22,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example &#60;device assurance id&#62; + * $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device_assurance_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceMacos.java b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceMacos.java index 215495adf..ecd30c99b 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceMacos.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceMacos.java @@ -22,7 +22,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example &#60;device assurance id&#62; + * $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device_assurance_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceWindows.java b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceWindows.java index a68e9cb96..f3acefdc4 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceWindows.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/DeviceAssuranceWindows.java @@ -22,7 +22,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example &#60;device assurance id&#62; + * $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device_assurance_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/Mfa.java b/sdk/java/src/main/java/com/pulumi/okta/policy/Mfa.java index 156156dc3..9147e2bda 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/Mfa.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/Mfa.java @@ -24,7 +24,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/mfa:Mfa example &#60;policy id&#62; + * $ pulumi import okta:policy/mfa:Mfa example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java b/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java index d275664d7..37f6bbc48 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java @@ -62,7 +62,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/password:Password example &#60;policy id&#62; + * $ pulumi import okta:policy/password:Password example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleIdpDiscovery.java b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleIdpDiscovery.java index c52927811..4227b9317 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleIdpDiscovery.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleIdpDiscovery.java @@ -112,7 +112,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example &#60;policy id&#62;/&#60;rule id&#62; + * $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleMfa.java b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleMfa.java index 7a7810212..c30e9818e 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleMfa.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleMfa.java @@ -24,7 +24,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/ruleMfa:RuleMfa example &#60;policy id&#62;/&#60;rule id&#62; + * $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/RulePassword.java b/sdk/java/src/main/java/com/pulumi/okta/policy/RulePassword.java index 1cd6a3b3e..9b5d3f987 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/RulePassword.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/RulePassword.java @@ -22,7 +22,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/rulePassword:RulePassword example &#60;policy id&#62;/&#60;rule id&#62; + * $ pulumi import okta:policy/rulePassword:RulePassword example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleSignon.java b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleSignon.java index 6231de471..ebae248f5 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/RuleSignon.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/RuleSignon.java @@ -135,7 +135,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/ruleSignon:RuleSignon example &#60;policy id&#62;/&#60;rule id&#62; + * $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy_id>/<rule_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/Signon.java b/sdk/java/src/main/java/com/pulumi/okta/policy/Signon.java index 70eaba232..617164ba8 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/Signon.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/Signon.java @@ -60,7 +60,7 @@ * ## Import * * ```sh - * $ pulumi import okta:policy/signon:Signon example &#60;policy id&#62; + * $ pulumi import okta:policy/signon:Signon example <policy_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/trustedorigin/Origin.java b/sdk/java/src/main/java/com/pulumi/okta/trustedorigin/Origin.java index 645c26836..ee8a8a9e1 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/trustedorigin/Origin.java +++ b/sdk/java/src/main/java/com/pulumi/okta/trustedorigin/Origin.java @@ -59,7 +59,7 @@ * ## Import * * ```sh - * $ pulumi import okta:trustedorigin/origin:Origin example &#60;trusted origin id&#62; + * $ pulumi import okta:trustedorigin/origin:Origin example <trusted_origin_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/User.java b/sdk/java/src/main/java/com/pulumi/okta/user/User.java index ba3f37424..f32671627 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/User.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/User.java @@ -98,7 +98,7 @@ * ## Import * * ```sh - * $ pulumi import okta:user/user:User example &#60;user id&#62; + * $ pulumi import okta:user/user:User example <user_id> * ``` * */ diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/UserType.java b/sdk/java/src/main/java/com/pulumi/okta/user/UserType.java index b9460f4b8..ce95b3bc2 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/UserType.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/UserType.java @@ -56,7 +56,7 @@ * ## Import * * ```sh - * $ pulumi import okta:user/userType:UserType example &#60;user type id&#62; + * $ pulumi import okta:user/userType:UserType example <user_type_id> * ``` * */ diff --git a/sdk/nodejs/adminRoleCustom.ts b/sdk/nodejs/adminRoleCustom.ts index ae3525e0d..c9b4e1085 100644 --- a/sdk/nodejs/adminRoleCustom.ts +++ b/sdk/nodejs/adminRoleCustom.ts @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom role id> + * $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example * ``` */ export class AdminRoleCustom extends pulumi.CustomResource { diff --git a/sdk/nodejs/adminRoleCustomAssignments.ts b/sdk/nodejs/adminRoleCustomAssignments.ts index 4cc55d9d3..3e1b084fa 100644 --- a/sdk/nodejs/adminRoleCustomAssignments.ts +++ b/sdk/nodejs/adminRoleCustomAssignments.ts @@ -13,7 +13,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> + * $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example / * ``` */ export class AdminRoleCustomAssignments extends pulumi.CustomResource { diff --git a/sdk/nodejs/adminRoleTargets.ts b/sdk/nodejs/adminRoleTargets.ts index 3fe1859fa..4f243bd4b 100644 --- a/sdk/nodejs/adminRoleTargets.ts +++ b/sdk/nodejs/adminRoleTargets.ts @@ -29,7 +29,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user id>/<role type> + * $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example / * ``` */ export class AdminRoleTargets extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/accessPolicyAssignment.ts b/sdk/nodejs/app/accessPolicyAssignment.ts index 114123b60..4c614465e 100644 --- a/sdk/nodejs/app/accessPolicyAssignment.ts +++ b/sdk/nodejs/app/accessPolicyAssignment.ts @@ -44,7 +44,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app id> + * $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example * ``` */ export class AccessPolicyAssignment extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/autoLogin.ts b/sdk/nodejs/app/autoLogin.ts index e8c410235..dadad8f8c 100644 --- a/sdk/nodejs/app/autoLogin.ts +++ b/sdk/nodejs/app/autoLogin.ts @@ -14,7 +14,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/autoLogin:AutoLogin example <app id> + * $ pulumi import okta:app/autoLogin:AutoLogin example * ``` */ export class AutoLogin extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/basicAuth.ts b/sdk/nodejs/app/basicAuth.ts index a85a06c55..1e99001cf 100644 --- a/sdk/nodejs/app/basicAuth.ts +++ b/sdk/nodejs/app/basicAuth.ts @@ -26,7 +26,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/basicAuth:BasicAuth example <app id> + * $ pulumi import okta:app/basicAuth:BasicAuth example * ``` */ export class BasicAuth extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/bookmark.ts b/sdk/nodejs/app/bookmark.ts index 3d8e68b52..acc496b58 100644 --- a/sdk/nodejs/app/bookmark.ts +++ b/sdk/nodejs/app/bookmark.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/bookmark:Bookmark example <app id>t + * $ pulumi import okta:app/bookmark:Bookmark example * ``` */ export class Bookmark extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/groupAssignment.ts b/sdk/nodejs/app/groupAssignment.ts index 3a12196e4..144dffb25 100644 --- a/sdk/nodejs/app/groupAssignment.ts +++ b/sdk/nodejs/app/groupAssignment.ts @@ -24,7 +24,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> + * $ pulumi import okta:app/groupAssignment:GroupAssignment example / * ``` */ export class GroupAssignment extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/oauth.ts b/sdk/nodejs/app/oauth.ts index b2391dd23..3a5b7822f 100644 --- a/sdk/nodejs/app/oauth.ts +++ b/sdk/nodejs/app/oauth.ts @@ -29,7 +29,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/oAuth:OAuth example <app id> + * $ pulumi import okta:app/oAuth:OAuth example * ``` */ export class OAuth extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/oauthPostLogoutRedirectUri.ts b/sdk/nodejs/app/oauthPostLogoutRedirectUri.ts index 984299909..4ea2072a1 100644 --- a/sdk/nodejs/app/oauthPostLogoutRedirectUri.ts +++ b/sdk/nodejs/app/oauthPostLogoutRedirectUri.ts @@ -34,7 +34,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app id>/<uri> + * $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example / * ``` */ export class OAuthPostLogoutRedirectUri extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/oauthRedirectUri.ts b/sdk/nodejs/app/oauthRedirectUri.ts index 4f75fa576..350410295 100644 --- a/sdk/nodejs/app/oauthRedirectUri.ts +++ b/sdk/nodejs/app/oauthRedirectUri.ts @@ -33,7 +33,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app id>/<uri> + * $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example / * ``` */ export class OAuthRedirectUri extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/saml.ts b/sdk/nodejs/app/saml.ts index 303a428a7..d5783e948 100644 --- a/sdk/nodejs/app/saml.ts +++ b/sdk/nodejs/app/saml.ts @@ -19,7 +19,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/saml:Saml example <app id> + * $ pulumi import okta:app/saml:Saml example * ``` */ export class Saml extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/securePasswordStore.ts b/sdk/nodejs/app/securePasswordStore.ts index 1e1435f33..994ba7545 100644 --- a/sdk/nodejs/app/securePasswordStore.ts +++ b/sdk/nodejs/app/securePasswordStore.ts @@ -30,7 +30,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app id> + * $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example * ``` */ export class SecurePasswordStore extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/swa.ts b/sdk/nodejs/app/swa.ts index 7f31505da..cbb443b74 100644 --- a/sdk/nodejs/app/swa.ts +++ b/sdk/nodejs/app/swa.ts @@ -30,7 +30,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/swa:Swa example <app id> + * $ pulumi import okta:app/swa:Swa example * ``` */ export class Swa extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/threeField.ts b/sdk/nodejs/app/threeField.ts index d04bd05ef..c2190d5aa 100644 --- a/sdk/nodejs/app/threeField.ts +++ b/sdk/nodejs/app/threeField.ts @@ -14,7 +14,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/threeField:ThreeField example <app id> + * $ pulumi import okta:app/threeField:ThreeField example * ``` */ export class ThreeField extends pulumi.CustomResource { diff --git a/sdk/nodejs/app/user.ts b/sdk/nodejs/app/user.ts index 5af3939b7..4b459258b 100644 --- a/sdk/nodejs/app/user.ts +++ b/sdk/nodejs/app/user.ts @@ -21,7 +21,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:app/user:User example <app id>/<user id> + * $ pulumi import okta:app/user:User example / * ``` */ export class User extends pulumi.CustomResource { diff --git a/sdk/nodejs/appGroupAssignments.ts b/sdk/nodejs/appGroupAssignments.ts index 3d531ceaf..0ecda1bcf 100644 --- a/sdk/nodejs/appGroupAssignments.ts +++ b/sdk/nodejs/appGroupAssignments.ts @@ -38,7 +38,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> + * $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example * ``` */ export class AppGroupAssignments extends pulumi.CustomResource { diff --git a/sdk/nodejs/appOauthApiScope.ts b/sdk/nodejs/appOauthApiScope.ts index fed02748a..d0d11df8b 100644 --- a/sdk/nodejs/appOauthApiScope.ts +++ b/sdk/nodejs/appOauthApiScope.ts @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app id> + * $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example * ``` */ export class AppOauthApiScope extends pulumi.CustomResource { diff --git a/sdk/nodejs/appSamlAppSettings.ts b/sdk/nodejs/appSamlAppSettings.ts index 03663a00c..d2044a1a1 100644 --- a/sdk/nodejs/appSamlAppSettings.ts +++ b/sdk/nodejs/appSamlAppSettings.ts @@ -38,7 +38,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app id> + * $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example * ``` */ export class AppSamlAppSettings extends pulumi.CustomResource { diff --git a/sdk/nodejs/appSharedCredentials.ts b/sdk/nodejs/appSharedCredentials.ts index 20ff20c1e..dae842567 100644 --- a/sdk/nodejs/appSharedCredentials.ts +++ b/sdk/nodejs/appSharedCredentials.ts @@ -42,7 +42,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app id> + * $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example * ``` */ export class AppSharedCredentials extends pulumi.CustomResource { diff --git a/sdk/nodejs/appSignonPolicy.ts b/sdk/nodejs/appSignonPolicy.ts index 761e0b009..b0b7bbceb 100644 --- a/sdk/nodejs/appSignonPolicy.ts +++ b/sdk/nodejs/appSignonPolicy.ts @@ -10,7 +10,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> + * $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example * ``` */ export class AppSignonPolicy extends pulumi.CustomResource { diff --git a/sdk/nodejs/appSignonPolicyRule.ts b/sdk/nodejs/appSignonPolicyRule.ts index 2b93ade43..a91b25daa 100644 --- a/sdk/nodejs/appSignonPolicyRule.ts +++ b/sdk/nodejs/appSignonPolicyRule.ts @@ -18,7 +18,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> + * $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example / * ``` */ export class AppSignonPolicyRule extends pulumi.CustomResource { diff --git a/sdk/nodejs/appUserBaseSchemaProperty.ts b/sdk/nodejs/appUserBaseSchemaProperty.ts index 52b0a43d4..f63a68d73 100644 --- a/sdk/nodejs/appUserBaseSchemaProperty.ts +++ b/sdk/nodejs/appUserBaseSchemaProperty.ts @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app id>/<property name> + * $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example / * ``` */ export class AppUserBaseSchemaProperty extends pulumi.CustomResource { diff --git a/sdk/nodejs/appUserSchemaProperty.ts b/sdk/nodejs/appUserSchemaProperty.ts index d059a5ebf..53a9025eb 100644 --- a/sdk/nodejs/appUserSchemaProperty.ts +++ b/sdk/nodejs/appUserSchemaProperty.ts @@ -27,7 +27,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app id>/<property name> + * $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example / * ``` */ export class AppUserSchemaProperty extends pulumi.CustomResource { diff --git a/sdk/nodejs/auth/server.ts b/sdk/nodejs/auth/server.ts index 7c21705da..a17c63cf4 100644 --- a/sdk/nodejs/auth/server.ts +++ b/sdk/nodejs/auth/server.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/server:Server example <auth server id> + * $ pulumi import okta:auth/server:Server example * ``` */ export class Server extends pulumi.CustomResource { diff --git a/sdk/nodejs/auth/serverClaim.ts b/sdk/nodejs/auth/serverClaim.ts index 4b772c20b..5d04345cd 100644 --- a/sdk/nodejs/auth/serverClaim.ts +++ b/sdk/nodejs/auth/serverClaim.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/serverClaim:ServerClaim example <auth server id>/<claim id> + * $ pulumi import okta:auth/serverClaim:ServerClaim example / * ``` */ export class ServerClaim extends pulumi.CustomResource { diff --git a/sdk/nodejs/auth/serverPolicy.ts b/sdk/nodejs/auth/serverPolicy.ts index f78ea1290..c71535112 100644 --- a/sdk/nodejs/auth/serverPolicy.ts +++ b/sdk/nodejs/auth/serverPolicy.ts @@ -26,7 +26,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth server id>/<policy id> + * $ pulumi import okta:auth/serverPolicy:ServerPolicy example / * ``` */ export class ServerPolicy extends pulumi.CustomResource { diff --git a/sdk/nodejs/auth/serverPolicyClaim.ts b/sdk/nodejs/auth/serverPolicyClaim.ts index b4711a035..591a0df79 100644 --- a/sdk/nodejs/auth/serverPolicyClaim.ts +++ b/sdk/nodejs/auth/serverPolicyClaim.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth server id>/<policy id>/<policy rule id> + * $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example // * ``` * * @deprecated okta.auth/serverpolicyclaim.ServerPolicyClaim has been deprecated in favor of okta.auth/serverpolicyrule.ServerPolicyRule diff --git a/sdk/nodejs/auth/serverPolicyRule.ts b/sdk/nodejs/auth/serverPolicyRule.ts index 90fac992a..20dd71631 100644 --- a/sdk/nodejs/auth/serverPolicyRule.ts +++ b/sdk/nodejs/auth/serverPolicyRule.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth server id>/<policy id>/<policy rule id> + * $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example // * ``` */ export class ServerPolicyRule extends pulumi.CustomResource { diff --git a/sdk/nodejs/auth/serverScope.ts b/sdk/nodejs/auth/serverScope.ts index 903c01402..829fd17a2 100644 --- a/sdk/nodejs/auth/serverScope.ts +++ b/sdk/nodejs/auth/serverScope.ts @@ -24,7 +24,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:auth/serverScope:ServerScope example <auth server id>/<scope id> + * $ pulumi import okta:auth/serverScope:ServerScope example / * ``` */ export class ServerScope extends pulumi.CustomResource { diff --git a/sdk/nodejs/authServerClaimDefault.ts b/sdk/nodejs/authServerClaimDefault.ts index b81b486bc..a946e3b6e 100644 --- a/sdk/nodejs/authServerClaimDefault.ts +++ b/sdk/nodejs/authServerClaimDefault.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim name> + * $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example / * ``` */ export class AuthServerClaimDefault extends pulumi.CustomResource { diff --git a/sdk/nodejs/authServerDefault.ts b/sdk/nodejs/authServerDefault.ts index cdce84e50..36744ff72 100644 --- a/sdk/nodejs/authServerDefault.ts +++ b/sdk/nodejs/authServerDefault.ts @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> + * $ pulumi import okta:index/authServerDefault:AuthServerDefault example * ``` */ export class AuthServerDefault extends pulumi.CustomResource { diff --git a/sdk/nodejs/authenticator.ts b/sdk/nodejs/authenticator.ts index 8197713b5..abb04199a 100644 --- a/sdk/nodejs/authenticator.ts +++ b/sdk/nodejs/authenticator.ts @@ -57,7 +57,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> + * $ pulumi import okta:index/authenticator:Authenticator example * ``` */ export class Authenticator extends pulumi.CustomResource { diff --git a/sdk/nodejs/behaviour.ts b/sdk/nodejs/behaviour.ts index e5eeee3a4..7f962ffb5 100644 --- a/sdk/nodejs/behaviour.ts +++ b/sdk/nodejs/behaviour.ts @@ -46,7 +46,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/behaviour:Behaviour example <behavior id> + * $ pulumi import okta:index/behaviour:Behaviour example * ``` */ export class Behaviour extends pulumi.CustomResource { diff --git a/sdk/nodejs/brand.ts b/sdk/nodejs/brand.ts index a46bfeca9..0c2765dd5 100644 --- a/sdk/nodejs/brand.ts +++ b/sdk/nodejs/brand.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/brand:Brand example <brand id> + * $ pulumi import okta:index/brand:Brand example * ``` */ export class Brand extends pulumi.CustomResource { diff --git a/sdk/nodejs/captcha.ts b/sdk/nodejs/captcha.ts index c1aba30b7..212942512 100644 --- a/sdk/nodejs/captcha.ts +++ b/sdk/nodejs/captcha.ts @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/captcha:Captcha example <captcha id> + * $ pulumi import okta:index/captcha:Captcha example * ``` */ export class Captcha extends pulumi.CustomResource { diff --git a/sdk/nodejs/customizedSigninPage.ts b/sdk/nodejs/customizedSigninPage.ts index f15d78c25..bce394723 100644 --- a/sdk/nodejs/customizedSigninPage.ts +++ b/sdk/nodejs/customizedSigninPage.ts @@ -12,7 +12,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <customized_signin_page_id> + * $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example * ``` */ export class CustomizedSigninPage extends pulumi.CustomResource { diff --git a/sdk/nodejs/domain.ts b/sdk/nodejs/domain.ts index 5ef00a924..7d9162754 100644 --- a/sdk/nodejs/domain.ts +++ b/sdk/nodejs/domain.ts @@ -21,7 +21,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/domain:Domain example <domain_id> + * $ pulumi import okta:index/domain:Domain example * ``` */ export class Domain extends pulumi.CustomResource { @@ -55,7 +55,7 @@ export class Domain extends pulumi.CustomResource { /** * Brand id of the domain */ - public readonly brandId!: pulumi.Output; + public readonly brandId!: pulumi.Output; /** * Certificate source type that indicates whether the certificate is provided by the user or Okta. Accepted values: `MANUAL`, `OKTA_MANAGED`. Warning: Use of OKTA_MANAGED requires a feature flag to be enabled. Default value = MANUAL */ diff --git a/sdk/nodejs/emailCustomization.ts b/sdk/nodejs/emailCustomization.ts index 52965f02f..dd4485be3 100644 --- a/sdk/nodejs/emailCustomization.ts +++ b/sdk/nodejs/emailCustomization.ts @@ -38,7 +38,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> + * $ pulumi import okta:index/emailCustomization:EmailCustomization example // * ``` */ export class EmailCustomization extends pulumi.CustomResource { diff --git a/sdk/nodejs/emailDomain.ts b/sdk/nodejs/emailDomain.ts index 5055d68f0..e39f16045 100644 --- a/sdk/nodejs/emailDomain.ts +++ b/sdk/nodejs/emailDomain.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/emailDomain:EmailDomain example <domain id> + * $ pulumi import okta:index/emailDomain:EmailDomain example * ``` */ export class EmailDomain extends pulumi.CustomResource { diff --git a/sdk/nodejs/emailSender.ts b/sdk/nodejs/emailSender.ts index 3329b144a..a103796c6 100644 --- a/sdk/nodejs/emailSender.ts +++ b/sdk/nodejs/emailSender.ts @@ -27,7 +27,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/emailSender:EmailSender example <sender id> + * $ pulumi import okta:index/emailSender:EmailSender example * ``` */ export class EmailSender extends pulumi.CustomResource { diff --git a/sdk/nodejs/eventHook.ts b/sdk/nodejs/eventHook.ts index 773607e4c..cf9b19ae5 100644 --- a/sdk/nodejs/eventHook.ts +++ b/sdk/nodejs/eventHook.ts @@ -37,7 +37,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/eventHook:EventHook example <hook id> + * $ pulumi import okta:index/eventHook:EventHook example * ``` */ export class EventHook extends pulumi.CustomResource { diff --git a/sdk/nodejs/group/group.ts b/sdk/nodejs/group/group.ts index 1ae2d119c..c1091a058 100644 --- a/sdk/nodejs/group/group.ts +++ b/sdk/nodejs/group/group.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:group/group:Group example <group id> + * $ pulumi import okta:group/group:Group example * ``` */ export class Group extends pulumi.CustomResource { diff --git a/sdk/nodejs/group/index.ts b/sdk/nodejs/group/index.ts index c77f0cea8..0ec7dd7f5 100644 --- a/sdk/nodejs/group/index.ts +++ b/sdk/nodejs/group/index.ts @@ -25,6 +25,11 @@ export type Group = import("./group").Group; export const Group: typeof import("./group").Group = null as any; utilities.lazyLoad(exports, ["Group"], () => require("./group")); +export { OwnerArgs, OwnerState } from "./owner"; +export type Owner = import("./owner").Owner; +export const Owner: typeof import("./owner").Owner = null as any; +utilities.lazyLoad(exports, ["Owner"], () => require("./owner")); + export { RoleArgs, RoleState } from "./role"; export type Role = import("./role").Role; export const Role: typeof import("./role").Role = null as any; @@ -42,6 +47,8 @@ const _module = { switch (type) { case "okta:group/group:Group": return new Group(name, undefined, { urn }) + case "okta:group/owner:Owner": + return new Owner(name, undefined, { urn }) case "okta:group/role:Role": return new Role(name, undefined, { urn }) case "okta:group/rule:Rule": @@ -52,5 +59,6 @@ const _module = { }, }; pulumi.runtime.registerResourceModule("okta", "group/group", _module) +pulumi.runtime.registerResourceModule("okta", "group/owner", _module) pulumi.runtime.registerResourceModule("okta", "group/role", _module) pulumi.runtime.registerResourceModule("okta", "group/rule", _module) diff --git a/sdk/nodejs/group/owner.ts b/sdk/nodejs/group/owner.ts new file mode 100644 index 000000000..f50a14a47 --- /dev/null +++ b/sdk/nodejs/group/owner.ts @@ -0,0 +1,181 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * Manages group owner resource. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const test = new okta.user.User("test", { + * firstName: "TestAcc", + * lastName: "Smith", + * login: "testAcc-replace_with_uuid@example.com", + * email: "testAcc-replace_with_uuid@example.com", + * }); + * const testGroup = new okta.group.Group("test", {name: "testAcc_replace_with_uuid"}); + * const testOwner = new okta.group.Owner("test", { + * groupId: testGroup.id, + * idOfGroupOwner: test.id, + * type: "USER", + * }); + * ``` + */ +export class Owner extends pulumi.CustomResource { + /** + * Get an existing Owner resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: OwnerState, opts?: pulumi.CustomResourceOptions): Owner { + return new Owner(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:group/owner:Owner'; + + /** + * Returns true if the given object is an instance of Owner. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Owner { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Owner.__pulumiType; + } + + /** + * The display name of the group owner + */ + public /*out*/ readonly displayName!: pulumi.Output; + /** + * The id of the group + */ + public readonly groupId!: pulumi.Output; + /** + * The user id of the group owner + */ + public readonly idOfGroupOwner!: pulumi.Output; + /** + * The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + */ + public /*out*/ readonly originId!: pulumi.Output; + /** + * The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + */ + public /*out*/ readonly originType!: pulumi.Output; + /** + * If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + */ + public /*out*/ readonly resolved!: pulumi.Output; + /** + * The entity type of the owner. Enum: "GROUP" "USER" + */ + public readonly type!: pulumi.Output; + + /** + * Create a Owner resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: OwnerArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: OwnerArgs | OwnerState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as OwnerState | undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["groupId"] = state ? state.groupId : undefined; + resourceInputs["idOfGroupOwner"] = state ? state.idOfGroupOwner : undefined; + resourceInputs["originId"] = state ? state.originId : undefined; + resourceInputs["originType"] = state ? state.originType : undefined; + resourceInputs["resolved"] = state ? state.resolved : undefined; + resourceInputs["type"] = state ? state.type : undefined; + } else { + const args = argsOrState as OwnerArgs | undefined; + if ((!args || args.groupId === undefined) && !opts.urn) { + throw new Error("Missing required property 'groupId'"); + } + if ((!args || args.idOfGroupOwner === undefined) && !opts.urn) { + throw new Error("Missing required property 'idOfGroupOwner'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["groupId"] = args ? args.groupId : undefined; + resourceInputs["idOfGroupOwner"] = args ? args.idOfGroupOwner : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["originId"] = undefined /*out*/; + resourceInputs["originType"] = undefined /*out*/; + resourceInputs["resolved"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Owner.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Owner resources. + */ +export interface OwnerState { + /** + * The display name of the group owner + */ + displayName?: pulumi.Input; + /** + * The id of the group + */ + groupId?: pulumi.Input; + /** + * The user id of the group owner + */ + idOfGroupOwner?: pulumi.Input; + /** + * The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + */ + originId?: pulumi.Input; + /** + * The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + */ + originType?: pulumi.Input; + /** + * If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + */ + resolved?: pulumi.Input; + /** + * The entity type of the owner. Enum: "GROUP" "USER" + */ + type?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Owner resource. + */ +export interface OwnerArgs { + /** + * The id of the group + */ + groupId: pulumi.Input; + /** + * The user id of the group owner + */ + idOfGroupOwner: pulumi.Input; + /** + * The entity type of the owner. Enum: "GROUP" "USER" + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/group/role.ts b/sdk/nodejs/group/role.ts index f2fbf669a..6516fc3fc 100644 --- a/sdk/nodejs/group/role.ts +++ b/sdk/nodejs/group/role.ts @@ -7,22 +7,10 @@ import * as utilities from "../utilities"; /** * Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as okta from "@pulumi/okta"; - * - * const example = new okta.group.Role("example", { - * groupId: "", - * roleType: "READ_ONLY_ADMIN", - * }); - * ``` - * * ## Import * * ```sh - * $ pulumi import okta:group/role:Role example <group id>/<role id> + * $ pulumi import okta:group/role:Role example / * ``` */ export class Role extends pulumi.CustomResource { @@ -62,6 +50,14 @@ export class Role extends pulumi.CustomResource { * ID of group to attach admin roles to */ public readonly groupId!: pulumi.Output; + /** + * Resource Set ID. Required for roleType = `CUSTOM` + */ + public readonly resourceSetId!: pulumi.Output; + /** + * Role ID. Required for roleType = `CUSTOM` + */ + public readonly roleId!: pulumi.Output; /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -96,6 +92,8 @@ export class Role extends pulumi.CustomResource { const state = argsOrState as RoleState | undefined; resourceInputs["disableNotifications"] = state ? state.disableNotifications : undefined; resourceInputs["groupId"] = state ? state.groupId : undefined; + resourceInputs["resourceSetId"] = state ? state.resourceSetId : undefined; + resourceInputs["roleId"] = state ? state.roleId : undefined; resourceInputs["roleType"] = state ? state.roleType : undefined; resourceInputs["targetAppLists"] = state ? state.targetAppLists : undefined; resourceInputs["targetGroupLists"] = state ? state.targetGroupLists : undefined; @@ -109,6 +107,8 @@ export class Role extends pulumi.CustomResource { } resourceInputs["disableNotifications"] = args ? args.disableNotifications : undefined; resourceInputs["groupId"] = args ? args.groupId : undefined; + resourceInputs["resourceSetId"] = args ? args.resourceSetId : undefined; + resourceInputs["roleId"] = args ? args.roleId : undefined; resourceInputs["roleType"] = args ? args.roleType : undefined; resourceInputs["targetAppLists"] = args ? args.targetAppLists : undefined; resourceInputs["targetGroupLists"] = args ? args.targetGroupLists : undefined; @@ -131,6 +131,14 @@ export interface RoleState { * ID of group to attach admin roles to */ groupId?: pulumi.Input; + /** + * Resource Set ID. Required for roleType = `CUSTOM` + */ + resourceSetId?: pulumi.Input; + /** + * Role ID. Required for roleType = `CUSTOM` + */ + roleId?: pulumi.Input; /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", @@ -164,6 +172,14 @@ export interface RoleArgs { * ID of group to attach admin roles to */ groupId: pulumi.Input; + /** + * Resource Set ID. Required for roleType = `CUSTOM` + */ + resourceSetId?: pulumi.Input; + /** + * Role ID. Required for roleType = `CUSTOM` + */ + roleId?: pulumi.Input; /** * Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", * "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", diff --git a/sdk/nodejs/group/rule.ts b/sdk/nodejs/group/rule.ts index 34252d808..1b80bdf6b 100644 --- a/sdk/nodejs/group/rule.ts +++ b/sdk/nodejs/group/rule.ts @@ -23,7 +23,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:group/rule:Rule example <group rule id> + * $ pulumi import okta:group/rule:Rule example * ``` */ export class Rule extends pulumi.CustomResource { diff --git a/sdk/nodejs/groupMemberships.ts b/sdk/nodejs/groupMemberships.ts index 445bf243c..f6d0de5d9 100644 --- a/sdk/nodejs/groupMemberships.ts +++ b/sdk/nodejs/groupMemberships.ts @@ -40,13 +40,13 @@ import * as utilities from "./utilities"; * an Okta Group's memberships can be imported via the Okta group ID. * * ```sh - * $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id> + * $ pulumi import okta:index/groupMemberships:GroupMemberships test * ``` * * optional parameter track all users will also import all user id currently assigned to the group * * ```sh - * $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id>/<true> + * $ pulumi import okta:index/groupMemberships:GroupMemberships test / * ``` */ export class GroupMemberships extends pulumi.CustomResource { diff --git a/sdk/nodejs/groupSchemaProperty.ts b/sdk/nodejs/groupSchemaProperty.ts index c8ec27b4d..4f6735737 100644 --- a/sdk/nodejs/groupSchemaProperty.ts +++ b/sdk/nodejs/groupSchemaProperty.ts @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> + * $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example * ``` */ export class GroupSchemaProperty extends pulumi.CustomResource { diff --git a/sdk/nodejs/idp/oidc.ts b/sdk/nodejs/idp/oidc.ts index 68f6b8f2f..ebdc40a0b 100644 --- a/sdk/nodejs/idp/oidc.ts +++ b/sdk/nodejs/idp/oidc.ts @@ -34,7 +34,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:idp/oidc:Oidc example <idp id> + * $ pulumi import okta:idp/oidc:Oidc example * ``` */ export class Oidc extends pulumi.CustomResource { diff --git a/sdk/nodejs/idp/saml.ts b/sdk/nodejs/idp/saml.ts index 77aeff357..303ecd0ff 100644 --- a/sdk/nodejs/idp/saml.ts +++ b/sdk/nodejs/idp/saml.ts @@ -30,7 +30,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:idp/saml:Saml example <idp id> + * $ pulumi import okta:idp/saml:Saml example * ``` */ export class Saml extends pulumi.CustomResource { diff --git a/sdk/nodejs/idp/samlKey.ts b/sdk/nodejs/idp/samlKey.ts index 80ca0b7a3..14d0cd154 100644 --- a/sdk/nodejs/idp/samlKey.ts +++ b/sdk/nodejs/idp/samlKey.ts @@ -30,7 +30,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:idp/samlKey:SamlKey example <key id> + * $ pulumi import okta:idp/samlKey:SamlKey example * ``` */ export class SamlKey extends pulumi.CustomResource { diff --git a/sdk/nodejs/idp/social.ts b/sdk/nodejs/idp/social.ts index 6fe828982..ccde030e4 100644 --- a/sdk/nodejs/idp/social.ts +++ b/sdk/nodejs/idp/social.ts @@ -30,7 +30,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:idp/social:Social example <idp id> + * $ pulumi import okta:idp/social:Social example * ``` */ export class Social extends pulumi.CustomResource { diff --git a/sdk/nodejs/inline/hook.ts b/sdk/nodejs/inline/hook.ts index b85bed8ab..9f91c0b74 100644 --- a/sdk/nodejs/inline/hook.ts +++ b/sdk/nodejs/inline/hook.ts @@ -35,7 +35,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:inline/hook:Hook example <hook id> + * $ pulumi import okta:inline/hook:Hook example * ``` */ export class Hook extends pulumi.CustomResource { diff --git a/sdk/nodejs/linkDefinition.ts b/sdk/nodejs/linkDefinition.ts index 2e430d480..355516777 100644 --- a/sdk/nodejs/linkDefinition.ts +++ b/sdk/nodejs/linkDefinition.ts @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> + * $ pulumi import okta:index/linkDefinition:LinkDefinition example * ``` */ export class LinkDefinition extends pulumi.CustomResource { diff --git a/sdk/nodejs/linkValue.ts b/sdk/nodejs/linkValue.ts index 61608a378..e51895302 100644 --- a/sdk/nodejs/linkValue.ts +++ b/sdk/nodejs/linkValue.ts @@ -52,7 +52,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> + * $ pulumi import okta:index/linkValue:LinkValue example / * ``` */ export class LinkValue extends pulumi.CustomResource { diff --git a/sdk/nodejs/logStream.ts b/sdk/nodejs/logStream.ts index aa4a7bbb0..5da34d2cf 100644 --- a/sdk/nodejs/logStream.ts +++ b/sdk/nodejs/logStream.ts @@ -12,7 +12,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/logStream:LogStream example <strema id> + * $ pulumi import okta:index/logStream:LogStream example * ``` */ export class LogStream extends pulumi.CustomResource { diff --git a/sdk/nodejs/network/zone.ts b/sdk/nodejs/network/zone.ts index b65c7c994..3c82d76b8 100644 --- a/sdk/nodejs/network/zone.ts +++ b/sdk/nodejs/network/zone.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:network/zone:Zone example <zone id> + * $ pulumi import okta:network/zone:Zone example * ``` */ export class Zone extends pulumi.CustomResource { diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 2d46443cd..617216d40 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -1,7 +1,7 @@ { "name": "@pulumi/okta", "version": "4.0.0-alpha.0+dev", - "description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.10.0", + "description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.11.0", "keywords": [ "pulumi", "okta" diff --git a/sdk/nodejs/policy/deviceAssuranceAndroid.ts b/sdk/nodejs/policy/deviceAssuranceAndroid.ts index 08fd4b68a..e2f8606d3 100644 --- a/sdk/nodejs/policy/deviceAssuranceAndroid.ts +++ b/sdk/nodejs/policy/deviceAssuranceAndroid.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device assurance id> + * $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example * ``` */ export class DeviceAssuranceAndroid extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/deviceAssuranceChromeos.ts b/sdk/nodejs/policy/deviceAssuranceChromeos.ts index db0b79a39..508dca7e0 100644 --- a/sdk/nodejs/policy/deviceAssuranceChromeos.ts +++ b/sdk/nodejs/policy/deviceAssuranceChromeos.ts @@ -35,7 +35,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device assurance id> + * $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example * ``` */ export class DeviceAssuranceChromeos extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/deviceAssuranceIos.ts b/sdk/nodejs/policy/deviceAssuranceIos.ts index c80290eee..4b6ef0de2 100644 --- a/sdk/nodejs/policy/deviceAssuranceIos.ts +++ b/sdk/nodejs/policy/deviceAssuranceIos.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device assurance id> + * $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example * ``` */ export class DeviceAssuranceIos extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/deviceAssuranceMacos.ts b/sdk/nodejs/policy/deviceAssuranceMacos.ts index 179a7f564..f1aacd1a1 100644 --- a/sdk/nodejs/policy/deviceAssuranceMacos.ts +++ b/sdk/nodejs/policy/deviceAssuranceMacos.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device assurance id> + * $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example * ``` */ export class DeviceAssuranceMacos extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/deviceAssuranceWindows.ts b/sdk/nodejs/policy/deviceAssuranceWindows.ts index 48da4b18b..2fa5f792b 100644 --- a/sdk/nodejs/policy/deviceAssuranceWindows.ts +++ b/sdk/nodejs/policy/deviceAssuranceWindows.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device assurance id> + * $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example * ``` */ export class DeviceAssuranceWindows extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/mfa.ts b/sdk/nodejs/policy/mfa.ts index d7242003e..3ed133381 100644 --- a/sdk/nodejs/policy/mfa.ts +++ b/sdk/nodejs/policy/mfa.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/mfa:Mfa example <policy id> + * $ pulumi import okta:policy/mfa:Mfa example * ``` */ export class Mfa extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/password.ts b/sdk/nodejs/policy/password.ts index 5a3078b0b..6296f8551 100644 --- a/sdk/nodejs/policy/password.ts +++ b/sdk/nodejs/policy/password.ts @@ -25,7 +25,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/password:Password example <policy id> + * $ pulumi import okta:policy/password:Password example * ``` */ export class Password extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/ruleIdpDiscovery.ts b/sdk/nodejs/policy/ruleIdpDiscovery.ts index 0ca9c2fb7..a7919e628 100644 --- a/sdk/nodejs/policy/ruleIdpDiscovery.ts +++ b/sdk/nodejs/policy/ruleIdpDiscovery.ts @@ -69,7 +69,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy id>/<rule id> + * $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example / * ``` */ export class RuleIdpDiscovery extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/ruleMfa.ts b/sdk/nodejs/policy/ruleMfa.ts index 599133246..e2399857c 100644 --- a/sdk/nodejs/policy/ruleMfa.ts +++ b/sdk/nodejs/policy/ruleMfa.ts @@ -12,7 +12,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy id>/<rule id> + * $ pulumi import okta:policy/ruleMfa:RuleMfa example / * ``` */ export class RuleMfa extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/rulePassword.ts b/sdk/nodejs/policy/rulePassword.ts index 909785df5..a4df56fc6 100644 --- a/sdk/nodejs/policy/rulePassword.ts +++ b/sdk/nodejs/policy/rulePassword.ts @@ -10,7 +10,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/rulePassword:RulePassword example <policy id>/<rule id> + * $ pulumi import okta:policy/rulePassword:RulePassword example / * ``` */ export class RulePassword extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/ruleSignon.ts b/sdk/nodejs/policy/ruleSignon.ts index b4cd224f7..a535616e1 100644 --- a/sdk/nodejs/policy/ruleSignon.ts +++ b/sdk/nodejs/policy/ruleSignon.ts @@ -94,7 +94,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy id>/<rule id> + * $ pulumi import okta:policy/ruleSignon:RuleSignon example / * ``` */ export class RuleSignon extends pulumi.CustomResource { diff --git a/sdk/nodejs/policy/signon.ts b/sdk/nodejs/policy/signon.ts index a2a18ae33..8ca24fd9b 100644 --- a/sdk/nodejs/policy/signon.ts +++ b/sdk/nodejs/policy/signon.ts @@ -24,7 +24,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:policy/signon:Signon example <policy id> + * $ pulumi import okta:policy/signon:Signon example * ``` */ export class Signon extends pulumi.CustomResource { diff --git a/sdk/nodejs/policyProfileEnrollment.ts b/sdk/nodejs/policyProfileEnrollment.ts index 1a4e5dc8b..a8de2aaf4 100644 --- a/sdk/nodejs/policyProfileEnrollment.ts +++ b/sdk/nodejs/policyProfileEnrollment.ts @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id> + * $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example * ``` */ export class PolicyProfileEnrollment extends pulumi.CustomResource { diff --git a/sdk/nodejs/policyProfileEnrollmentApps.ts b/sdk/nodejs/policyProfileEnrollmentApps.ts index 121e39041..8fe3a8161 100644 --- a/sdk/nodejs/policyProfileEnrollmentApps.ts +++ b/sdk/nodejs/policyProfileEnrollmentApps.ts @@ -35,7 +35,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy id> + * $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example * ``` */ export class PolicyProfileEnrollmentApps extends pulumi.CustomResource { diff --git a/sdk/nodejs/policyRuleProfileEnrollment.ts b/sdk/nodejs/policyRuleProfileEnrollment.ts index 21450dc43..77e722e56 100644 --- a/sdk/nodejs/policyRuleProfileEnrollment.ts +++ b/sdk/nodejs/policyRuleProfileEnrollment.ts @@ -68,7 +68,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy id>/<rule id> + * $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example / * ``` */ export class PolicyRuleProfileEnrollment extends pulumi.CustomResource { diff --git a/sdk/nodejs/resourceSet.ts b/sdk/nodejs/resourceSet.ts index 3c6da914b..ecca1d8c5 100644 --- a/sdk/nodejs/resourceSet.ts +++ b/sdk/nodejs/resourceSet.ts @@ -18,7 +18,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> + * $ pulumi import okta:index/resourceSet:ResourceSet example * ``` */ export class ResourceSet extends pulumi.CustomResource { diff --git a/sdk/nodejs/roleSubscription.ts b/sdk/nodejs/roleSubscription.ts index df97ba9b3..eeef73166 100644 --- a/sdk/nodejs/roleSubscription.ts +++ b/sdk/nodejs/roleSubscription.ts @@ -27,7 +27,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> + * $ pulumi import okta:index/roleSubscription:RoleSubscription example / * ``` */ export class RoleSubscription extends pulumi.CustomResource { diff --git a/sdk/nodejs/templateSms.ts b/sdk/nodejs/templateSms.ts index bb29dca73..7d8cb73af 100644 --- a/sdk/nodejs/templateSms.ts +++ b/sdk/nodejs/templateSms.ts @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/templateSms:TemplateSms example <template type> + * $ pulumi import okta:index/templateSms:TemplateSms example * ``` */ export class TemplateSms extends pulumi.CustomResource { diff --git a/sdk/nodejs/theme.ts b/sdk/nodejs/theme.ts index 729e4507a..888472acf 100644 --- a/sdk/nodejs/theme.ts +++ b/sdk/nodejs/theme.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/theme:Theme example <brand id>/<theme id> + * $ pulumi import okta:index/theme:Theme example / * ``` */ export class Theme extends pulumi.CustomResource { diff --git a/sdk/nodejs/trustedorigin/origin.ts b/sdk/nodejs/trustedorigin/origin.ts index 9038be80d..db9639d2a 100644 --- a/sdk/nodejs/trustedorigin/origin.ts +++ b/sdk/nodejs/trustedorigin/origin.ts @@ -23,7 +23,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:trustedorigin/origin:Origin example <trusted origin id> + * $ pulumi import okta:trustedorigin/origin:Origin example * ``` */ export class Origin extends pulumi.CustomResource { diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 71501d181..b604bcc8e 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -106,6 +106,7 @@ "group/getRule.ts", "group/group.ts", "group/index.ts", + "group/owner.ts", "group/role.ts", "group/rule.ts", "groupMemberships.ts", diff --git a/sdk/nodejs/user/user.ts b/sdk/nodejs/user/user.ts index b53c6b32b..9353cf086 100644 --- a/sdk/nodejs/user/user.ts +++ b/sdk/nodejs/user/user.ts @@ -62,7 +62,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:user/user:User example <user id> + * $ pulumi import okta:user/user:User example * ``` */ export class User extends pulumi.CustomResource { diff --git a/sdk/nodejs/user/userType.ts b/sdk/nodejs/user/userType.ts index 1321635f3..38b7b4a22 100644 --- a/sdk/nodejs/user/userType.ts +++ b/sdk/nodejs/user/userType.ts @@ -23,7 +23,7 @@ import * as utilities from "../utilities"; * ## Import * * ```sh - * $ pulumi import okta:user/userType:UserType example <user type id> + * $ pulumi import okta:user/userType:UserType example * ``` */ export class UserType extends pulumi.CustomResource { diff --git a/sdk/nodejs/userAdminRoles.ts b/sdk/nodejs/userAdminRoles.ts index 94d08e208..8bddc09dd 100644 --- a/sdk/nodejs/userAdminRoles.ts +++ b/sdk/nodejs/userAdminRoles.ts @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user id> + * $ pulumi import okta:index/userAdminRoles:UserAdminRoles example * ``` */ export class UserAdminRoles extends pulumi.CustomResource { diff --git a/sdk/nodejs/userBaseSchemaProperty.ts b/sdk/nodejs/userBaseSchemaProperty.ts index 0d1100566..f8606845c 100644 --- a/sdk/nodejs/userBaseSchemaProperty.ts +++ b/sdk/nodejs/userBaseSchemaProperty.ts @@ -36,13 +36,13 @@ import * as utilities from "./utilities"; * ### User schema property of default user type can be imported via the property index. * * ```sh - * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property name> + * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example * ``` * * ### User schema property of custom user type can be imported via user type id and property index * * ```sh - * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user type id>.<property name> + * $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example . * ``` */ export class UserBaseSchemaProperty extends pulumi.CustomResource { diff --git a/sdk/nodejs/userFactorQuestion.ts b/sdk/nodejs/userFactorQuestion.ts index 8bad18c20..92c655608 100644 --- a/sdk/nodejs/userFactorQuestion.ts +++ b/sdk/nodejs/userFactorQuestion.ts @@ -38,7 +38,7 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user id>/<question factor id> + * $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example / * ``` */ export class UserFactorQuestion extends pulumi.CustomResource { diff --git a/sdk/nodejs/userSchemaProperty.ts b/sdk/nodejs/userSchemaProperty.ts index e09557587..5b5ecf3fc 100644 --- a/sdk/nodejs/userSchemaProperty.ts +++ b/sdk/nodejs/userSchemaProperty.ts @@ -27,7 +27,11 @@ import * as utilities from "./utilities"; * ## Import * * ```sh - * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user type id>.<index> + * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example + * ``` + * + * ```sh + * $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example . * ``` */ export class UserSchemaProperty extends pulumi.CustomResource { diff --git a/sdk/python/pulumi_okta/__init__.py b/sdk/python/pulumi_okta/__init__.py index b9d4a2959..52e71bb07 100644 --- a/sdk/python/pulumi_okta/__init__.py +++ b/sdk/python/pulumi_okta/__init__.py @@ -309,6 +309,14 @@ "okta:group/group:Group": "Group" } }, + { + "pkg": "okta", + "mod": "group/owner", + "fqn": "pulumi_okta.group", + "classes": { + "okta:group/owner:Owner": "Owner" + } + }, { "pkg": "okta", "mod": "group/role", diff --git a/sdk/python/pulumi_okta/admin_role_custom.py b/sdk/python/pulumi_okta/admin_role_custom.py index 41d691c7b..195a49cd7 100644 --- a/sdk/python/pulumi_okta/admin_role_custom.py +++ b/sdk/python/pulumi_okta/admin_role_custom.py @@ -278,7 +278,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom role id> + $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example ``` :param str resource_name: The name of the resource. @@ -345,7 +345,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example <custom role id> + $ pulumi import okta:index/adminRoleCustom:AdminRoleCustom example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/admin_role_custom_assignments.py b/sdk/python/pulumi_okta/admin_role_custom_assignments.py index 5e2723197..f6c9ca015 100644 --- a/sdk/python/pulumi_okta/admin_role_custom_assignments.py +++ b/sdk/python/pulumi_okta/admin_role_custom_assignments.py @@ -139,7 +139,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> + $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example / ``` :param str resource_name: The name of the resource. @@ -163,7 +163,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example <resource_set_id>/<custom_role_id> + $ pulumi import okta:index/adminRoleCustomAssignments:AdminRoleCustomAssignments example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/admin_role_targets.py b/sdk/python/pulumi_okta/admin_role_targets.py index 97a25ba50..273dbf911 100644 --- a/sdk/python/pulumi_okta/admin_role_targets.py +++ b/sdk/python/pulumi_okta/admin_role_targets.py @@ -203,7 +203,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user id>/<role type> + $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example / ``` :param str resource_name: The name of the resource. @@ -243,7 +243,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user id>/<role type> + $ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/access_policy_assignment.py b/sdk/python/pulumi_okta/app/access_policy_assignment.py index 5af34909c..86ff9ab26 100644 --- a/sdk/python/pulumi_okta/app/access_policy_assignment.py +++ b/sdk/python/pulumi_okta/app/access_policy_assignment.py @@ -132,7 +132,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app id> + $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example ``` :param str resource_name: The name of the resource. @@ -181,7 +181,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example <app id> + $ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/auto_login.py b/sdk/python/pulumi_okta/app/auto_login.py index dc802762a..e324cc95a 100644 --- a/sdk/python/pulumi_okta/app/auto_login.py +++ b/sdk/python/pulumi_okta/app/auto_login.py @@ -882,7 +882,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/autoLogin:AutoLogin example <app id> + $ pulumi import okta:app/autoLogin:AutoLogin example ``` :param str resource_name: The name of the resource. @@ -928,7 +928,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/autoLogin:AutoLogin example <app id> + $ pulumi import okta:app/autoLogin:AutoLogin example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/basic_auth.py b/sdk/python/pulumi_okta/app/basic_auth.py index efe9d7598..d2986d5d6 100644 --- a/sdk/python/pulumi_okta/app/basic_auth.py +++ b/sdk/python/pulumi_okta/app/basic_auth.py @@ -561,7 +561,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/basicAuth:BasicAuth example <app id> + $ pulumi import okta:app/basicAuth:BasicAuth example ``` :param str resource_name: The name of the resource. @@ -608,7 +608,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/basicAuth:BasicAuth example <app id> + $ pulumi import okta:app/basicAuth:BasicAuth example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/bookmark.py b/sdk/python/pulumi_okta/app/bookmark.py index dbb0f689b..a27c716fc 100644 --- a/sdk/python/pulumi_okta/app/bookmark.py +++ b/sdk/python/pulumi_okta/app/bookmark.py @@ -594,7 +594,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/bookmark:Bookmark example <app id>t + $ pulumi import okta:app/bookmark:Bookmark example ``` :param str resource_name: The name of the resource. @@ -641,7 +641,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/bookmark:Bookmark example <app id>t + $ pulumi import okta:app/bookmark:Bookmark example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/group_assignment.py b/sdk/python/pulumi_okta/app/group_assignment.py index c99e04e8d..667064299 100644 --- a/sdk/python/pulumi_okta/app/group_assignment.py +++ b/sdk/python/pulumi_okta/app/group_assignment.py @@ -215,7 +215,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> + $ pulumi import okta:app/groupAssignment:GroupAssignment example / ``` :param str resource_name: The name of the resource. @@ -251,7 +251,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/groupAssignment:GroupAssignment example <app_id>/<group_id> + $ pulumi import okta:app/groupAssignment:GroupAssignment example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/o_auth.py b/sdk/python/pulumi_okta/app/o_auth.py index cc88ef3d7..d81e178d2 100644 --- a/sdk/python/pulumi_okta/app/o_auth.py +++ b/sdk/python/pulumi_okta/app/o_auth.py @@ -1646,7 +1646,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuth:OAuth example <app id> + $ pulumi import okta:app/oAuth:OAuth example ``` :param str resource_name: The name of the resource. @@ -1730,7 +1730,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuth:OAuth example <app id> + $ pulumi import okta:app/oAuth:OAuth example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/o_auth_post_logout_redirect_uri.py b/sdk/python/pulumi_okta/app/o_auth_post_logout_redirect_uri.py index 9d30b55a1..6b8a38c10 100644 --- a/sdk/python/pulumi_okta/app/o_auth_post_logout_redirect_uri.py +++ b/sdk/python/pulumi_okta/app/o_auth_post_logout_redirect_uri.py @@ -125,7 +125,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app id>/<uri> + $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example / ``` :param str resource_name: The name of the resource. @@ -167,7 +167,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example <app id>/<uri> + $ pulumi import okta:app/oAuthPostLogoutRedirectUri:OAuthPostLogoutRedirectUri example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/o_auth_redirect_uri.py b/sdk/python/pulumi_okta/app/o_auth_redirect_uri.py index 42bb01505..574902577 100644 --- a/sdk/python/pulumi_okta/app/o_auth_redirect_uri.py +++ b/sdk/python/pulumi_okta/app/o_auth_redirect_uri.py @@ -124,7 +124,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app id>/<uri> + $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example / ``` :param str resource_name: The name of the resource. @@ -165,7 +165,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example <app id>/<uri> + $ pulumi import okta:app/oAuthRedirectUri:OAuthRedirectUri example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/saml.py b/sdk/python/pulumi_okta/app/saml.py index 0a0276546..24f590da9 100644 --- a/sdk/python/pulumi_okta/app/saml.py +++ b/sdk/python/pulumi_okta/app/saml.py @@ -1817,7 +1817,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/saml:Saml example <app id> + $ pulumi import okta:app/saml:Saml example ``` :param str resource_name: The name of the resource. @@ -1896,7 +1896,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/saml:Saml example <app id> + $ pulumi import okta:app/saml:Saml example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/secure_password_store.py b/sdk/python/pulumi_okta/app/secure_password_store.py index e1241f4fe..c7a7d17d0 100644 --- a/sdk/python/pulumi_okta/app/secure_password_store.py +++ b/sdk/python/pulumi_okta/app/secure_password_store.py @@ -1059,7 +1059,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app id> + $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example ``` :param str resource_name: The name of the resource. @@ -1125,7 +1125,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example <app id> + $ pulumi import okta:app/securePasswordStore:SecurePasswordStore example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/swa.py b/sdk/python/pulumi_okta/app/swa.py index 92039ce5d..fa5f2e494 100644 --- a/sdk/python/pulumi_okta/app/swa.py +++ b/sdk/python/pulumi_okta/app/swa.py @@ -897,7 +897,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/swa:Swa example <app id> + $ pulumi import okta:app/swa:Swa example ``` :param str resource_name: The name of the resource. @@ -958,7 +958,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/swa:Swa example <app id> + $ pulumi import okta:app/swa:Swa example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/three_field.py b/sdk/python/pulumi_okta/app/three_field.py index 1790b59ee..133f6ca38 100644 --- a/sdk/python/pulumi_okta/app/three_field.py +++ b/sdk/python/pulumi_okta/app/three_field.py @@ -975,7 +975,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/threeField:ThreeField example <app id> + $ pulumi import okta:app/threeField:ThreeField example ``` :param str resource_name: The name of the resource. @@ -1024,7 +1024,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/threeField:ThreeField example <app id> + $ pulumi import okta:app/threeField:ThreeField example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app/user.py b/sdk/python/pulumi_okta/app/user.py index fc31cb1c3..39d5344d3 100644 --- a/sdk/python/pulumi_okta/app/user.py +++ b/sdk/python/pulumi_okta/app/user.py @@ -257,7 +257,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/user:User example <app id>/<user id> + $ pulumi import okta:app/user:User example / ``` :param str resource_name: The name of the resource. @@ -291,7 +291,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:app/user:User example <app id>/<user id> + $ pulumi import okta:app/user:User example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_group_assignments.py b/sdk/python/pulumi_okta/app_group_assignments.py index baab7cafc..f73a8387e 100644 --- a/sdk/python/pulumi_okta/app_group_assignments.py +++ b/sdk/python/pulumi_okta/app_group_assignments.py @@ -131,7 +131,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> + $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example ``` :param str resource_name: The name of the resource. @@ -177,7 +177,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example <app_id> + $ pulumi import okta:index/appGroupAssignments:AppGroupAssignments example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_oauth_api_scope.py b/sdk/python/pulumi_okta/app_oauth_api_scope.py index 608f31f81..305c68ad2 100644 --- a/sdk/python/pulumi_okta/app_oauth_api_scope.py +++ b/sdk/python/pulumi_okta/app_oauth_api_scope.py @@ -152,7 +152,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app id> + $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example ``` :param str resource_name: The name of the resource. @@ -190,7 +190,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app id> + $ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_saml_app_settings.py b/sdk/python/pulumi_okta/app_saml_app_settings.py index 866b24750..ce116f203 100644 --- a/sdk/python/pulumi_okta/app_saml_app_settings.py +++ b/sdk/python/pulumi_okta/app_saml_app_settings.py @@ -130,7 +130,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app id> + $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example ``` :param str resource_name: The name of the resource. @@ -177,7 +177,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example <app id> + $ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_shared_credentials.py b/sdk/python/pulumi_okta/app_shared_credentials.py index a13d98cb8..8392808f9 100644 --- a/sdk/python/pulumi_okta/app_shared_credentials.py +++ b/sdk/python/pulumi_okta/app_shared_credentials.py @@ -975,7 +975,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app id> + $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example ``` :param str resource_name: The name of the resource. @@ -1050,7 +1050,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example <app id> + $ pulumi import okta:index/appSharedCredentials:AppSharedCredentials example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_signon_policy.py b/sdk/python/pulumi_okta/app_signon_policy.py index 74ee1870a..968079d12 100644 --- a/sdk/python/pulumi_okta/app_signon_policy.py +++ b/sdk/python/pulumi_okta/app_signon_policy.py @@ -104,7 +104,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> + $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example ``` :param str resource_name: The name of the resource. @@ -124,7 +124,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example <policy_id> + $ pulumi import okta:index/appSignonPolicy:AppSignonPolicy example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_signon_policy_rule.py b/sdk/python/pulumi_okta/app_signon_policy_rule.py index 0199320dd..d1479381f 100644 --- a/sdk/python/pulumi_okta/app_signon_policy_rule.py +++ b/sdk/python/pulumi_okta/app_signon_policy_rule.py @@ -879,7 +879,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> + $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example / ``` :param str resource_name: The name of the resource. @@ -927,7 +927,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example <policy_id>/<rule_id> + $ pulumi import okta:index/appSignonPolicyRule:AppSignonPolicyRule example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_user_base_schema_property.py b/sdk/python/pulumi_okta/app_user_base_schema_property.py index d31546d85..337bad532 100644 --- a/sdk/python/pulumi_okta/app_user_base_schema_property.py +++ b/sdk/python/pulumi_okta/app_user_base_schema_property.py @@ -346,7 +346,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app id>/<property name> + $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example / ``` :param str resource_name: The name of the resource. @@ -387,7 +387,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example <app id>/<property name> + $ pulumi import okta:index/appUserBaseSchemaProperty:AppUserBaseSchemaProperty example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/app_user_schema_property.py b/sdk/python/pulumi_okta/app_user_schema_property.py index 8c8e13977..4710c3ba1 100644 --- a/sdk/python/pulumi_okta/app_user_schema_property.py +++ b/sdk/python/pulumi_okta/app_user_schema_property.py @@ -760,7 +760,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app id>/<property name> + $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example / ``` :param str resource_name: The name of the resource. @@ -817,7 +817,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example <app id>/<property name> + $ pulumi import okta:index/appUserSchemaProperty:AppUserSchemaProperty example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server.py b/sdk/python/pulumi_okta/auth/server.py index c09b4d608..180ab4f68 100644 --- a/sdk/python/pulumi_okta/auth/server.py +++ b/sdk/python/pulumi_okta/auth/server.py @@ -314,7 +314,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/server:Server example <auth server id> + $ pulumi import okta:auth/server:Server example ``` :param str resource_name: The name of the resource. @@ -352,7 +352,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/server:Server example <auth server id> + $ pulumi import okta:auth/server:Server example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server_claim.py b/sdk/python/pulumi_okta/auth/server_claim.py index 502f82db4..44f688dbc 100644 --- a/sdk/python/pulumi_okta/auth/server_claim.py +++ b/sdk/python/pulumi_okta/auth/server_claim.py @@ -347,7 +347,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverClaim:ServerClaim example <auth server id>/<claim id> + $ pulumi import okta:auth/serverClaim:ServerClaim example / ``` :param str resource_name: The name of the resource. @@ -388,7 +388,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverClaim:ServerClaim example <auth server id>/<claim id> + $ pulumi import okta:auth/serverClaim:ServerClaim example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server_policy.py b/sdk/python/pulumi_okta/auth/server_policy.py index 852c88167..9257504d0 100644 --- a/sdk/python/pulumi_okta/auth/server_policy.py +++ b/sdk/python/pulumi_okta/auth/server_policy.py @@ -248,7 +248,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth server id>/<policy id> + $ pulumi import okta:auth/serverPolicy:ServerPolicy example / ``` :param str resource_name: The name of the resource. @@ -287,7 +287,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicy:ServerPolicy example <auth server id>/<policy id> + $ pulumi import okta:auth/serverPolicy:ServerPolicy example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server_policy_claim.py b/sdk/python/pulumi_okta/auth/server_policy_claim.py index 310ac182b..c023d2c92 100644 --- a/sdk/python/pulumi_okta/auth/server_policy_claim.py +++ b/sdk/python/pulumi_okta/auth/server_policy_claim.py @@ -598,7 +598,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth server id>/<policy id>/<policy rule id> + $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example // ``` :param str resource_name: The name of the resource. @@ -646,7 +646,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example <auth server id>/<policy id>/<policy rule id> + $ pulumi import okta:auth/serverPolicyClaim:ServerPolicyClaim example // ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server_policy_rule.py b/sdk/python/pulumi_okta/auth/server_policy_rule.py index 08e2aa33d..16e0c549a 100644 --- a/sdk/python/pulumi_okta/auth/server_policy_rule.py +++ b/sdk/python/pulumi_okta/auth/server_policy_rule.py @@ -593,7 +593,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth server id>/<policy id>/<policy rule id> + $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example // ``` :param str resource_name: The name of the resource. @@ -641,7 +641,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example <auth server id>/<policy id>/<policy rule id> + $ pulumi import okta:auth/serverPolicyRule:ServerPolicyRule example // ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth/server_scope.py b/sdk/python/pulumi_okta/auth/server_scope.py index 18588aa1f..0ff02098b 100644 --- a/sdk/python/pulumi_okta/auth/server_scope.py +++ b/sdk/python/pulumi_okta/auth/server_scope.py @@ -331,7 +331,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverScope:ServerScope example <auth server id>/<scope id> + $ pulumi import okta:auth/serverScope:ServerScope example / ``` :param str resource_name: The name of the resource. @@ -370,7 +370,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:auth/serverScope:ServerScope example <auth server id>/<scope id> + $ pulumi import okta:auth/serverScope:ServerScope example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth_server_claim_default.py b/sdk/python/pulumi_okta/auth_server_claim_default.py index c2d0d18c3..016a746a3 100644 --- a/sdk/python/pulumi_okta/auth_server_claim_default.py +++ b/sdk/python/pulumi_okta/auth_server_claim_default.py @@ -247,7 +247,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim name> + $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example / ``` :param str resource_name: The name of the resource. @@ -282,7 +282,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim name> + $ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/auth_server_default.py b/sdk/python/pulumi_okta/auth_server_default.py index e6b8dc3cc..17f55f3f5 100644 --- a/sdk/python/pulumi_okta/auth_server_default.py +++ b/sdk/python/pulumi_okta/auth_server_default.py @@ -312,7 +312,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> + $ pulumi import okta:index/authServerDefault:AuthServerDefault example ``` :param str resource_name: The name of the resource. @@ -347,7 +347,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authServerDefault:AuthServerDefault example <default> + $ pulumi import okta:index/authServerDefault:AuthServerDefault example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/authenticator.py b/sdk/python/pulumi_okta/authenticator.py index 63d64395f..49733590c 100644 --- a/sdk/python/pulumi_okta/authenticator.py +++ b/sdk/python/pulumi_okta/authenticator.py @@ -561,7 +561,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> + $ pulumi import okta:index/authenticator:Authenticator example ``` :param str resource_name: The name of the resource. @@ -638,7 +638,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/authenticator:Authenticator example <authenticator_id> + $ pulumi import okta:index/authenticator:Authenticator example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/behaviour.py b/sdk/python/pulumi_okta/behaviour.py index 036438181..54fe9dc18 100644 --- a/sdk/python/pulumi_okta/behaviour.py +++ b/sdk/python/pulumi_okta/behaviour.py @@ -300,7 +300,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/behaviour:Behaviour example <behavior id> + $ pulumi import okta:index/behaviour:Behaviour example ``` :param str resource_name: The name of the resource. @@ -356,7 +356,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/behaviour:Behaviour example <behavior id> + $ pulumi import okta:index/behaviour:Behaviour example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/brand.py b/sdk/python/pulumi_okta/brand.py index c52d831f7..843f3cef5 100644 --- a/sdk/python/pulumi_okta/brand.py +++ b/sdk/python/pulumi_okta/brand.py @@ -399,7 +399,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/brand:Brand example <brand id> + $ pulumi import okta:index/brand:Brand example ``` :param str resource_name: The name of the resource. @@ -433,7 +433,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/brand:Brand example <brand id> + $ pulumi import okta:index/brand:Brand example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/captcha.py b/sdk/python/pulumi_okta/captcha.py index b6722e599..892b3e19c 100644 --- a/sdk/python/pulumi_okta/captcha.py +++ b/sdk/python/pulumi_okta/captcha.py @@ -183,7 +183,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/captcha:Captcha example <captcha id> + $ pulumi import okta:index/captcha:Captcha example ``` :param str resource_name: The name of the resource. @@ -220,7 +220,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/captcha:Captcha example <captcha id> + $ pulumi import okta:index/captcha:Captcha example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/customized_signin_page.py b/sdk/python/pulumi_okta/customized_signin_page.py index 1413367a0..68e14421f 100644 --- a/sdk/python/pulumi_okta/customized_signin_page.py +++ b/sdk/python/pulumi_okta/customized_signin_page.py @@ -207,7 +207,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <customized_signin_page_id> + $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example ``` :param str resource_name: The name of the resource. @@ -233,7 +233,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example <customized_signin_page_id> + $ pulumi import okta:index/customizedSigninPage:CustomizedSigninPage example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/domain.py b/sdk/python/pulumi_okta/domain.py index 837a6a7bd..deecb3151 100644 --- a/sdk/python/pulumi_okta/domain.py +++ b/sdk/python/pulumi_okta/domain.py @@ -181,7 +181,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/domain:Domain example <domain_id> + $ pulumi import okta:index/domain:Domain example ``` :param str resource_name: The name of the resource. @@ -211,7 +211,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/domain:Domain example <domain_id> + $ pulumi import okta:index/domain:Domain example ``` :param str resource_name: The name of the resource. @@ -287,7 +287,7 @@ def get(resource_name: str, @property @pulumi.getter(name="brandId") - def brand_id(self) -> pulumi.Output[Optional[str]]: + def brand_id(self) -> pulumi.Output[str]: """ Brand id of the domain """ diff --git a/sdk/python/pulumi_okta/email_customization.py b/sdk/python/pulumi_okta/email_customization.py index 0a7711f67..392887cfc 100644 --- a/sdk/python/pulumi_okta/email_customization.py +++ b/sdk/python/pulumi_okta/email_customization.py @@ -320,7 +320,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> + $ pulumi import okta:index/emailCustomization:EmailCustomization example // ``` :param str resource_name: The name of the resource. @@ -373,7 +373,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name> + $ pulumi import okta:index/emailCustomization:EmailCustomization example // ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/email_domain.py b/sdk/python/pulumi_okta/email_domain.py index 3837d7cca..fa4acfadd 100644 --- a/sdk/python/pulumi_okta/email_domain.py +++ b/sdk/python/pulumi_okta/email_domain.py @@ -212,7 +212,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailDomain:EmailDomain example <domain id> + $ pulumi import okta:index/emailDomain:EmailDomain example ``` :param str resource_name: The name of the resource. @@ -245,7 +245,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailDomain:EmailDomain example <domain id> + $ pulumi import okta:index/emailDomain:EmailDomain example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/email_sender.py b/sdk/python/pulumi_okta/email_sender.py index 41c82e8f8..a03887464 100644 --- a/sdk/python/pulumi_okta/email_sender.py +++ b/sdk/python/pulumi_okta/email_sender.py @@ -183,7 +183,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailSender:EmailSender example <sender id> + $ pulumi import okta:index/emailSender:EmailSender example ``` :param str resource_name: The name of the resource. @@ -218,7 +218,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/emailSender:EmailSender example <sender id> + $ pulumi import okta:index/emailSender:EmailSender example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/event_hook.py b/sdk/python/pulumi_okta/event_hook.py index 68cba3396..5ccc02792 100644 --- a/sdk/python/pulumi_okta/event_hook.py +++ b/sdk/python/pulumi_okta/event_hook.py @@ -273,7 +273,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/eventHook:EventHook example <hook id> + $ pulumi import okta:index/eventHook:EventHook example ``` :param str resource_name: The name of the resource. @@ -324,7 +324,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/eventHook:EventHook example <hook id> + $ pulumi import okta:index/eventHook:EventHook example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/group/__init__.py b/sdk/python/pulumi_okta/group/__init__.py index 201096638..9483161eb 100644 --- a/sdk/python/pulumi_okta/group/__init__.py +++ b/sdk/python/pulumi_okta/group/__init__.py @@ -9,5 +9,6 @@ from .get_group import * from .get_rule import * from .group import * +from .owner import * from .role import * from .rule import * diff --git a/sdk/python/pulumi_okta/group/group.py b/sdk/python/pulumi_okta/group/group.py index 487ba59b3..ffba0cb2f 100644 --- a/sdk/python/pulumi_okta/group/group.py +++ b/sdk/python/pulumi_okta/group/group.py @@ -179,7 +179,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:group/group:Group example <group id> + $ pulumi import okta:group/group:Group example ``` :param str resource_name: The name of the resource. @@ -201,7 +201,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:group/group:Group example <group id> + $ pulumi import okta:group/group:Group example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/group/owner.py b/sdk/python/pulumi_okta/group/owner.py new file mode 100644 index 000000000..508788929 --- /dev/null +++ b/sdk/python/pulumi_okta/group/owner.py @@ -0,0 +1,390 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['OwnerArgs', 'Owner'] + +@pulumi.input_type +class OwnerArgs: + def __init__(__self__, *, + group_id: pulumi.Input[str], + id_of_group_owner: pulumi.Input[str], + type: pulumi.Input[str]): + """ + The set of arguments for constructing a Owner resource. + :param pulumi.Input[str] group_id: The id of the group + :param pulumi.Input[str] id_of_group_owner: The user id of the group owner + :param pulumi.Input[str] type: The entity type of the owner. Enum: "GROUP" "USER" + """ + pulumi.set(__self__, "group_id", group_id) + pulumi.set(__self__, "id_of_group_owner", id_of_group_owner) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Input[str]: + """ + The id of the group + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: pulumi.Input[str]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="idOfGroupOwner") + def id_of_group_owner(self) -> pulumi.Input[str]: + """ + The user id of the group owner + """ + return pulumi.get(self, "id_of_group_owner") + + @id_of_group_owner.setter + def id_of_group_owner(self, value: pulumi.Input[str]): + pulumi.set(self, "id_of_group_owner", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The entity type of the owner. Enum: "GROUP" "USER" + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + +@pulumi.input_type +class _OwnerState: + def __init__(__self__, *, + display_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + id_of_group_owner: Optional[pulumi.Input[str]] = None, + origin_id: Optional[pulumi.Input[str]] = None, + origin_type: Optional[pulumi.Input[str]] = None, + resolved: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Owner resources. + :param pulumi.Input[str] display_name: The display name of the group owner + :param pulumi.Input[str] group_id: The id of the group + :param pulumi.Input[str] id_of_group_owner: The user id of the group owner + :param pulumi.Input[str] origin_id: The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + :param pulumi.Input[str] origin_type: The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + :param pulumi.Input[bool] resolved: If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + :param pulumi.Input[str] type: The entity type of the owner. Enum: "GROUP" "USER" + """ + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if id_of_group_owner is not None: + pulumi.set(__self__, "id_of_group_owner", id_of_group_owner) + if origin_id is not None: + pulumi.set(__self__, "origin_id", origin_id) + if origin_type is not None: + pulumi.set(__self__, "origin_type", origin_type) + if resolved is not None: + pulumi.set(__self__, "resolved", resolved) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + The display name of the group owner + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + The id of the group + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="idOfGroupOwner") + def id_of_group_owner(self) -> Optional[pulumi.Input[str]]: + """ + The user id of the group owner + """ + return pulumi.get(self, "id_of_group_owner") + + @id_of_group_owner.setter + def id_of_group_owner(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id_of_group_owner", value) + + @property + @pulumi.getter(name="originId") + def origin_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + """ + return pulumi.get(self, "origin_id") + + @origin_id.setter + def origin_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_id", value) + + @property + @pulumi.getter(name="originType") + def origin_type(self) -> Optional[pulumi.Input[str]]: + """ + The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + """ + return pulumi.get(self, "origin_type") + + @origin_type.setter + def origin_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_type", value) + + @property + @pulumi.getter + def resolved(self) -> Optional[pulumi.Input[bool]]: + """ + If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + """ + return pulumi.get(self, "resolved") + + @resolved.setter + def resolved(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "resolved", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The entity type of the owner. Enum: "GROUP" "USER" + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +class Owner(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_id: Optional[pulumi.Input[str]] = None, + id_of_group_owner: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Manages group owner resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + test = okta.user.User("test", + first_name="TestAcc", + last_name="Smith", + login="testAcc-replace_with_uuid@example.com", + email="testAcc-replace_with_uuid@example.com") + test_group = okta.group.Group("test", name="testAcc_replace_with_uuid") + test_owner = okta.group.Owner("test", + group_id=test_group.id, + id_of_group_owner=test.id, + type="USER") + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] group_id: The id of the group + :param pulumi.Input[str] id_of_group_owner: The user id of the group owner + :param pulumi.Input[str] type: The entity type of the owner. Enum: "GROUP" "USER" + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: OwnerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages group owner resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + test = okta.user.User("test", + first_name="TestAcc", + last_name="Smith", + login="testAcc-replace_with_uuid@example.com", + email="testAcc-replace_with_uuid@example.com") + test_group = okta.group.Group("test", name="testAcc_replace_with_uuid") + test_owner = okta.group.Owner("test", + group_id=test_group.id, + id_of_group_owner=test.id, + type="USER") + ``` + + :param str resource_name: The name of the resource. + :param OwnerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(OwnerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_id: Optional[pulumi.Input[str]] = None, + id_of_group_owner: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = OwnerArgs.__new__(OwnerArgs) + + if group_id is None and not opts.urn: + raise TypeError("Missing required property 'group_id'") + __props__.__dict__["group_id"] = group_id + if id_of_group_owner is None and not opts.urn: + raise TypeError("Missing required property 'id_of_group_owner'") + __props__.__dict__["id_of_group_owner"] = id_of_group_owner + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["display_name"] = None + __props__.__dict__["origin_id"] = None + __props__.__dict__["origin_type"] = None + __props__.__dict__["resolved"] = None + super(Owner, __self__).__init__( + 'okta:group/owner:Owner', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + display_name: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + id_of_group_owner: Optional[pulumi.Input[str]] = None, + origin_id: Optional[pulumi.Input[str]] = None, + origin_type: Optional[pulumi.Input[str]] = None, + resolved: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None) -> 'Owner': + """ + Get an existing Owner resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] display_name: The display name of the group owner + :param pulumi.Input[str] group_id: The id of the group + :param pulumi.Input[str] id_of_group_owner: The user id of the group owner + :param pulumi.Input[str] origin_id: The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + :param pulumi.Input[str] origin_type: The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + :param pulumi.Input[bool] resolved: If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + :param pulumi.Input[str] type: The entity type of the owner. Enum: "GROUP" "USER" + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _OwnerState.__new__(_OwnerState) + + __props__.__dict__["display_name"] = display_name + __props__.__dict__["group_id"] = group_id + __props__.__dict__["id_of_group_owner"] = id_of_group_owner + __props__.__dict__["origin_id"] = origin_id + __props__.__dict__["origin_type"] = origin_type + __props__.__dict__["resolved"] = resolved + __props__.__dict__["type"] = type + return Owner(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the group owner + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> pulumi.Output[str]: + """ + The id of the group + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="idOfGroupOwner") + def id_of_group_owner(self) -> pulumi.Output[str]: + """ + The user id of the group owner + """ + return pulumi.get(self, "id_of_group_owner") + + @property + @pulumi.getter(name="originId") + def origin_id(self) -> pulumi.Output[str]: + """ + The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY. + """ + return pulumi.get(self, "origin_id") + + @property + @pulumi.getter(name="originType") + def origin_type(self) -> pulumi.Output[str]: + """ + The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY" + """ + return pulumi.get(self, "origin_type") + + @property + @pulumi.getter + def resolved(self) -> pulumi.Output[bool]: + """ + If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID. + """ + return pulumi.get(self, "resolved") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The entity type of the owner. Enum: "GROUP" "USER" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_okta/group/role.py b/sdk/python/pulumi_okta/group/role.py index 57fb4f71f..ff13b5ffa 100644 --- a/sdk/python/pulumi_okta/group/role.py +++ b/sdk/python/pulumi_okta/group/role.py @@ -17,6 +17,8 @@ def __init__(__self__, *, group_id: pulumi.Input[str], role_type: pulumi.Input[str], disable_notifications: Optional[pulumi.Input[bool]] = None, + resource_set_id: Optional[pulumi.Input[str]] = None, + role_id: Optional[pulumi.Input[str]] = None, target_app_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, target_group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ @@ -28,6 +30,8 @@ def __init__(__self__, *, "USER_ADMIN" is the Group Administrator. :param pulumi.Input[bool] disable_notifications: When this setting is enabled, the admins won't receive any of the default Okta administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org. + :param pulumi.Input[str] resource_set_id: Resource Set ID. Required for role_type = `CUSTOM` + :param pulumi.Input[str] role_id: Role ID. Required for role_type = `CUSTOM` :param pulumi.Input[Sequence[pulumi.Input[str]]] target_app_lists: A list of app names (name represents set of app instances, like 'salesforce' or 'facebook'), or a combination of app name and app instance ID (like 'facebook.0oapsqQ6dv19pqyEo0g3') you would like as the targets of the admin role. - Only supported when used with the role type `APP_ADMIN`. @@ -38,6 +42,10 @@ def __init__(__self__, *, pulumi.set(__self__, "role_type", role_type) if disable_notifications is not None: pulumi.set(__self__, "disable_notifications", disable_notifications) + if resource_set_id is not None: + pulumi.set(__self__, "resource_set_id", resource_set_id) + if role_id is not None: + pulumi.set(__self__, "role_id", role_id) if target_app_lists is not None: pulumi.set(__self__, "target_app_lists", target_app_lists) if target_group_lists is not None: @@ -83,6 +91,30 @@ def disable_notifications(self) -> Optional[pulumi.Input[bool]]: def disable_notifications(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "disable_notifications", value) + @property + @pulumi.getter(name="resourceSetId") + def resource_set_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource Set ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "resource_set_id") + + @resource_set_id.setter + def resource_set_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_set_id", value) + + @property + @pulumi.getter(name="roleId") + def role_id(self) -> Optional[pulumi.Input[str]]: + """ + Role ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "role_id") + + @role_id.setter + def role_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_id", value) + @property @pulumi.getter(name="targetAppLists") def target_app_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -116,6 +148,8 @@ class _RoleState: def __init__(__self__, *, disable_notifications: Optional[pulumi.Input[bool]] = None, group_id: Optional[pulumi.Input[str]] = None, + resource_set_id: Optional[pulumi.Input[str]] = None, + role_id: Optional[pulumi.Input[str]] = None, role_type: Optional[pulumi.Input[str]] = None, target_app_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, target_group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): @@ -124,6 +158,8 @@ def __init__(__self__, *, :param pulumi.Input[bool] disable_notifications: When this setting is enabled, the admins won't receive any of the default Okta administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org. :param pulumi.Input[str] group_id: ID of group to attach admin roles to + :param pulumi.Input[str] resource_set_id: Resource Set ID. Required for role_type = `CUSTOM` + :param pulumi.Input[str] role_id: Role ID. Required for role_type = `CUSTOM` :param pulumi.Input[str] role_type: Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -138,6 +174,10 @@ def __init__(__self__, *, pulumi.set(__self__, "disable_notifications", disable_notifications) if group_id is not None: pulumi.set(__self__, "group_id", group_id) + if resource_set_id is not None: + pulumi.set(__self__, "resource_set_id", resource_set_id) + if role_id is not None: + pulumi.set(__self__, "role_id", role_id) if role_type is not None: pulumi.set(__self__, "role_type", role_type) if target_app_lists is not None: @@ -170,6 +210,30 @@ def group_id(self) -> Optional[pulumi.Input[str]]: def group_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_id", value) + @property + @pulumi.getter(name="resourceSetId") + def resource_set_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource Set ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "resource_set_id") + + @resource_set_id.setter + def resource_set_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_set_id", value) + + @property + @pulumi.getter(name="roleId") + def role_id(self) -> Optional[pulumi.Input[str]]: + """ + Role ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "role_id") + + @role_id.setter + def role_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_id", value) + @property @pulumi.getter(name="roleType") def role_type(self) -> Optional[pulumi.Input[str]]: @@ -220,6 +284,8 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, disable_notifications: Optional[pulumi.Input[bool]] = None, group_id: Optional[pulumi.Input[str]] = None, + resource_set_id: Optional[pulumi.Input[str]] = None, + role_id: Optional[pulumi.Input[str]] = None, role_type: Optional[pulumi.Input[str]] = None, target_app_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, target_group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -227,21 +293,10 @@ def __init__(__self__, """ Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. - ## Example Usage - - ```python - import pulumi - import pulumi_okta as okta - - example = okta.group.Role("example", - group_id="", - role_type="READ_ONLY_ADMIN") - ``` - ## Import ```sh - $ pulumi import okta:group/role:Role example <group id>/<role id> + $ pulumi import okta:group/role:Role example / ``` :param str resource_name: The name of the resource. @@ -249,6 +304,8 @@ def __init__(__self__, :param pulumi.Input[bool] disable_notifications: When this setting is enabled, the admins won't receive any of the default Okta administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org. :param pulumi.Input[str] group_id: ID of group to attach admin roles to + :param pulumi.Input[str] resource_set_id: Resource Set ID. Required for role_type = `CUSTOM` + :param pulumi.Input[str] role_id: Role ID. Required for role_type = `CUSTOM` :param pulumi.Input[str] role_type: Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -268,21 +325,10 @@ def __init__(__self__, """ Assigns Admin roles to Okta Groups. This resource allows you to assign Okta administrator roles to Okta Groups. This resource provides a one-to-one interface between the Okta group and the admin role. - ## Example Usage - - ```python - import pulumi - import pulumi_okta as okta - - example = okta.group.Role("example", - group_id="", - role_type="READ_ONLY_ADMIN") - ``` - ## Import ```sh - $ pulumi import okta:group/role:Role example <group id>/<role id> + $ pulumi import okta:group/role:Role example / ``` :param str resource_name: The name of the resource. @@ -302,6 +348,8 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, disable_notifications: Optional[pulumi.Input[bool]] = None, group_id: Optional[pulumi.Input[str]] = None, + resource_set_id: Optional[pulumi.Input[str]] = None, + role_id: Optional[pulumi.Input[str]] = None, role_type: Optional[pulumi.Input[str]] = None, target_app_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, target_group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -318,6 +366,8 @@ def _internal_init(__self__, if group_id is None and not opts.urn: raise TypeError("Missing required property 'group_id'") __props__.__dict__["group_id"] = group_id + __props__.__dict__["resource_set_id"] = resource_set_id + __props__.__dict__["role_id"] = role_id if role_type is None and not opts.urn: raise TypeError("Missing required property 'role_type'") __props__.__dict__["role_type"] = role_type @@ -335,6 +385,8 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, disable_notifications: Optional[pulumi.Input[bool]] = None, group_id: Optional[pulumi.Input[str]] = None, + resource_set_id: Optional[pulumi.Input[str]] = None, + role_id: Optional[pulumi.Input[str]] = None, role_type: Optional[pulumi.Input[str]] = None, target_app_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, target_group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Role': @@ -348,6 +400,8 @@ def get(resource_name: str, :param pulumi.Input[bool] disable_notifications: When this setting is enabled, the admins won't receive any of the default Okta administrator emails. These admins also won't have access to contact Okta Support and open support cases on behalf of your org. :param pulumi.Input[str] group_id: ID of group to attach admin roles to + :param pulumi.Input[str] resource_set_id: Resource Set ID. Required for role_type = `CUSTOM` + :param pulumi.Input[str] role_id: Role ID. Required for role_type = `CUSTOM` :param pulumi.Input[str] role_type: Admin role assigned to the group. It can be any one of the following values: "API_ADMIN", "APP_ADMIN", "CUSTOM", "GROUP_MEMBERSHIP_ADMIN", "HELP_DESK_ADMIN", "MOBILE_ADMIN", "ORG_ADMIN", "READ_ONLY_ADMIN", "REPORT_ADMIN", "SUPER_ADMIN", "USER_ADMIN" . See [API Docs](https://developer.okta.com/docs/reference/api/roles/#role-types). - @@ -364,6 +418,8 @@ def get(resource_name: str, __props__.__dict__["disable_notifications"] = disable_notifications __props__.__dict__["group_id"] = group_id + __props__.__dict__["resource_set_id"] = resource_set_id + __props__.__dict__["role_id"] = role_id __props__.__dict__["role_type"] = role_type __props__.__dict__["target_app_lists"] = target_app_lists __props__.__dict__["target_group_lists"] = target_group_lists @@ -386,6 +442,22 @@ def group_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "group_id") + @property + @pulumi.getter(name="resourceSetId") + def resource_set_id(self) -> pulumi.Output[Optional[str]]: + """ + Resource Set ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "resource_set_id") + + @property + @pulumi.getter(name="roleId") + def role_id(self) -> pulumi.Output[Optional[str]]: + """ + Role ID. Required for role_type = `CUSTOM` + """ + return pulumi.get(self, "role_id") + @property @pulumi.getter(name="roleType") def role_type(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_okta/group/rule.py b/sdk/python/pulumi_okta/group/rule.py index 8aa59e557..c3e46bfc2 100644 --- a/sdk/python/pulumi_okta/group/rule.py +++ b/sdk/python/pulumi_okta/group/rule.py @@ -280,7 +280,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:group/rule:Rule example <group rule id> + $ pulumi import okta:group/rule:Rule example ``` :param str resource_name: The name of the resource. @@ -317,7 +317,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:group/rule:Rule example <group rule id> + $ pulumi import okta:group/rule:Rule example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/group_memberships.py b/sdk/python/pulumi_okta/group_memberships.py index 92289e0c2..c8ca62e73 100644 --- a/sdk/python/pulumi_okta/group_memberships.py +++ b/sdk/python/pulumi_okta/group_memberships.py @@ -164,13 +164,13 @@ def __init__(__self__, an Okta Group's memberships can be imported via the Okta group ID. ```sh - $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id> + $ pulumi import okta:index/groupMemberships:GroupMemberships test ``` optional parameter track all users will also import all user id currently assigned to the group ```sh - $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id>/<true> + $ pulumi import okta:index/groupMemberships:GroupMemberships test / ``` :param str resource_name: The name of the resource. @@ -219,13 +219,13 @@ def __init__(__self__, an Okta Group's memberships can be imported via the Okta group ID. ```sh - $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id> + $ pulumi import okta:index/groupMemberships:GroupMemberships test ``` optional parameter track all users will also import all user id currently assigned to the group ```sh - $ pulumi import okta:index/groupMemberships:GroupMemberships test <group id>/<true> + $ pulumi import okta:index/groupMemberships:GroupMemberships test / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/group_schema_property.py b/sdk/python/pulumi_okta/group_schema_property.py index b023b36df..db967302a 100644 --- a/sdk/python/pulumi_okta/group_schema_property.py +++ b/sdk/python/pulumi_okta/group_schema_property.py @@ -682,7 +682,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> + $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example ``` :param str resource_name: The name of the resource. @@ -734,7 +734,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example <index> + $ pulumi import okta:index/groupSchemaProperty:GroupSchemaProperty example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/idp/oidc.py b/sdk/python/pulumi_okta/idp/oidc.py index 458e082ce..bec5f2c60 100644 --- a/sdk/python/pulumi_okta/idp/oidc.py +++ b/sdk/python/pulumi_okta/idp/oidc.py @@ -1165,7 +1165,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/oidc:Oidc example <idp id> + $ pulumi import okta:idp/oidc:Oidc example ``` :param str resource_name: The name of the resource. @@ -1238,7 +1238,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/oidc:Oidc example <idp id> + $ pulumi import okta:idp/oidc:Oidc example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/idp/saml.py b/sdk/python/pulumi_okta/idp/saml.py index f825c71ce..6c56781f0 100644 --- a/sdk/python/pulumi_okta/idp/saml.py +++ b/sdk/python/pulumi_okta/idp/saml.py @@ -1093,7 +1093,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/saml:Saml example <idp id> + $ pulumi import okta:idp/saml:Saml example ``` :param str resource_name: The name of the resource. @@ -1160,7 +1160,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/saml:Saml example <idp id> + $ pulumi import okta:idp/saml:Saml example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/idp/saml_key.py b/sdk/python/pulumi_okta/idp/saml_key.py index 9a56d6a2c..0c55552b0 100644 --- a/sdk/python/pulumi_okta/idp/saml_key.py +++ b/sdk/python/pulumi_okta/idp/saml_key.py @@ -187,7 +187,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/samlKey:SamlKey example <key id> + $ pulumi import okta:idp/samlKey:SamlKey example ``` :param str resource_name: The name of the resource. @@ -226,7 +226,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/samlKey:SamlKey example <key id> + $ pulumi import okta:idp/samlKey:SamlKey example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/idp/social.py b/sdk/python/pulumi_okta/idp/social.py index 0f939a6db..b314e541d 100644 --- a/sdk/python/pulumi_okta/idp/social.py +++ b/sdk/python/pulumi_okta/idp/social.py @@ -1025,7 +1025,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/social:Social example <idp id> + $ pulumi import okta:idp/social:Social example ``` :param str resource_name: The name of the resource. @@ -1087,7 +1087,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:idp/social:Social example <idp id> + $ pulumi import okta:idp/social:Social example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/inline/hook.py b/sdk/python/pulumi_okta/inline/hook.py index 31cae40cc..aee7ea3db 100644 --- a/sdk/python/pulumi_okta/inline/hook.py +++ b/sdk/python/pulumi_okta/inline/hook.py @@ -275,7 +275,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:inline/hook:Hook example <hook id> + $ pulumi import okta:inline/hook:Hook example ``` :param str resource_name: The name of the resource. @@ -320,7 +320,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:inline/hook:Hook example <hook id> + $ pulumi import okta:inline/hook:Hook example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/link_definition.py b/sdk/python/pulumi_okta/link_definition.py index e563f29b3..e6c3986f2 100644 --- a/sdk/python/pulumi_okta/link_definition.py +++ b/sdk/python/pulumi_okta/link_definition.py @@ -250,7 +250,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> + $ pulumi import okta:index/linkDefinition:LinkDefinition example ``` :param str resource_name: The name of the resource. @@ -293,7 +293,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/linkDefinition:LinkDefinition example <primary_name> + $ pulumi import okta:index/linkDefinition:LinkDefinition example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/link_value.py b/sdk/python/pulumi_okta/link_value.py index 6abb1312d..d9c7110fc 100644 --- a/sdk/python/pulumi_okta/link_value.py +++ b/sdk/python/pulumi_okta/link_value.py @@ -173,7 +173,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> + $ pulumi import okta:index/linkValue:LinkValue example / ``` :param str resource_name: The name of the resource. @@ -231,7 +231,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/linkValue:LinkValue example <primary_name>/<primary_user_id> + $ pulumi import okta:index/linkValue:LinkValue example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/log_stream.py b/sdk/python/pulumi_okta/log_stream.py index d4d1f9de3..8b6c57f56 100644 --- a/sdk/python/pulumi_okta/log_stream.py +++ b/sdk/python/pulumi_okta/log_stream.py @@ -164,7 +164,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/logStream:LogStream example <strema id> + $ pulumi import okta:index/logStream:LogStream example ``` :param str resource_name: The name of the resource. @@ -185,7 +185,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/logStream:LogStream example <strema id> + $ pulumi import okta:index/logStream:LogStream example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/network/zone.py b/sdk/python/pulumi_okta/network/zone.py index e0979ef93..5f67fd069 100644 --- a/sdk/python/pulumi_okta/network/zone.py +++ b/sdk/python/pulumi_okta/network/zone.py @@ -434,7 +434,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:network/zone:Zone example <zone id> + $ pulumi import okta:network/zone:Zone example ``` :param str resource_name: The name of the resource. @@ -464,7 +464,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:network/zone:Zone example <zone id> + $ pulumi import okta:network/zone:Zone example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/device_assurance_android.py b/sdk/python/pulumi_okta/policy/device_assurance_android.py index 912ee7279..95a3a2f9e 100644 --- a/sdk/python/pulumi_okta/policy/device_assurance_android.py +++ b/sdk/python/pulumi_okta/policy/device_assurance_android.py @@ -317,7 +317,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example ``` :param str resource_name: The name of the resource. @@ -341,7 +341,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceAndroid:DeviceAssuranceAndroid example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/device_assurance_chromeos.py b/sdk/python/pulumi_okta/policy/device_assurance_chromeos.py index 2565190dc..702cf22dd 100644 --- a/sdk/python/pulumi_okta/policy/device_assurance_chromeos.py +++ b/sdk/python/pulumi_okta/policy/device_assurance_chromeos.py @@ -638,7 +638,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example ``` :param str resource_name: The name of the resource. @@ -695,7 +695,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceChromeos:DeviceAssuranceChromeos example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/device_assurance_ios.py b/sdk/python/pulumi_okta/policy/device_assurance_ios.py index d05b418da..3e5697f77 100644 --- a/sdk/python/pulumi_okta/policy/device_assurance_ios.py +++ b/sdk/python/pulumi_okta/policy/device_assurance_ios.py @@ -251,7 +251,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example ``` :param str resource_name: The name of the resource. @@ -273,7 +273,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceIos:DeviceAssuranceIos example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/device_assurance_macos.py b/sdk/python/pulumi_okta/policy/device_assurance_macos.py index 4112851bc..a7f231037 100644 --- a/sdk/python/pulumi_okta/policy/device_assurance_macos.py +++ b/sdk/python/pulumi_okta/policy/device_assurance_macos.py @@ -746,7 +746,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example ``` :param str resource_name: The name of the resource. @@ -783,7 +783,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceMacos:DeviceAssuranceMacos example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/device_assurance_windows.py b/sdk/python/pulumi_okta/policy/device_assurance_windows.py index c3a4f632d..1ebe657dd 100644 --- a/sdk/python/pulumi_okta/policy/device_assurance_windows.py +++ b/sdk/python/pulumi_okta/policy/device_assurance_windows.py @@ -944,7 +944,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example ``` :param str resource_name: The name of the resource. @@ -987,7 +987,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example <device assurance id> + $ pulumi import okta:policy/deviceAssuranceWindows:DeviceAssuranceWindows example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/mfa.py b/sdk/python/pulumi_okta/policy/mfa.py index eb0a2e70b..b1de6fc82 100644 --- a/sdk/python/pulumi_okta/policy/mfa.py +++ b/sdk/python/pulumi_okta/policy/mfa.py @@ -795,7 +795,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/mfa:Mfa example <policy id> + $ pulumi import okta:policy/mfa:Mfa example ``` :param str resource_name: The name of the resource. @@ -819,7 +819,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/mfa:Mfa example <policy id> + $ pulumi import okta:policy/mfa:Mfa example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/password.py b/sdk/python/pulumi_okta/policy/password.py index 21e3e1d53..a721c422d 100644 --- a/sdk/python/pulumi_okta/policy/password.py +++ b/sdk/python/pulumi_okta/policy/password.py @@ -1043,7 +1043,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/password:Password example <policy id> + $ pulumi import okta:policy/password:Password example ``` :param str resource_name: The name of the resource. @@ -1105,7 +1105,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/password:Password example <policy id> + $ pulumi import okta:policy/password:Password example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/rule_idp_discovery.py b/sdk/python/pulumi_okta/policy/rule_idp_discovery.py index d6c3661c2..5a79a7ad8 100644 --- a/sdk/python/pulumi_okta/policy/rule_idp_discovery.py +++ b/sdk/python/pulumi_okta/policy/rule_idp_discovery.py @@ -634,7 +634,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy id>/<rule id> + $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example / ``` :param str resource_name: The name of the resource. @@ -732,7 +732,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example <policy id>/<rule id> + $ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/rule_mfa.py b/sdk/python/pulumi_okta/policy/rule_mfa.py index 3b48cf573..22f7d4d5a 100644 --- a/sdk/python/pulumi_okta/policy/rule_mfa.py +++ b/sdk/python/pulumi_okta/policy/rule_mfa.py @@ -432,7 +432,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy id>/<rule id> + $ pulumi import okta:policy/ruleMfa:RuleMfa example / ``` :param str resource_name: The name of the resource. @@ -468,7 +468,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleMfa:RuleMfa example <policy id>/<rule id> + $ pulumi import okta:policy/ruleMfa:RuleMfa example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/rule_password.py b/sdk/python/pulumi_okta/policy/rule_password.py index 0c9a78c11..4e41ecf0d 100644 --- a/sdk/python/pulumi_okta/policy/rule_password.py +++ b/sdk/python/pulumi_okta/policy/rule_password.py @@ -402,7 +402,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/rulePassword:RulePassword example <policy id>/<rule id> + $ pulumi import okta:policy/rulePassword:RulePassword example / ``` :param str resource_name: The name of the resource. @@ -431,7 +431,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/rulePassword:RulePassword example <policy id>/<rule id> + $ pulumi import okta:policy/rulePassword:RulePassword example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/rule_signon.py b/sdk/python/pulumi_okta/policy/rule_signon.py index 48153c339..47bc5cb02 100644 --- a/sdk/python/pulumi_okta/policy/rule_signon.py +++ b/sdk/python/pulumi_okta/policy/rule_signon.py @@ -951,7 +951,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy id>/<rule id> + $ pulumi import okta:policy/ruleSignon:RuleSignon example / ``` :param str resource_name: The name of the resource. @@ -1079,7 +1079,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/ruleSignon:RuleSignon example <policy id>/<rule id> + $ pulumi import okta:policy/ruleSignon:RuleSignon example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy/signon.py b/sdk/python/pulumi_okta/policy/signon.py index afd3020e0..22f6d302a 100644 --- a/sdk/python/pulumi_okta/policy/signon.py +++ b/sdk/python/pulumi_okta/policy/signon.py @@ -217,7 +217,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/signon:Signon example <policy id> + $ pulumi import okta:policy/signon:Signon example ``` :param str resource_name: The name of the resource. @@ -253,7 +253,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:policy/signon:Signon example <policy id> + $ pulumi import okta:policy/signon:Signon example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy_profile_enrollment.py b/sdk/python/pulumi_okta/policy_profile_enrollment.py index 644499317..215b83663 100644 --- a/sdk/python/pulumi_okta/policy_profile_enrollment.py +++ b/sdk/python/pulumi_okta/policy_profile_enrollment.py @@ -119,7 +119,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id> + $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example ``` :param str resource_name: The name of the resource. @@ -153,7 +153,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example <policy id> + $ pulumi import okta:index/policyProfileEnrollment:PolicyProfileEnrollment example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy_profile_enrollment_apps.py b/sdk/python/pulumi_okta/policy_profile_enrollment_apps.py index 089b2a98c..81237e634 100644 --- a/sdk/python/pulumi_okta/policy_profile_enrollment_apps.py +++ b/sdk/python/pulumi_okta/policy_profile_enrollment_apps.py @@ -140,7 +140,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy id> + $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example ``` :param str resource_name: The name of the resource. @@ -180,7 +180,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example <policy id> + $ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/policy_rule_profile_enrollment.py b/sdk/python/pulumi_okta/policy_rule_profile_enrollment.py index 2d8498f57..86eef2c50 100644 --- a/sdk/python/pulumi_okta/policy_rule_profile_enrollment.py +++ b/sdk/python/pulumi_okta/policy_rule_profile_enrollment.py @@ -437,7 +437,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy id>/<rule id> + $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example / ``` :param str resource_name: The name of the resource. @@ -521,7 +521,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example <policy id>/<rule id> + $ pulumi import okta:index/policyRuleProfileEnrollment:PolicyRuleProfileEnrollment example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/resource_set.py b/sdk/python/pulumi_okta/resource_set.py index 3c596140a..e8bf89977 100644 --- a/sdk/python/pulumi_okta/resource_set.py +++ b/sdk/python/pulumi_okta/resource_set.py @@ -144,7 +144,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> + $ pulumi import okta:index/resourceSet:ResourceSet example ``` :param str resource_name: The name of the resource. @@ -173,7 +173,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/resourceSet:ResourceSet example <resource_set_id> + $ pulumi import okta:index/resourceSet:ResourceSet example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/role_subscription.py b/sdk/python/pulumi_okta/role_subscription.py index 6ca687f8a..3908e7863 100644 --- a/sdk/python/pulumi_okta/role_subscription.py +++ b/sdk/python/pulumi_okta/role_subscription.py @@ -184,7 +184,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> + $ pulumi import okta:index/roleSubscription:RoleSubscription example / ``` :param str resource_name: The name of the resource. @@ -229,7 +229,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/roleSubscription:RoleSubscription example <role_type>/<notification_type> + $ pulumi import okta:index/roleSubscription:RoleSubscription example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/template_sms.py b/sdk/python/pulumi_okta/template_sms.py index 008777490..c11c754a6 100644 --- a/sdk/python/pulumi_okta/template_sms.py +++ b/sdk/python/pulumi_okta/template_sms.py @@ -159,7 +159,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/templateSms:TemplateSms example <template type> + $ pulumi import okta:index/templateSms:TemplateSms example ``` :param str resource_name: The name of the resource. @@ -201,7 +201,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/templateSms:TemplateSms example <template type> + $ pulumi import okta:index/templateSms:TemplateSms example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/theme.py b/sdk/python/pulumi_okta/theme.py index d78100537..e684482cd 100644 --- a/sdk/python/pulumi_okta/theme.py +++ b/sdk/python/pulumi_okta/theme.py @@ -537,7 +537,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/theme:Theme example <brand id>/<theme id> + $ pulumi import okta:index/theme:Theme example / ``` :param str resource_name: The name of the resource. @@ -574,7 +574,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/theme:Theme example <brand id>/<theme id> + $ pulumi import okta:index/theme:Theme example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/trustedorigin/origin.py b/sdk/python/pulumi_okta/trustedorigin/origin.py index 32632a91f..737484553 100644 --- a/sdk/python/pulumi_okta/trustedorigin/origin.py +++ b/sdk/python/pulumi_okta/trustedorigin/origin.py @@ -181,7 +181,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:trustedorigin/origin:Origin example <trusted origin id> + $ pulumi import okta:trustedorigin/origin:Origin example ``` :param str resource_name: The name of the resource. @@ -215,7 +215,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:trustedorigin/origin:Origin example <trusted origin id> + $ pulumi import okta:trustedorigin/origin:Origin example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user/user.py b/sdk/python/pulumi_okta/user/user.py index 6d9c98344..fb049f03e 100644 --- a/sdk/python/pulumi_okta/user/user.py +++ b/sdk/python/pulumi_okta/user/user.py @@ -1487,7 +1487,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:user/user:User example <user id> + $ pulumi import okta:user/user:User example ``` :param str resource_name: The name of the resource. @@ -1594,7 +1594,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:user/user:User example <user id> + $ pulumi import okta:user/user:User example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user/user_type.py b/sdk/python/pulumi_okta/user/user_type.py index a1b339150..c81bb8257 100644 --- a/sdk/python/pulumi_okta/user/user_type.py +++ b/sdk/python/pulumi_okta/user/user_type.py @@ -148,7 +148,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:user/userType:UserType example <user type id> + $ pulumi import okta:user/userType:UserType example ``` :param str resource_name: The name of the resource. @@ -181,7 +181,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:user/userType:UserType example <user type id> + $ pulumi import okta:user/userType:UserType example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user_admin_roles.py b/sdk/python/pulumi_okta/user_admin_roles.py index 255e4faf7..065307563 100644 --- a/sdk/python/pulumi_okta/user_admin_roles.py +++ b/sdk/python/pulumi_okta/user_admin_roles.py @@ -152,7 +152,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user id> + $ pulumi import okta:index/userAdminRoles:UserAdminRoles example ``` :param str resource_name: The name of the resource. @@ -189,7 +189,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userAdminRoles:UserAdminRoles example <user id> + $ pulumi import okta:index/userAdminRoles:UserAdminRoles example ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user_base_schema_property.py b/sdk/python/pulumi_okta/user_base_schema_property.py index 029ef5257..350e8d6da 100644 --- a/sdk/python/pulumi_okta/user_base_schema_property.py +++ b/sdk/python/pulumi_okta/user_base_schema_property.py @@ -325,13 +325,13 @@ def __init__(__self__, ### User schema property of default user type can be imported via the property index. ```sh - $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property name> + $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example ``` ### User schema property of custom user type can be imported via user type id and property index ```sh - $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user type id>.<property name> + $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example . ``` :param str resource_name: The name of the resource. @@ -382,13 +382,13 @@ def __init__(__self__, ### User schema property of default user type can be imported via the property index. ```sh - $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <property name> + $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example ``` ### User schema property of custom user type can be imported via user type id and property index ```sh - $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example <user type id>.<property name> + $ pulumi import okta:index/userBaseSchemaProperty:UserBaseSchemaProperty example . ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user_factor_question.py b/sdk/python/pulumi_okta/user_factor_question.py index c5a4f87c8..09e48b123 100644 --- a/sdk/python/pulumi_okta/user_factor_question.py +++ b/sdk/python/pulumi_okta/user_factor_question.py @@ -189,7 +189,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user id>/<question factor id> + $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example / ``` :param str resource_name: The name of the resource. @@ -232,7 +232,7 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example <user id>/<question factor id> + $ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example / ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_okta/user_schema_property.py b/sdk/python/pulumi_okta/user_schema_property.py index d9b921b79..323926cbf 100644 --- a/sdk/python/pulumi_okta/user_schema_property.py +++ b/sdk/python/pulumi_okta/user_schema_property.py @@ -757,7 +757,11 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user type id>.<index> + $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example + ``` + + ```sh + $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example . ``` :param str resource_name: The name of the resource. @@ -813,7 +817,11 @@ def __init__(__self__, ## Import ```sh - $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user type id>.<index> + $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example + ``` + + ```sh + $ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example . ``` :param str resource_name: The name of the resource. diff --git a/upstream b/upstream index bae5ae00f..d03668754 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit bae5ae00f9eb47159ef6c9884f5f5a54f5e3e90a +Subproject commit d03668754b25b6e77d9c32250f2dc5be802eea21