UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

121 lines (120 loc) 4.17 kB
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", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.ParameterTemplates has been deprecated in favor of volcengine.rds_postgresql.getParameterTemplates */ export declare function parameterTemplates(args?: ParameterTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<ParameterTemplatesResult>; /** * A collection of arguments for invoking ParameterTemplates. */ export interface ParameterTemplatesArgs { /** * 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 ParameterTemplates. */ export interface ParameterTemplatesResult { /** * 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.ParameterTemplatesTemplateInfo[]; /** * 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", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.ParameterTemplates has been deprecated in favor of volcengine.rds_postgresql.getParameterTemplates */ export declare function parameterTemplatesOutput(args?: ParameterTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ParameterTemplatesResult>; /** * A collection of arguments for invoking ParameterTemplates. */ export interface ParameterTemplatesOutputArgs { /** * 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>; }