Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getExternalPluggableDatabase
Explore with Pulumi AI
This data source provides details about a specific External Pluggable Database resource in Oracle Cloud Infrastructure Database service.
Gets information about a specific external pluggable database resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExternalPluggableDatabase = oci.Database.getExternalPluggableDatabase({
    externalPluggableDatabaseId: testExternalPluggableDatabaseOciDatabaseExternalPluggableDatabase.id,
});
import pulumi
import pulumi_oci as oci
test_external_pluggable_database = oci.Database.get_external_pluggable_database(external_pluggable_database_id=test_external_pluggable_database_oci_database_external_pluggable_database["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.GetExternalPluggableDatabase(ctx, &database.GetExternalPluggableDatabaseArgs{
			ExternalPluggableDatabaseId: testExternalPluggableDatabaseOciDatabaseExternalPluggableDatabase.Id,
		}, nil)
		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 = Oci.Database.GetExternalPluggableDatabase.Invoke(new()
    {
        ExternalPluggableDatabaseId = testExternalPluggableDatabaseOciDatabaseExternalPluggableDatabase.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetExternalPluggableDatabaseArgs;
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) {
        final var testExternalPluggableDatabase = DatabaseFunctions.getExternalPluggableDatabase(GetExternalPluggableDatabaseArgs.builder()
            .externalPluggableDatabaseId(testExternalPluggableDatabaseOciDatabaseExternalPluggableDatabase.id())
            .build());
    }
}
variables:
  testExternalPluggableDatabase:
    fn::invoke:
      function: oci:Database:getExternalPluggableDatabase
      arguments:
        externalPluggableDatabaseId: ${testExternalPluggableDatabaseOciDatabaseExternalPluggableDatabase.id}
Using getExternalPluggableDatabase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExternalPluggableDatabase(args: GetExternalPluggableDatabaseArgs, opts?: InvokeOptions): Promise<GetExternalPluggableDatabaseResult>
function getExternalPluggableDatabaseOutput(args: GetExternalPluggableDatabaseOutputArgs, opts?: InvokeOptions): Output<GetExternalPluggableDatabaseResult>def get_external_pluggable_database(external_pluggable_database_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetExternalPluggableDatabaseResult
def get_external_pluggable_database_output(external_pluggable_database_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetExternalPluggableDatabaseResult]func LookupExternalPluggableDatabase(ctx *Context, args *LookupExternalPluggableDatabaseArgs, opts ...InvokeOption) (*LookupExternalPluggableDatabaseResult, error)
func LookupExternalPluggableDatabaseOutput(ctx *Context, args *LookupExternalPluggableDatabaseOutputArgs, opts ...InvokeOption) LookupExternalPluggableDatabaseResultOutput> Note: This function is named LookupExternalPluggableDatabase in the Go SDK.
public static class GetExternalPluggableDatabase 
{
    public static Task<GetExternalPluggableDatabaseResult> InvokeAsync(GetExternalPluggableDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalPluggableDatabaseResult> Invoke(GetExternalPluggableDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExternalPluggableDatabaseResult> getExternalPluggableDatabase(GetExternalPluggableDatabaseArgs args, InvokeOptions options)
public static Output<GetExternalPluggableDatabaseResult> getExternalPluggableDatabase(GetExternalPluggableDatabaseArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getExternalPluggableDatabase:getExternalPluggableDatabase
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExternalPluggable stringDatabase Id 
- The ExternalPluggableDatabaseId OCID.
- ExternalPluggable stringDatabase Id 
- The ExternalPluggableDatabaseId OCID.
- externalPluggable StringDatabase Id 
- The ExternalPluggableDatabaseId OCID.
- externalPluggable stringDatabase Id 
- The ExternalPluggableDatabaseId OCID.
- external_pluggable_ strdatabase_ id 
- The ExternalPluggableDatabaseId OCID.
- externalPluggable StringDatabase Id 
- The ExternalPluggableDatabaseId OCID.
getExternalPluggableDatabase Result
The following output properties are available:
- CharacterSet string
- The character set of the external database.
- CompartmentId string
- 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<GetConfigs External 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>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- 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.
- ExternalPluggable stringDatabase Id 
- Dictionary<string, string>
- 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"}
- Id string
- The OCID of the Oracle Cloud Infrastructure external database resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights List<GetConfigs External 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.
- StackMonitoring List<GetConfigs External 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
- 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 []GetConfigs External 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.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- 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.
- ExternalPluggable stringDatabase Id 
- map[string]string
- 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"}
- Id string
- The OCID of the Oracle Cloud Infrastructure external database resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- NcharacterSet string
- The national character of the external database.
- OperationsInsights []GetConfigs External 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.
- StackMonitoring []GetConfigs External 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
- 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<GetConfigs External 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>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- 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.
- externalPluggable StringDatabase Id 
- Map<String,String>
- 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"}
- id String
- The OCID of the Oracle Cloud Infrastructure external database resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- ncharacterSet String
- The national character of the external database.
- operationsInsights List<GetConfigs External 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.
- stackMonitoring List<GetConfigs External 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
- 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 GetConfigs External 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}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- 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.
- externalPluggable stringDatabase Id 
- {[key: string]: string}
- 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"}
- id string
- The OCID of the Oracle Cloud Infrastructure external database resource.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- ncharacterSet string
- The national character of the external database.
- operationsInsights GetConfigs External 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.
- stackMonitoring GetConfigs External 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
- 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[Getconfigs External 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.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_name str
- 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.
- external_pluggable_ strdatabase_ id 
- Mapping[str, str]
- 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"}
- id str
- The OCID of the Oracle Cloud Infrastructure external database resource.
- lifecycle_details str
- Additional information about the current lifecycle state.
- ncharacter_set str
- The national character of the external database.
- operations_insights_ Sequence[Getconfigs External Pluggable Database Operations Insights Config] 
- 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.
- stack_monitoring_ Sequence[Getconfigs External 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.
- compartmentId String
- 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>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- 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.
- externalPluggable StringDatabase Id 
- Map<String>
- 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"}
- id String
- The OCID of the Oracle Cloud Infrastructure external database 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
- sourceId String
- The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- 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
GetExternalPluggableDatabaseDatabaseManagementConfig      
- 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.
GetExternalPluggableDatabaseOperationsInsightsConfig      
- 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
GetExternalPluggableDatabaseStackMonitoringConfig      
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.