"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.instancesOutput = exports.instances = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rocketmq instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.rocketmq.getInstances({
 *     instanceId: "rocketmq-cnoeea6b32118fc2",
 * });
 * ```
 */
/** @deprecated volcengine.rocketmq.Instances has been deprecated in favor of volcengine.rocketmq.getInstances */
function instances(args, opts) {
    pulumi.log.warn("instances is deprecated: volcengine.rocketmq.Instances has been deprecated in favor of volcengine.rocketmq.getInstances");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rocketmq/instances:Instances", {
        "chargeType": args.chargeType,
        "instanceId": args.instanceId,
        "instanceName": args.instanceName,
        "instanceStatus": args.instanceStatus,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "spec": args.spec,
        "tags": args.tags,
        "version": args.version,
        "vpcId": args.vpcId,
        "zoneId": args.zoneId,
    }, opts);
}
exports.instances = instances;
/**
 * Use this data source to query detailed information of rocketmq instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.rocketmq.getInstances({
 *     instanceId: "rocketmq-cnoeea6b32118fc2",
 * });
 * ```
 */
/** @deprecated volcengine.rocketmq.Instances has been deprecated in favor of volcengine.rocketmq.getInstances */
function instancesOutput(args, opts) {
    return pulumi.output(args).apply((a) => instances(a, opts));
}
exports.instancesOutput = instancesOutput;
//# sourceMappingURL=instances.js.map