import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the External Pluggable Database resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/ExternalPluggableDatabase * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Registers a new [ExternalPluggableDatabase](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) * resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalPluggableDatabase = new oci.database.ExternalPluggableDatabase("test_external_pluggable_database", { * compartmentId: compartmentId, * displayName: externalPluggableDatabaseDisplayName, * externalContainerDatabaseId: testExternalContainerDatabase.id, * definedTags: externalPluggableDatabaseDefinedTags, * freeformTags: { * Department: "Finance", * }, * sourceId: testSource.id, * }); * ``` * * ## Import * * ExternalPluggableDatabases can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/externalPluggableDatabase:ExternalPluggableDatabase test_external_pluggable_database "id" * ``` */ export declare class ExternalPluggableDatabase extends pulumi.CustomResource { /** * Get an existing ExternalPluggableDatabase 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?: ExternalPluggableDatabaseState, opts?: pulumi.CustomResourceOptions): ExternalPluggableDatabase; /** * Returns true if the given object is an instance of ExternalPluggableDatabase. 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 ExternalPluggableDatabase; /** * The character set of the external database. */ readonly characterSet: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * The Oracle Database configuration */ readonly databaseConfiguration: pulumi.Output; /** * 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; /** * The configuration of the Database Management service. */ readonly databaseManagementConfigs: pulumi.Output; /** * The Oracle Database version. */ readonly databaseVersion: pulumi.Output; /** * The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. */ readonly dbId: pulumi.Output; /** * The database packs licensed for the external Oracle Database. */ readonly dbPacks: pulumi.Output; /** * The `DB_UNIQUE_NAME` of the external database. */ readonly dbUniqueName: pulumi.Output; /** * (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; }>; /** * (Updatable) The user-friendly name for the external database. The name does not have to be unique. */ readonly displayName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external container database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalContainerDatabaseDetails) that contains the specified [external pluggable database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) resource. */ readonly externalContainerDatabaseId: pulumi.Output; /** * (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; }>; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The national character of the external database. */ readonly ncharacterSet: pulumi.Output; /** * The configuration of Operations Insights for the external database */ readonly operationsInsightsConfigs: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the the non-container database that was converted to a pluggable database to create this resource. * * ** 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 sourceId: pulumi.Output; /** * The configuration of Stack Monitoring for the external database. */ readonly stackMonitoringConfigs: pulumi.Output; /** * The current state of the Oracle Cloud Infrastructure external database resource. */ readonly state: pulumi.Output; /** * 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 database was created. */ readonly timeCreated: pulumi.Output; /** * The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. */ readonly timeZone: pulumi.Output; /** * Create a ExternalPluggableDatabase 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: ExternalPluggableDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalPluggableDatabase resources. */ export interface ExternalPluggableDatabaseState { /** * The character set of the external database. */ characterSet?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The Oracle Database configuration */ databaseConfiguration?: pulumi.Input; /** * 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; /** * The configuration of the Database Management service. */ databaseManagementConfigs?: pulumi.Input[] | undefined>; /** * The Oracle Database version. */ databaseVersion?: pulumi.Input; /** * The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. */ dbId?: pulumi.Input; /** * The database packs licensed for the external Oracle Database. */ dbPacks?: pulumi.Input; /** * The `DB_UNIQUE_NAME` of the external database. */ dbUniqueName?: pulumi.Input; /** * (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; } | undefined>; /** * (Updatable) The user-friendly name for the external database. The name does not have to be unique. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external container database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalContainerDatabaseDetails) that contains the specified [external pluggable database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) resource. */ externalContainerDatabaseId?: pulumi.Input; /** * (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; } | undefined>; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The national character of the external database. */ ncharacterSet?: pulumi.Input; /** * The configuration of Operations Insights for the external database */ operationsInsightsConfigs?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the the non-container database that was converted to a pluggable database to create this resource. * * ** 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 */ sourceId?: pulumi.Input; /** * The configuration of Stack Monitoring for the external database. */ stackMonitoringConfigs?: pulumi.Input[] | undefined>; /** * The current state of the Oracle Cloud Infrastructure external database resource. */ state?: pulumi.Input; /** * 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; } | undefined>; /** * The date and time the database was created. */ timeCreated?: pulumi.Input; /** * The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. */ timeZone?: pulumi.Input; } /** * The set of arguments for constructing a ExternalPluggableDatabase resource. */ export interface ExternalPluggableDatabaseArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (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; } | undefined>; /** * (Updatable) The user-friendly name for the external database. The name does not have to be unique. */ displayName: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external container database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalContainerDatabaseDetails) that contains the specified [external pluggable database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) resource. */ externalContainerDatabaseId: pulumi.Input; /** * (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; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the the non-container database that was converted to a pluggable database to create this resource. * * ** 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 */ sourceId?: pulumi.Input; } //# sourceMappingURL=externalPluggableDatabase.d.ts.map