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