import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the External Container Database resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/ExternalContainerDatabase * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Creates a new external container database resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalContainerDatabase = new oci.database.ExternalContainerDatabase("test_external_container_database", { * compartmentId: compartmentId, * displayName: externalContainerDatabaseDisplayName, * definedTags: externalContainerDatabaseDefinedTags, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * ExternalContainerDatabases can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/externalContainerDatabase:ExternalContainerDatabase test_external_container_database "id" * ``` */ export declare class ExternalContainerDatabase extends pulumi.CustomResource { /** * Get an existing ExternalContainerDatabase 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?: ExternalContainerDatabaseState, opts?: pulumi.CustomResourceOptions): ExternalContainerDatabase; /** * Returns true if the given object is an instance of ExternalContainerDatabase. 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 ExternalContainerDatabase; /** * 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; /** * (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"}` * * ** 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 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 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 ExternalContainerDatabase 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: ExternalContainerDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalContainerDatabase resources. */ export interface ExternalContainerDatabaseState { /** * 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; /** * (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"}` * * ** 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 */ 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 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 ExternalContainerDatabase resource. */ export interface ExternalContainerDatabaseArgs { /** * (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; /** * (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"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=externalContainerDatabase.d.ts.map