UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

90 lines (89 loc) 3.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds postgresql engine version parameters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const pg12 = volcengine.rds_postgresql.getEngineVersionParameters({ * dbEngine: "PostgreSQL", * dbEngineVersion: "PostgreSQL_12", * }); * ``` */ export declare function getEngineVersionParameters(args: GetEngineVersionParametersArgs, opts?: pulumi.InvokeOptions): Promise<GetEngineVersionParametersResult>; /** * A collection of arguments for invoking getEngineVersionParameters. */ export interface GetEngineVersionParametersArgs { /** * The type of the parameter template. The value can only be PostgreSQL. */ dbEngine: string; /** * The database engine version of the RDS PostgreSQL instance. Valid value: PostgreSQL_11, PostgreSQL_12, PostgreSQL_13, PostgreSQL_14, PostgreSQL_15, PostgreSQL_16, PostgreSQL_17. */ dbEngineVersion: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getEngineVersionParameters. */ export interface GetEngineVersionParametersResult { readonly dbEngine: string; /** * The database engine version of the RDS PostgreSQL instance. */ readonly dbEngineVersion: string; /** * The collection of query. */ readonly dbEngineVersionParameters: outputs.rds_postgresql.GetEngineVersionParametersDbEngineVersionParameter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds postgresql engine version parameters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const pg12 = volcengine.rds_postgresql.getEngineVersionParameters({ * dbEngine: "PostgreSQL", * dbEngineVersion: "PostgreSQL_12", * }); * ``` */ export declare function getEngineVersionParametersOutput(args: GetEngineVersionParametersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEngineVersionParametersResult>; /** * A collection of arguments for invoking getEngineVersionParameters. */ export interface GetEngineVersionParametersOutputArgs { /** * The type of the parameter template. The value can only be PostgreSQL. */ dbEngine: pulumi.Input<string>; /** * The database engine version of the RDS PostgreSQL instance. Valid value: PostgreSQL_11, PostgreSQL_12, PostgreSQL_13, PostgreSQL_14, PostgreSQL_15, PostgreSQL_16, PostgreSQL_17. */ dbEngineVersion: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }