"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.addonsOutput = exports.addons = 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,
 * });
 * ```
 */
/** @deprecated volcengine.veecp.Addons has been deprecated in favor of volcengine.veecp.getAddons */
function addons(args, opts) {
    pulumi.log.warn("addons is deprecated: volcengine.veecp.Addons has been deprecated in favor of volcengine.veecp.getAddons");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:veecp/addons:Addons", {
        "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.addons = addons;
/**
 * 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,
 * });
 * ```
 */
/** @deprecated volcengine.veecp.Addons has been deprecated in favor of volcengine.veecp.getAddons */
function addonsOutput(args, opts) {
    return pulumi.output(args).apply((a) => addons(a, opts));
}
exports.addonsOutput = addonsOutput;
//# sourceMappingURL=addons.js.map