UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

73 lines (72 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of RDS PostgreSQL plugin parameter values. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const config = new pulumi.Config(); * const instanceId = config.requireObject("instanceId"); * const test = huaweicloud.Rds.getPgPluginParameterValues({ * instanceId: instanceId, * name: "shared_preload_libraries", * }); * ``` */ export declare function getPgPluginParameterValues(args: GetPgPluginParameterValuesArgs, opts?: pulumi.InvokeOptions): Promise<GetPgPluginParameterValuesResult>; /** * A collection of arguments for invoking getPgPluginParameterValues. */ export interface GetPgPluginParameterValuesArgs { /** * Specifies the ID of the RDS instance. */ instanceId: string; /** * Specifies the parameter name. Currently only **shared_preload_libraries** is supported. */ name: string; /** * Specifies the region in which to query the data source. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getPgPluginParameterValues. */ export interface GetPgPluginParameterValuesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly name: string; readonly region: string; /** * Indicates the list of parameter values. */ readonly values: string[]; } export declare function getPgPluginParameterValuesOutput(args: GetPgPluginParameterValuesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPgPluginParameterValuesResult>; /** * A collection of arguments for invoking getPgPluginParameterValues. */ export interface GetPgPluginParameterValuesOutputArgs { /** * Specifies the ID of the RDS instance. */ instanceId: pulumi.Input<string>; /** * Specifies the parameter name. Currently only **shared_preload_libraries** is supported. */ name: pulumi.Input<string>; /** * Specifies the region in which to query the data source. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }