"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DomainsUser = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
/**
 * This resource provides the User resource in Oracle Cloud Infrastructure Identity Domains service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/identity-domains/latest/User
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity_domains
 *
 * Create a user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testUser = new oci.identity.DomainsUser("test_user", {
 *     idcsEndpoint: testDomain.url,
 *     schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"],
 *     userName: "userName",
 *     active: userActive === "true",
 *     addresses: [{
 *         type: userAddressesType,
 *         country: userAddressesCountry,
 *         formatted: userAddressesFormatted,
 *         locality: userAddressesLocality,
 *         postalCode: userAddressesPostalCode,
 *         primary: userAddressesPrimary === "true",
 *         region: userAddressesRegion,
 *         streetAddress: userAddressesStreetAddress,
 *     }],
 *     attributeSets: [],
 *     attributes: "",
 *     authorization: userAuthorization,
 *     description: userDescription,
 *     displayName: userDisplayName,
 *     emails: [
 *         {
 *             type: userEmailsType,
 *             value: userEmailsValue,
 *             primary: true,
 *             secondary: userEmailsSecondary === "true",
 *             verified: userEmailsVerified === "true",
 *         },
 *         {
 *             type: "recovery",
 *             value: userEmailsValue,
 *         },
 *     ],
 *     entitlements: [{
 *         type: userEntitlementsType,
 *         value: userEntitlementsValue,
 *         display: userEntitlementsDisplay,
 *         primary: userEntitlementsPrimary === "true",
 *     }],
 *     externalId: "externalId",
 *     forceDelete: userForceDelete === "true",
 *     id: userId,
 *     ims: [{
 *         type: userImsType,
 *         value: userImsValue,
 *         display: userImsDisplay,
 *         primary: userImsPrimary === "true",
 *     }],
 *     locale: userLocale,
 *     name: {
 *         familyName: userNameFamilyName,
 *         formatted: userNameFormatted,
 *         givenName: userNameGivenName,
 *         honorificPrefix: userNameHonorificPrefix,
 *         honorificSuffix: userNameHonorificSuffix,
 *         middleName: userNameMiddleName,
 *     },
 *     nickName: userNickName,
 *     ocid: userOcid,
 *     password: userPassword,
 *     phoneNumbers: [{
 *         type: userPhoneNumbersType,
 *         value: userPhoneNumbersValue,
 *         primary: userPhoneNumbersPrimary === "true",
 *     }],
 *     photos: [{
 *         type: userPhotosType,
 *         value: userPhotosValue,
 *         display: userPhotosDisplay,
 *         primary: userPhotosPrimary === "true",
 *     }],
 *     preferredLanguage: userPreferredLanguage,
 *     profileUrl: userProfileUrl,
 *     resourceTypeSchemaVersion: userResourceTypeSchemaVersion,
 *     roles: [{
 *         type: userRolesType,
 *         value: userRolesValue,
 *         display: userRolesDisplay,
 *         primary: userRolesPrimary === "true",
 *     }],
 *     tags: [{
 *         key: userTagsKey,
 *         value: userTagsValue,
 *     }],
 *     timezone: userTimezone,
 *     title: userTitle,
 *     urnietfparamsscimschemasextensionenterprise20user: {
 *         costCenter: userUrnietfparamsscimschemasextensionenterprise20userCostCenter,
 *         department: userUrnietfparamsscimschemasextensionenterprise20userDepartment,
 *         division: userUrnietfparamsscimschemasextensionenterprise20userDivision,
 *         employeeNumber: userUrnietfparamsscimschemasextensionenterprise20userEmployeeNumber,
 *         manager: {
 *             value: userUrnietfparamsscimschemasextensionenterprise20userManagerValue,
 *         },
 *         organization: userUrnietfparamsscimschemasextensionenterprise20userOrganization,
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionOciTags: {
 *         definedTags: [{
 *             key: userUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagsKey,
 *             namespace: userUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagsNamespace,
 *             value: userUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagsValue,
 *         }],
 *         freeformTags: [{
 *             key: userUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagsKey,
 *             value: userUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagsValue,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionadaptiveUser: {
 *         riskLevel: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskLevel,
 *         riskScores: [{
 *             lastUpdateTimestamp: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresLastUpdateTimestamp,
 *             riskLevel: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresRiskLevel,
 *             score: Number(userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresScore),
 *             value: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresValue,
 *             source: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresSource,
 *             status: userUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoresStatus,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser: {
 *         canUseApiKeys: true,
 *         canUseAuthTokens: true,
 *         canUseConsolePassword: true,
 *         canUseCustomerSecretKeys: true,
 *         canUseDbCredentials: true,
 *         canUseOauth2clientCredentials: true,
 *         canUseSmtpCredentials: true,
 *     },
 *     urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser: {
 *         dbUserName: "dbUserName",
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionkerberosUserUser: {
 *         realmUsers: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUsersValue,
 *             principalName: userUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUsersPrincipalName,
 *             realmName: userUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUsersRealmName,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionmfaUser: {
 *         bypassCodes: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodesValue,
 *         }],
 *         devices: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesValue,
 *             authenticationMethod: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesAuthenticationMethod,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesDisplay,
 *             factorStatus: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesFactorStatus,
 *             factorType: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesFactorType,
 *             lastSyncTime: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesLastSyncTime,
 *             status: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesStatus,
 *             thirdPartyVendorName: userUrnietfparamsscimschemasoracleidcsextensionmfaUserDevicesThirdPartyVendorName,
 *         }],
 *         loginAttempts: Number(userUrnietfparamsscimschemasoracleidcsextensionmfaUserLoginAttempts),
 *         mfaEnabledOn: userUrnietfparamsscimschemasoracleidcsextensionmfaUserMfaEnabledOn,
 *         mfaIgnoredApps: userUrnietfparamsscimschemasoracleidcsextensionmfaUserMfaIgnoredApps,
 *         mfaStatus: userUrnietfparamsscimschemasoracleidcsextensionmfaUserMfaStatus,
 *         preferredAuthenticationFactor: userUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredAuthenticationFactor,
 *         preferredAuthenticationMethod: userUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredAuthenticationMethod,
 *         preferredDevice: {
 *             value: userUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceDisplay,
 *         },
 *         preferredThirdPartyVendor: userUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredThirdPartyVendor,
 *         trustedUserAgents: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentsValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentsDisplay,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionpasswordlessUser: {
 *         factorIdentifier: {
 *             value: userUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierDisplay,
 *         },
 *         factorMethod: userUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorMethod,
 *         factorType: userUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorType,
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionposixUser: {
 *         gecos: userUrnietfparamsscimschemasoracleidcsextensionposixUserGecos,
 *         gidNumber: Number(userUrnietfparamsscimschemasoracleidcsextensionposixUserGidNumber),
 *         homeDirectory: userUrnietfparamsscimschemasoracleidcsextensionposixUserHomeDirectory,
 *         loginShell: userUrnietfparamsscimschemasoracleidcsextensionposixUserLoginShell,
 *         uidNumber: Number(userUrnietfparamsscimschemasoracleidcsextensionposixUserUidNumber),
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser: {
 *         secQuestions: [{
 *             answer: userUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionsAnswer,
 *             value: userUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionsValue,
 *             hintText: userUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionsHintText,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionselfChangeUser: {
 *         allowSelfChange: userUrnietfparamsscimschemasoracleidcsextensionselfChangeUserAllowSelfChange === "true",
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser: {
 *         selfRegistrationProfile: {
 *             value: userUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileDisplay,
 *         },
 *         consentGranted: userUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserConsentGranted === "true",
 *         userToken: userUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserUserToken,
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionsffUser: {
 *         sffAuthKeys: userUrnietfparamsscimschemasoracleidcsextensionsffUserSffAuthKeys,
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionsocialAccountUser: {
 *         socialAccounts: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountsValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountsDisplay,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser: {
 *         termsOfUseConsents: [{
 *             value: userUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentsValue,
 *         }],
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionuserStateUser: {
 *         locked: {
 *             expired: userUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedExpired === "true",
 *             lockDate: userUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedLockDate,
 *             on: userUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedOn === "true",
 *             reason: Number(userUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedReason),
 *         },
 *         maxConcurrentSessions: Number(userUrnietfparamsscimschemasoracleidcsextensionuserStateUserMaxConcurrentSessions),
 *         recoveryLocked: {
 *             lockDate: userUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedLockDate,
 *             on: userUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedOn === "true",
 *         },
 *     },
 *     urnietfparamsscimschemasoracleidcsextensionuserUser: {
 *         userProvider: userUrnietfparamsscimschemasoracleidcsextensionuserUserUserProvider,
 *         accountRecoveryRequired: userUrnietfparamsscimschemasoracleidcsextensionuserUserAccountRecoveryRequired === "true",
 *         bypassNotification: userUrnietfparamsscimschemasoracleidcsextensionuserUserBypassNotification === "true",
 *         creationMechanism: userUrnietfparamsscimschemasoracleidcsextensionuserUserCreationMechanism,
 *         delegatedAuthenticationTargetApp: {
 *             type: userUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppType,
 *             value: userUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppDisplay,
 *         },
 *         doNotShowGettingStarted: userUrnietfparamsscimschemasoracleidcsextensionuserUserDoNotShowGettingStarted === "true",
 *         isAuthenticationDelegated: userUrnietfparamsscimschemasoracleidcsextensionuserUserIsAuthenticationDelegated === "true",
 *         isFederatedUser: userUrnietfparamsscimschemasoracleidcsextensionuserUserIsFederatedUser === "true",
 *         isGroupMembershipNormalized: userUrnietfparamsscimschemasoracleidcsextensionuserUserIsGroupMembershipNormalized === "true",
 *         isGroupMembershipSyncedToUsersGroups: userUrnietfparamsscimschemasoracleidcsextensionuserUserIsGroupMembershipSyncedToUsersGroups === "true",
 *         notificationEmailTemplateId: testNotificationEmailTemplate.id,
 *         preferredUiLandingPage: userUrnIetfParamsScimSchemasOracleIdcsExtensionUserUserPreferredUiLandingPage,
 *         serviceUser: userUrnIetfParamsScimSchemasOracleIdcsExtensionUserUserServiceUser === "true",
 *         syncedFromApp: {
 *             type: userUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppType,
 *             value: userUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppValue,
 *             display: userUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppDisplay,
 *         },
 *         userFlowControlledByExternalClient: userUrnietfparamsscimschemasoracleidcsextensionuserUserUserFlowControlledByExternalClient === "true",
 *     },
 *     userType: userUserType,
 *     x509certificates: [{
 *         value: userX509certificatesValue,
 *         display: userX509certificatesDisplay,
 *         primary: userX509certificatesPrimary === "true",
 *         type: userX509certificatesType,
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * Users can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Identity/domainsUser:DomainsUser test_user "idcsEndpoint/{idcsEndpoint}/users/{userId}"
 * ```
 */
class DomainsUser extends pulumi.CustomResource {
    /**
     * Get an existing DomainsUser 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.
     */
    static get(name, id, state, opts) {
        return new DomainsUser(name, state, { ...opts, id: id });
    }
    /** @internal */
    static __pulumiType = 'oci:Identity/domainsUser:DomainsUser';
    /**
     * Returns true if the given object is an instance of DomainsUser.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj) {
        if (obj === undefined || obj === null) {
            return false;
        }
        return obj['__pulumiType'] === DomainsUser.__pulumiType;
    }
    constructor(name, argsOrState, opts) {
        let resourceInputs = {};
        opts = opts || {};
        if (opts.id) {
            const state = argsOrState;
            resourceInputs["active"] = state?.active;
            resourceInputs["addresses"] = state?.addresses;
            resourceInputs["attributeSets"] = state?.attributeSets;
            resourceInputs["attributes"] = state?.attributes;
            resourceInputs["authorization"] = state?.authorization;
            resourceInputs["compartmentOcid"] = state?.compartmentOcid;
            resourceInputs["deleteInProgress"] = state?.deleteInProgress;
            resourceInputs["description"] = state?.description;
            resourceInputs["displayName"] = state?.displayName;
            resourceInputs["domainOcid"] = state?.domainOcid;
            resourceInputs["emails"] = state?.emails;
            resourceInputs["entitlements"] = state?.entitlements;
            resourceInputs["externalId"] = state?.externalId;
            resourceInputs["forceDelete"] = state?.forceDelete;
            resourceInputs["groups"] = state?.groups;
            resourceInputs["idcsCreatedBies"] = state?.idcsCreatedBies;
            resourceInputs["idcsEndpoint"] = state?.idcsEndpoint;
            resourceInputs["idcsLastModifiedBies"] = state?.idcsLastModifiedBies;
            resourceInputs["idcsLastUpgradedInRelease"] = state?.idcsLastUpgradedInRelease;
            resourceInputs["idcsPreventedOperations"] = state?.idcsPreventedOperations;
            resourceInputs["ims"] = state?.ims;
            resourceInputs["locale"] = state?.locale;
            resourceInputs["metas"] = state?.metas;
            resourceInputs["name"] = state?.name;
            resourceInputs["nickName"] = state?.nickName;
            resourceInputs["ocid"] = state?.ocid;
            resourceInputs["password"] = state?.password;
            resourceInputs["phoneNumbers"] = state?.phoneNumbers;
            resourceInputs["photos"] = state?.photos;
            resourceInputs["preferredLanguage"] = state?.preferredLanguage;
            resourceInputs["profileUrl"] = state?.profileUrl;
            resourceInputs["resourceTypeSchemaVersion"] = state?.resourceTypeSchemaVersion;
            resourceInputs["roles"] = state?.roles;
            resourceInputs["schemas"] = state?.schemas;
            resourceInputs["tags"] = state?.tags;
            resourceInputs["tenancyOcid"] = state?.tenancyOcid;
            resourceInputs["timezone"] = state?.timezone;
            resourceInputs["title"] = state?.title;
            resourceInputs["urnietfparamsscimschemasextensionenterprise20user"] = state?.urnietfparamsscimschemasextensionenterprise20user;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionOciTags"] = state?.urnietfparamsscimschemasoracleidcsextensionOciTags;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionadaptiveUser"] = state?.urnietfparamsscimschemasoracleidcsextensionadaptiveUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser"] = state?.urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser"] = state?.urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiondbUserUsers"] = state?.urnietfparamsscimschemasoracleidcsextensiondbUserUsers;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionkerberosUserUser"] = state?.urnietfparamsscimschemasoracleidcsextensionkerberosUserUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionmfaUser"] = state?.urnietfparamsscimschemasoracleidcsextensionmfaUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers"] = state?.urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionpasswordlessUser"] = state?.urnietfparamsscimschemasoracleidcsextensionpasswordlessUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionposixUser"] = state?.urnietfparamsscimschemasoracleidcsextensionposixUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser"] = state?.urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionselfChangeUser"] = state?.urnietfparamsscimschemasoracleidcsextensionselfChangeUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser"] = state?.urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsffUser"] = state?.urnietfparamsscimschemasoracleidcsextensionsffUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsocialAccountUser"] = state?.urnietfparamsscimschemasoracleidcsextensionsocialAccountUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser"] = state?.urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers"] = state?.urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserStateUser"] = state?.urnietfparamsscimschemasoracleidcsextensionuserStateUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserUser"] = state?.urnietfparamsscimschemasoracleidcsextensionuserUser;
            resourceInputs["userName"] = state?.userName;
            resourceInputs["userType"] = state?.userType;
            resourceInputs["x509certificates"] = state?.x509certificates;
        }
        else {
            const args = argsOrState;
            if (args?.idcsEndpoint === undefined && !opts.urn) {
                throw new Error("Missing required property 'idcsEndpoint'");
            }
            if (args?.schemas === undefined && !opts.urn) {
                throw new Error("Missing required property 'schemas'");
            }
            if (args?.userName === undefined && !opts.urn) {
                throw new Error("Missing required property 'userName'");
            }
            resourceInputs["active"] = args?.active;
            resourceInputs["addresses"] = args?.addresses;
            resourceInputs["attributeSets"] = args?.attributeSets;
            resourceInputs["attributes"] = args?.attributes;
            resourceInputs["authorization"] = args?.authorization;
            resourceInputs["description"] = args?.description;
            resourceInputs["displayName"] = args?.displayName;
            resourceInputs["emails"] = args?.emails;
            resourceInputs["entitlements"] = args?.entitlements;
            resourceInputs["externalId"] = args?.externalId;
            resourceInputs["forceDelete"] = args?.forceDelete;
            resourceInputs["idcsEndpoint"] = args?.idcsEndpoint;
            resourceInputs["ims"] = args?.ims;
            resourceInputs["locale"] = args?.locale;
            resourceInputs["name"] = args?.name;
            resourceInputs["nickName"] = args?.nickName;
            resourceInputs["ocid"] = args?.ocid;
            resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
            resourceInputs["phoneNumbers"] = args?.phoneNumbers;
            resourceInputs["photos"] = args?.photos;
            resourceInputs["preferredLanguage"] = args?.preferredLanguage;
            resourceInputs["profileUrl"] = args?.profileUrl;
            resourceInputs["resourceTypeSchemaVersion"] = args?.resourceTypeSchemaVersion;
            resourceInputs["roles"] = args?.roles;
            resourceInputs["schemas"] = args?.schemas;
            resourceInputs["tags"] = args?.tags;
            resourceInputs["timezone"] = args?.timezone;
            resourceInputs["title"] = args?.title;
            resourceInputs["urnietfparamsscimschemasextensionenterprise20user"] = args?.urnietfparamsscimschemasextensionenterprise20user;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionOciTags"] = args?.urnietfparamsscimschemasoracleidcsextensionOciTags;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionadaptiveUser"] = args?.urnietfparamsscimschemasoracleidcsextensionadaptiveUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser"] = args?.urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser"] = args?.urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionkerberosUserUser"] = args?.urnietfparamsscimschemasoracleidcsextensionkerberosUserUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionmfaUser"] = args?.urnietfparamsscimschemasoracleidcsextensionmfaUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionpasswordlessUser"] = args?.urnietfparamsscimschemasoracleidcsextensionpasswordlessUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionposixUser"] = args?.urnietfparamsscimschemasoracleidcsextensionposixUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser"] = args?.urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionselfChangeUser"] = args?.urnietfparamsscimschemasoracleidcsextensionselfChangeUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser"] = args?.urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsffUser"] = args?.urnietfparamsscimschemasoracleidcsextensionsffUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionsocialAccountUser"] = args?.urnietfparamsscimschemasoracleidcsextensionsocialAccountUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser"] = args?.urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserStateUser"] = args?.urnietfparamsscimschemasoracleidcsextensionuserStateUser;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserUser"] = args?.urnietfparamsscimschemasoracleidcsextensionuserUser;
            resourceInputs["userName"] = args?.userName;
            resourceInputs["userType"] = args?.userType;
            resourceInputs["x509certificates"] = args?.x509certificates;
            resourceInputs["compartmentOcid"] = undefined /*out*/;
            resourceInputs["deleteInProgress"] = undefined /*out*/;
            resourceInputs["domainOcid"] = undefined /*out*/;
            resourceInputs["groups"] = undefined /*out*/;
            resourceInputs["idcsCreatedBies"] = undefined /*out*/;
            resourceInputs["idcsLastModifiedBies"] = undefined /*out*/;
            resourceInputs["idcsLastUpgradedInRelease"] = undefined /*out*/;
            resourceInputs["idcsPreventedOperations"] = undefined /*out*/;
            resourceInputs["metas"] = undefined /*out*/;
            resourceInputs["tenancyOcid"] = undefined /*out*/;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensiondbUserUsers"] = undefined /*out*/;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers"] = undefined /*out*/;
            resourceInputs["urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const secretOpts = { additionalSecretOutputs: ["password"] };
        opts = pulumi.mergeOptions(opts, secretOpts);
        super(DomainsUser.__pulumiType, name, resourceInputs, opts);
    }
}
exports.DomainsUser = DomainsUser;
//# sourceMappingURL=domainsUser.js.map