"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.gatewaysOutput = exports.gateways = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of direct connect gateways
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getGateways({
 *     directConnectGatewayName: "tf-test",
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.Gateways has been deprecated in favor of volcengine.direct_connect.getGateways */
function gateways(args, opts) {
    pulumi.log.warn("gateways is deprecated: volcengine.direct_connect.Gateways has been deprecated in favor of volcengine.direct_connect.getGateways");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:direct_connect/gateways:Gateways", {
        "cenId": args.cenId,
        "directConnectGatewayName": args.directConnectGatewayName,
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "tagFilters": args.tagFilters,
    }, opts);
}
exports.gateways = gateways;
/**
 * Use this data source to query detailed information of direct connect gateways
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.direct_connect.getGateways({
 *     directConnectGatewayName: "tf-test",
 * });
 * ```
 */
/** @deprecated volcengine.direct_connect.Gateways has been deprecated in favor of volcengine.direct_connect.getGateways */
function gatewaysOutput(args, opts) {
    return pulumi.output(args).apply((a) => gateways(a, opts));
}
exports.gatewaysOutput = gatewaysOutput;
//# sourceMappingURL=gateways.js.map