"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.interRegionBandwidthsOutput = exports.interRegionBandwidths = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of cen inter region bandwidths
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooCen = new volcengine.cen.Cen("fooCen", {
 *     cenName: "acc-test-cen",
 *     description: "acc-test",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooBandwidthPackage = new volcengine.cen.BandwidthPackage("fooBandwidthPackage", {
 *     localGeographicRegionSetId: "China",
 *     peerGeographicRegionSetId: "China",
 *     bandwidth: 5,
 *     cenBandwidthPackageName: "acc-test-cen-bp",
 *     description: "acc-test",
 *     billingType: "PrePaid",
 *     periodUnit: "Month",
 *     period: 1,
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooBandwidthPackageAssociate = new volcengine.cen.BandwidthPackageAssociate("fooBandwidthPackageAssociate", {
 *     cenBandwidthPackageId: fooBandwidthPackage.id,
 *     cenId: fooCen.id,
 * });
 * const fooInterRegionBandwidth = new volcengine.cen.InterRegionBandwidth("fooInterRegionBandwidth", {
 *     cenId: fooCen.id,
 *     localRegionId: "cn-beijing",
 *     peerRegionId: "cn-shanghai",
 *     bandwidth: 2,
 * }, {
 *     dependsOn: [fooBandwidthPackageAssociate],
 * });
 * const fooInterRegionBandwidths = volcengine.cen.getInterRegionBandwidthsOutput({
 *     ids: [fooInterRegionBandwidth.id],
 * });
 * ```
 */
/** @deprecated volcengine.cen.InterRegionBandwidths has been deprecated in favor of volcengine.cen.getInterRegionBandwidths */
function interRegionBandwidths(args, opts) {
    pulumi.log.warn("interRegionBandwidths is deprecated: volcengine.cen.InterRegionBandwidths has been deprecated in favor of volcengine.cen.getInterRegionBandwidths");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cen/interRegionBandwidths:InterRegionBandwidths", {
        "cenId": args.cenId,
        "ids": args.ids,
        "outputFile": args.outputFile,
    }, opts);
}
exports.interRegionBandwidths = interRegionBandwidths;
/**
 * Use this data source to query detailed information of cen inter region bandwidths
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooCen = new volcengine.cen.Cen("fooCen", {
 *     cenName: "acc-test-cen",
 *     description: "acc-test",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooBandwidthPackage = new volcengine.cen.BandwidthPackage("fooBandwidthPackage", {
 *     localGeographicRegionSetId: "China",
 *     peerGeographicRegionSetId: "China",
 *     bandwidth: 5,
 *     cenBandwidthPackageName: "acc-test-cen-bp",
 *     description: "acc-test",
 *     billingType: "PrePaid",
 *     periodUnit: "Month",
 *     period: 1,
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooBandwidthPackageAssociate = new volcengine.cen.BandwidthPackageAssociate("fooBandwidthPackageAssociate", {
 *     cenBandwidthPackageId: fooBandwidthPackage.id,
 *     cenId: fooCen.id,
 * });
 * const fooInterRegionBandwidth = new volcengine.cen.InterRegionBandwidth("fooInterRegionBandwidth", {
 *     cenId: fooCen.id,
 *     localRegionId: "cn-beijing",
 *     peerRegionId: "cn-shanghai",
 *     bandwidth: 2,
 * }, {
 *     dependsOn: [fooBandwidthPackageAssociate],
 * });
 * const fooInterRegionBandwidths = volcengine.cen.getInterRegionBandwidthsOutput({
 *     ids: [fooInterRegionBandwidth.id],
 * });
 * ```
 */
/** @deprecated volcengine.cen.InterRegionBandwidths has been deprecated in favor of volcengine.cen.getInterRegionBandwidths */
function interRegionBandwidthsOutput(args, opts) {
    return pulumi.output(args).apply((a) => interRegionBandwidths(a, opts));
}
exports.interRegionBandwidthsOutput = interRegionBandwidthsOutput;
//# sourceMappingURL=interRegionBandwidths.js.map