Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getExternalPluggableDatabase
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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 GetExternalPluggableDatabase(ctx *Context, args *GetExternalPluggableDatabaseArgs, opts ...InvokeOption) (*GetExternalPluggableDatabaseResult, error)
func GetExternalPluggableDatabaseOutput(ctx *Context, args *GetExternalPluggableDatabaseOutputArgs, opts ...InvokeOption) GetExternalPluggableDatabaseResultOutput
> Note: This function is named GetExternalPluggableDatabase
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getExternalPluggableDatabase:getExternalPluggableDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- External
Pluggable stringDatabase Id - The ExternalPluggableDatabaseId OCID.
- External
Pluggable stringDatabase Id - The ExternalPluggableDatabaseId OCID.
- external
Pluggable StringDatabase Id - The ExternalPluggableDatabaseId OCID.
- external
Pluggable stringDatabase Id - The ExternalPluggableDatabaseId OCID.
- external_
pluggable_ strdatabase_ id - The ExternalPluggableDatabaseId OCID.
- external
Pluggable StringDatabase Id - The ExternalPluggableDatabaseId OCID.
getExternalPluggableDatabase Result
The following output properties are available:
- Character
Set string - The character set of the external database.
- Compartment
Id string - The OCID of the compartment.
- Database
Configuration string - The Oracle Database configuration
- Database
Edition string - The Oracle Database edition.
- Database
Management List<GetConfigs External Pluggable Database Database Management Config> - The configuration of the Database Management service.
- Database
Version string - The Oracle Database version.
- Db
Id string - The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- Db
Packs string - The database packs licensed for the external Oracle Database.
- Db
Unique stringName - The
DB_UNIQUE_NAME
of the external database. - Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the external database. The name does not have to be unique.
- External
Container stringDatabase Id - The OCID of the external container database that contains the specified external pluggable database resource.
- External
Pluggable stringDatabase Id - 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.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character of the external database.
- Operations
Insights List<GetConfigs External Pluggable Database Operations Insights Config> - The configuration of Operations Insights for the external database
- Source
Id string - The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- Stack
Monitoring 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.
- Time
Created string - The date and time the database was created.
- Time
Zone 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 string - The character set of the external database.
- Compartment
Id string - The OCID of the compartment.
- Database
Configuration string - The Oracle Database configuration
- Database
Edition string - The Oracle Database edition.
- Database
Management []GetConfigs External Pluggable Database Database Management Config - The configuration of the Database Management service.
- Database
Version string - The Oracle Database version.
- Db
Id string - The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- Db
Packs string - The database packs licensed for the external Oracle Database.
- Db
Unique stringName - The
DB_UNIQUE_NAME
of the external database. - map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the external database. The name does not have to be unique.
- External
Container stringDatabase Id - The OCID of the external container database that contains the specified external pluggable database resource.
- External
Pluggable stringDatabase Id - 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.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character of the external database.
- Operations
Insights []GetConfigs External Pluggable Database Operations Insights Config - The configuration of Operations Insights for the external database
- Source
Id string - The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- Stack
Monitoring []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.
- Time
Created string - The date and time the database was created.
- Time
Zone 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 String - The character set of the external database.
- compartment
Id String - The OCID of the compartment.
- database
Configuration String - The Oracle Database configuration
- database
Edition String - The Oracle Database edition.
- database
Management List<GetConfigs External Pluggable Management Config> - The configuration of the Database Management service.
- database
Version String - The Oracle Database version.
- db
Id String - The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- db
Packs String - The database packs licensed for the external Oracle Database.
- db
Unique StringName - The
DB_UNIQUE_NAME
of the external database. - Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the external database. The name does not have to be unique.
- external
Container StringDatabase Id - The OCID of the external container database that contains the specified external pluggable database resource.
- external
Pluggable StringDatabase Id - 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.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character of the external database.
- operations
Insights List<GetConfigs External Pluggable Operations Insights Config> - The configuration of Operations Insights for the external database
- source
Id String - The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- stack
Monitoring 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.
- time
Created String - The date and time the database was created.
- time
Zone 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 string - The character set of the external database.
- compartment
Id string - The OCID of the compartment.
- database
Configuration string - The Oracle Database configuration
- database
Edition string - The Oracle Database edition.
- database
Management GetConfigs External Pluggable Database Database Management Config[] - The configuration of the Database Management service.
- database
Version string - The Oracle Database version.
- db
Id string - The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- db
Packs string - The database packs licensed for the external Oracle Database.
- db
Unique stringName - The
DB_UNIQUE_NAME
of the external database. - {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - The user-friendly name for the external database. The name does not have to be unique.
- external
Container stringDatabase Id - The OCID of the external container database that contains the specified external pluggable database resource.
- external
Pluggable stringDatabase Id - {[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.
- lifecycle
Details string - Additional information about the current lifecycle state.
- ncharacter
Set string - The national character of the external database.
- operations
Insights GetConfigs External Pluggable Database Operations Insights Config[] - The configuration of Operations Insights for the external database
- source
Id string - The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- stack
Monitoring 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.
- time
Created string - The date and time the database was created.
- time
Zone 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_ Sequence[database.configs Get 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_NAME
of the external database. - 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_ strdatabase_ id - The OCID of the external container database that contains the specified external pluggable database resource.
- external_
pluggable_ strdatabase_ id - 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.
- operations_
insights_ Sequence[database.configs Get 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[database.configs Get 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.
- character
Set String - The character set of the external database.
- compartment
Id String - The OCID of the compartment.
- database
Configuration String - The Oracle Database configuration
- database
Edition String - The Oracle Database edition.
- database
Management List<Property Map>Configs - The configuration of the Database Management service.
- database
Version String - The Oracle Database version.
- db
Id String - The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
- db
Packs String - The database packs licensed for the external Oracle Database.
- db
Unique StringName - The
DB_UNIQUE_NAME
of the external database. - Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the external database. The name does not have to be unique.
- external
Container StringDatabase Id - The OCID of the external container database that contains the specified external pluggable database resource.
- external
Pluggable StringDatabase Id - 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.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character of the external database.
- operations
Insights List<Property Map>Configs - The configuration of Operations Insights for the external database
- source
Id String - The OCID of the the non-container database that was converted to a pluggable database to create this resource.
- stack
Monitoring 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.
- time
Created String - The date and time the database was created.
- time
Zone 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
- Database
Management stringConnection Id - The OCID of the external database connector.
- Database
Management stringStatus - The status of the Database Management service.
- License
Model string - The Oracle license model that applies to the external database.
- Database
Management stringConnection Id - The OCID of the external database connector.
- Database
Management stringStatus - The status of the Database Management service.
- License
Model string - The Oracle license model that applies to the external database.
- database
Management StringConnection Id - The OCID of the external database connector.
- database
Management StringStatus - The status of the Database Management service.
- license
Model String - The Oracle license model that applies to the external database.
- database
Management stringConnection Id - The OCID of the external database connector.
- database
Management stringStatus - The status of the Database Management service.
- license
Model 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.
- database
Management StringConnection Id - The OCID of the external database connector.
- database
Management StringStatus - The status of the Database Management service.
- license
Model String - The Oracle license model that applies to the external database.
GetExternalPluggableDatabaseOperationsInsightsConfig
- Operations
Insights stringConnector Id - The OCID of the external database connector.
- Operations
Insights stringStatus - The status of Operations Insights
- Operations
Insights stringConnector Id - The OCID of the external database connector.
- Operations
Insights stringStatus - The status of Operations Insights
- operations
Insights StringConnector Id - The OCID of the external database connector.
- operations
Insights StringStatus - The status of Operations Insights
- operations
Insights stringConnector Id - The OCID of the external database connector.
- operations
Insights 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
- operations
Insights StringConnector Id - The OCID of the external database connector.
- operations
Insights StringStatus - The status of Operations Insights
GetExternalPluggableDatabaseStackMonitoringConfig
- Stack
Monitoring stringConnector Id - The OCID of the external database connector.
- Stack
Monitoring stringStatus - The status of Stack Monitoring.
- Stack
Monitoring stringConnector Id - The OCID of the external database connector.
- Stack
Monitoring stringStatus - The status of Stack Monitoring.
- stack
Monitoring StringConnector Id - The OCID of the external database connector.
- stack
Monitoring StringStatus - The status of Stack Monitoring.
- stack
Monitoring stringConnector Id - The OCID of the external database connector.
- stack
Monitoring 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.
- stack
Monitoring StringConnector Id - The OCID of the external database connector.
- stack
Monitoring 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi