import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the External My Sql 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/ExternalMySqlDatabase * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * * Creates an external MySQL database. * MySQL support within Oracle Cloud Infrastructure Database Management service has been deprecated as of January 29, 2026. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalMySqlDatabase = new oci.databasemanagement.ExternalMySqlDatabase("test_external_my_sql_database", { * compartmentId: compartmentId, * dbName: externalMySqlDatabaseDbName, * }); * ``` * * ## Import * * ExternalMySqlDatabases can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseManagement/externalMySqlDatabase:ExternalMySqlDatabase test_external_my_sql_database "id" * ``` */ export declare class ExternalMySqlDatabase extends pulumi.CustomResource { /** * Get an existing ExternalMySqlDatabase 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, state?: ExternalMySqlDatabaseState, opts?: pulumi.CustomResourceOptions): ExternalMySqlDatabase; /** * Returns true if the given object is an instance of ExternalMySqlDatabase. 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 ExternalMySqlDatabase; /** * OCID of compartment for the External MySQL Database. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Name of the External MySQL 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 dbName: pulumi.Output; /** * OCID of External MySQL Database. */ readonly externalDatabaseId: pulumi.Output; /** * Create a ExternalMySqlDatabase 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: ExternalMySqlDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalMySqlDatabase resources. */ export interface ExternalMySqlDatabaseState { /** * OCID of compartment for the External MySQL Database. */ compartmentId?: pulumi.Input; /** * (Updatable) Name of the External MySQL 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 */ dbName?: pulumi.Input; /** * OCID of External MySQL Database. */ externalDatabaseId?: pulumi.Input; } /** * The set of arguments for constructing a ExternalMySqlDatabase resource. */ export interface ExternalMySqlDatabaseArgs { /** * OCID of compartment for the External MySQL Database. */ compartmentId: pulumi.Input; /** * (Updatable) Name of the External MySQL 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 */ dbName: pulumi.Input; } //# sourceMappingURL=externalMySqlDatabase.d.ts.map