"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.getEdgeNodesOutput = exports.getEdgeNodes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of veecp edge nodes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooEdgeNode = new volcengine.veecp.EdgeNode("fooEdgeNode", {
 *     clusterId: "ccvmf49t1ndqeechmj8p0",
 *     nodePoolId: "pcvpkdn7ic26jjcjsa20g",
 *     autoCompleteConfig: {
 *         enable: true,
 *         directAdd: true,
 *         directAddInstances: [{
 *             cloudServerIdentity: "cloudserver-wvvflw9qdns2qrk",
 *             instanceIdentity: "veen91912104432151420041",
 *         }],
 *     },
 * });
 * const fooEdgeNodes = volcengine.veecp.getEdgeNodesOutput({
 *     ids: [fooEdgeNode.id],
 * });
 * ```
 */
function getEdgeNodes(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:veecp/getEdgeNodes:getEdgeNodes", {
        "clusterIds": args.clusterIds,
        "createClientToken": args.createClientToken,
        "ids": args.ids,
        "ips": args.ips,
        "name": args.name,
        "nameRegex": args.nameRegex,
        "needBootstrapScript": args.needBootstrapScript,
        "nodePoolIds": args.nodePoolIds,
        "outputFile": args.outputFile,
        "statuses": args.statuses,
        "zoneIds": args.zoneIds,
    }, opts);
}
exports.getEdgeNodes = getEdgeNodes;
/**
 * Use this data source to query detailed information of veecp edge nodes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooEdgeNode = new volcengine.veecp.EdgeNode("fooEdgeNode", {
 *     clusterId: "ccvmf49t1ndqeechmj8p0",
 *     nodePoolId: "pcvpkdn7ic26jjcjsa20g",
 *     autoCompleteConfig: {
 *         enable: true,
 *         directAdd: true,
 *         directAddInstances: [{
 *             cloudServerIdentity: "cloudserver-wvvflw9qdns2qrk",
 *             instanceIdentity: "veen91912104432151420041",
 *         }],
 *     },
 * });
 * const fooEdgeNodes = volcengine.veecp.getEdgeNodesOutput({
 *     ids: [fooEdgeNode.id],
 * });
 * ```
 */
function getEdgeNodesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getEdgeNodes(a, opts));
}
exports.getEdgeNodesOutput = getEdgeNodesOutput;
//# sourceMappingURL=getEdgeNodes.js.map