@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
92 lines (91 loc) • 3.13 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceParameters has been deprecated in favor of volcengine.rds_postgresql.getInstanceParameters */
export declare function instanceParameters(args: InstanceParametersArgs, opts?: pulumi.InvokeOptions): Promise<InstanceParametersResult>;
/**
* A collection of arguments for invoking InstanceParameters.
*/
export interface InstanceParametersArgs {
/**
* 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 InstanceParameters.
*/
export interface InstanceParametersResult {
/**
* 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.InstanceParametersInstanceParameter[];
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",
* });
* ```
*/
/** @deprecated volcengine.rds_postgresql.InstanceParameters has been deprecated in favor of volcengine.rds_postgresql.getInstanceParameters */
export declare function instanceParametersOutput(args: InstanceParametersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceParametersResult>;
/**
* A collection of arguments for invoking InstanceParameters.
*/
export interface InstanceParametersOutputArgs {
/**
* 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>;
}