"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.getGatewayRoutesOutput = exports.getGatewayRoutes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of direct connect gateway routes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getGatewayRoutes({
 *     ids: [
 *         "dcr-638ry33wmzggn3gd6gv****",
 *         "dcr-20d6tkadi2k8w65sqhgbj****",
 *     ],
 * });
 * ```
 */
function getGatewayRoutes(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:direct_connect/getGatewayRoutes:getGatewayRoutes", {
        "destinationCidrBlock": args.destinationCidrBlock,
        "directConnectGatewayId": args.directConnectGatewayId,
        "ids": args.ids,
        "nextHopId": args.nextHopId,
        "nextHopType": args.nextHopType,
        "outputFile": args.outputFile,
        "routeType": args.routeType,
    }, opts);
}
exports.getGatewayRoutes = getGatewayRoutes;
/**
 * Use this data source to query detailed information of direct connect gateway routes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getGatewayRoutes({
 *     ids: [
 *         "dcr-638ry33wmzggn3gd6gv****",
 *         "dcr-20d6tkadi2k8w65sqhgbj****",
 *     ],
 * });
 * ```
 */
function getGatewayRoutesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getGatewayRoutes(a, opts));
}
exports.getGatewayRoutesOutput = getGatewayRoutesOutput;
//# sourceMappingURL=getGatewayRoutes.js.map