"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.getShapesOutput = exports.getShapes = exports.getDefaultConfigurationsOutput = exports.getDefaultConfigurations = exports.getDefaultConfigurationOutput = exports.getDefaultConfiguration = exports.getDbSystemsOutput = exports.getDbSystems = exports.getDbSystemPrimaryDbInstanceOutput = exports.getDbSystemPrimaryDbInstance = exports.getDbSystemConnectionDetailOutput = exports.getDbSystemConnectionDetail = exports.getDbSystemOutput = exports.getDbSystem = exports.getConfigurationsOutput = exports.getConfigurations = exports.getConfigurationOutput = exports.getConfiguration = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.DbSystem = exports.Configuration = exports.Backup = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Backup = null;
utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
exports.Configuration = null;
utilities.lazyLoad(exports, ["Configuration"], () => require("./configuration"));
exports.DbSystem = null;
utilities.lazyLoad(exports, ["DbSystem"], () => require("./dbSystem"));
exports.getBackup = null;
exports.getBackupOutput = null;
utilities.lazyLoad(exports, ["getBackup", "getBackupOutput"], () => require("./getBackup"));
exports.getBackups = null;
exports.getBackupsOutput = null;
utilities.lazyLoad(exports, ["getBackups", "getBackupsOutput"], () => require("./getBackups"));
exports.getConfiguration = null;
exports.getConfigurationOutput = null;
utilities.lazyLoad(exports, ["getConfiguration", "getConfigurationOutput"], () => require("./getConfiguration"));
exports.getConfigurations = null;
exports.getConfigurationsOutput = null;
utilities.lazyLoad(exports, ["getConfigurations", "getConfigurationsOutput"], () => require("./getConfigurations"));
exports.getDbSystem = null;
exports.getDbSystemOutput = null;
utilities.lazyLoad(exports, ["getDbSystem", "getDbSystemOutput"], () => require("./getDbSystem"));
exports.getDbSystemConnectionDetail = null;
exports.getDbSystemConnectionDetailOutput = null;
utilities.lazyLoad(exports, ["getDbSystemConnectionDetail", "getDbSystemConnectionDetailOutput"], () => require("./getDbSystemConnectionDetail"));
exports.getDbSystemPrimaryDbInstance = null;
exports.getDbSystemPrimaryDbInstanceOutput = null;
utilities.lazyLoad(exports, ["getDbSystemPrimaryDbInstance", "getDbSystemPrimaryDbInstanceOutput"], () => require("./getDbSystemPrimaryDbInstance"));
exports.getDbSystems = null;
exports.getDbSystemsOutput = null;
utilities.lazyLoad(exports, ["getDbSystems", "getDbSystemsOutput"], () => require("./getDbSystems"));
exports.getDefaultConfiguration = null;
exports.getDefaultConfigurationOutput = null;
utilities.lazyLoad(exports, ["getDefaultConfiguration", "getDefaultConfigurationOutput"], () => require("./getDefaultConfiguration"));
exports.getDefaultConfigurations = null;
exports.getDefaultConfigurationsOutput = null;
utilities.lazyLoad(exports, ["getDefaultConfigurations", "getDefaultConfigurationsOutput"], () => require("./getDefaultConfigurations"));
exports.getShapes = null;
exports.getShapesOutput = null;
utilities.lazyLoad(exports, ["getShapes", "getShapesOutput"], () => require("./getShapes"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "oci:Psql/backup:Backup":
                return new exports.Backup(name, undefined, { urn });
            case "oci:Psql/configuration:Configuration":
                return new exports.Configuration(name, undefined, { urn });
            case "oci:Psql/dbSystem:DbSystem":
                return new exports.DbSystem(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("oci", "Psql/backup", _module);
pulumi.runtime.registerResourceModule("oci", "Psql/configuration", _module);
pulumi.runtime.registerResourceModule("oci", "Psql/dbSystem", _module);
//# sourceMappingURL=index.js.map