UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

129 lines (128 loc) 4.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manage an RDS PostgreSQL plugin parameter resource within HuaweiCloud. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pulumi from "@huaweicloudos/pulumi"; * * const config = new pulumi.Config(); * const instanceId = config.requireObject("instanceId"); * const test = new huaweicloud.rds.PgPluginParameter("test", { * instanceId: instanceId, * values: ["pg_stat_kcache"], * }); * ``` * * ## Import * * The SQL limit can be imported using the `instance_id` and `name`, separated by a slash, e.g. bash * * ```sh * $ pulumi import huaweicloud:Rds/pgPluginParameter:PgPluginParameter test <instance_id>/<name> * ``` */ export declare class PgPluginParameter extends pulumi.CustomResource { /** * Get an existing PgPluginParameter resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PgPluginParameterState, opts?: pulumi.CustomResourceOptions): PgPluginParameter; /** * Returns true if the given object is an instance of PgPluginParameter. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PgPluginParameter; /** * Indicates the default values of the plugin parameter. */ readonly defaultValues: pulumi.Output<string[]>; /** * Specifies the ID of RDS instance. */ readonly instanceId: pulumi.Output<string>; /** * Specifies the name of the plugin parameter. */ readonly name: pulumi.Output<string>; /** * The region in which to create the rds PostgreSQL plugin parameter resource. * If omitted, the provider-level region will be used. Changing this will creates a new resource. */ readonly region: pulumi.Output<string>; /** * Indicates whether a reboot is required. */ readonly restartRequired: pulumi.Output<boolean>; /** * Specifies the list of plugin parameter values. */ readonly values: pulumi.Output<string[]>; /** * Create a PgPluginParameter resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PgPluginParameterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PgPluginParameter resources. */ export interface PgPluginParameterState { /** * Indicates the default values of the plugin parameter. */ defaultValues?: pulumi.Input<pulumi.Input<string>[]>; /** * Specifies the ID of RDS instance. */ instanceId?: pulumi.Input<string>; /** * Specifies the name of the plugin parameter. */ name?: pulumi.Input<string>; /** * The region in which to create the rds PostgreSQL plugin parameter resource. * If omitted, the provider-level region will be used. Changing this will creates a new resource. */ region?: pulumi.Input<string>; /** * Indicates whether a reboot is required. */ restartRequired?: pulumi.Input<boolean>; /** * Specifies the list of plugin parameter values. */ values?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a PgPluginParameter resource. */ export interface PgPluginParameterArgs { /** * Specifies the ID of RDS instance. */ instanceId: pulumi.Input<string>; /** * Specifies the name of the plugin parameter. */ name?: pulumi.Input<string>; /** * The region in which to create the rds PostgreSQL plugin parameter resource. * If omitted, the provider-level region will be used. Changing this will creates a new resource. */ region?: pulumi.Input<string>; /** * Specifies the list of plugin parameter values. */ values: pulumi.Input<pulumi.Input<string>[]>; }