/** * 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"; /** * Details for creating a database for a standby db system with dataguard. *
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * */ export interface CreateDatabaseForStandbyDbSystemDetails { /** * For SYS, SYSTEM, and PDB Admin, enter the same password as the primary admin password. */ "adminPassword": string; /** * For TDE Wallet, enter the same password as the primary wallet password. */ "tdeWalletPassword"?: string; /** * The database software image [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) */ "databaseSoftwareImageId"?: string; /** * True if active Data Guard is enabled. */ "isActiveDataGuardEnabled"?: boolean; /** * The database domain. In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure. */ "dbDomain"?: string; /** * Specifies a prefix for the {@code Oracle SID} of the database to be created. * */ "sidPrefix"?: string; /** * The {@code DB_UNIQUE_NAME} of the Oracle Database. */ "dbUniqueName"?: string; /** * The protection mode of this Data Guard association. 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. * */ "protectionMode": CreateDatabaseForStandbyDbSystemDetails.ProtectionMode; "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails | model.AzureEncryptionKeyDetails | model.AwsEncryptionKeyDetails; /** * 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": CreateDatabaseForStandbyDbSystemDetails.TransportType; "dbBackupConfig"?: model.DbBackupConfig; /** * 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](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). *
Example: {@code {\"Department\": \"Finance\"}} * */ "databaseFreeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * */ "databaseDefinedTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace CreateDatabaseForStandbyDbSystemDetails { enum ProtectionMode { MaximumAvailability = "MAXIMUM_AVAILABILITY", MaximumPerformance = "MAXIMUM_PERFORMANCE", MaximumProtection = "MAXIMUM_PROTECTION" } enum TransportType { Sync = "SYNC", Async = "ASYNC", Fastsync = "FASTSYNC" } function getJsonObj(obj: CreateDatabaseForStandbyDbSystemDetails): object; function getDeserializedJsonObj(obj: CreateDatabaseForStandbyDbSystemDetails): object; }