"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.getPrefixListsOutput = exports.getPrefixLists = 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],
 * });
 * ```
 */
function getPrefixLists(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vpc/getPrefixLists:getPrefixLists", {
        "ids": args.ids,
        "ipVersion": args.ipVersion,
        "outputFile": args.outputFile,
        "prefixListName": args.prefixListName,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.getPrefixLists = getPrefixLists;
/**
 * 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],
 * });
 * ```
 */
function getPrefixListsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getPrefixLists(a, opts));
}
exports.getPrefixListsOutput = getPrefixListsOutput;
//# sourceMappingURL=getPrefixLists.js.map