"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 apig gateways
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getGateways({
 *     ids: [
 *         "gd13d8c6eq1emkiunq6p0",
 *         "gd07fq7pte3scmnaj1b1g",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.apig.Gateways has been deprecated in favor of volcengine.apig.getGateways */
function gateways(args, opts) {
    pulumi.log.warn("gateways is deprecated: volcengine.apig.Gateways has been deprecated in favor of volcengine.apig.getGateways");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:apig/gateways:Gateways", {
        "ids": args.ids,
        "name": args.name,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "status": args.status,
        "tags": args.tags,
        "type": args.type,
        "vpcIds": args.vpcIds,
    }, opts);
}
exports.gateways = gateways;
/**
 * Use this data source to query detailed information of apig gateways
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getGateways({
 *     ids: [
 *         "gd13d8c6eq1emkiunq6p0",
 *         "gd07fq7pte3scmnaj1b1g",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.apig.Gateways has been deprecated in favor of volcengine.apig.getGateways */
function gatewaysOutput(args, opts) {
    return pulumi.output(args).apply((a) => gateways(a, opts));
}
exports.gatewaysOutput = gatewaysOutput;
//# sourceMappingURL=gateways.js.map