import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * > **DEPRECATION NOTICE:** This data source has been deprecated.
 *
 * Provides information about Linode MySQL Database Backups that match a set of filters.
 * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-mysql-instance-backups).
 *
 * ## Example Usage
 *
 * Get information about all backups for a MySQL database:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as linode from "@pulumi/linode";
 *
 * const all_backups = linode.getDatabaseMysqlBackups({
 *     databaseId: 12345,
 * });
 * ```
 *
 * Get information about all automatic MySQL Database Backups:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as linode from "@pulumi/linode";
 *
 * const auto_backups = linode.getDatabaseMysqlBackups({
 *     databaseId: 12345,
 *     filters: [{
 *         name: "type",
 *         values: ["auto"],
 *     }],
 * });
 * ```
 */
export declare function getDatabaseMysqlBackups(args: GetDatabaseMysqlBackupsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseMysqlBackupsResult>;
/**
 * A collection of arguments for invoking getDatabaseMysqlBackups.
 */
export interface GetDatabaseMysqlBackupsArgs {
    /**
     * The ID of the database to retrieve backups for.
     */
    databaseId: number;
    filters?: inputs.GetDatabaseMysqlBackupsFilter[];
    /**
     * If true, only the latest backup will be returned.
     *
     * * `filter` - (Optional) A set of filters used to select database backups that meet certain requirements.
     */
    latest?: boolean;
    /**
     * The order in which results should be returned. (`asc`, `desc`; default `asc`)
     */
    order?: string;
    /**
     * The attribute to order the results by. (`created`)
     */
    orderBy?: string;
}
/**
 * A collection of values returned by getDatabaseMysqlBackups.
 */
export interface GetDatabaseMysqlBackupsResult {
    readonly backups: outputs.GetDatabaseMysqlBackupsBackup[];
    readonly databaseId: number;
    readonly filters?: outputs.GetDatabaseMysqlBackupsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly latest?: boolean;
    readonly order?: string;
    readonly orderBy?: string;
}
/**
 * > **DEPRECATION NOTICE:** This data source has been deprecated.
 *
 * Provides information about Linode MySQL Database Backups that match a set of filters.
 * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-mysql-instance-backups).
 *
 * ## Example Usage
 *
 * Get information about all backups for a MySQL database:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as linode from "@pulumi/linode";
 *
 * const all_backups = linode.getDatabaseMysqlBackups({
 *     databaseId: 12345,
 * });
 * ```
 *
 * Get information about all automatic MySQL Database Backups:
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as linode from "@pulumi/linode";
 *
 * const auto_backups = linode.getDatabaseMysqlBackups({
 *     databaseId: 12345,
 *     filters: [{
 *         name: "type",
 *         values: ["auto"],
 *     }],
 * });
 * ```
 */
export declare function getDatabaseMysqlBackupsOutput(args: GetDatabaseMysqlBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseMysqlBackupsResult>;
/**
 * A collection of arguments for invoking getDatabaseMysqlBackups.
 */
export interface GetDatabaseMysqlBackupsOutputArgs {
    /**
     * The ID of the database to retrieve backups for.
     */
    databaseId: pulumi.Input<number>;
    filters?: pulumi.Input<pulumi.Input<inputs.GetDatabaseMysqlBackupsFilterArgs>[]>;
    /**
     * If true, only the latest backup will be returned.
     *
     * * `filter` - (Optional) A set of filters used to select database backups that meet certain requirements.
     */
    latest?: pulumi.Input<boolean>;
    /**
     * The order in which results should be returned. (`asc`, `desc`; default `asc`)
     */
    order?: pulumi.Input<string>;
    /**
     * The attribute to order the results by. (`created`)
     */
    orderBy?: pulumi.Input<string>;
}
