Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
This data source provides details about a specific Db Connection Bundle resource in Oracle Cloud Infrastructure Database service.
Gets information about the specified database connection bundle.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbConnectionBundle = oci.Database.getDbConnectionBundle({
dbConnectionBundleId: testDbConnectionBundleOciDatabaseDbConnectionBundle.id,
});
import pulumi
import pulumi_oci as oci
test_db_connection_bundle = oci.Database.get_db_connection_bundle(db_connection_bundle_id=test_db_connection_bundle_oci_database_db_connection_bundle["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetDbConnectionBundle(ctx, &database.GetDbConnectionBundleArgs{
DbConnectionBundleId: testDbConnectionBundleOciDatabaseDbConnectionBundle.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 testDbConnectionBundle = Oci.Database.GetDbConnectionBundle.Invoke(new()
{
DbConnectionBundleId = testDbConnectionBundleOciDatabaseDbConnectionBundle.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.GetDbConnectionBundleArgs;
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 testDbConnectionBundle = DatabaseFunctions.getDbConnectionBundle(GetDbConnectionBundleArgs.builder()
.dbConnectionBundleId(testDbConnectionBundleOciDatabaseDbConnectionBundle.id())
.build());
}
}
variables:
testDbConnectionBundle:
fn::invoke:
function: oci:Database:getDbConnectionBundle
arguments:
dbConnectionBundleId: ${testDbConnectionBundleOciDatabaseDbConnectionBundle.id}
Using getDbConnectionBundle
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 getDbConnectionBundle(args: GetDbConnectionBundleArgs, opts?: InvokeOptions): Promise<GetDbConnectionBundleResult>
function getDbConnectionBundleOutput(args: GetDbConnectionBundleOutputArgs, opts?: InvokeOptions): Output<GetDbConnectionBundleResult>def get_db_connection_bundle(db_connection_bundle_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbConnectionBundleResult
def get_db_connection_bundle_output(db_connection_bundle_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbConnectionBundleResult]func GetDbConnectionBundle(ctx *Context, args *GetDbConnectionBundleArgs, opts ...InvokeOption) (*GetDbConnectionBundleResult, error)
func GetDbConnectionBundleOutput(ctx *Context, args *GetDbConnectionBundleOutputArgs, opts ...InvokeOption) GetDbConnectionBundleResultOutput> Note: This function is named GetDbConnectionBundle in the Go SDK.
public static class GetDbConnectionBundle
{
public static Task<GetDbConnectionBundleResult> InvokeAsync(GetDbConnectionBundleArgs args, InvokeOptions? opts = null)
public static Output<GetDbConnectionBundleResult> Invoke(GetDbConnectionBundleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbConnectionBundleResult> getDbConnectionBundle(GetDbConnectionBundleArgs args, InvokeOptions options)
public static Output<GetDbConnectionBundleResult> getDbConnectionBundle(GetDbConnectionBundleArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getDbConnectionBundle:getDbConnectionBundle
arguments:
# arguments dictionaryThe following arguments are supported:
- Db
Connection stringBundle Id - The OCID of the database connection bundle.
- Db
Connection stringBundle Id - The OCID of the database connection bundle.
- db
Connection StringBundle Id - The OCID of the database connection bundle.
- db
Connection stringBundle Id - The OCID of the database connection bundle.
- db_
connection_ strbundle_ id - The OCID of the database connection bundle.
- db
Connection StringBundle Id - The OCID of the database connection bundle.
getDbConnectionBundle Result
The following output properties are available:
- Associated
Resource List<GetDetails Db Connection Bundle Associated Resource Detail> - Details about the resources associated with the connection bundle.
- Compartment
Id string - The OCID of the compartment containing the database connection bundle.
- Db
Connection stringBundle Id - Db
Connection stringBundle Type - The type of the database connection bundle.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - Display name for the connection bundle.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Protected bool - True for the default, service-created Database Connection Bundle.
- State string
- The current lifecycle state of the database connection bundle.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- Time
Last stringRefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- Time
Updated string - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- Associated
Resource []GetDetails Db Connection Bundle Associated Resource Detail - Details about the resources associated with the connection bundle.
- Compartment
Id string - The OCID of the compartment containing the database connection bundle.
- Db
Connection stringBundle Id - Db
Connection stringBundle Type - The type of the database connection bundle.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - Display name for the connection bundle.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Protected bool - True for the default, service-created Database Connection Bundle.
- State string
- The current lifecycle state of the database connection bundle.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Time
Created string - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- Time
Last stringRefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- Time
Updated string - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- associated
Resource List<GetDetails Db Connection Bundle Associated Resource Detail> - Details about the resources associated with the connection bundle.
- compartment
Id String - The OCID of the compartment containing the database connection bundle.
- db
Connection StringBundle Id - db
Connection StringBundle Type - The type of the database connection bundle.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - Display name for the connection bundle.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Protected Boolean - True for the default, service-created Database Connection Bundle.
- state String
- The current lifecycle state of the database connection bundle.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- time
Last StringRefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- time
Updated String - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- associated
Resource GetDetails Db Connection Bundle Associated Resource Detail[] - Details about the resources associated with the connection bundle.
- compartment
Id string - The OCID of the compartment containing the database connection bundle.
- db
Connection stringBundle Id - db
Connection stringBundle Type - The type of the database connection bundle.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - Display name for the connection bundle.
- {[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.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Protected boolean - True for the default, service-created Database Connection Bundle.
- state string
- The current lifecycle state of the database connection bundle.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created string - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- time
Last stringRefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- time
Updated string - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- associated_
resource_ Sequence[Getdetails Db Connection Bundle Associated Resource Detail] - Details about the resources associated with the connection bundle.
- compartment_
id str - The OCID of the compartment containing the database connection bundle.
- db_
connection_ strbundle_ id - db_
connection_ strbundle_ type - The type of the database connection bundle.
- 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 - Display name for the connection bundle.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
protected bool - True for the default, service-created Database Connection Bundle.
- state str
- The current lifecycle state of the database connection bundle.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time_
created str - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- time_
last_ strrefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- time_
updated str - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- associated
Resource List<Property Map>Details - Details about the resources associated with the connection bundle.
- compartment
Id String - The OCID of the compartment containing the database connection bundle.
- db
Connection StringBundle Id - db
Connection StringBundle Type - The type of the database connection bundle.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - Display name for the connection bundle.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Protected Boolean - True for the default, service-created Database Connection Bundle.
- state String
- The current lifecycle state of the database connection bundle.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- time
Created String - The time the database connection bundle was created. An RFC3339 formatted datetime string.
- time
Last StringRefreshed - The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- time
Updated String - The time the database connection bundle was updated. An RFC3339 formatted datetime string.
Supporting Types
GetDbConnectionBundleAssociatedResourceDetail
- Resource
Ids List<string> - The OCIDs of the associated resources.
- Resource
Ids []string - The OCIDs of the associated resources.
- resource
Ids List<String> - The OCIDs of the associated resources.
- resource
Ids string[] - The OCIDs of the associated resources.
- resource_
ids Sequence[str] - The OCIDs of the associated resources.
- resource
Ids List<String> - The OCIDs of the associated resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
