"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.getAddonsOutput = exports.getAddons = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of veecp addons
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAddon = new volcengine.veecp.Addon("fooAddon", {
 *     clusterId: "ccvd7mte6t101fno98u60",
 *     version: "1.8.6-edge.4",
 *     deployNodeType: "Node",
 *     deployMode: "Unmanaged",
 * });
 * const fooAddons = volcengine.veecp.getAddonsOutput({
 *     name: fooAddon.name,
 * });
 * ```
 */
function getAddons(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:veecp/getAddons:getAddons", {
        "categories": args.categories,
        "deployModes": args.deployModes,
        "deployNodeTypes": args.deployNodeTypes,
        "kubernetesVersions": args.kubernetesVersions,
        "name": args.name,
        "necessaries": args.necessaries,
        "outputFile": args.outputFile,
        "podNetworkModes": args.podNetworkModes,
    }, opts);
}
exports.getAddons = getAddons;
/**
 * Use this data source to query detailed information of veecp addons
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAddon = new volcengine.veecp.Addon("fooAddon", {
 *     clusterId: "ccvd7mte6t101fno98u60",
 *     version: "1.8.6-edge.4",
 *     deployNodeType: "Node",
 *     deployMode: "Unmanaged",
 * });
 * const fooAddons = volcengine.veecp.getAddonsOutput({
 *     name: fooAddon.name,
 * });
 * ```
 */
function getAddonsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAddons(a, opts));
}
exports.getAddonsOutput = getAddonsOutput;
//# sourceMappingURL=getAddons.js.map