"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceFailoverLogsOutput = exports.instanceFailoverLogs = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds postgresql instance failover logs
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceFailoverLogs({
 *     instanceId: "postgres-72******9f58",
 *     limit: 1000,
 *     queryEndTime: "2025-12-12T17:00:00Z",
 *     queryStartTime: "2025-12-10T16:00:00Z",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceFailoverLogs has been deprecated in favor of volcengine.rds_postgresql.getInstanceFailoverLogs */
function instanceFailoverLogs(args, opts) {
    pulumi.log.warn("instanceFailoverLogs is deprecated: volcengine.rds_postgresql.InstanceFailoverLogs has been deprecated in favor of volcengine.rds_postgresql.getInstanceFailoverLogs");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/instanceFailoverLogs:InstanceFailoverLogs", {
        "instanceId": args.instanceId,
        "limit": args.limit,
        "outputFile": args.outputFile,
        "queryEndTime": args.queryEndTime,
        "queryStartTime": args.queryStartTime,
    }, opts);
}
exports.instanceFailoverLogs = instanceFailoverLogs;
/**
 * Use this data source to query detailed information of rds postgresql instance failover logs
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceFailoverLogs({
 *     instanceId: "postgres-72******9f58",
 *     limit: 1000,
 *     queryEndTime: "2025-12-12T17:00:00Z",
 *     queryStartTime: "2025-12-10T16:00:00Z",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceFailoverLogs has been deprecated in favor of volcengine.rds_postgresql.getInstanceFailoverLogs */
function instanceFailoverLogsOutput(args, opts) {
    return pulumi.output(args).apply((a) => instanceFailoverLogs(a, opts));
}
exports.instanceFailoverLogsOutput = instanceFailoverLogsOutput;
//# sourceMappingURL=instanceFailoverLogs.js.map