/** * 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 member of a Data Guard group. Represents either a PRIMARY or a STANDBY Data Guard instance. */ export interface DataGuardGroupMember { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system, Cloud VM cluster or VM cluster. */ "dbSystemId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. */ "databaseId": string; /** * The role of the reporting database in this Data Guard association. */ "role": DataGuardGroupMember.Role; /** * 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 1 second} * */ "applyLag"?: string; /** * The rate at which redo logs are synced between the associated databases. *

Example: {@code 102.96 MByte/s} * */ "applyRate"?: string; /** * The rate at which redo logs are transported between the associated databases. *

Example: {@code 1 second} * */ "transportLag"?: string; /** * The date and time when last redo transport has been done. */ "transportLagRefresh"?: string; /** * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}: *

* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * * MAXIMUM_PERFORMANCE - ASYNC * * MAXIMUM_PROTECTION - SYNC *

For more information, see * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) * in the Oracle Data Guard documentation. *

**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC. * */ "transportType"?: DataGuardGroupMember.TransportType; /** * True if active Data Guard is enabled. */ "isActiveDataGuardEnabled"?: boolean; /** * The switchover readiness status of the Data Guard member. * * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy * but not currently designated to take switchover, when auto failover is enabled. * */ "switchoverReadiness"?: DataGuardGroupMember.SwitchoverReadiness; /** * The message explaining switchover readiness status. * Example: {@code Address failed checks to avoid extended downtime.} * */ "switchoverReadinessMessage"?: string; /** * The failover readiness status of the Data Guard member. * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy * but not currently designated to take failover, when auto failover is enabled. * */ "failoverReadiness"?: DataGuardGroupMember.FailoverReadiness; /** * The message explaining failover readiness status. * Example: {@code This standby database is not failover ready.} * */ "failoverReadinessMessage"?: string; /** * The Data loss exposure is the redo transport lag between the primary and standby databases. *

Example: {@code 2 seconds} * */ "dataLossExposure"?: string; /** * The date and time when the last successful Data Guard refresh occurred. */ "timeUpdated"?: Date; /** * The state of managed auto failover. */ "managedAutoFailover"?: DataGuardGroupMember.ManagedAutoFailover; /** * Specifies the {@code DB_UNIQUE_NAME} of the data guard group member databases. * */ "failoverTargets"?: Array; } export declare namespace DataGuardGroupMember { enum Role { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", 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 TransportType { Sync = "SYNC", Async = "ASYNC", Fastsync = "FASTSYNC", /** * 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 SwitchoverReadiness { Healthy = "HEALTHY", Warning = "WARNING", Critical = "CRITICAL", HealthyAndNotRolechangeTarget = "HEALTHY_AND_NOT_ROLECHANGE_TARGET", /** * 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 FailoverReadiness { Healthy = "HEALTHY", Warning = "WARNING", Critical = "CRITICAL", HealthyAndNotRolechangeTarget = "HEALTHY_AND_NOT_ROLECHANGE_TARGET", /** * 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 ManagedAutoFailover { Enable = "ENABLE", Disable = "DISABLE", /** * 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: DataGuardGroupMember): object; function getDeserializedJsonObj(obj: DataGuardGroupMember): object; }