import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Db System resource in Oracle Cloud Infrastructure Database service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/DbSystem
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
 *
 * Creates a new DB system in the specified compartment and availability domain. The Oracle
 * Database edition that you specify applies to all the databases on that DB system. The selected edition cannot be changed.
 *
 * An initial database is created on the DB system based on the request parameters you provide and some default
 * options. For detailed information about default options, see [Bare metal and virtual machine DB system default options.](https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/creatingDBsystem.htm#Default)
 *
 * **Note:** Deprecated for Exadata Cloud Service systems. Use the [new resource model APIs](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) instead.
 *
 * For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See [Switching an Exadata DB System to the New Resource Model and APIs](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm) for details on converting existing Exadata DB systems to the new resource model.
 *
 * Use the [CreateCloudExadataInfrastructure](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudExadataInfrastructure/CreateCloudExadataInfrastructure/) and [CreateCloudVmCluster](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudVmCluster/CreateCloudVmCluster/) APIs to provision a new Exadata Cloud Service instance.
 *
 * **Important:** When `autoBackupEnabled` is not present in the configuration or set to true, the `autoBackupWindow` and `autoFullBackupWindow` will be ignored
 *
 * ## Import
 *
 * DbSystems can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Database/dbSystem:DbSystem test_db_system "id"
 * ```
 *
 * Import is only supported for source=NONE
 *
 * `db_home.0.database.0.admin_password` is not returned by the service for security reasons. To avoid a force new of the dbHome on the next apply, add the following to the resource:
 *
 * ```sh
 *     lifecycle {
 *         ignore_changes = ["db_home.0.database.0.admin_password"]
 *     }
 * ```
 * You may also need to add `hostname` to the ignoreChanges list if you see a diff on a subsequent apply
 *
 * If the oci.Database.DbSystem being imported is missing a primary db_home, an empty placeholder for `dbHome` will be set in the Terraform state.
 * To keep configurations consistent with the imported state, add an empty placeholder for `dbHome` to your configuration like this:
 *
 * ```sh
 *   # Add this placeholder into your oci_database_db_system configuration to indicate that the primary db home is empty.
 *   db_home {
 *     database {
 *       admin_password = ""
 *     }
 *   }
 * ```
 */
export declare class DbSystem extends pulumi.CustomResource {
    /**
     * Get an existing DbSystem resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbSystemState, opts?: pulumi.CustomResourceOptions): DbSystem;
    /**
     * Returns true if the given object is an instance of DbSystem.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is DbSystem;
    /**
     * The availability domain where the DB system is located.
     */
    readonly availabilityDomain: pulumi.Output<string>;
    /**
     * (Updatable) A list of the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
     */
    readonly backupNetworkNsgIds: pulumi.Output<string[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
     *
     * **Subnet Restrictions:** See the subnet restrictions information for **subnetId**.
     */
    readonly backupSubnetId: pulumi.Output<string>;
    /**
     * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
     */
    readonly clusterName: pulumi.Output<string>;
    readonly clusterPlacementGroupId: pulumi.Output<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DB system  belongs in.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) The number of compute servers for the DB system.
     */
    readonly computeCount: pulumi.Output<number>;
    /**
     * (Updatable) The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.
     */
    readonly computeModel: pulumi.Output<string>;
    /**
     * (Updatable) The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
     * * BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36.
     * * BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52.
     * * Exadata.Base.48 - Specify a multiple of 2, from 0 to 48.
     * * Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
     * * Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
     * * Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
     * * Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92.
     * * Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184.
     * * Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368.
     * * VM.Standard.E4.Flex - Specify any thing from 1 to 64.
     *
     * This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/overview.htm#virtualmachine)
     */
    readonly cpuCoreCount: pulumi.Output<number>;
    /**
     * (Updatable) Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS.
     */
    readonly dataCollectionOptions: pulumi.Output<outputs.Database.DbSystemDataCollectionOptions>;
    /**
     * The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems. Required for BMDBs.
     */
    readonly dataStoragePercentage: pulumi.Output<number>;
    /**
     * (Updatable) Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256. Required for VMDBs.
     */
    readonly dataStorageSizeInGb: pulumi.Output<number>;
    /**
     * The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
     */
    readonly databaseEdition: pulumi.Output<string>;
    /**
     * (Updatable) Details for creating a Database Home if you are creating a database by restoring from a database backup.
     *
     * **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
     */
    readonly dbHome: pulumi.Output<outputs.Database.DbSystemDbHome>;
    /**
     * The DB system options.
     */
    readonly dbSystemOptions: pulumi.Output<outputs.Database.DbSystemDbSystemOptions>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The type of redundancy configured for the DB system. Normal is 2-way redundancy, recommended for test and development systems. High is 3-way redundancy, recommended for production systems.
     */
    readonly diskRedundancy: pulumi.Output<string>;
    /**
     * The user-friendly name for the DB system. The name does not have to be unique.
     */
    readonly displayName: pulumi.Output<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.
     */
    readonly domain: pulumi.Output<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 [ListFaultDomains](https://docs.cloud.oracle.com/iaas/api/#/en/identity/latest/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API.
     *
     * Example: `FAULT-DOMAIN-1`
     */
    readonly faultDomains: pulumi.Output<string[]>;
    /**
     * (Updatable) 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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The hostname for the DB system. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata DB systems.
     *
     * The maximum length of the combined hostname and domain is 63 characters.
     *
     * **Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.
     */
    readonly hostname: pulumi.Output<string>;
    /**
     * The IORM settings of the Exadata DB system.
     */
    readonly iormConfigCaches: pulumi.Output<outputs.Database.DbSystemIormConfigCache[]>;
    /**
     * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
     */
    readonly kmsKeyId: pulumi.Output<string | undefined>;
    /**
     * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.
     */
    readonly kmsKeyVersionId: pulumi.Output<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last maintenance run.
     */
    readonly lastMaintenanceRunId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts.
     */
    readonly lastPatchHistoryEntryId: pulumi.Output<string>;
    /**
     * (Updatable) The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
     */
    readonly licenseModel: pulumi.Output<string>;
    /**
     * Additional information about the current lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The port number configured for the listener on the DB system.
     */
    readonly listenerPort: pulumi.Output<number>;
    /**
     * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
     */
    readonly maintenanceWindowDetails: pulumi.Output<outputs.Database.DbSystemMaintenanceWindowDetails | undefined>;
    /**
     * The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
     */
    readonly maintenanceWindows: pulumi.Output<outputs.Database.DbSystemMaintenanceWindow[]>;
    /**
     * Memory allocated to the DB system, in gigabytes.
     */
    readonly memorySizeInGbs: pulumi.Output<number>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next maintenance run.
     */
    readonly nextMaintenanceRunId: pulumi.Output<string>;
    /**
     * The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.
     */
    readonly nodeCount: pulumi.Output<number>;
    /**
     * (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
     * * A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty.
     */
    readonly nsgIds: pulumi.Output<string[] | undefined>;
    readonly osPatchAction: pulumi.Output<string | undefined>;
    readonly osPatchDbNodeId: pulumi.Output<string | undefined>;
    /**
     * (Updatable) An optional property when incremented triggers Os Patch. Could be set to any integer value.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly osPatchTrigger: pulumi.Output<number | undefined>;
    /**
     * The most recent OS Patch Version applied on the DB system.
     */
    readonly osVersion: pulumi.Output<string>;
    /**
     * The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
     */
    readonly pointInTimeDataDiskCloneTimestamp: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    readonly primaryDbSystemId: pulumi.Output<string>;
    /**
     * A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Supported for VM BM shape.
     */
    readonly privateIp: pulumi.Output<string>;
    /**
     * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.
     */
    readonly privateIpV6: pulumi.Output<string>;
    /**
     * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
     */
    readonly recoStorageSizeInGb: pulumi.Output<number>;
    /**
     * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system.
     */
    readonly scanDnsName: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system.
     */
    readonly scanDnsRecordId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
     */
    readonly scanIpIds: pulumi.Output<string[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
     */
    readonly scanIpv6ids: pulumi.Output<string[]>;
    /**
     * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
     */
    readonly securityAttributes: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system.
     * * For virtual machine shapes, the number of CPU cores and memory
     * * For bare metal and Exadata shapes, the number of CPU cores, memory, and storage
     *
     * To get a list of shapes, use the [ListDbSystemShapes](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbSystemShapeSummary/ListDbSystemShapes) operation.
     */
    readonly shape: pulumi.Output<string>;
    /**
     * The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATABASE` for creating a new database from an existing database, including archive redo log data. The default is `NONE`.
     */
    readonly source: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    readonly sourceDbSystemId: pulumi.Output<string>;
    /**
     * If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured. Only applied for Exadata shape.
     */
    readonly sparseDiskgroup: pulumi.Output<boolean>;
    /**
     * (Updatable) The public key portion of the key pair to use for SSH access to the DB system. Multiple public keys can be provided. The length of the combined keys cannot exceed 40,000 characters.
     */
    readonly sshPublicKeys: pulumi.Output<string[]>;
    /**
     * The current state of the DB system.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm) for more information.
     */
    readonly storageVolumePerformanceMode: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
     *
     * **Subnet Restrictions:**
     * * For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
     * * For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
     *
     * 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 the backup subnet.
     */
    readonly subnetId: pulumi.Output<string>;
    readonly subscriptionId: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time the DB system was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time zone to use for the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm).
     */
    readonly timeZone: pulumi.Output<string>;
    /**
     * The Oracle Database version of the DB system.
     */
    readonly version: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster.
     */
    readonly vipIds: pulumi.Output<string[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
     */
    readonly vipv6ids: pulumi.Output<string[]>;
    /**
     * The OCID of the zone the DB system is associated with.
     */
    readonly zoneId: pulumi.Output<string>;
    /**
     * Create a DbSystem resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: DbSystemArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DbSystem resources.
 */
export interface DbSystemState {
    /**
     * The availability domain where the DB system is located.
     */
    availabilityDomain?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A list of the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
     */
    backupNetworkNsgIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
     *
     * **Subnet Restrictions:** See the subnet restrictions information for **subnetId**.
     */
    backupSubnetId?: pulumi.Input<string | undefined>;
    /**
     * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
     */
    clusterName?: pulumi.Input<string | undefined>;
    clusterPlacementGroupId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DB system  belongs in.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The number of compute servers for the DB system.
     */
    computeCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.
     */
    computeModel?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
     * * BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36.
     * * BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52.
     * * Exadata.Base.48 - Specify a multiple of 2, from 0 to 48.
     * * Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
     * * Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
     * * Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
     * * Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92.
     * * Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184.
     * * Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368.
     * * VM.Standard.E4.Flex - Specify any thing from 1 to 64.
     *
     * This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/overview.htm#virtualmachine)
     */
    cpuCoreCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS.
     */
    dataCollectionOptions?: pulumi.Input<inputs.Database.DbSystemDataCollectionOptions | undefined>;
    /**
     * The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems. Required for BMDBs.
     */
    dataStoragePercentage?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256. Required for VMDBs.
     */
    dataStorageSizeInGb?: pulumi.Input<number | undefined>;
    /**
     * The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
     */
    databaseEdition?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Details for creating a Database Home if you are creating a database by restoring from a database backup.
     *
     * **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
     */
    dbHome?: pulumi.Input<inputs.Database.DbSystemDbHome | undefined>;
    /**
     * The DB system options.
     */
    dbSystemOptions?: pulumi.Input<inputs.Database.DbSystemDbSystemOptions | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The type of redundancy configured for the DB system. Normal is 2-way redundancy, recommended for test and development systems. High is 3-way redundancy, recommended for production systems.
     */
    diskRedundancy?: pulumi.Input<string | undefined>;
    /**
     * The user-friendly name for the DB system. The name does not have to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    domain?: pulumi.Input<string | undefined>;
    /**
     * 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 [ListFaultDomains](https://docs.cloud.oracle.com/iaas/api/#/en/identity/latest/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API.
     *
     * Example: `FAULT-DOMAIN-1`
     */
    faultDomains?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) 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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The hostname for the DB system. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata DB systems.
     *
     * The maximum length of the combined hostname and domain is 63 characters.
     *
     * **Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.
     */
    hostname?: pulumi.Input<string | undefined>;
    /**
     * The IORM settings of the Exadata DB system.
     */
    iormConfigCaches?: pulumi.Input<pulumi.Input<inputs.Database.DbSystemIormConfigCache>[] | undefined>;
    /**
     * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
     */
    kmsKeyId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.
     */
    kmsKeyVersionId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last maintenance run.
     */
    lastMaintenanceRunId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts.
     */
    lastPatchHistoryEntryId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
     */
    licenseModel?: pulumi.Input<string | undefined>;
    /**
     * Additional information about the current lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The port number configured for the listener on the DB system.
     */
    listenerPort?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
     */
    maintenanceWindowDetails?: pulumi.Input<inputs.Database.DbSystemMaintenanceWindowDetails | undefined>;
    /**
     * The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
     */
    maintenanceWindows?: pulumi.Input<pulumi.Input<inputs.Database.DbSystemMaintenanceWindow>[] | undefined>;
    /**
     * Memory allocated to the DB system, in gigabytes.
     */
    memorySizeInGbs?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next maintenance run.
     */
    nextMaintenanceRunId?: pulumi.Input<string | undefined>;
    /**
     * The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.
     */
    nodeCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
     * * A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty.
     */
    nsgIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    osPatchAction?: pulumi.Input<string | undefined>;
    osPatchDbNodeId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) An optional property when incremented triggers Os Patch. Could be set to any integer value.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    osPatchTrigger?: pulumi.Input<number | undefined>;
    /**
     * The most recent OS Patch Version applied on the DB system.
     */
    osVersion?: pulumi.Input<string | undefined>;
    /**
     * The point in time for a cloned database system when the data disks were cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
     */
    pointInTimeDataDiskCloneTimestamp?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    primaryDbSystemId?: pulumi.Input<string | undefined>;
    /**
     * A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Supported for VM BM shape.
     */
    privateIp?: pulumi.Input<string | undefined>;
    /**
     * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.
     */
    privateIpV6?: pulumi.Input<string | undefined>;
    /**
     * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
     */
    recoStorageSizeInGb?: pulumi.Input<number | undefined>;
    /**
     * The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system.
     */
    scanDnsName?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system.
     */
    scanDnsRecordId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv4 addresses associated with the DB system. SCAN IPv4 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
     */
    scanIpIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IPv6 addresses associated with the DB system. SCAN IPv6 addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
     */
    scanIpv6ids?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
     */
    securityAttributes?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system.
     * * For virtual machine shapes, the number of CPU cores and memory
     * * For bare metal and Exadata shapes, the number of CPU cores, memory, and storage
     *
     * To get a list of shapes, use the [ListDbSystemShapes](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbSystemShapeSummary/ListDbSystemShapes) operation.
     */
    shape?: pulumi.Input<string | undefined>;
    /**
     * The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATABASE` for creating a new database from an existing database, including archive redo log data. The default is `NONE`.
     */
    source?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    sourceDbSystemId?: pulumi.Input<string | undefined>;
    /**
     * If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured. Only applied for Exadata shape.
     */
    sparseDiskgroup?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The public key portion of the key pair to use for SSH access to the DB system. Multiple public keys can be provided. The length of the combined keys cannot exceed 40,000 characters.
     */
    sshPublicKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The current state of the DB system.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm) for more information.
     */
    storageVolumePerformanceMode?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
     *
     * **Subnet Restrictions:**
     * * For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
     * * For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
     *
     * 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 the backup subnet.
     */
    subnetId?: pulumi.Input<string | undefined>;
    subscriptionId?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time the DB system was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time zone to use for the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm).
     */
    timeZone?: pulumi.Input<string | undefined>;
    /**
     * The Oracle Database version of the DB system.
     */
    version?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv4 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIPv4 address for each node in the DB system to enable failover. If one node fails, the VIPv4 is reassigned to another active node in the cluster.
     */
    vipIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IPv6 (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP IpV6 address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
     */
    vipv6ids?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The OCID of the zone the DB system is associated with.
     */
    zoneId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DbSystem resource.
 */
export interface DbSystemArgs {
    /**
     * The availability domain where the DB system is located.
     */
    availabilityDomain: pulumi.Input<string>;
    /**
     * (Updatable) A list of the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
     */
    backupNetworkNsgIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
     *
     * **Subnet Restrictions:** See the subnet restrictions information for **subnetId**.
     */
    backupSubnetId?: pulumi.Input<string | undefined>;
    /**
     * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
     */
    clusterName?: pulumi.Input<string | undefined>;
    clusterPlacementGroupId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DB system  belongs in.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) The number of compute servers for the DB system.
     */
    computeCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.
     */
    computeModel?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
     * * BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36.
     * * BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52.
     * * Exadata.Base.48 - Specify a multiple of 2, from 0 to 48.
     * * Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
     * * Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
     * * Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
     * * Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92.
     * * Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184.
     * * Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368.
     * * VM.Standard.E4.Flex - Specify any thing from 1 to 64.
     *
     * This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/overview.htm#virtualmachine)
     */
    cpuCoreCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS.
     */
    dataCollectionOptions?: pulumi.Input<inputs.Database.DbSystemDataCollectionOptions | undefined>;
    /**
     * The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems. Required for BMDBs.
     */
    dataStoragePercentage?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256. Required for VMDBs.
     */
    dataStorageSizeInGb?: pulumi.Input<number | undefined>;
    /**
     * The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
     */
    databaseEdition?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Details for creating a Database Home if you are creating a database by restoring from a database backup.
     *
     * **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
     */
    dbHome: pulumi.Input<inputs.Database.DbSystemDbHome>;
    /**
     * The DB system options.
     */
    dbSystemOptions?: pulumi.Input<inputs.Database.DbSystemDbSystemOptions | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The type of redundancy configured for the DB system. Normal is 2-way redundancy, recommended for test and development systems. High is 3-way redundancy, recommended for production systems.
     */
    diskRedundancy?: pulumi.Input<string | undefined>;
    /**
     * The user-friendly name for the DB system. The name does not have to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    domain?: pulumi.Input<string | undefined>;
    /**
     * 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 [ListFaultDomains](https://docs.cloud.oracle.com/iaas/api/#/en/identity/latest/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API.
     *
     * Example: `FAULT-DOMAIN-1`
     */
    faultDomains?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) 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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The hostname for the DB system. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata DB systems.
     *
     * The maximum length of the combined hostname and domain is 63 characters.
     *
     * **Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.
     */
    hostname: pulumi.Input<string>;
    /**
     * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
     */
    kmsKeyId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.
     */
    kmsKeyVersionId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.
     */
    licenseModel?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
     */
    maintenanceWindowDetails?: pulumi.Input<inputs.Database.DbSystemMaintenanceWindowDetails | undefined>;
    /**
     * The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.
     */
    nodeCount?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
     * * A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty.
     */
    nsgIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    osPatchAction?: pulumi.Input<string | undefined>;
    osPatchDbNodeId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) An optional property when incremented triggers Os Patch. Could be set to any integer value.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    osPatchTrigger?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    primaryDbSystemId?: pulumi.Input<string | undefined>;
    /**
     * A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Supported for VM BM shape.
     */
    privateIp?: pulumi.Input<string | undefined>;
    /**
     * A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.
     */
    privateIpV6?: pulumi.Input<string | undefined>;
    /**
     * The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.
     */
    recoStorageSizeInGb?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
     */
    securityAttributes?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The shape of the DB system. The shape determines resources allocated to the DB system.
     * * For virtual machine shapes, the number of CPU cores and memory
     * * For bare metal and Exadata shapes, the number of CPU cores, memory, and storage
     *
     * To get a list of shapes, use the [ListDbSystemShapes](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/DbSystemShapeSummary/ListDbSystemShapes) operation.
     */
    shape: pulumi.Input<string>;
    /**
     * The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATABASE` for creating a new database from an existing database, including archive redo log data. The default is `NONE`.
     */
    source?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system.
     */
    sourceDbSystemId?: pulumi.Input<string | undefined>;
    /**
     * If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured. Only applied for Exadata shape.
     */
    sparseDiskgroup?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The public key portion of the key pair to use for SSH access to the DB system. Multiple public keys can be provided. The length of the combined keys cannot exceed 40,000 characters.
     */
    sshPublicKeys: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm) for more information.
     */
    storageVolumePerformanceMode?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
     *
     * **Subnet Restrictions:**
     * * For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
     * * For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.
     *
     * 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 the backup subnet.
     */
    subnetId: pulumi.Input<string>;
    subscriptionId?: pulumi.Input<string | undefined>;
    /**
     * The time zone to use for the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm).
     */
    timeZone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=dbSystem.d.ts.map