import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Mysql Backups in Oracle Cloud Infrastructure MySQL Database service. * * Get a list of DB System backups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlBackups = oci.mysql.getMysqlBackups({ * compartmentId: compartmentId, * backupId: testMysqlBackup.id, * creationType: mysqlBackupCreationType, * dbSystemId: testDbSystem.id, * displayName: mysqlBackupDisplayName, * softDelete: mysqlBackupSoftDelete, * state: mysqlBackupState, * }); * ``` */ export declare function getMysqlBackups(args: GetMysqlBackupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMysqlBackups. */ export interface GetMysqlBackupsArgs { /** * Backup OCID */ backupId?: string; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * Backup creationType */ creationType?: string; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId?: string; /** * A filter to return only the resource matching the given display name exactly. */ displayName?: string; filters?: inputs.Mysql.GetMysqlBackupsFilter[]; /** * Backup Soft Delete */ softDelete?: string; /** * Backup Lifecycle State */ state?: string; } /** * A collection of values returned by getMysqlBackups. */ export interface GetMysqlBackupsResult { readonly backupId?: string; /** * The list of backups. */ readonly backups: outputs.Mysql.GetMysqlBackupsBackup[]; /** * The OCID of the compartment the DB System belongs in. */ readonly compartmentId: string; /** * Indicates how the backup was created: manually, automatic, or by an Operator. */ readonly creationType?: string; /** * The OCID of the DB System the backup is associated with. */ readonly dbSystemId?: string; /** * A user-supplied display name for the backup. */ readonly displayName?: string; readonly filters?: outputs.Mysql.GetMysqlBackupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it. */ readonly softDelete?: string; /** * The state of the backup. */ readonly state?: string; } /** * This data source provides the list of Mysql Backups in Oracle Cloud Infrastructure MySQL Database service. * * Get a list of DB System backups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlBackups = oci.mysql.getMysqlBackups({ * compartmentId: compartmentId, * backupId: testMysqlBackup.id, * creationType: mysqlBackupCreationType, * dbSystemId: testDbSystem.id, * displayName: mysqlBackupDisplayName, * softDelete: mysqlBackupSoftDelete, * state: mysqlBackupState, * }); * ``` */ export declare function getMysqlBackupsOutput(args: GetMysqlBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMysqlBackups. */ export interface GetMysqlBackupsOutputArgs { /** * Backup OCID */ backupId?: pulumi.Input; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * Backup creationType */ creationType?: pulumi.Input; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId?: pulumi.Input; /** * A filter to return only the resource matching the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Backup Soft Delete */ softDelete?: pulumi.Input; /** * Backup Lifecycle State */ state?: pulumi.Input; } //# sourceMappingURL=getMysqlBackups.d.ts.map