Class CreateCrossRegionDisasterRecoveryDetails
The following are the details necessary to create a disaster recovery (DR) association for an existing Autonomous Database with a standby in a remote region. IMPORTANT For creating a standby databases in a cross-region DR association:
- To create the standby database in a remote region, use the API endpoint in the region where the standby is located. For example, if the primary database is in the IAD region and the standby is in the PHX region, make the API call using the PHX endpoint (https://database.us-phoenix-1.oraclecloud.com). See API Endpoints for the list of Database Service API endpoints.
- To create the request in the standby database, the sourceId value must be the OCID of the primary database. The following parameters are required for the cross-region standby database and must contain the same values as the source Autonomous Database:
- remoteDisasterRecoveryType The following parameters are optional for the cross-region standby database. If included in the request, these parameters must contain the same values as the source Autonomous Database:
- dbName
- dbVersion
- ecpuCount
- dataStorageSizeInTB
- customerContacts
- scheduledOperations
- isAutoScalingForStorageEnabled
- definedTags
- freeformTags
- licenseModel
- whitelistedIps
- isMtlsConnectionRequired
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class CreateCrossRegionDisasterRecoveryDetails : CreateAutonomousDatabaseBase
Properties
IsReplicateAutomaticBackups
Declaration
[JsonProperty(PropertyName = "isReplicateAutomaticBackups")]
public bool? IsReplicateAutomaticBackups { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database. |
RemoteDisasterRecoveryType
Declaration
[Required(ErrorMessage = "RemoteDisasterRecoveryType is required.")]
[JsonProperty(PropertyName = "remoteDisasterRecoveryType")]
[JsonConverter(typeof(StringEnumConverter))]
public DisasterRecoveryConfiguration.DisasterRecoveryTypeEnum? RemoteDisasterRecoveryType { get; set; }
Property Value
Type | Description |
---|---|
DisasterRecoveryConfiguration.DisasterRecoveryTypeEnum? | Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. |
Remarks
Required
SourceId
Declaration
[Required(ErrorMessage = "SourceId is required.")]
[JsonProperty(PropertyName = "sourceId")]
public string SourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the source Autonomous Database that will be used to create a new peer database for the DR association. |
Remarks
Required