UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

100 lines (99 loc) 3.35 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", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstanceParameterLogs has been deprecated in favor of volcengine.rds_postgresql.getInstanceParameterLogs */ export declare function instanceParameterLogs(args: InstanceParameterLogsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceParameterLogsResult>; /** * A collection of arguments for invoking InstanceParameterLogs. */ export interface InstanceParameterLogsArgs { /** * 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 InstanceParameterLogs. */ export interface InstanceParameterLogsResult { 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.InstanceParameterLogsParameterChangeLog[]; 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", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstanceParameterLogs has been deprecated in favor of volcengine.rds_postgresql.getInstanceParameterLogs */ export declare function instanceParameterLogsOutput(args: InstanceParameterLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceParameterLogsResult>; /** * A collection of arguments for invoking InstanceParameterLogs. */ export interface InstanceParameterLogsOutputArgs { /** * 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>; }