import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Database Management resource in Oracle Cloud Infrastructure Database service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/CloudDatabaseManagement
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
 * Enable / Update / Disable database management for the specified Oracle Database instance.
 *
 * Database Management requires `USER_NAME`, `PASSWORD_SECRET_ID` and `PRIVATE_END_POINT_ID`.
 * `database.0.database_management_config` is updated to appropriate managementType and managementStatus for the specified Oracle Database instance.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const test = new oci.database.CloudDatabaseManagement("test", {
 *     databaseId: testDatabase.id,
 *     managementType: databaseCloudDatabaseManagementDetailsManagementType,
 *     privateEndPointId: databaseCloudDatabaseManagementDetailsPrivateEndPointId,
 *     serviceName: databaseCloudDatabaseManagementDetailsServiceName,
 *     credentialdetails: {
 *         userName: databaseCloudDatabaseManagementDetailsUserName,
 *         passwordSecretId: databaseCloudDatabaseManagementDetailsPasswordSecretId,
 *     },
 *     enableManagement: databaseCloudDatabaseManagementDetailsEnableManagement === "true",
 *     port: Number(cloudDatabaseManagementPort),
 *     protocol: cloudDatabaseManagementProtocol,
 *     role: cloudDatabaseManagementRole,
 *     sslSecretId: testSecret.id,
 * });
 * ```
 *
 * ## Import
 *
 * Import is not supported for this resource.
 */
export declare class CloudDatabaseManagement extends pulumi.CustomResource {
    /**
     * Get an existing CloudDatabaseManagement 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?: CloudDatabaseManagementState, opts?: pulumi.CustomResourceOptions): CloudDatabaseManagement;
    /**
     * Returns true if the given object is an instance of CloudDatabaseManagement.  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 CloudDatabaseManagement;
    readonly credentialdetails: pulumi.Output<outputs.Database.CloudDatabaseManagementCredentialdetails>;
    /**
     * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly databaseId: pulumi.Output<string>;
    /**
     * (Updatable) Use this flag to enable/disable database management
     *
     * ** 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 enableManagement: pulumi.Output<boolean>;
    /**
     * (Updatable) Specifies database management type
     * enum:
     * - `BASIC`
     * - `ADVANCED`
     */
    readonly managementType: pulumi.Output<string>;
    /**
     * The port used to connect to the database.
     */
    readonly port: pulumi.Output<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.
     */
    readonly privateEndPointId: pulumi.Output<string>;
    /**
     * Protocol used by the database connection.
     */
    readonly protocol: pulumi.Output<string | undefined>;
    /**
     * The role of the user that will be connecting to the database.
     */
    readonly role: pulumi.Output<string | undefined>;
    /**
     * The name of the Oracle Database service that will be used to connect to the database.
     */
    readonly serviceName: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
     */
    readonly sslSecretId: pulumi.Output<string | undefined>;
    /**
     * Create a CloudDatabaseManagement 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: CloudDatabaseManagementArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering CloudDatabaseManagement resources.
 */
export interface CloudDatabaseManagementState {
    credentialdetails?: pulumi.Input<inputs.Database.CloudDatabaseManagementCredentialdetails | undefined>;
    /**
     * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    databaseId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Use this flag to enable/disable database management
     *
     * ** 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
     */
    enableManagement?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) Specifies database management type
     * enum:
     * - `BASIC`
     * - `ADVANCED`
     */
    managementType?: pulumi.Input<string | undefined>;
    /**
     * The port used to connect to the database.
     */
    port?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.
     */
    privateEndPointId?: pulumi.Input<string | undefined>;
    /**
     * Protocol used by the database connection.
     */
    protocol?: pulumi.Input<string | undefined>;
    /**
     * The role of the user that will be connecting to the database.
     */
    role?: pulumi.Input<string | undefined>;
    /**
     * The name of the Oracle Database service that will be used to connect to the database.
     */
    serviceName?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
     */
    sslSecretId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a CloudDatabaseManagement resource.
 */
export interface CloudDatabaseManagementArgs {
    credentialdetails: pulumi.Input<inputs.Database.CloudDatabaseManagementCredentialdetails>;
    /**
     * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    databaseId: pulumi.Input<string>;
    /**
     * (Updatable) Use this flag to enable/disable database management
     *
     * ** 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
     */
    enableManagement: pulumi.Input<boolean>;
    /**
     * (Updatable) Specifies database management type
     * enum:
     * - `BASIC`
     * - `ADVANCED`
     */
    managementType: pulumi.Input<string>;
    /**
     * The port used to connect to the database.
     */
    port?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.
     */
    privateEndPointId: pulumi.Input<string>;
    /**
     * Protocol used by the database connection.
     */
    protocol?: pulumi.Input<string | undefined>;
    /**
     * The role of the user that will be connecting to the database.
     */
    role?: pulumi.Input<string | undefined>;
    /**
     * The name of the Oracle Database service that will be used to connect to the database.
     */
    serviceName: pulumi.Input<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
     */
    sslSecretId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=cloudDatabaseManagement.d.ts.map