/** * 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. */ /** * Autonomous Data Guard standby database details. * */ export interface AutonomousDatabaseStandbySummary { /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "lagTimeInSeconds"?: number; /** * The current state of the Autonomous AI Database. */ "lifecycleState"?: AutonomousDatabaseStandbySummary.LifecycleState; /** * Additional information about the current lifecycle state. */ "lifecycleDetails"?: string; /** * The date and time the Autonomous Data Guard role was switched for the standby Autonomous AI Database. */ "timeDataGuardRoleChanged"?: Date; /** * The date and time the Disaster Recovery role was switched for the standby Autonomous AI Database. */ "timeDisasterRecoveryRoleChanged"?: Date; /** * The date and time when maintenance will begin. */ "timeMaintenanceBegin"?: Date; /** * The date and time when maintenance will end. */ "timeMaintenanceEnd"?: Date; /** * The component chosen for maintenance. */ "maintenanceTargetComponent"?: string; /** * The availability domain of a local Autonomous Data Guard standby database of an Autonomous AI Database Serverless instance. */ "availabilityDomain"?: string; /** * The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use). */ "externalLocationZone"?: string; } export declare namespace AutonomousDatabaseStandbySummary { enum LifecycleState { 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" } function getJsonObj(obj: AutonomousDatabaseStandbySummary): object; function getDeserializedJsonObj(obj: AutonomousDatabaseStandbySummary): object; }