"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.routeTablesOutput = exports.routeTables = 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],
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.RouteTables has been deprecated in favor of volcengine.transit_router.getRouteTables */
function routeTables(args, opts) {
    pulumi.log.warn("routeTables is deprecated: volcengine.transit_router.RouteTables has been deprecated in favor of volcengine.transit_router.getRouteTables");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:transit_router/routeTables:RouteTables", {
        "ids": args.ids,
        "outputFile": args.outputFile,
        "tags": args.tags,
        "transitRouterId": args.transitRouterId,
        "transitRouterRouteTableType": args.transitRouterRouteTableType,
    }, opts);
}
exports.routeTables = routeTables;
/**
 * 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],
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.RouteTables has been deprecated in favor of volcengine.transit_router.getRouteTables */
function routeTablesOutput(args, opts) {
    return pulumi.output(args).apply((a) => routeTables(a, opts));
}
exports.routeTablesOutput = routeTablesOutput;
//# sourceMappingURL=routeTables.js.map