"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.RecoveryServiceSubnet = exports.ProtectionPolicy = exports.ProtectedDatabase = exports.getRecoveryServiceSubnetsOutput = exports.getRecoveryServiceSubnets = exports.getRecoveryServiceSubnetOutput = exports.getRecoveryServiceSubnet = exports.getProtectionPolicyOutput = exports.getProtectionPolicy = exports.getProtectionPoliciesOutput = exports.getProtectionPolicies = exports.getProtectedDatabasesOutput = exports.getProtectedDatabases = exports.getProtectedDatabaseFetchConfigurationOutput = exports.getProtectedDatabaseFetchConfiguration = exports.getProtectedDatabaseOutput = exports.getProtectedDatabase = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.getProtectedDatabase = null;
exports.getProtectedDatabaseOutput = null;
utilities.lazyLoad(exports, ["getProtectedDatabase", "getProtectedDatabaseOutput"], () => require("./getProtectedDatabase"));
exports.getProtectedDatabaseFetchConfiguration = null;
exports.getProtectedDatabaseFetchConfigurationOutput = null;
utilities.lazyLoad(exports, ["getProtectedDatabaseFetchConfiguration", "getProtectedDatabaseFetchConfigurationOutput"], () => require("./getProtectedDatabaseFetchConfiguration"));
exports.getProtectedDatabases = null;
exports.getProtectedDatabasesOutput = null;
utilities.lazyLoad(exports, ["getProtectedDatabases", "getProtectedDatabasesOutput"], () => require("./getProtectedDatabases"));
exports.getProtectionPolicies = null;
exports.getProtectionPoliciesOutput = null;
utilities.lazyLoad(exports, ["getProtectionPolicies", "getProtectionPoliciesOutput"], () => require("./getProtectionPolicies"));
exports.getProtectionPolicy = null;
exports.getProtectionPolicyOutput = null;
utilities.lazyLoad(exports, ["getProtectionPolicy", "getProtectionPolicyOutput"], () => require("./getProtectionPolicy"));
exports.getRecoveryServiceSubnet = null;
exports.getRecoveryServiceSubnetOutput = null;
utilities.lazyLoad(exports, ["getRecoveryServiceSubnet", "getRecoveryServiceSubnetOutput"], () => require("./getRecoveryServiceSubnet"));
exports.getRecoveryServiceSubnets = null;
exports.getRecoveryServiceSubnetsOutput = null;
utilities.lazyLoad(exports, ["getRecoveryServiceSubnets", "getRecoveryServiceSubnetsOutput"], () => require("./getRecoveryServiceSubnets"));
exports.ProtectedDatabase = null;
utilities.lazyLoad(exports, ["ProtectedDatabase"], () => require("./protectedDatabase"));
exports.ProtectionPolicy = null;
utilities.lazyLoad(exports, ["ProtectionPolicy"], () => require("./protectionPolicy"));
exports.RecoveryServiceSubnet = null;
utilities.lazyLoad(exports, ["RecoveryServiceSubnet"], () => require("./recoveryServiceSubnet"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "oci:RecoveryMod/protectedDatabase:ProtectedDatabase":
                return new exports.ProtectedDatabase(name, undefined, { urn });
            case "oci:RecoveryMod/protectionPolicy:ProtectionPolicy":
                return new exports.ProtectionPolicy(name, undefined, { urn });
            case "oci:RecoveryMod/recoveryServiceSubnet:RecoveryServiceSubnet":
                return new exports.RecoveryServiceSubnet(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("oci", "RecoveryMod/protectedDatabase", _module);
pulumi.runtime.registerResourceModule("oci", "RecoveryMod/protectionPolicy", _module);
pulumi.runtime.registerResourceModule("oci", "RecoveryMod/recoveryServiceSubnet", _module);
//# sourceMappingURL=index.js.map