UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

90 lines (89 loc) 2.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds postgresql instance parameters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceParameters({ * instanceId: "postgres-72715e0d9f58", * parameterName: "wal_level", * }); * ``` */ export declare function getInstanceParameters(args: GetInstanceParametersArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceParametersResult>; /** * A collection of arguments for invoking getInstanceParameters. */ export interface GetInstanceParametersArgs { /** * The ID of the PostgreSQL instance. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; /** * The name of the parameter, supports fuzzy query. If no value is passed or a null value is passed, all parameters under the specified instance will be queried. */ parameterName?: string; } /** * A collection of values returned by getInstanceParameters. */ export interface GetInstanceParametersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the PostgreSQL instance. */ readonly instanceId: string; /** * The collection of query. */ readonly instanceParameters: outputs.rds_postgresql.GetInstanceParametersInstanceParameter[]; readonly outputFile?: string; readonly parameterName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds postgresql instance parameters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceParameters({ * instanceId: "postgres-72715e0d9f58", * parameterName: "wal_level", * }); * ``` */ export declare function getInstanceParametersOutput(args: GetInstanceParametersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceParametersResult>; /** * A collection of arguments for invoking getInstanceParameters. */ export interface GetInstanceParametersOutputArgs { /** * The ID of the PostgreSQL instance. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The name of the parameter, supports fuzzy query. If no value is passed or a null value is passed, all parameters under the specified instance will be queried. */ parameterName?: pulumi.Input<string>; }