"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.getBandwidthPackagesOutput = exports.getBandwidthPackages = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of bandwidth packages
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
 *         bandwidthPackageName: "acc-test-bp",
 *         billingType: "PostPaidByBandwidth",
 *         isp: "BGP",
 *         description: "acc-test",
 *         bandwidth: 2,
 *         protocol: "IPv4",
 *         securityProtectionTypes: ["AntiDDoS_Enhanced"],
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooBandwidthPackages = volcengine.bandwidth_package.getBandwidthPackagesOutput({
 *     ids: fooBandwidthPackage.map(__item => __item.id),
 * });
 * ```
 */
function getBandwidthPackages(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:bandwidth_package/getBandwidthPackages:getBandwidthPackages", {
        "bandwidthPackageName": args.bandwidthPackageName,
        "ids": args.ids,
        "isp": args.isp,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "protocol": args.protocol,
        "securityProtectionEnabled": args.securityProtectionEnabled,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.getBandwidthPackages = getBandwidthPackages;
/**
 * Use this data source to query detailed information of bandwidth packages
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
 *         bandwidthPackageName: "acc-test-bp",
 *         billingType: "PostPaidByBandwidth",
 *         isp: "BGP",
 *         description: "acc-test",
 *         bandwidth: 2,
 *         protocol: "IPv4",
 *         securityProtectionTypes: ["AntiDDoS_Enhanced"],
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooBandwidthPackages = volcengine.bandwidth_package.getBandwidthPackagesOutput({
 *     ids: fooBandwidthPackage.map(__item => __item.id),
 * });
 * ```
 */
function getBandwidthPackagesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getBandwidthPackages(a, opts));
}
exports.getBandwidthPackagesOutput = getBandwidthPackagesOutput;
//# sourceMappingURL=getBandwidthPackages.js.map