"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.Queue = exports.getQueuesOutput = exports.getQueues = exports.getQueueOutput = exports.getQueue = exports.getConsumerGroupsOutput = exports.getConsumerGroups = exports.getConsumerGroupOutput = exports.getConsumerGroup = exports.ConsumerGroup = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.ConsumerGroup = null;
utilities.lazyLoad(exports, ["ConsumerGroup"], () => require("./consumerGroup"));
exports.getConsumerGroup = null;
exports.getConsumerGroupOutput = null;
utilities.lazyLoad(exports, ["getConsumerGroup", "getConsumerGroupOutput"], () => require("./getConsumerGroup"));
exports.getConsumerGroups = null;
exports.getConsumerGroupsOutput = null;
utilities.lazyLoad(exports, ["getConsumerGroups", "getConsumerGroupsOutput"], () => require("./getConsumerGroups"));
exports.getQueue = null;
exports.getQueueOutput = null;
utilities.lazyLoad(exports, ["getQueue", "getQueueOutput"], () => require("./getQueue"));
exports.getQueues = null;
exports.getQueuesOutput = null;
utilities.lazyLoad(exports, ["getQueues", "getQueuesOutput"], () => require("./getQueues"));
exports.Queue = null;
utilities.lazyLoad(exports, ["Queue"], () => require("./queue"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "oci:Queue/consumerGroup:ConsumerGroup":
                return new exports.ConsumerGroup(name, undefined, { urn });
            case "oci:Queue/queue:Queue":
                return new exports.Queue(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("oci", "Queue/consumerGroup", _module);
pulumi.runtime.registerResourceModule("oci", "Queue/queue", _module);
//# sourceMappingURL=index.js.map