import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Managed Database resource in Oracle Cloud Infrastructure Database Management service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/ManagedDatabase
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement
 *
 * Updates the Managed Database specified by managedDatabaseId.
 *
 * ## Import
 *
 * ManagedDatabases can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DatabaseManagement/managedDatabase:ManagedDatabase test_managed_database "id"
 * ```
 */
export declare class ManagedDatabase extends pulumi.CustomResource {
    /**
     * Get an existing ManagedDatabase 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?: ManagedDatabaseState, opts?: pulumi.CustomResourceOptions): ManagedDatabase;
    /**
     * Returns true if the given object is an instance of ManagedDatabase.  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 ManagedDatabase;
    /**
     * The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}`
     */
    readonly additionalDetails: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The operating system of database.
     */
    readonly databasePlatformName: pulumi.Output<string>;
    /**
     * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
     */
    readonly databaseStatus: pulumi.Output<string>;
    /**
     * The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
     */
    readonly databaseSubType: pulumi.Output<string>;
    /**
     * The type of Oracle Database installation.
     */
    readonly databaseType: pulumi.Output<string>;
    /**
     * The Oracle Database version.
     */
    readonly databaseVersion: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system that this Managed Database is part of.
     */
    readonly dbSystemId: pulumi.Output<string>;
    /**
     * The list of feature configurations
     */
    readonly dbmgmtFeatureConfigs: pulumi.Output<outputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfig[]>;
    /**
     * (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). Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The infrastructure used to deploy the Oracle Database.
     */
    readonly deploymentType: 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;
    }>;
    /**
     * Indicates whether the Oracle Database is part of a cluster.
     */
    readonly isCluster: pulumi.Output<boolean>;
    /**
     * A list of Managed Database Groups that the Managed Database belongs to.
     */
    readonly managedDatabaseGroups: pulumi.Output<outputs.DatabaseManagement.ManagedDatabaseManagedDatabaseGroup[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     *
     *
     * ** 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 managedDatabaseId: pulumi.Output<string>;
    /**
     * The management option used when enabling Database Management.
     */
    readonly managementOption: pulumi.Output<string>;
    /**
     * The name of the Managed Database.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database if Managed Database is a Pluggable Database.
     */
    readonly parentContainerId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system.
     */
    readonly storageSystemId: 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). System tags can be viewed by users, but can only be created by the system.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time the Managed Database was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The workload type of the Autonomous Database.
     */
    readonly workloadType: pulumi.Output<string>;
    /**
     * Create a ManagedDatabase 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: ManagedDatabaseArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ManagedDatabase resources.
 */
export interface ManagedDatabaseState {
    /**
     * The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}`
     */
    additionalDetails?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The operating system of database.
     */
    databasePlatformName?: pulumi.Input<string | undefined>;
    /**
     * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
     */
    databaseStatus?: pulumi.Input<string | undefined>;
    /**
     * The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
     */
    databaseSubType?: pulumi.Input<string | undefined>;
    /**
     * The type of Oracle Database installation.
     */
    databaseType?: pulumi.Input<string | undefined>;
    /**
     * The Oracle Database version.
     */
    databaseVersion?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system that this Managed Database is part of.
     */
    dbSystemId?: pulumi.Input<string | undefined>;
    /**
     * The list of feature configurations
     */
    dbmgmtFeatureConfigs?: pulumi.Input<pulumi.Input<inputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfig>[] | 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). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The infrastructure used to deploy the Oracle Database.
     */
    deploymentType?: 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>;
    /**
     * Indicates whether the Oracle Database is part of a cluster.
     */
    isCluster?: pulumi.Input<boolean | undefined>;
    /**
     * A list of Managed Database Groups that the Managed Database belongs to.
     */
    managedDatabaseGroups?: pulumi.Input<pulumi.Input<inputs.DatabaseManagement.ManagedDatabaseManagedDatabaseGroup>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     *
     *
     * ** 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
     */
    managedDatabaseId?: pulumi.Input<string | undefined>;
    /**
     * The management option used when enabling Database Management.
     */
    managementOption?: pulumi.Input<string | undefined>;
    /**
     * The name of the Managed Database.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database if Managed Database is a Pluggable Database.
     */
    parentContainerId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system.
     */
    storageSystemId?: 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). System tags can be viewed by users, but can only be created by the system.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time the Managed Database was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The workload type of the Autonomous Database.
     */
    workloadType?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ManagedDatabase resource.
 */
export interface ManagedDatabaseArgs {
    /**
     * (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). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     *
     *
     * ** 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
     */
    managedDatabaseId: pulumi.Input<string>;
}
//# sourceMappingURL=managedDatabase.d.ts.map