oci.Database.ExternalPluggableDatabase
Explore with Pulumi AI
This resource provides the External Pluggable Database resource in Oracle Cloud Infrastructure Database service.
Registers a new ExternalPluggableDatabase resource.
Example Usage
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 pulumi
import pulumi_oci as oci
test_external_pluggable_database = oci.database.ExternalPluggableDatabase("test_external_pluggable_database",
    compartment_id=compartment_id,
    display_name=external_pluggable_database_display_name,
    external_container_database_id=test_external_container_database["id"],
    defined_tags=external_pluggable_database_defined_tags,
    freeform_tags={
        "Department": "Finance",
    },
    source_id=test_source["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.NewExternalPluggableDatabase(ctx, "test_external_pluggable_database", &database.ExternalPluggableDatabaseArgs{
			CompartmentId:               pulumi.Any(compartmentId),
			DisplayName:                 pulumi.Any(externalPluggableDatabaseDisplayName),
			ExternalContainerDatabaseId: pulumi.Any(testExternalContainerDatabase.Id),
			DefinedTags:                 pulumi.Any(externalPluggableDatabaseDefinedTags),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			SourceId: pulumi.Any(testSource.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testExternalPluggableDatabase = new Oci.Database.ExternalPluggableDatabase("test_external_pluggable_database", new()
    {
        CompartmentId = compartmentId,
        DisplayName = externalPluggableDatabaseDisplayName,
        ExternalContainerDatabaseId = testExternalContainerDatabase.Id,
        DefinedTags = externalPluggableDatabaseDefinedTags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        SourceId = testSource.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.ExternalPluggableDatabase;
import com.pulumi.oci.Database.ExternalPluggableDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testExternalPluggableDatabase = new ExternalPluggableDatabase("testExternalPluggableDatabase", ExternalPluggableDatabaseArgs.builder()
            .compartmentId(compartmentId)
            .displayName(externalPluggableDatabaseDisplayName)
            .externalContainerDatabaseId(testExternalContainerDatabase.id())
            .definedTags(externalPluggableDatabaseDefinedTags)
            .freeformTags(Map.of("Department", "Finance"))
            .sourceId(testSource.id())
            .build());
    }
}
resources:
  testExternalPluggableDatabase:
    type: oci:Database:ExternalPluggableDatabase
    name: test_external_pluggable_database
    properties:
      compartmentId: ${compartmentId}
      displayName: ${externalPluggableDatabaseDisplayName}
      externalContainerDatabaseId: ${testExternalContainerDatabase.id}
      definedTags: ${externalPluggableDatabaseDefinedTags}
      freeformTags:
        Department: Finance
      sourceId: ${testSource.id}
Create ExternalPluggableDatabase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalPluggableDatabase(name: string, args: ExternalPluggableDatabaseArgs, opts?: CustomResourceOptions);@overload
def ExternalPluggableDatabase(resource_name: str,
                              args: ExternalPluggableDatabaseArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def ExternalPluggableDatabase(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              external_container_database_id: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              source_id: Optional[str] = None)func NewExternalPluggableDatabase(ctx *Context, name string, args ExternalPluggableDatabaseArgs, opts ...ResourceOption) (*ExternalPluggableDatabase, error)public ExternalPluggableDatabase(string name, ExternalPluggableDatabaseArgs args, CustomResourceOptions? opts = null)
public ExternalPluggableDatabase(String name, ExternalPluggableDatabaseArgs args)
public ExternalPluggableDatabase(String name, ExternalPluggableDatabaseArgs args, CustomResourceOptions options)
type: oci:Database:ExternalPluggableDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExternalPluggableDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExternalPluggableDatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExternalPluggableDatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalPluggableDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalPluggableDatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var externalPluggableDatabaseResource = new Oci.Database.ExternalPluggableDatabase("externalPluggableDatabaseResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    ExternalContainerDatabaseId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    SourceId = "string",
});
example, err := database.NewExternalPluggableDatabase(ctx, "externalPluggableDatabaseResource", &database.ExternalPluggableDatabaseArgs{
	CompartmentId:               pulumi.String("string"),
	DisplayName:                 pulumi.String("string"),
	ExternalContainerDatabaseId: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SourceId: pulumi.String("string"),
})
var externalPluggableDatabaseResource = new ExternalPluggableDatabase("externalPluggableDatabaseResource", ExternalPluggableDatabaseArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .externalContainerDatabaseId("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .sourceId("string")
    .build());
external_pluggable_database_resource = oci.database.ExternalPluggableDatabase("externalPluggableDatabaseResource",
    compartment_id="string",
    display_name="string",
    external_container_database_id="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    source_id="string")
const externalPluggableDatabaseResource = new oci.database.ExternalPluggableDatabase("externalPluggableDatabaseResource", {
    compartmentId: "string",
    displayName: "string",
    externalContainerDatabaseId: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    sourceId: "string",
});
type: oci:Database:ExternalPluggableDatabase
properties:
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    externalContainerDatabaseId: string
    freeformTags:
        string: string
    sourceId: string
ExternalPluggableDatabase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExternalPluggableDatabase resource accepts the following input properties:
- CompartmentId string
- (Updatable) The OCID of the compartment.
- DisplayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- ExternalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, 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. Example: {"Department": "Finance"}
- SourceId string
- The OCID 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 
- CompartmentId string
- (Updatable) The OCID of the compartment.
- DisplayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- ExternalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]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. Example: {"Department": "Finance"}
- SourceId string
- The OCID 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 
- compartmentId String
- (Updatable) The OCID of the compartment.
- displayName String
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer StringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,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. Example: {"Department": "Finance"}
- sourceId String
- The OCID 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 
- compartmentId string
- (Updatable) The OCID of the compartment.
- displayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: 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. Example: {"Department": "Finance"}
- sourceId string
- The OCID 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 
- compartment_id str
- (Updatable) The OCID of the compartment.
- display_name str
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- external_container_ strdatabase_ id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- (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. Example: {"Department": "Finance"}
- source_id str
- The OCID 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 
- compartmentId String
- (Updatable) The OCID of the compartment.
- displayName String
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer StringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<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. Example: {"Department": "Finance"}
- sourceId String
- The OCID 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 
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalPluggableDatabase resource produces the following output properties:
- CharacterSet string
- The character set of the external database.
- DatabaseConfiguration string
- The Oracle Database configuration
- DatabaseEdition string
- 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.
- DatabaseManagement List<ExternalConfigs Pluggable Database Database Management Config> 
- The configuration of the Database Management service.
- DatabaseVersion string
- The Oracle Database version.
- DbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- DbPacks string
- The database packs licensed for the external Oracle Database.
- DbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights List<ExternalConfigs Pluggable Database Operations Insights Config> 
- The configuration of Operations Insights for the external database
- StackMonitoring List<ExternalConfigs Pluggable Database Stack Monitoring Config> 
- The configuration of Stack Monitoring for the external database.
- State string
- The current state of the Oracle Cloud Infrastructure external database resource.
- TimeCreated string
- The date and time the database was created.
- TimeZone string
- 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.
- CharacterSet string
- The character set of the external database.
- DatabaseConfiguration string
- The Oracle Database configuration
- DatabaseEdition string
- 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.
- DatabaseManagement []ExternalConfigs Pluggable Database Database Management Config 
- The configuration of the Database Management service.
- DatabaseVersion string
- The Oracle Database version.
- DbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- DbPacks string
- The database packs licensed for the external Oracle Database.
- DbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights []ExternalConfigs Pluggable Database Operations Insights Config 
- The configuration of Operations Insights for the external database
- StackMonitoring []ExternalConfigs Pluggable Database Stack Monitoring Config 
- The configuration of Stack Monitoring for the external database.
- State string
- The current state of the Oracle Cloud Infrastructure external database resource.
- TimeCreated string
- The date and time the database was created.
- TimeZone string
- 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.
- characterSet String
- The character set of the external database.
- databaseConfiguration String
- The Oracle Database configuration
- databaseEdition String
- 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.
- databaseManagement List<ExternalConfigs Pluggable Management Config> 
- The configuration of the Database Management service.
- databaseVersion String
- The Oracle Database version.
- dbId String
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks String
- The database packs licensed for the external Oracle Database.
- dbUnique StringName 
- The DB_UNIQUE_NAMEof the external database.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- ncharacterSet String
- The national character of the external database.
- operationsInsights List<ExternalConfigs Pluggable Operations Insights Config> 
- The configuration of Operations Insights for the external database
- stackMonitoring List<ExternalConfigs Pluggable Stack Monitoring Config> 
- The configuration of Stack Monitoring for the external database.
- state String
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated String
- The date and time the database was created.
- timeZone String
- 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.
- characterSet string
- The character set of the external database.
- databaseConfiguration string
- The Oracle Database configuration
- databaseEdition string
- 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.
- databaseManagement ExternalConfigs Pluggable Database Database Management Config[] 
- The configuration of the Database Management service.
- databaseVersion string
- The Oracle Database version.
- dbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks string
- The database packs licensed for the external Oracle Database.
- dbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- ncharacterSet string
- The national character of the external database.
- operationsInsights ExternalConfigs Pluggable Database Operations Insights Config[] 
- The configuration of Operations Insights for the external database
- stackMonitoring ExternalConfigs Pluggable Database Stack Monitoring Config[] 
- The configuration of Stack Monitoring for the external database.
- state string
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated string
- The date and time the database was created.
- timeZone string
- 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.
- character_set str
- The character set of the external database.
- database_configuration str
- The Oracle Database configuration
- database_edition str
- 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.
- database_management_ Sequence[Externalconfigs Pluggable Database Database Management Config] 
- The configuration of the Database Management service.
- database_version str
- The Oracle Database version.
- db_id str
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- db_packs str
- The database packs licensed for the external Oracle Database.
- db_unique_ strname 
- The DB_UNIQUE_NAMEof the external database.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- Additional information about the current lifecycle state.
- ncharacter_set str
- The national character of the external database.
- operations_insights_ Sequence[Externalconfigs Pluggable Database Operations Insights Config] 
- The configuration of Operations Insights for the external database
- stack_monitoring_ Sequence[Externalconfigs Pluggable Database Stack Monitoring Config] 
- The configuration of Stack Monitoring for the external database.
- state str
- The current state of the Oracle Cloud Infrastructure external database resource.
- time_created str
- The date and time the database was created.
- time_zone str
- 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.
- characterSet String
- The character set of the external database.
- databaseConfiguration String
- The Oracle Database configuration
- databaseEdition String
- 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.
- databaseManagement List<Property Map>Configs 
- The configuration of the Database Management service.
- databaseVersion String
- The Oracle Database version.
- dbId String
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks String
- The database packs licensed for the external Oracle Database.
- dbUnique StringName 
- The DB_UNIQUE_NAMEof the external database.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- ncharacterSet String
- The national character of the external database.
- operationsInsights List<Property Map>Configs 
- The configuration of Operations Insights for the external database
- stackMonitoring List<Property Map>Configs 
- The configuration of Stack Monitoring for the external database.
- state String
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated String
- The date and time the database was created.
- timeZone String
- 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.
Look up Existing ExternalPluggableDatabase Resource
Get an existing ExternalPluggableDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExternalPluggableDatabaseState, opts?: CustomResourceOptions): ExternalPluggableDatabase@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        character_set: Optional[str] = None,
        compartment_id: Optional[str] = None,
        database_configuration: Optional[str] = None,
        database_edition: Optional[str] = None,
        database_management_configs: Optional[Sequence[ExternalPluggableDatabaseDatabaseManagementConfigArgs]] = None,
        database_version: Optional[str] = None,
        db_id: Optional[str] = None,
        db_packs: Optional[str] = None,
        db_unique_name: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        external_container_database_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        ncharacter_set: Optional[str] = None,
        operations_insights_configs: Optional[Sequence[ExternalPluggableDatabaseOperationsInsightsConfigArgs]] = None,
        source_id: Optional[str] = None,
        stack_monitoring_configs: Optional[Sequence[ExternalPluggableDatabaseStackMonitoringConfigArgs]] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_zone: Optional[str] = None) -> ExternalPluggableDatabasefunc GetExternalPluggableDatabase(ctx *Context, name string, id IDInput, state *ExternalPluggableDatabaseState, opts ...ResourceOption) (*ExternalPluggableDatabase, error)public static ExternalPluggableDatabase Get(string name, Input<string> id, ExternalPluggableDatabaseState? state, CustomResourceOptions? opts = null)public static ExternalPluggableDatabase get(String name, Output<String> id, ExternalPluggableDatabaseState state, CustomResourceOptions options)resources:  _:    type: oci:Database:ExternalPluggableDatabase    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CharacterSet string
- The character set of the external database.
- CompartmentId string
- (Updatable) The OCID of the compartment.
- DatabaseConfiguration string
- The Oracle Database configuration
- DatabaseEdition string
- 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.
- DatabaseManagement List<ExternalConfigs Pluggable Database Database Management Config> 
- The configuration of the Database Management service.
- DatabaseVersion string
- The Oracle Database version.
- DbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- DbPacks string
- The database packs licensed for the external Oracle Database.
- DbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- ExternalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Dictionary<string, 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. Example: {"Department": "Finance"}
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights List<ExternalConfigs Pluggable Database Operations Insights Config> 
- The configuration of Operations Insights for the external database
- SourceId string
- The OCID 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 
- StackMonitoring List<ExternalConfigs Pluggable Database Stack Monitoring Config> 
- The configuration of Stack Monitoring for the external database.
- State string
- The current state of the Oracle Cloud Infrastructure external database resource.
- TimeCreated string
- The date and time the database was created.
- TimeZone string
- 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.
- CharacterSet string
- The character set of the external database.
- CompartmentId string
- (Updatable) The OCID of the compartment.
- DatabaseConfiguration string
- The Oracle Database configuration
- DatabaseEdition string
- 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.
- DatabaseManagement []ExternalConfigs Pluggable Database Database Management Config Args 
- The configuration of the Database Management service.
- DatabaseVersion string
- The Oracle Database version.
- DbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- DbPacks string
- The database packs licensed for the external Oracle Database.
- DbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- ExternalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- map[string]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. Example: {"Department": "Finance"}
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights []ExternalConfigs Pluggable Database Operations Insights Config Args 
- The configuration of Operations Insights for the external database
- SourceId string
- The OCID 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 
- StackMonitoring []ExternalConfigs Pluggable Database Stack Monitoring Config Args 
- The configuration of Stack Monitoring for the external database.
- State string
- The current state of the Oracle Cloud Infrastructure external database resource.
- TimeCreated string
- The date and time the database was created.
- TimeZone string
- 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.
- characterSet String
- The character set of the external database.
- compartmentId String
- (Updatable) The OCID of the compartment.
- databaseConfiguration String
- The Oracle Database configuration
- databaseEdition String
- 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.
- databaseManagement List<ExternalConfigs Pluggable Management Config> 
- The configuration of the Database Management service.
- databaseVersion String
- The Oracle Database version.
- dbId String
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks String
- The database packs licensed for the external Oracle Database.
- dbUnique StringName 
- The DB_UNIQUE_NAMEof the external database.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer StringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Map<String,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. Example: {"Department": "Finance"}
- lifecycleDetails String
- Additional information about the current lifecycle state.
- ncharacterSet String
- The national character of the external database.
- operationsInsights List<ExternalConfigs Pluggable Operations Insights Config> 
- The configuration of Operations Insights for the external database
- sourceId String
- The OCID 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 
- stackMonitoring List<ExternalConfigs Pluggable Stack Monitoring Config> 
- The configuration of Stack Monitoring for the external database.
- state String
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated String
- The date and time the database was created.
- timeZone String
- 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.
- characterSet string
- The character set of the external database.
- compartmentId string
- (Updatable) The OCID of the compartment.
- databaseConfiguration string
- The Oracle Database configuration
- databaseEdition string
- 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.
- databaseManagement ExternalConfigs Pluggable Database Database Management Config[] 
- The configuration of the Database Management service.
- databaseVersion string
- The Oracle Database version.
- dbId string
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks string
- The database packs licensed for the external Oracle Database.
- dbUnique stringName 
- The DB_UNIQUE_NAMEof the external database.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer stringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- {[key: string]: 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. Example: {"Department": "Finance"}
- lifecycleDetails string
- Additional information about the current lifecycle state.
- ncharacterSet string
- The national character of the external database.
- operationsInsights ExternalConfigs Pluggable Database Operations Insights Config[] 
- The configuration of Operations Insights for the external database
- sourceId string
- The OCID 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 
- stackMonitoring ExternalConfigs Pluggable Database Stack Monitoring Config[] 
- The configuration of Stack Monitoring for the external database.
- state string
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated string
- The date and time the database was created.
- timeZone string
- 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.
- character_set str
- The character set of the external database.
- compartment_id str
- (Updatable) The OCID of the compartment.
- database_configuration str
- The Oracle Database configuration
- database_edition str
- 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.
- database_management_ Sequence[Externalconfigs Pluggable Database Database Management Config Args] 
- The configuration of the Database Management service.
- database_version str
- The Oracle Database version.
- db_id str
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- db_packs str
- The database packs licensed for the external Oracle Database.
- db_unique_ strname 
- The DB_UNIQUE_NAMEof the external database.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_name str
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- external_container_ strdatabase_ id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Mapping[str, str]
- (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. Example: {"Department": "Finance"}
- lifecycle_details str
- Additional information about the current lifecycle state.
- ncharacter_set str
- The national character of the external database.
- operations_insights_ Sequence[Externalconfigs Pluggable Database Operations Insights Config Args] 
- The configuration of Operations Insights for the external database
- source_id str
- The OCID 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 
- stack_monitoring_ Sequence[Externalconfigs Pluggable Database Stack Monitoring Config Args] 
- The configuration of Stack Monitoring for the external database.
- state str
- The current state of the Oracle Cloud Infrastructure external database resource.
- time_created str
- The date and time the database was created.
- time_zone str
- 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.
- characterSet String
- The character set of the external database.
- compartmentId String
- (Updatable) The OCID of the compartment.
- databaseConfiguration String
- The Oracle Database configuration
- databaseEdition String
- 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.
- databaseManagement List<Property Map>Configs 
- The configuration of the Database Management service.
- databaseVersion String
- The Oracle Database version.
- dbId String
- The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- dbPacks String
- The database packs licensed for the external Oracle Database.
- dbUnique StringName 
- The DB_UNIQUE_NAMEof the external database.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- (Updatable) The user-friendly name for the external database. The name does not have to be unique.
- externalContainer StringDatabase Id 
- The OCID of the external container database that contains the specified external pluggable database resource.
- Map<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. Example: {"Department": "Finance"}
- lifecycleDetails String
- Additional information about the current lifecycle state.
- ncharacterSet String
- The national character of the external database.
- operationsInsights List<Property Map>Configs 
- The configuration of Operations Insights for the external database
- sourceId String
- The OCID 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 
- stackMonitoring List<Property Map>Configs 
- The configuration of Stack Monitoring for the external database.
- state String
- The current state of the Oracle Cloud Infrastructure external database resource.
- timeCreated String
- The date and time the database was created.
- timeZone String
- 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.
Supporting Types
ExternalPluggableDatabaseDatabaseManagementConfig, ExternalPluggableDatabaseDatabaseManagementConfigArgs            
- DatabaseManagement stringConnection Id 
- The OCID of the external database connector.
- DatabaseManagement stringStatus 
- The status of the Database Management service.
- LicenseModel string
- The Oracle license model that applies to the external database.
- DatabaseManagement stringConnection Id 
- The OCID of the external database connector.
- DatabaseManagement stringStatus 
- The status of the Database Management service.
- LicenseModel string
- The Oracle license model that applies to the external database.
- databaseManagement StringConnection Id 
- The OCID of the external database connector.
- databaseManagement StringStatus 
- The status of the Database Management service.
- licenseModel String
- The Oracle license model that applies to the external database.
- databaseManagement stringConnection Id 
- The OCID of the external database connector.
- databaseManagement stringStatus 
- The status of the Database Management service.
- licenseModel string
- The Oracle license model that applies to the external database.
- database_management_ strconnection_ id 
- The OCID of the external database connector.
- database_management_ strstatus 
- The status of the Database Management service.
- license_model str
- The Oracle license model that applies to the external database.
- databaseManagement StringConnection Id 
- The OCID of the external database connector.
- databaseManagement StringStatus 
- The status of the Database Management service.
- licenseModel String
- The Oracle license model that applies to the external database.
ExternalPluggableDatabaseOperationsInsightsConfig, ExternalPluggableDatabaseOperationsInsightsConfigArgs            
- OperationsInsights stringConnector Id 
- The OCID of the external database connector.
- OperationsInsights stringStatus 
- The status of Operations Insights
- OperationsInsights stringConnector Id 
- The OCID of the external database connector.
- OperationsInsights stringStatus 
- The status of Operations Insights
- operationsInsights StringConnector Id 
- The OCID of the external database connector.
- operationsInsights StringStatus 
- The status of Operations Insights
- operationsInsights stringConnector Id 
- The OCID of the external database connector.
- operationsInsights stringStatus 
- The status of Operations Insights
- operations_insights_ strconnector_ id 
- The OCID of the external database connector.
- operations_insights_ strstatus 
- The status of Operations Insights
- operationsInsights StringConnector Id 
- The OCID of the external database connector.
- operationsInsights StringStatus 
- The status of Operations Insights
ExternalPluggableDatabaseStackMonitoringConfig, ExternalPluggableDatabaseStackMonitoringConfigArgs            
- StackMonitoring stringConnector Id 
- The OCID of the external database connector.
- StackMonitoring stringStatus 
- The status of Stack Monitoring.
- StackMonitoring stringConnector Id 
- The OCID of the external database connector.
- StackMonitoring stringStatus 
- The status of Stack Monitoring.
- stackMonitoring StringConnector Id 
- The OCID of the external database connector.
- stackMonitoring StringStatus 
- The status of Stack Monitoring.
- stackMonitoring stringConnector Id 
- The OCID of the external database connector.
- stackMonitoring stringStatus 
- The status of Stack Monitoring.
- stack_monitoring_ strconnector_ id 
- The OCID of the external database connector.
- stack_monitoring_ strstatus 
- The status of Stack Monitoring.
- stackMonitoring StringConnector Id 
- The OCID of the external database connector.
- stackMonitoring StringStatus 
- The status of Stack Monitoring.
Import
ExternalPluggableDatabases can be imported using the id, e.g.
$ pulumi import oci:Database/externalPluggableDatabase:ExternalPluggableDatabase test_external_pluggable_database "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.