@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
51 lines • 1.78 kB
JavaScript
;
// *** 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.getParameterGroupsOutput = exports.getParameterGroups = 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",
* });
* ```
*/
function getParameterGroups(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:redis/getParameterGroups:getParameterGroups", {
"engineVersion": args.engineVersion,
"nameRegex": args.nameRegex,
"outputFile": args.outputFile,
"source": args.source,
}, opts);
}
exports.getParameterGroups = getParameterGroups;
/**
* 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",
* });
* ```
*/
function getParameterGroupsOutput(args, opts) {
return pulumi.output(args).apply((a) => getParameterGroups(a, opts));
}
exports.getParameterGroupsOutput = getParameterGroupsOutput;
//# sourceMappingURL=getParameterGroups.js.map