"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");
/**
 * (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.rds.getInstances({
 *     instanceId: "mysql-0fdd3bab2e7c",
 * });
 * ```
 */
/** @deprecated volcengine.rds.Instances has been deprecated in favor of volcengine.rds.getInstances */
function instances(args, opts) {
    pulumi.log.warn("instances is deprecated: volcengine.rds.Instances has been deprecated in favor of volcengine.rds.getInstances");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds/instances:Instances", {
        "createEndTime": args.createEndTime,
        "createStartTime": args.createStartTime,
        "instanceId": args.instanceId,
        "instanceStatus": args.instanceStatus,
        "instanceType": args.instanceType,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "region": args.region,
        "zone": args.zone,
    }, opts);
}
exports.instances = instances;
/**
 * (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.rds.getInstances({
 *     instanceId: "mysql-0fdd3bab2e7c",
 * });
 * ```
 */
/** @deprecated volcengine.rds.Instances has been deprecated in favor of volcengine.rds.getInstances */
function instancesOutput(args, opts) {
    return pulumi.output(args).apply((a) => instances(a, opts));
}
exports.instancesOutput = instancesOutput;
//# sourceMappingURL=instances.js.map