Show / Hide Table of Contents

Class DataGuardAssociation

Inheritance
object
DataGuardAssociation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class DataGuardAssociation

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.
Example: 9 seconds

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.
Example: 180 Mb per second

DatabaseId

Declaration
[Required(ErrorMessage = "DatabaseId is required.")]
[JsonProperty(PropertyName = "databaseId")]
public string DatabaseId { get; set; }
Property Value
Type Description
string

The OCID of the reporting 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 Data Guard association.

Remarks

Required

IsActiveDataGuardEnabled

Declaration
[JsonProperty(PropertyName = "isActiveDataGuardEnabled")]
public bool? IsActiveDataGuardEnabled { get; set; }
Property Value
Type Description
bool?

True if active Data Guard is enabled.

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 DataGuardAssociation.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
DataGuardAssociation.LifecycleStateEnum?

The current state of the Data Guard association.

Remarks

Required

PeerDataGuardAssociationId

Declaration
[JsonProperty(PropertyName = "peerDataGuardAssociationId")]
public string PeerDataGuardAssociationId { get; set; }
Property Value
Type Description
string

The OCID of the peer database's Data Guard association.

PeerDatabaseId

Declaration
[JsonProperty(PropertyName = "peerDatabaseId")]
public string PeerDatabaseId { get; set; }
Property Value
Type Description
string

The OCID of the associated peer database.

PeerDbHomeId

Declaration
[JsonProperty(PropertyName = "peerDbHomeId")]
public string PeerDbHomeId { get; set; }
Property Value
Type Description
string

The OCID of the Database Home containing the associated peer database.

PeerDbSystemId

Declaration
[Required(ErrorMessage = "PeerDbSystemId is required.")]
[JsonProperty(PropertyName = "peerDbSystemId")]
public string PeerDbSystemId { get; set; }
Property Value
Type Description
string

The OCID of the DB system containing the associated peer database.

Remarks

Required

PeerRole

Declaration
[Required(ErrorMessage = "PeerRole is required.")]
[JsonProperty(PropertyName = "peerRole")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataGuardAssociation.PeerRoleEnum? PeerRole { get; set; }
Property Value
Type Description
DataGuardAssociation.PeerRoleEnum?

The role of the peer database in this Data Guard association.

Remarks

Required

ProtectionMode

Declaration
[Required(ErrorMessage = "ProtectionMode is required.")]
[JsonProperty(PropertyName = "protectionMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataGuardAssociation.ProtectionModeEnum? ProtectionMode { get; set; }
Property Value
Type Description
DataGuardAssociation.ProtectionModeEnum?

The protection mode of this Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

Remarks

Required

Role

Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataGuardAssociation.RoleEnum? Role { get; set; }
Property Value
Type Description
DataGuardAssociation.RoleEnum?

The role of the reporting database in this Data Guard association.

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.

TransportType

Declaration
[JsonProperty(PropertyName = "transportType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DataGuardAssociation.TransportTypeEnum? TransportType { get; set; }
Property Value
Type Description
DataGuardAssociation.TransportTypeEnum?

The redo transport type used by this Data Guard association. For more information, see Redo Transport Services in the Oracle Data Guard documentation.

In this article
Back to top