"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.prefixListsOutput = exports.prefixLists = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vpc prefix lists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
 *     prefixListName: "acc-test-prefix",
 *     maxEntries: 3,
 *     description: "acc test description",
 *     ipVersion: "IPv4",
 *     prefixListEntries: [
 *         {
 *             cidr: "192.168.4.0/28",
 *             description: "acc-test-1",
 *         },
 *         {
 *             cidr: "192.168.5.0/28",
 *             description: "acc-test-2",
 *         },
 *     ],
 *     tags: [{
 *         key: "tf-key1",
 *         value: "tf-value1",
 *     }],
 * });
 * const fooPrefixLists = volcengine.vpc.getPrefixListsOutput({
 *     ids: [fooPrefixList.id],
 * });
 * ```
 */
/** @deprecated volcengine.vpc.PrefixLists has been deprecated in favor of volcengine.vpc.getPrefixLists */
function prefixLists(args, opts) {
    pulumi.log.warn("prefixLists is deprecated: volcengine.vpc.PrefixLists has been deprecated in favor of volcengine.vpc.getPrefixLists");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vpc/prefixLists:PrefixLists", {
        "ids": args.ids,
        "ipVersion": args.ipVersion,
        "outputFile": args.outputFile,
        "prefixListName": args.prefixListName,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.prefixLists = prefixLists;
/**
 * Use this data source to query detailed information of vpc prefix lists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooPrefixList = new volcengine.vpc.PrefixList("fooPrefixList", {
 *     prefixListName: "acc-test-prefix",
 *     maxEntries: 3,
 *     description: "acc test description",
 *     ipVersion: "IPv4",
 *     prefixListEntries: [
 *         {
 *             cidr: "192.168.4.0/28",
 *             description: "acc-test-1",
 *         },
 *         {
 *             cidr: "192.168.5.0/28",
 *             description: "acc-test-2",
 *         },
 *     ],
 *     tags: [{
 *         key: "tf-key1",
 *         value: "tf-value1",
 *     }],
 * });
 * const fooPrefixLists = volcengine.vpc.getPrefixListsOutput({
 *     ids: [fooPrefixList.id],
 * });
 * ```
 */
/** @deprecated volcengine.vpc.PrefixLists has been deprecated in favor of volcengine.vpc.getPrefixLists */
function prefixListsOutput(args, opts) {
    return pulumi.output(args).apply((a) => prefixLists(a, opts));
}
exports.prefixListsOutput = prefixListsOutput;
//# sourceMappingURL=prefixLists.js.map