import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Autonomous Database Backup resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Autonomous AI Database backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseBackup = oci.database.getAutonomousDatabaseBackup({ * autonomousDatabaseBackupId: testAutonomousDatabaseBackupOciDatabaseAutonomousDatabaseBackup.id, * }); * ``` */ export declare function getAutonomousDatabaseBackup(args: GetAutonomousDatabaseBackupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAutonomousDatabaseBackup. */ export interface GetAutonomousDatabaseBackupArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database backup. */ autonomousDatabaseBackupId: string; } /** * A collection of values returned by getAutonomousDatabaseBackup. */ export interface GetAutonomousDatabaseBackupResult { readonly autonomousDatabaseBackupId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database. */ readonly autonomousDatabaseId: string; /** * Backup destination details */ readonly backupDestinationDetails: outputs.Database.GetAutonomousDatabaseBackupBackupDestinationDetail[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The size of the database in terabytes at the time the backup was taken. */ readonly databaseSizeInTbs: number; /** * A valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai. */ readonly dbVersion: string; /** * The user-friendly name for the backup. The name does not have to be unique. */ readonly displayName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database backup. */ readonly id: string; /** * The infrastructure type this resource belongs to. */ readonly infrastructureType: string; /** * Indicates whether the backup is user-initiated or automatic. */ readonly isAutomatic: boolean; readonly isLongTermBackup: boolean; /** * Indicates whether the backup can be used to restore the associated Autonomous AI Database. */ readonly isRestorable: 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 wallet name for Oracle Key Vault. */ readonly keyStoreWalletName: string; /** * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. */ readonly kmsKeyId: string; /** * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances. */ readonly kmsKeyVersionId: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * Name of the region in which backup is taken in. */ readonly region: string; /** * Retention period, in days, for long-term backups */ readonly retentionPeriodInDays: number; /** * The backup size in terrabytes (TB). */ readonly sizeInTbs: number; /** * Source Autonomous Database details. */ readonly sourceDatabaseDetails: outputs.Database.GetAutonomousDatabaseBackupSourceDatabaseDetail[]; /** * The current state of the backup. */ readonly state: string; /** * Timestamp until when the backup will be available */ readonly timeAvailableTill: string; /** * The date and time the backup completed. */ readonly timeEnded: string; /** * The date and time the backup started. */ readonly timeStarted: string; /** * The type of backup. */ readonly type: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `secretId` are required for Customer Managed Keys. */ readonly vaultId: string; } /** * This data source provides details about a specific Autonomous Database Backup resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Autonomous AI Database backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousDatabaseBackup = oci.database.getAutonomousDatabaseBackup({ * autonomousDatabaseBackupId: testAutonomousDatabaseBackupOciDatabaseAutonomousDatabaseBackup.id, * }); * ``` */ export declare function getAutonomousDatabaseBackupOutput(args: GetAutonomousDatabaseBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAutonomousDatabaseBackup. */ export interface GetAutonomousDatabaseBackupOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database backup. */ autonomousDatabaseBackupId: pulumi.Input; } //# sourceMappingURL=getAutonomousDatabaseBackup.d.ts.map