"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.rdsInstancesV2Output = exports.rdsInstancesV2 = 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 v2
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.rds_v2.getRdsInstancesV2({});
 * ```
 */
/** @deprecated volcengine.rds_v2.RdsInstancesV2 has been deprecated in favor of volcengine.rds_v2.getRdsInstancesV2 */
function rdsInstancesV2(args, opts) {
    pulumi.log.warn("rdsInstancesV2 is deprecated: volcengine.rds_v2.RdsInstancesV2 has been deprecated in favor of volcengine.rds_v2.getRdsInstancesV2");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_v2/rdsInstancesV2:RdsInstancesV2", {
        "chargeType": args.chargeType,
        "createTimeEnd": args.createTimeEnd,
        "createTimeStart": args.createTimeStart,
        "dbEngineVersion": args.dbEngineVersion,
        "instanceId": args.instanceId,
        "instanceName": args.instanceName,
        "instanceStatus": args.instanceStatus,
        "instanceType": args.instanceType,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "zoneId": args.zoneId,
    }, opts);
}
exports.rdsInstancesV2 = rdsInstancesV2;
/**
 * (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds instances v2
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.rds_v2.getRdsInstancesV2({});
 * ```
 */
/** @deprecated volcengine.rds_v2.RdsInstancesV2 has been deprecated in favor of volcengine.rds_v2.getRdsInstancesV2 */
function rdsInstancesV2Output(args, opts) {
    return pulumi.output(args).apply((a) => rdsInstancesV2(a, opts));
}
exports.rdsInstancesV2Output = rdsInstancesV2Output;
//# sourceMappingURL=rdsInstancesV2.js.map