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 Autonomous Database Backups in Oracle Cloud Infrastructure Database service. * * Gets a list of Autonomous AI Database backups based on either the `autonomousDatabaseId` or `compartmentId` specified as a query parameter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseBackups = oci.database.getAutonomousDatabaseBackups({ * autonomousDatabaseId: testAutonomousDatabase.id, * backupDestinationId: testBackupDestination.id, * compartmentId: compartmentId, * displayName: autonomousDatabaseBackupDisplayName, * infrastructureType: autonomousDatabaseBackupInfrastructureType, * isPitrEligible: autonomousDatabaseBackupIsPitrEligible === "true", * keyStoreId: testKeyStore.id, * state: autonomousDatabaseBackupState, * type: autonomousDatabaseBackupType, * }); * ``` */ export declare function getAutonomousDatabaseBackups(args?: GetAutonomousDatabaseBackupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAutonomousDatabaseBackups. */ export interface GetAutonomousDatabaseBackupsArgs { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId?: string; /** * A filter to return only resources that have the given backup destination id. */ backupDestinationId?: string; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; filters?: inputs.Database.GetAutonomousDatabaseBackupsFilter[]; /** * A filter to return only resources that match the given Infrastructure Type. */ infrastructureType?: string; /** * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges. */ isPitrEligible?: boolean; /** * A filter to return only resources that have the given key store id. */ keyStoreId?: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; /** * A filter to return only backups that matches with the given type of Backup. */ type?: string; } /** * A collection of values returned by getAutonomousDatabaseBackups. */ export interface GetAutonomousDatabaseBackupsResult { /** * The list of autonomous_database_backups. */ readonly autonomousDatabaseBackups: outputs.Database.GetAutonomousDatabaseBackupsAutonomousDatabaseBackup[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database. */ readonly autonomousDatabaseId?: string; readonly backupDestinationId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; /** * The user-friendly name for the backup. The name does not have to be unique. */ readonly displayName?: string; readonly filters?: outputs.Database.GetAutonomousDatabaseBackupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The infrastructure type this resource belongs to. */ readonly infrastructureType?: string; readonly isPitrEligible?: boolean; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault. */ readonly keyStoreId?: string; /** * The current state of the backup. */ readonly state?: string; /** * The type of backup. */ readonly type?: string; } /** * This data source provides the list of Autonomous Database Backups in Oracle Cloud Infrastructure Database service. * * Gets a list of Autonomous AI Database backups based on either the `autonomousDatabaseId` or `compartmentId` specified as a query parameter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseBackups = oci.database.getAutonomousDatabaseBackups({ * autonomousDatabaseId: testAutonomousDatabase.id, * backupDestinationId: testBackupDestination.id, * compartmentId: compartmentId, * displayName: autonomousDatabaseBackupDisplayName, * infrastructureType: autonomousDatabaseBackupInfrastructureType, * isPitrEligible: autonomousDatabaseBackupIsPitrEligible === "true", * keyStoreId: testKeyStore.id, * state: autonomousDatabaseBackupState, * type: autonomousDatabaseBackupType, * }); * ``` */ export declare function getAutonomousDatabaseBackupsOutput(args?: GetAutonomousDatabaseBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAutonomousDatabaseBackups. */ export interface GetAutonomousDatabaseBackupsOutputArgs { /** * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ autonomousDatabaseId?: pulumi.Input; /** * A filter to return only resources that have the given backup destination id. */ backupDestinationId?: pulumi.Input; /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given Infrastructure Type. */ infrastructureType?: pulumi.Input; /** * Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges. */ isPitrEligible?: pulumi.Input; /** * A filter to return only resources that have the given key store id. */ keyStoreId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; /** * A filter to return only backups that matches with the given type of Backup. */ type?: pulumi.Input; } //# sourceMappingURL=getAutonomousDatabaseBackups.d.ts.map