@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
82 lines (81 loc) • 2.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get the list of RDS PostgreSQL plugin parameter value range.
*
* ## 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.getPgPluginParameterValueRange({
* instanceId: instanceId,
* name: "shared_preload_libraries",
* });
* ```
*/
export declare function getPgPluginParameterValueRange(args: GetPgPluginParameterValueRangeArgs, opts?: pulumi.InvokeOptions): Promise<GetPgPluginParameterValueRangeResult>;
/**
* A collection of arguments for invoking getPgPluginParameterValueRange.
*/
export interface GetPgPluginParameterValueRangeArgs {
/**
* 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 getPgPluginParameterValueRange.
*/
export interface GetPgPluginParameterValueRangeResult {
/**
* Indicates the list of default parameter values. The default plugin will be loaded when the instance
* is created and can not be unloaded.
*/
readonly defaultValues: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly name: string;
readonly region: string;
/**
* Indicates whether a reboot is required.
*/
readonly restartRequired: boolean;
/**
* Indicates the list of parameter values.
*/
readonly values: string[];
}
export declare function getPgPluginParameterValueRangeOutput(args: GetPgPluginParameterValueRangeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPgPluginParameterValueRangeResult>;
/**
* A collection of arguments for invoking getPgPluginParameterValueRange.
*/
export interface GetPgPluginParameterValueRangeOutputArgs {
/**
* 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>;
}