"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.instancePluginsOutput = exports.instancePlugins = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rabbitmq instance plugins
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooInstance = new volcengine.rabbitmq.Instance("fooInstance", {
 *     zoneIds: [
 *         fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *         fooZones.then(fooZones => fooZones.zones?.[1]?.id),
 *         fooZones.then(fooZones => fooZones.zones?.[2]?.id),
 *     ],
 *     subnetId: fooSubnet.id,
 *     version: "3.8.18",
 *     userName: "acc-test-user",
 *     userPassword: "93f0cb0614Aab12",
 *     computeSpec: "rabbitmq.n3.x2.small",
 *     storageSpace: 300,
 *     instanceName: "acc-test-rabbitmq",
 *     instanceDescription: "acc-test",
 *     chargeInfo: {
 *         chargeType: "PostPaid",
 *     },
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooInstancePlugins = volcengine.rabbitmq.getInstancePluginsOutput({
 *     instanceId: fooInstance.id,
 * });
 * ```
 */
/** @deprecated volcengine.rabbitmq.InstancePlugins has been deprecated in favor of volcengine.rabbitmq.getInstancePlugins */
function instancePlugins(args, opts) {
    pulumi.log.warn("instancePlugins is deprecated: volcengine.rabbitmq.InstancePlugins has been deprecated in favor of volcengine.rabbitmq.getInstancePlugins");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rabbitmq/instancePlugins:InstancePlugins", {
        "instanceId": args.instanceId,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.instancePlugins = instancePlugins;
/**
 * Use this data source to query detailed information of rabbitmq instance plugins
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooInstance = new volcengine.rabbitmq.Instance("fooInstance", {
 *     zoneIds: [
 *         fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *         fooZones.then(fooZones => fooZones.zones?.[1]?.id),
 *         fooZones.then(fooZones => fooZones.zones?.[2]?.id),
 *     ],
 *     subnetId: fooSubnet.id,
 *     version: "3.8.18",
 *     userName: "acc-test-user",
 *     userPassword: "93f0cb0614Aab12",
 *     computeSpec: "rabbitmq.n3.x2.small",
 *     storageSpace: 300,
 *     instanceName: "acc-test-rabbitmq",
 *     instanceDescription: "acc-test",
 *     chargeInfo: {
 *         chargeType: "PostPaid",
 *     },
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooInstancePlugins = volcengine.rabbitmq.getInstancePluginsOutput({
 *     instanceId: fooInstance.id,
 * });
 * ```
 */
/** @deprecated volcengine.rabbitmq.InstancePlugins has been deprecated in favor of volcengine.rabbitmq.getInstancePlugins */
function instancePluginsOutput(args, opts) {
    return pulumi.output(args).apply((a) => instancePlugins(a, opts));
}
exports.instancePluginsOutput = instancePluginsOutput;
//# sourceMappingURL=instancePlugins.js.map