/** * 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"; /** * Details to create an Oracle Autonomous AI Database refreshable clone. * */ export interface CreateRefreshableAutonomousDatabaseCloneDetails extends model.CreateAutonomousDatabaseBase { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous AI Database that you will clone to create a new Autonomous AI Database. */ "sourceId": string; /** * The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous AI Database. */ "refreshableMode"?: CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode; /** * The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the {@code timeOfAutoRefreshStart} parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "autoRefreshFrequencyInSeconds"?: number; /** * The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "autoRefreshPointLagInSeconds"?: number; /** * The the date and time that auto-refreshing will begin for an Autonomous AI Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the {@code autoRefreshFrequencyInSeconds} parameter. */ "timeOfAutoRefreshStart"?: Date; /** * Indicates the Autonomous AI Database mode. The database can be opened in {@code READ_ONLY} or {@code READ_WRITE} mode. *

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. * */ "openMode"?: CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode; /** * The Autonomous AI Database clone type. */ "cloneType"?: CreateRefreshableAutonomousDatabaseCloneDetails.CloneType; "source": string; } export declare namespace CreateRefreshableAutonomousDatabaseCloneDetails { enum RefreshableMode { Automatic = "AUTOMATIC", Manual = "MANUAL" } enum OpenMode { ReadOnly = "READ_ONLY", ReadWrite = "READ_WRITE" } enum CloneType { Full = "FULL", Metadata = "METADATA", Partial = "PARTIAL" } function getJsonObj(obj: CreateRefreshableAutonomousDatabaseCloneDetails, isParentJsonObj?: boolean): object; const source = "CLONE_TO_REFRESHABLE"; function getDeserializedJsonObj(obj: CreateRefreshableAutonomousDatabaseCloneDetails, isParentJsonObj?: boolean): object; }