import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of rds postgresql instance tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceTasks({
 *     creationEndTime: "2025-12-15T23:40:00Z",
 *     creationStartTime: "2025-12-10T21:30:00Z",
 *     instanceId: "postgres-72715e0d9f58",
 *     projectName: "default",
 *     taskAction: "ModifyDBEndpointReadWriteFlag",
 *     taskStatuses: [
 *         "Running",
 *         "Success",
 *     ],
 * });
 * ```
 */
export declare function getInstanceTasks(args?: GetInstanceTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceTasksResult>;
/**
 * A collection of arguments for invoking getInstanceTasks.
 */
export interface GetInstanceTasksArgs {
    /**
     * Task end time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). Note: The maximum interval between creationStartTime and creationEndTime cannot exceed 7 days.
     */
    creationEndTime?: string;
    /**
     * Task start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
     */
    creationStartTime?: string;
    /**
     * The id of the PostgreSQL instance.
     */
    instanceId?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * Project name.
     */
    projectName?: string;
    /**
     * Task action.
     */
    taskAction?: string;
    /**
     * Task ID. Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
     */
    taskId?: string;
    /**
     * Task status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed, Paused.
     */
    taskStatuses?: string[];
}
/**
 * A collection of values returned by getInstanceTasks.
 */
export interface GetInstanceTasksResult {
    readonly creationEndTime?: string;
    readonly creationStartTime?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Instance ID.
     */
    readonly instanceId?: string;
    readonly outputFile?: string;
    /**
     * Project name.
     */
    readonly projectName?: string;
    /**
     * Task action.
     */
    readonly taskAction?: string;
    /**
     * Task ID.
     */
    readonly taskId?: string;
    /**
     * Task list.
     */
    readonly taskInfos: outputs.rds_postgresql.GetInstanceTasksTaskInfo[];
    /**
     * Task status.
     */
    readonly taskStatuses?: string[];
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of rds postgresql instance tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceTasks({
 *     creationEndTime: "2025-12-15T23:40:00Z",
 *     creationStartTime: "2025-12-10T21:30:00Z",
 *     instanceId: "postgres-72715e0d9f58",
 *     projectName: "default",
 *     taskAction: "ModifyDBEndpointReadWriteFlag",
 *     taskStatuses: [
 *         "Running",
 *         "Success",
 *     ],
 * });
 * ```
 */
export declare function getInstanceTasksOutput(args?: GetInstanceTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceTasksResult>;
/**
 * A collection of arguments for invoking getInstanceTasks.
 */
export interface GetInstanceTasksOutputArgs {
    /**
     * Task end time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). Note: The maximum interval between creationStartTime and creationEndTime cannot exceed 7 days.
     */
    creationEndTime?: pulumi.Input<string>;
    /**
     * Task start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
     */
    creationStartTime?: 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>;
    /**
     * Project name.
     */
    projectName?: pulumi.Input<string>;
    /**
     * Task action.
     */
    taskAction?: pulumi.Input<string>;
    /**
     * Task ID. Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
     */
    taskId?: pulumi.Input<string>;
    /**
     * Task status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed, Paused.
     */
    taskStatuses?: pulumi.Input<pulumi.Input<string>[]>;
}
