"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.routeEntriesOutput = exports.routeEntries = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of transit router route entries
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.transit_router.getRouteEntries({
 *     ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
 *     transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.RouteEntries has been deprecated in favor of volcengine.transit_router.getRouteEntries */
function routeEntries(args, opts) {
    pulumi.log.warn("routeEntries is deprecated: volcengine.transit_router.RouteEntries has been deprecated in favor of volcengine.transit_router.getRouteEntries");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:transit_router/routeEntries:RouteEntries", {
        "destinationCidrBlock": args.destinationCidrBlock,
        "ids": args.ids,
        "outputFile": args.outputFile,
        "status": args.status,
        "transitRouterRouteEntryName": args.transitRouterRouteEntryName,
        "transitRouterRouteTableId": args.transitRouterRouteTableId,
    }, opts);
}
exports.routeEntries = routeEntries;
/**
 * Use this data source to query detailed information of transit router route entries
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.transit_router.getRouteEntries({
 *     ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
 *     transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.RouteEntries has been deprecated in favor of volcengine.transit_router.getRouteEntries */
function routeEntriesOutput(args, opts) {
    return pulumi.output(args).apply((a) => routeEntries(a, opts));
}
exports.routeEntriesOutput = routeEntriesOutput;
//# sourceMappingURL=routeEntries.js.map