Class AutonomousDatabaseDataguardAssociation
The properties that define dataguard association between two different Autonomous Databases. Note that Autonomous Databases inherit DataGuard association from parent Autonomous Container Database. No actions can be taken on AutonomousDatabaseDataguardAssociation, usage is strictly informational.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class AutonomousDatabaseDataguardAssociation
Properties
ApplyLag
Declaration
[JsonProperty(PropertyName = "applyLag")]
public string ApplyLag { get; set; }
Property Value
Type | Description |
---|---|
string | 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.
|
ApplyRate
Declaration
[JsonProperty(PropertyName = "applyRate")]
public string ApplyRate { get; set; }
Property Value
Type | Description |
---|---|
string | The rate at which redo logs are synced between the associated databases.
|
AutonomousDatabaseId
Declaration
[Required(ErrorMessage = "AutonomousDatabaseId is required.")]
[JsonProperty(PropertyName = "autonomousDatabaseId")]
public string AutonomousDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Autonomous Database that has a relationship with the peer Autonomous Database. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Autonomous Dataguard created for Autonomous Container Database where given Autonomous Database resides in. |
Remarks
Required
IsAutomaticFailoverEnabled
Declaration
[JsonProperty(PropertyName = "isAutomaticFailoverEnabled")]
public bool? IsAutomaticFailoverEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Additional information about the current lifecycleState, if available. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutonomousDatabaseDataguardAssociation.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AutonomousDatabaseDataguardAssociation.LifecycleStateEnum? | The current state of Autonomous Data Guard. |
Remarks
Required
PeerAutonomousDatabaseId
Declaration
[JsonProperty(PropertyName = "peerAutonomousDatabaseId")]
public string PeerAutonomousDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the peer Autonomous Database. |
PeerAutonomousDatabaseLifeCycleState
Declaration
[JsonProperty(PropertyName = "peerAutonomousDatabaseLifeCycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleStateEnum? PeerAutonomousDatabaseLifeCycleState { get; set; }
Property Value
Type | Description |
---|---|
AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleStateEnum? | The current state of the Autonomous Database. |
PeerRole
Declaration
[Required(ErrorMessage = "PeerRole is required.")]
[JsonProperty(PropertyName = "peerRole")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutonomousDatabaseDataguardAssociation.PeerRoleEnum? PeerRole { get; set; }
Property Value
Type | Description |
---|---|
AutonomousDatabaseDataguardAssociation.PeerRoleEnum? | The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. |
Remarks
Required
ProtectionMode
Declaration
[JsonProperty(PropertyName = "protectionMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutonomousDatabaseDataguardAssociation.ProtectionModeEnum? ProtectionMode { get; set; }
Property Value
Type | Description |
---|---|
AutonomousDatabaseDataguardAssociation.ProtectionModeEnum? | The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation. |
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutonomousDatabaseDataguardAssociation.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
AutonomousDatabaseDataguardAssociation.RoleEnum? | The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Data Guard association was created. |
TimeLastRoleChanged
Declaration
[JsonProperty(PropertyName = "timeLastRoleChanged")]
public DateTime? TimeLastRoleChanged { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the last role change action happened. |
TimeLastSynced
Declaration
[JsonProperty(PropertyName = "timeLastSynced")]
public DateTime? TimeLastSynced { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the last update to the apply lag, apply rate, and transport lag values. |
TransportLag
Declaration
[JsonProperty(PropertyName = "transportLag")]
public string TransportLag { get; set; }
Property Value
Type | Description |
---|---|
string | The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database,
as computed by the reporting database.
|