"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.parameterGroupsOutput = exports.parameterGroups = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of redis parameter groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.redis.getParameterGroups({
 *     engineVersion: "5.0",
 *     source: "User",
 * });
 * ```
 */
/** @deprecated volcengine.redis.ParameterGroups has been deprecated in favor of volcengine.redis.getParameterGroups */
function parameterGroups(args, opts) {
    pulumi.log.warn("parameterGroups is deprecated: volcengine.redis.ParameterGroups has been deprecated in favor of volcengine.redis.getParameterGroups");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:redis/parameterGroups:ParameterGroups", {
        "engineVersion": args.engineVersion,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "source": args.source,
    }, opts);
}
exports.parameterGroups = parameterGroups;
/**
 * Use this data source to query detailed information of redis parameter groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.redis.getParameterGroups({
 *     engineVersion: "5.0",
 *     source: "User",
 * });
 * ```
 */
/** @deprecated volcengine.redis.ParameterGroups has been deprecated in favor of volcengine.redis.getParameterGroups */
function parameterGroupsOutput(args, opts) {
    return pulumi.output(args).apply((a) => parameterGroups(a, opts));
}
exports.parameterGroupsOutput = parameterGroupsOutput;
//# sourceMappingURL=parameterGroups.js.map