@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
119 lines (118 loc) • 3.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of rds postgresql parameter templates
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const templates = volcengine.rds_postgresql.getParameterTemplates({
* templateCategory: "DBEngine",
* templateType: "PostgreSQL",
* templateTypeVersion: "PostgreSQL_12",
* });
* ```
*/
export declare function getParameterTemplates(args?: GetParameterTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterTemplatesResult>;
/**
* A collection of arguments for invoking getParameterTemplates.
*/
export interface GetParameterTemplatesArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Classification of parameter templates. The current value can only be DBEngine.
*/
templateCategory?: string;
/**
* The source of the parameter template. The current value can only be User.
*/
templateSource?: string;
/**
* The type of the parameter template. The current value can only be PostgreSQL.
*/
templateType?: string;
/**
* PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
*/
templateTypeVersion?: string;
}
/**
* A collection of values returned by getParameterTemplates.
*/
export interface GetParameterTemplatesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* Classification of parameter templates. The current value can only be DBEngine.
*/
readonly templateCategory?: string;
/**
* Parameter template list.
*/
readonly templateInfos: outputs.rds_postgresql.GetParameterTemplatesTemplateInfo[];
/**
* The source of the parameter template. The current value can only be User.
*/
readonly templateSource?: string;
/**
* The type of the parameter template. The current value can only be PostgreSQL.
*/
readonly templateType?: string;
/**
* PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
*/
readonly templateTypeVersion?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rds postgresql parameter templates
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const templates = volcengine.rds_postgresql.getParameterTemplates({
* templateCategory: "DBEngine",
* templateType: "PostgreSQL",
* templateTypeVersion: "PostgreSQL_12",
* });
* ```
*/
export declare function getParameterTemplatesOutput(args?: GetParameterTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetParameterTemplatesResult>;
/**
* A collection of arguments for invoking getParameterTemplates.
*/
export interface GetParameterTemplatesOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Classification of parameter templates. The current value can only be DBEngine.
*/
templateCategory?: pulumi.Input<string>;
/**
* The source of the parameter template. The current value can only be User.
*/
templateSource?: pulumi.Input<string>;
/**
* The type of the parameter template. The current value can only be PostgreSQL.
*/
templateType?: pulumi.Input<string>;
/**
* PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
*/
templateTypeVersion?: pulumi.Input<string>;
}