"use strict";
// *** 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! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.mongoAllowListsOutput = exports.mongoAllowLists = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of mongodb allow lists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooMongoAllowList = new volcengine.mongodb.MongoAllowList("fooMongoAllowList", {
 *     allowListName: "acc-test",
 *     allowListDesc: "acc-test",
 *     allowListType: "IPv4",
 *     allowList: "10.1.1.3,10.2.3.0/24,10.1.1.1",
 * });
 * const fooMongoAllowLists = volcengine.mongodb.getMongoAllowListsOutput({
 *     allowListIds: [fooMongoAllowList.id],
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.mongodb.MongoAllowLists has been deprecated in favor of volcengine.mongodb.getMongoAllowLists */
function mongoAllowLists(args, opts) {
    pulumi.log.warn("mongoAllowLists is deprecated: volcengine.mongodb.MongoAllowLists has been deprecated in favor of volcengine.mongodb.getMongoAllowLists");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:mongodb/mongoAllowLists:MongoAllowLists", {
        "allowListIds": args.allowListIds,
        "instanceId": args.instanceId,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "regionId": args.regionId,
    }, opts);
}
exports.mongoAllowLists = mongoAllowLists;
/**
 * Use this data source to query detailed information of mongodb allow lists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooMongoAllowList = new volcengine.mongodb.MongoAllowList("fooMongoAllowList", {
 *     allowListName: "acc-test",
 *     allowListDesc: "acc-test",
 *     allowListType: "IPv4",
 *     allowList: "10.1.1.3,10.2.3.0/24,10.1.1.1",
 * });
 * const fooMongoAllowLists = volcengine.mongodb.getMongoAllowListsOutput({
 *     allowListIds: [fooMongoAllowList.id],
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.mongodb.MongoAllowLists has been deprecated in favor of volcengine.mongodb.getMongoAllowLists */
function mongoAllowListsOutput(args, opts) {
    return pulumi.output(args).apply((a) => mongoAllowLists(a, opts));
}
exports.mongoAllowListsOutput = mongoAllowListsOutput;
//# sourceMappingURL=mongoAllowLists.js.map