"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 route entries
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vpc.getRouteEntries({
 *     ids: [],
 *     routeTableId: "vtb-274e19skkuhog7fap8u4i8ird",
 * });
 * ```
 */
/** @deprecated volcengine.vpc.RouteEntries has been deprecated in favor of volcengine.vpc.getRouteEntries */
function routeEntries(args, opts) {
    pulumi.log.warn("routeEntries is deprecated: volcengine.vpc.RouteEntries has been deprecated in favor of volcengine.vpc.getRouteEntries");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vpc/routeEntries:RouteEntries", {
        "destinationCidrBlock": args.destinationCidrBlock,
        "ids": args.ids,
        "nextHopId": args.nextHopId,
        "nextHopType": args.nextHopType,
        "outputFile": args.outputFile,
        "routeEntryName": args.routeEntryName,
        "routeEntryType": args.routeEntryType,
        "routeTableId": args.routeTableId,
    }, opts);
}
exports.routeEntries = routeEntries;
/**
 * Use this data source to query detailed information of route entries
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vpc.getRouteEntries({
 *     ids: [],
 *     routeTableId: "vtb-274e19skkuhog7fap8u4i8ird",
 * });
 * ```
 */
/** @deprecated volcengine.vpc.RouteEntries has been deprecated in favor of volcengine.vpc.getRouteEntries */
function routeEntriesOutput(args, opts) {
    return pulumi.output(args).apply((a) => routeEntries(a, opts));
}
exports.routeEntriesOutput = routeEntriesOutput;
//# sourceMappingURL=routeEntries.js.map