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