1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getExternalNonContainerDatabase
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Database.getExternalNonContainerDatabase

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific External Non Container Database resource in Oracle Cloud Infrastructure Database service.

Gets information about a specific external non-container database.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalNonContainerDatabase = oci.Database.getExternalNonContainerDatabase({
    externalNonContainerDatabaseId: testExternalNonContainerDatabaseOciDatabaseExternalNonContainerDatabase.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_external_non_container_database = oci.Database.get_external_non_container_database(external_non_container_database_id=test_external_non_container_database_oci_database_external_non_container_database["id"])
Copy
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.GetExternalNonContainerDatabase(ctx, &database.GetExternalNonContainerDatabaseArgs{
			ExternalNonContainerDatabaseId: testExternalNonContainerDatabaseOciDatabaseExternalNonContainerDatabase.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testExternalNonContainerDatabase = Oci.Database.GetExternalNonContainerDatabase.Invoke(new()
    {
        ExternalNonContainerDatabaseId = testExternalNonContainerDatabaseOciDatabaseExternalNonContainerDatabase.Id,
    });

});
Copy
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.GetExternalNonContainerDatabaseArgs;
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 testExternalNonContainerDatabase = DatabaseFunctions.getExternalNonContainerDatabase(GetExternalNonContainerDatabaseArgs.builder()
            .externalNonContainerDatabaseId(testExternalNonContainerDatabaseOciDatabaseExternalNonContainerDatabase.id())
            .build());

    }
}
Copy
variables:
  testExternalNonContainerDatabase:
    fn::invoke:
      function: oci:Database:getExternalNonContainerDatabase
      arguments:
        externalNonContainerDatabaseId: ${testExternalNonContainerDatabaseOciDatabaseExternalNonContainerDatabase.id}
Copy

Using getExternalNonContainerDatabase

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 getExternalNonContainerDatabase(args: GetExternalNonContainerDatabaseArgs, opts?: InvokeOptions): Promise<GetExternalNonContainerDatabaseResult>
function getExternalNonContainerDatabaseOutput(args: GetExternalNonContainerDatabaseOutputArgs, opts?: InvokeOptions): Output<GetExternalNonContainerDatabaseResult>
Copy
def get_external_non_container_database(external_non_container_database_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetExternalNonContainerDatabaseResult
def get_external_non_container_database_output(external_non_container_database_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetExternalNonContainerDatabaseResult]
Copy
func GetExternalNonContainerDatabase(ctx *Context, args *GetExternalNonContainerDatabaseArgs, opts ...InvokeOption) (*GetExternalNonContainerDatabaseResult, error)
func GetExternalNonContainerDatabaseOutput(ctx *Context, args *GetExternalNonContainerDatabaseOutputArgs, opts ...InvokeOption) GetExternalNonContainerDatabaseResultOutput
Copy

> Note: This function is named GetExternalNonContainerDatabase in the Go SDK.

public static class GetExternalNonContainerDatabase 
{
    public static Task<GetExternalNonContainerDatabaseResult> InvokeAsync(GetExternalNonContainerDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalNonContainerDatabaseResult> Invoke(GetExternalNonContainerDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetExternalNonContainerDatabaseResult> getExternalNonContainerDatabase(GetExternalNonContainerDatabaseArgs args, InvokeOptions options)
public static Output<GetExternalNonContainerDatabaseResult> getExternalNonContainerDatabase(GetExternalNonContainerDatabaseArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getExternalNonContainerDatabase:getExternalNonContainerDatabase
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExternalNonContainerDatabaseId This property is required. string
The external non-container database OCID.
ExternalNonContainerDatabaseId This property is required. string
The external non-container database OCID.
externalNonContainerDatabaseId This property is required. String
The external non-container database OCID.
externalNonContainerDatabaseId This property is required. string
The external non-container database OCID.
external_non_container_database_id This property is required. str
The external non-container database OCID.
externalNonContainerDatabaseId This property is required. String
The external non-container database OCID.

getExternalNonContainerDatabase 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.
DatabaseManagementConfigs List<GetExternalNonContainerDatabaseDatabaseManagementConfig>
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.
DbUniqueName string
The DB_UNIQUE_NAME of the external database.
DefinedTags 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.
ExternalNonContainerDatabaseId string
FreeformTags 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.
OperationsInsightsConfigs List<GetExternalNonContainerDatabaseOperationsInsightsConfig>
The configuration of Operations Insights for the external database
StackMonitoringConfigs List<GetExternalNonContainerDatabaseStackMonitoringConfig>
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.
DatabaseManagementConfigs []GetExternalNonContainerDatabaseDatabaseManagementConfig
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.
DbUniqueName string
The DB_UNIQUE_NAME of the external database.
DefinedTags 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.
ExternalNonContainerDatabaseId string
FreeformTags 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.
OperationsInsightsConfigs []GetExternalNonContainerDatabaseOperationsInsightsConfig
The configuration of Operations Insights for the external database
StackMonitoringConfigs []GetExternalNonContainerDatabaseStackMonitoringConfig
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.
databaseManagementConfigs List<GetExternalNonContainerManagementConfig>
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.
dbUniqueName String
The DB_UNIQUE_NAME of the external database.
definedTags 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.
externalNonContainerDatabaseId String
freeformTags 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.
operationsInsightsConfigs List<GetExternalNonContainerOperationsInsightsConfig>
The configuration of Operations Insights for the external database
stackMonitoringConfigs List<GetExternalNonContainerStackMonitoringConfig>
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.
databaseManagementConfigs GetExternalNonContainerDatabaseDatabaseManagementConfig[]
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.
dbUniqueName string
The DB_UNIQUE_NAME of the external database.
definedTags {[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.
externalNonContainerDatabaseId string
freeformTags {[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.
operationsInsightsConfigs GetExternalNonContainerDatabaseOperationsInsightsConfig[]
The configuration of Operations Insights for the external database
stackMonitoringConfigs GetExternalNonContainerDatabaseStackMonitoringConfig[]
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_configs Sequence[database.GetExternalNonContainerDatabaseDatabaseManagementConfig]
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_name str
The DB_UNIQUE_NAME of the external database.
defined_tags 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_non_container_database_id str
freeform_tags 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_configs Sequence[database.GetExternalNonContainerDatabaseOperationsInsightsConfig]
The configuration of Operations Insights for the external database
stack_monitoring_configs Sequence[database.GetExternalNonContainerDatabaseStackMonitoringConfig]
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.
databaseManagementConfigs List<Property Map>
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.
dbUniqueName String
The DB_UNIQUE_NAME of the external database.
definedTags 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.
externalNonContainerDatabaseId String
freeformTags 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.
operationsInsightsConfigs List<Property Map>
The configuration of Operations Insights for the external database
stackMonitoringConfigs List<Property Map>
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

GetExternalNonContainerDatabaseDatabaseManagementConfig

DatabaseManagementConnectionId This property is required. string
The OCID of the external database connector.
DatabaseManagementStatus This property is required. string
The status of the Database Management service.
LicenseModel This property is required. string
The Oracle license model that applies to the external database.
DatabaseManagementConnectionId This property is required. string
The OCID of the external database connector.
DatabaseManagementStatus This property is required. string
The status of the Database Management service.
LicenseModel This property is required. string
The Oracle license model that applies to the external database.
databaseManagementConnectionId This property is required. String
The OCID of the external database connector.
databaseManagementStatus This property is required. String
The status of the Database Management service.
licenseModel This property is required. String
The Oracle license model that applies to the external database.
databaseManagementConnectionId This property is required. string
The OCID of the external database connector.
databaseManagementStatus This property is required. string
The status of the Database Management service.
licenseModel This property is required. string
The Oracle license model that applies to the external database.
database_management_connection_id This property is required. str
The OCID of the external database connector.
database_management_status This property is required. str
The status of the Database Management service.
license_model This property is required. str
The Oracle license model that applies to the external database.
databaseManagementConnectionId This property is required. String
The OCID of the external database connector.
databaseManagementStatus This property is required. String
The status of the Database Management service.
licenseModel This property is required. String
The Oracle license model that applies to the external database.

GetExternalNonContainerDatabaseOperationsInsightsConfig

OperationsInsightsConnectorId This property is required. string
The OCID of the external database connector.
OperationsInsightsStatus This property is required. string
The status of Operations Insights
OperationsInsightsConnectorId This property is required. string
The OCID of the external database connector.
OperationsInsightsStatus This property is required. string
The status of Operations Insights
operationsInsightsConnectorId This property is required. String
The OCID of the external database connector.
operationsInsightsStatus This property is required. String
The status of Operations Insights
operationsInsightsConnectorId This property is required. string
The OCID of the external database connector.
operationsInsightsStatus This property is required. string
The status of Operations Insights
operations_insights_connector_id This property is required. str
The OCID of the external database connector.
operations_insights_status This property is required. str
The status of Operations Insights
operationsInsightsConnectorId This property is required. String
The OCID of the external database connector.
operationsInsightsStatus This property is required. String
The status of Operations Insights

GetExternalNonContainerDatabaseStackMonitoringConfig

StackMonitoringConnectorId This property is required. string
The OCID of the external database connector.
StackMonitoringStatus This property is required. string
The status of Stack Monitoring.
StackMonitoringConnectorId This property is required. string
The OCID of the external database connector.
StackMonitoringStatus This property is required. string
The status of Stack Monitoring.
stackMonitoringConnectorId This property is required. String
The OCID of the external database connector.
stackMonitoringStatus This property is required. String
The status of Stack Monitoring.
stackMonitoringConnectorId This property is required. string
The OCID of the external database connector.
stackMonitoringStatus This property is required. string
The status of Stack Monitoring.
stack_monitoring_connector_id This property is required. str
The OCID of the external database connector.
stack_monitoring_status This property is required. str
The status of Stack Monitoring.
stackMonitoringConnectorId This property is required. String
The OCID of the external database connector.
stackMonitoringStatus This property is required. String
The status of Stack Monitoring.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi