Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getExternalContainerDatabase

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

Gets information about the specified external container database.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testExternalContainerDatabase = Output.Create(Oci.Database.GetExternalContainerDatabase.InvokeAsync(new Oci.Database.GetExternalContainerDatabaseArgs
        {
            ExternalContainerDatabaseId = oci_database_external_container_database.Test_external_container_database.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.GetExternalContainerDatabase(ctx, &database.GetExternalContainerDatabaseArgs{
			ExternalContainerDatabaseId: oci_database_external_container_database.Test_external_container_database.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_external_container_database = oci.Database.get_external_container_database(external_container_database_id=oci_database_external_container_database["test_external_container_database"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalContainerDatabase = oci.Database.getExternalContainerDatabase({
    externalContainerDatabaseId: oci_database_external_container_database.test_external_container_database.id,
});

Coming soon!

Using getExternalContainerDatabase

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 getExternalContainerDatabase(args: GetExternalContainerDatabaseArgs, opts?: InvokeOptions): Promise<GetExternalContainerDatabaseResult>
function getExternalContainerDatabaseOutput(args: GetExternalContainerDatabaseOutputArgs, opts?: InvokeOptions): Output<GetExternalContainerDatabaseResult>
def get_external_container_database(external_container_database_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetExternalContainerDatabaseResult
def get_external_container_database_output(external_container_database_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetExternalContainerDatabaseResult]
func GetExternalContainerDatabase(ctx *Context, args *GetExternalContainerDatabaseArgs, opts ...InvokeOption) (*GetExternalContainerDatabaseResult, error)
func GetExternalContainerDatabaseOutput(ctx *Context, args *GetExternalContainerDatabaseOutputArgs, opts ...InvokeOption) GetExternalContainerDatabaseResultOutput

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

public static class GetExternalContainerDatabase 
{
    public static Task<GetExternalContainerDatabaseResult> InvokeAsync(GetExternalContainerDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalContainerDatabaseResult> Invoke(GetExternalContainerDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExternalContainerDatabaseResult> getExternalContainerDatabase(GetExternalContainerDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getExternalContainerDatabase:getExternalContainerDatabase
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ExternalContainerDatabaseId string

The ExternalContainerDatabase OCID.

ExternalContainerDatabaseId string

The ExternalContainerDatabase OCID.

externalContainerDatabaseId String

The ExternalContainerDatabase OCID.

externalContainerDatabaseId string

The ExternalContainerDatabase OCID.

external_container_database_id str

The ExternalContainerDatabase OCID.

externalContainerDatabaseId String

The ExternalContainerDatabase OCID.

getExternalContainerDatabase 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.

DatabaseManagementConfigs List<GetExternalContainerDatabaseDatabaseManagementConfig>

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, object>

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.

ExternalContainerDatabaseId string
FreeformTags Dictionary<string, object>

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.

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.

DatabaseManagementConfigs []GetExternalContainerDatabaseDatabaseManagementConfig

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]interface{}

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.

ExternalContainerDatabaseId string
FreeformTags map[string]interface{}

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.

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.

databaseManagementConfigs List<GetExternalContainerManagementConfig>

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,Object>

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.

externalContainerDatabaseId String
freeformTags Map<String,Object>

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.

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.

databaseManagementConfigs GetExternalContainerDatabaseDatabaseManagementConfig[]

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]: any}

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.

externalContainerDatabaseId string
freeformTags {[key: string]: any}

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.

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.

database_management_configs GetExternalContainerDatabaseDatabaseManagementConfig]

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, Any]

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_database_id str
freeform_tags Mapping[str, Any]

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.

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.

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<Any>

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.

externalContainerDatabaseId String
freeformTags Map<Any>

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.

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

GetExternalContainerDatabaseDatabaseManagementConfig

DatabaseManagementConnectionId string

The OCID of the external database connector.

DatabaseManagementStatus string

The status of the Database Management service.

LicenseModel string

The Oracle license model that applies to the external database.

DatabaseManagementConnectionId string

The OCID of the external database connector.

DatabaseManagementStatus string

The status of the Database Management service.

LicenseModel string

The Oracle license model that applies to the external database.

databaseManagementConnectionId String

The OCID of the external database connector.

databaseManagementStatus String

The status of the Database Management service.

licenseModel String

The Oracle license model that applies to the external database.

databaseManagementConnectionId string

The OCID of the external database connector.

databaseManagementStatus string

The status of the Database Management service.

licenseModel string

The Oracle license model that applies to the external database.

database_management_connection_id str

The OCID of the external database connector.

database_management_status str

The status of the Database Management service.

license_model str

The Oracle license model that applies to the external database.

databaseManagementConnectionId String

The OCID of the external database connector.

databaseManagementStatus String

The status of the Database Management service.

licenseModel String

The Oracle license model that applies to the external database.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.