/** * Database Service API * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). * OpenAPI spec version: 20160918 * Contact: sic_dbaas_cp_us_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The configuration details for creating a Data Guard association between databases. *

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * */ export interface CreateDataGuardAssociationDetails { /** * The database software image [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) */ "databaseSoftwareImageId"?: string; /** * A strong password for the {@code SYS}, {@code SYSTEM}, and {@code PDB Admin} users to apply during standby creation. *

The password must contain no fewer than nine characters and include: *

* At least two uppercase characters. *

* At least two lowercase characters. *

* At least two numeric characters. *

* At least two special characters. Valid special characters include \"_\", \"#\", and \"-\" only. *

**The password MUST be the same as the primary admin password.** * */ "databaseAdminPassword": string; "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails; /** * The protection mode to set up between the primary and standby databases. For more information, see * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) * in the Oracle Data Guard documentation. *

**IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE. * */ "protectionMode": CreateDataGuardAssociationDetails.ProtectionMode; /** * The redo transport type to use for this Data Guard association. Valid values depend on the specified {@code protectionMode}: *

* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * * MAXIMUM_PERFORMANCE - ASYNC * * MAXIMUM_PROTECTION - SYNC *

For more information, see * [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) * in the Oracle Data Guard documentation. *

**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC. * */ "transportType": CreateDataGuardAssociationDetails.TransportType; /** * True if active Data Guard is enabled. */ "isActiveDataGuardEnabled"?: boolean; /** * Specifies the {@code DB_UNIQUE_NAME} of the peer database to be created. * */ "peerDbUniqueName"?: string; /** * Specifies a prefix for the {@code Oracle SID} of the database to be created. * */ "peerSidPrefix"?: string; "creationType": string; } export declare namespace CreateDataGuardAssociationDetails { enum ProtectionMode { MaximumAvailability = "MAXIMUM_AVAILABILITY", MaximumPerformance = "MAXIMUM_PERFORMANCE", MaximumProtection = "MAXIMUM_PROTECTION" } enum TransportType { Sync = "SYNC", Async = "ASYNC", Fastsync = "FASTSYNC" } function getJsonObj(obj: CreateDataGuardAssociationDetails): object; function getDeserializedJsonObj(obj: CreateDataGuardAssociationDetails): object; }