@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
104 lines (103 loc) • 3.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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 */
export declare function parameterGroups(args?: ParameterGroupsArgs, opts?: pulumi.InvokeOptions): Promise<ParameterGroupsResult>;
/**
* A collection of arguments for invoking ParameterGroups.
*/
export interface ParameterGroupsArgs {
/**
* The Redis database version applicable to the parameter template.
*/
engineVersion?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The source of creating the parameter template.
*/
source?: string;
}
/**
* A collection of values returned by ParameterGroups.
*/
export interface ParameterGroupsResult {
/**
* The database version applicable to the parameter template.
*/
readonly engineVersion?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The details of the parameter template.
*/
readonly parameterGroups: outputs.redis.ParameterGroupsParameterGroup[];
/**
* The source of creating the parameter template.
*/
readonly source?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* 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 */
export declare function parameterGroupsOutput(args?: ParameterGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ParameterGroupsResult>;
/**
* A collection of arguments for invoking ParameterGroups.
*/
export interface ParameterGroupsOutputArgs {
/**
* The Redis database version applicable to the parameter template.
*/
engineVersion?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The source of creating the parameter template.
*/
source?: pulumi.Input<string>;
}