Class CreateCrossTenancyDisasterRecoveryDetails
The following are the details necessary to create a cross-tenancy disaster recovery (DR) association for an existing Autonomous Database. This may be in the same region, or in another. IMPORTANT For creating a standby databases in a cross-tenancy local DR association:
- To create the standby database in different tenancy, use the compartment OCID in the tenancy where the standby is located.
- To create the request in the standby database, the sourceId value must be the OCID of the primary database.
- Creating a ADG DR in the same tenancy and region is not allowed. Use changeDisasterRecoveryConfiguration instead. The following parameters are required for the cross-tenancy standby database
- disasterRecoveryType The following parameters are optional for the cross-tenancy 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 CreateCrossTenancyDisasterRecoveryDetails : CreateAutonomousDatabaseBase
Properties
DisasterRecoveryType
Declaration
[Required(ErrorMessage = "DisasterRecoveryType is required.")]
[JsonProperty(PropertyName = "disasterRecoveryType")]
[JsonConverter(typeof(StringEnumConverter))]
public DisasterRecoveryConfiguration.DisasterRecoveryTypeEnum? DisasterRecoveryType { get; set; }
Property Value
Type | Description |
---|---|
DisasterRecoveryConfiguration.DisasterRecoveryTypeEnum? | Indicates the 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
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. |
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