/** * 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. */ /** * The properties that define dataguard association between two different Autonomous AI Databases. * Note that Autonomous AI Databases inherit DataGuard association from parent Autonomous Container Database. * No actions can be taken on AutonomousDatabaseDataguardAssociation, usage is strictly informational. * */ export interface AutonomousDatabaseDataguardAssociation { /** * The OCID of the Autonomous Dataguard created for Autonomous Container Database where given Autonomous AI Database resides in. */ "id": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database that has a relationship with the peer Autonomous AI Database. * */ "autonomousDatabaseId": string; /** * The Data Guard role of the Autonomous Container Database or Autonomous AI Database, if Autonomous Data Guard is enabled. * */ "role": AutonomousDatabaseDataguardAssociation.Role; /** * The current state of Autonomous Data Guard. */ "lifecycleState": AutonomousDatabaseDataguardAssociation.LifecycleState; /** * Additional information about the current lifecycleState, if available. * */ "lifecycleDetails"?: string; /** * The Data Guard role of the Autonomous Container Database or Autonomous AI Database, if Autonomous Data Guard is enabled. * */ "peerRole": AutonomousDatabaseDataguardAssociation.PeerRole; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer Autonomous AI Database. * */ "peerAutonomousDatabaseId"?: string; /** * The current state of the Autonomous AI Database. */ "peerAutonomousDatabaseLifeCycleState"?: AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState; /** * The protection mode of this Autonomous Data Guard association. For more information, see * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) * in the Oracle Data Guard documentation. * */ "protectionMode"?: AutonomousDatabaseDataguardAssociation.ProtectionMode; /** * The lag time between updates to the primary database and application of the redo data on the standby database, * as computed by the reporting database. *

Example: {@code 9 seconds} * */ "applyLag"?: string; /** * The rate at which redo logs are synced between the associated databases. *

Example: {@code 180 Mb per second} * */ "applyRate"?: string; /** * Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association * */ "isAutomaticFailoverEnabled"?: boolean; /** * The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, * as computed by the reporting database. *

Example: {@code 7 seconds} * */ "transportLag"?: string; /** * The date and time of the last update to the apply lag, apply rate, and transport lag values. */ "timeLastSynced"?: Date; /** * The date and time the Data Guard association was created. */ "timeCreated"?: Date; /** * The date and time when the last role change action happened. */ "timeLastRoleChanged"?: Date; } export declare namespace AutonomousDatabaseDataguardAssociation { enum Role { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", BackupCopy = "BACKUP_COPY", SnapshotStandby = "SNAPSHOT_STANDBY", /** * 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 { Provisioning = "PROVISIONING", Available = "AVAILABLE", RoleChangeInProgress = "ROLE_CHANGE_IN_PROGRESS", Terminating = "TERMINATING", Terminated = "TERMINATED", Failed = "FAILED", Unavailable = "UNAVAILABLE", 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 PeerRole { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", BackupCopy = "BACKUP_COPY", SnapshotStandby = "SNAPSHOT_STANDBY", /** * 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 PeerAutonomousDatabaseLifeCycleState { Provisioning = "PROVISIONING", Available = "AVAILABLE", Stopping = "STOPPING", Stopped = "STOPPED", Starting = "STARTING", Terminating = "TERMINATING", Terminated = "TERMINATED", Unavailable = "UNAVAILABLE", RestoreInProgress = "RESTORE_IN_PROGRESS", RestoreFailed = "RESTORE_FAILED", BackupInProgress = "BACKUP_IN_PROGRESS", ScaleInProgress = "SCALE_IN_PROGRESS", AvailableNeedsAttention = "AVAILABLE_NEEDS_ATTENTION", Updating = "UPDATING", MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS", Restarting = "RESTARTING", Recreating = "RECREATING", RoleChangeInProgress = "ROLE_CHANGE_IN_PROGRESS", Upgrading = "UPGRADING", Inaccessible = "INACCESSIBLE", Standby = "STANDBY", Transporting = "TRANSPORTING", /** * 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 ProtectionMode { MaximumAvailability = "MAXIMUM_AVAILABILITY", MaximumPerformance = "MAXIMUM_PERFORMANCE", /** * 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: AutonomousDatabaseDataguardAssociation): object; function getDeserializedJsonObj(obj: AutonomousDatabaseDataguardAssociation): object; }