/** * 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"; /** * The following are the details necessary to create a cross-tenancy disaster recovery (DR) association for an existing Autonomous AI Database. This may be in the same region, or in another. * *IMPORTANT* * For creating a standby databases in a cross-tenancy local DR association: * - To create the standby database in different tenancy, use the compartment OCID in the tenancy where the standby is located. * - To create the request in the standby database, the sourceId value must be the OCID of the primary database. * - Creating a ADG DR in the same tenancy and region is not allowed. Use changeDisasterRecoveryConfiguration instead. * The following parameters are required for the cross-tenancy standby database * - disasterRecoveryType * The following parameters are optional for the cross-tenancy standby database. If included in the request, these parameters must contain the same values as the source Autonomous AI Database: * - dbName * - dbVersion * - ecpuCount * - dataStorageSizeInTB * - customerContacts * - scheduledOperations * - isAutoScalingForStorageEnabled * - definedTags * - freeformTags * - licenseModel * - whitelistedIps * - isMtlsConnectionRequired * */ export interface CreateCrossTenancyDisasterRecoveryDetails extends model.CreateAutonomousDatabaseBase { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous AI Database that will be used to create a new peer database for the DR association. */ "sourceId": string; /** * Indicates the disaster recovery (DR) type of the standby Autonomous AI Database Serverless instance. * Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. * Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. * */ "disasterRecoveryType": string; /** * If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database. */ "isReplicateAutomaticBackups"?: boolean; "source": string; } export declare namespace CreateCrossTenancyDisasterRecoveryDetails { function getJsonObj(obj: CreateCrossTenancyDisasterRecoveryDetails, isParentJsonObj?: boolean): object; const source = "CROSS_TENANCY_DISASTER_RECOVERY"; function getDeserializedJsonObj(obj: CreateCrossTenancyDisasterRecoveryDetails, isParentJsonObj?: boolean): object; }