UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

98 lines (97 loc) 3.09 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 parameter logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceParameterLogs({ * endTime: "2025-12-15T23:59:59.999Z", * instanceId: "postgres-72715e0d9f58", * startTime: "2025-12-01T00:00:00.000Z", * }); * ``` */ export declare function getInstanceParameterLogs(args: GetInstanceParameterLogsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceParameterLogsResult>; /** * A collection of arguments for invoking getInstanceParameterLogs. */ export interface GetInstanceParameterLogsArgs { /** * The end time of the query. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ endTime: string; /** * The ID of the PostgreSQL instance. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; /** * The start time of the query. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ startTime: string; } /** * A collection of values returned by getInstanceParameterLogs. */ export interface GetInstanceParameterLogsResult { readonly endTime: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly outputFile?: string; /** * The collection of parameter change logs. */ readonly parameterChangeLogs: outputs.rds_postgresql.GetInstanceParameterLogsParameterChangeLog[]; readonly startTime: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds postgresql instance parameter logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstanceParameterLogs({ * endTime: "2025-12-15T23:59:59.999Z", * instanceId: "postgres-72715e0d9f58", * startTime: "2025-12-01T00:00:00.000Z", * }); * ``` */ export declare function getInstanceParameterLogsOutput(args: GetInstanceParameterLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceParameterLogsResult>; /** * A collection of arguments for invoking getInstanceParameterLogs. */ export interface GetInstanceParameterLogsOutputArgs { /** * The end time of the query. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ endTime: pulumi.Input<string>; /** * The ID of the PostgreSQL instance. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The start time of the query. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time). */ startTime: pulumi.Input<string>; }