/** * Database Service API * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). * OpenAPI spec version: 20160918 * Contact: sic_dbaas_cp_us_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * An Autonomous AI Database backup. * */ export interface AutonomousDatabaseBackup { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database backup. */ "id": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ "compartmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database. */ "autonomousDatabaseId": string; /** * The user-friendly name for the backup. The name does not have to be unique. */ "displayName": string; /** * The type of backup. */ "type": AutonomousDatabaseBackup.Type; /** * Indicates whether the backup is user-initiated or automatic. */ "isAutomatic": boolean; /** * The date and time the backup started. */ "timeStarted"?: Date; /** * The date and time the backup completed. */ "timeEnded"?: Date; /** * Additional information about the current lifecycle state. */ "lifecycleDetails"?: string; /** * The size of the database in terabytes at the time the backup was taken. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "databaseSizeInTBs"?: number; /** * The current state of the backup. */ "lifecycleState": AutonomousDatabaseBackup.LifecycleState; /** * Indicates whether the backup can be used to restore the associated Autonomous AI Database. */ "isRestorable"?: boolean; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault. */ "keyStoreId"?: string; /** * The wallet name for Oracle Key Vault. */ "keyStoreWalletName"?: string; /** * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. */ "kmsKeyId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and {@code secretId} are required for Customer Managed Keys. */ "vaultId"?: 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. * */ "kmsKeyVersionId"?: string; /** * Retention period, in days, for long-term backups Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "retentionPeriodInDays"?: number; /** * Timestamp until when the backup will be available */ "timeAvailableTill"?: Date; /** * 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. *
**Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter. * */ "dbVersion"?: string; /** * The backup size in terrabytes (TB). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "sizeInTBs"?: number; "backupDestinationDetails"?: model.BackupDestinationDetails; /** * The infrastructure type this resource belongs to. */ "infrastructureType"?: AutonomousDatabaseBackup.InfrastructureType; /** * Name of the region in which backup is taken in. */ "region"?: string; "sourceDatabaseDetails"?: model.SourceDatabaseDetails; } export declare namespace AutonomousDatabaseBackup { enum Type { Incremental = "INCREMENTAL", Full = "FULL", Longterm = "LONGTERM", VirtualFull = "VIRTUAL_FULL", CumulativeIncremental = "CUMULATIVE_INCREMENTAL", RollForwardImageCopy = "ROLL_FORWARD_IMAGE_COPY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum LifecycleState { Creating = "CREATING", Active = "ACTIVE", Deleting = "DELETING", Deleted = "DELETED", Failed = "FAILED", Updating = "UPDATING", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum InfrastructureType { Cloud = "CLOUD", CloudAtCustomer = "CLOUD_AT_CUSTOMER", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: AutonomousDatabaseBackup): object; function getDeserializedJsonObj(obj: AutonomousDatabaseBackup): object; }