"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.getTransitRoutersOutput = exports.getTransitRouters = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of transit routers
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.transit_router.TransitRouter("foo", {
 *     transitRouterName: "test-tf-acc",
 *     description: "test-tf-acc",
 * });
 * const default = volcengine.transit_router.getTransitRoutersOutput({
 *     ids: [foo.id],
 *     transitRouterName: "test",
 * });
 * ```
 */
function getTransitRouters(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:transit_router/getTransitRouters:getTransitRouters", {
        "ids": args.ids,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "tags": args.tags,
        "transitRouterName": args.transitRouterName,
    }, opts);
}
exports.getTransitRouters = getTransitRouters;
/**
 * Use this data source to query detailed information of transit routers
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.transit_router.TransitRouter("foo", {
 *     transitRouterName: "test-tf-acc",
 *     description: "test-tf-acc",
 * });
 * const default = volcengine.transit_router.getTransitRoutersOutput({
 *     ids: [foo.id],
 *     transitRouterName: "test",
 * });
 * ```
 */
function getTransitRoutersOutput(args, opts) {
    return pulumi.output(args).apply((a) => getTransitRouters(a, opts));
}
exports.getTransitRoutersOutput = getTransitRoutersOutput;
//# sourceMappingURL=getTransitRouters.js.map