"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.getGatewaysOutput = exports.getGateways = 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",
 *     ],
 * });
 * ```
 */
function getGateways(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:apig/getGateways:getGateways", {
        "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.getGateways = getGateways;
/**
 * 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",
 *     ],
 * });
 * ```
 */
function getGatewaysOutput(args, opts) {
    return pulumi.output(args).apply((a) => getGateways(a, opts));
}
exports.getGatewaysOutput = getGatewaysOutput;
//# sourceMappingURL=getGateways.js.map