@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
102 lines (101 loc) • 2.84 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",
* });
* ```
*/
export declare function getParameterGroups(args?: GetParameterGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterGroupsResult>;
/**
* A collection of arguments for invoking getParameterGroups.
*/
export interface GetParameterGroupsArgs {
/**
* 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 getParameterGroups.
*/
export interface GetParameterGroupsResult {
/**
* 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.GetParameterGroupsParameterGroup[];
/**
* 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",
* });
* ```
*/
export declare function getParameterGroupsOutput(args?: GetParameterGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetParameterGroupsResult>;
/**
* A collection of arguments for invoking getParameterGroups.
*/
export interface GetParameterGroupsOutputArgs {
/**
* 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>;
}