Show / Hide Table of Contents

Class CreateDataGuardAssociationWithNewDbSystemDetails

The configuration details for creating a Data Guard association for a virtual machine DB system database. For this type of DB system database, the creationType should be NewDbSystem. A new DB system will be launched to create the standby database.
To create a Data Guard association for a database in a bare metal or Exadata DB system, use the {@link #createDataGuardAssociationToExistingDbSystemDetails(CreateDataGuardAssociationToExistingDbSystemDetailsRequest) createDataGuardAssociationToExistingDbSystemDetails} subtype instead.

Inheritance
object
CreateDataGuardAssociationDetails
CreateDataGuardAssociationWithNewDbSystemDetails
Inherited Members
CreateDataGuardAssociationDetails.DatabaseSoftwareImageId
CreateDataGuardAssociationDetails.DatabaseAdminPassword
CreateDataGuardAssociationDetails.SourceEncryptionKeyLocationDetails
CreateDataGuardAssociationDetails.ProtectionMode
CreateDataGuardAssociationDetails.TransportType
CreateDataGuardAssociationDetails.IsActiveDataGuardEnabled
CreateDataGuardAssociationDetails.PeerDbUniqueName
CreateDataGuardAssociationDetails.PeerSidPrefix
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 CreateDataGuardAssociationWithNewDbSystemDetails : CreateDataGuardAssociationDetails

Properties

AvailabilityDomain

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

The name of the availability domain that the standby database DB system will be located in. For example- "Uocm:PHX-AD-1".

BackupNetworkNsgIds

Declaration
[JsonProperty(PropertyName = "backupNetworkNsgIds")]
public List<string> BackupNetworkNsgIds { get; set; }
Property Value
Type Description
List<string>

A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata systems.

CpuCoreCount

Declaration
[JsonProperty(PropertyName = "cpuCoreCount")]
public int? CpuCoreCount { get; set; }
Property Value
Type Description
int?

The number of CPU cores available for AMD-based virtual machine DB systems.

DataCollectionOptions

Declaration
[JsonProperty(PropertyName = "dataCollectionOptions")]
public DataCollectionOptions DataCollectionOptions { get; set; }
Property Value
Type Description
DataCollectionOptions

DatabaseDefinedTags

Declaration
[JsonProperty(PropertyName = "databaseDefinedTags")]
public Dictionary<string, Dictionary<string, object>> DatabaseDefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DatabaseFreeformTags

Declaration
[JsonProperty(PropertyName = "databaseFreeformTags")]
public Dictionary<string, string> DatabaseFreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

DbSystemDefinedTags

Declaration
[JsonProperty(PropertyName = "dbSystemDefinedTags")]
public Dictionary<string, Dictionary<string, object>> DbSystemDefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DbSystemFreeformTags

Declaration
[JsonProperty(PropertyName = "dbSystemFreeformTags")]
public Dictionary<string, string> DbSystemFreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

DbSystemSecurityAttributes

Declaration
[JsonProperty(PropertyName = "dbSystemSecurityAttributes")]
public Dictionary<string, Dictionary<string, object>> DbSystemSecurityAttributes { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}

DisplayName

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

The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.

Domain

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

A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.

FaultDomains

Declaration
[JsonProperty(PropertyName = "faultDomains")]
public List<string> FaultDomains { get; set; }
Property Value
Type Description
List<string>

A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain.
If the node count is greater than 1, you can specify which Fault Domains these nodes will be distributed into. The system assigns your nodes automatically to the Fault Domains you specify so that no Fault Domain contains more than one node.
To get a list of Fault Domains, use the {@link #listFaultDomains(ListFaultDomainsRequest) listFaultDomains} operation in the Identity and Access Management Service API.
Example: FAULT-DOMAIN-1

Hostname

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

The hostname for the DB node.

LicenseModel

Declaration
[JsonProperty(PropertyName = "licenseModel")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModelEnum? LicenseModel { get; set; }
Property Value
Type Description
CreateDataGuardAssociationWithNewDbSystemDetails.LicenseModelEnum?

The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.

NodeCount

Declaration
[JsonProperty(PropertyName = "nodeCount")]
public int? NodeCount { get; set; }
Property Value
Type Description
int?

The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.

NsgIds

Declaration
[JsonProperty(PropertyName = "nsgIds")]
public List<string> NsgIds { get; set; }
Property Value
Type Description
List<string>

The list of OCIDs for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions:

  • A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

PrivateIp

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

The IPv4 address from the provided OCI subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv4 address from the subnet.

PrivateIpV6

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

The IPv6 address from the provided OCI subnet which needs to be assigned to the VNIC. If not provided, it will be auto-assigned with an available IPv6 address from the subnet.

Shape

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

The virtual machine DB system shape to launch for the standby database in the Data Guard association. The shape determines the number of CPU cores and the amount of memory available for the DB system. Only virtual machine shapes are valid options. If you do not supply this parameter, the default shape is the shape of the primary DB system.
To get a list of all shapes, use the {@link #listDbSystemShapes(ListDbSystemShapesRequest) listDbSystemShapes} operation.

StorageVolumePerformanceMode

Declaration
[JsonProperty(PropertyName = "storageVolumePerformanceMode")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceModeEnum? StorageVolumePerformanceMode { get; set; }
Property Value
Type Description
CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceModeEnum?

The block storage volume performance level. Valid values are BALANCED and HIGH_PERFORMANCE. See Block Volume Performance for more information.

SubnetId

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

The OCID of the subnet the DB system is associated with. Subnet Restrictions:

  • For 1- and 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.16.16/28
    These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet.

TimeZone

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

The time zone of the dataguard standby DB system. For details, see DB System Time Zones.

In this article
Back to top