"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 vke addons
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vke.getAddons({
 *     clusterIds: ["cccctv1vqtofp49d96ujg"],
 * });
 * ```
 */
/** @deprecated volcengine.vke.Addons has been deprecated in favor of volcengine.vke.getAddons */
function addons(args, opts) {
    pulumi.log.warn("addons is deprecated: volcengine.vke.Addons has been deprecated in favor of volcengine.vke.getAddons");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vke/addons:Addons", {
        "clusterIds": args.clusterIds,
        "createClientToken": args.createClientToken,
        "deployModes": args.deployModes,
        "deployNodeTypes": args.deployNodeTypes,
        "nameRegex": args.nameRegex,
        "names": args.names,
        "outputFile": args.outputFile,
        "statuses": args.statuses,
        "updateClientToken": args.updateClientToken,
    }, opts);
}
exports.addons = addons;
/**
 * Use this data source to query detailed information of vke addons
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vke.getAddons({
 *     clusterIds: ["cccctv1vqtofp49d96ujg"],
 * });
 * ```
 */
/** @deprecated volcengine.vke.Addons has been deprecated in favor of volcengine.vke.getAddons */
function addonsOutput(args, opts) {
    return pulumi.output(args).apply((a) => addons(a, opts));
}
exports.addonsOutput = addonsOutput;
//# sourceMappingURL=addons.js.map