Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
This data source provides details about a specific Db Management Private Endpoint Associated Database resource in Oracle Cloud Infrastructure Database Management service.
Gets the list of databases using a specific Database Management private endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbManagementPrivateEndpointAssociatedDatabase = oci.DatabaseManagement.getDbManagementPrivateEndpointAssociatedDatabase({
compartmentId: compartmentId,
dbManagementPrivateEndpointId: testDbManagementPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_db_management_private_endpoint_associated_database = oci.DatabaseManagement.get_db_management_private_endpoint_associated_database(compartment_id=compartment_id,
db_management_private_endpoint_id=test_db_management_private_endpoint["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasemanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemanagement.GetDbManagementPrivateEndpointAssociatedDatabase(ctx, &databasemanagement.GetDbManagementPrivateEndpointAssociatedDatabaseArgs{
CompartmentId: compartmentId,
DbManagementPrivateEndpointId: testDbManagementPrivateEndpoint.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 testDbManagementPrivateEndpointAssociatedDatabase = Oci.DatabaseManagement.GetDbManagementPrivateEndpointAssociatedDatabase.Invoke(new()
{
CompartmentId = compartmentId,
DbManagementPrivateEndpointId = testDbManagementPrivateEndpoint.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetDbManagementPrivateEndpointAssociatedDatabaseArgs;
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 testDbManagementPrivateEndpointAssociatedDatabase = DatabaseManagementFunctions.getDbManagementPrivateEndpointAssociatedDatabase(GetDbManagementPrivateEndpointAssociatedDatabaseArgs.builder()
.compartmentId(compartmentId)
.dbManagementPrivateEndpointId(testDbManagementPrivateEndpoint.id())
.build());
}
}
variables:
testDbManagementPrivateEndpointAssociatedDatabase:
fn::invoke:
function: oci:DatabaseManagement:getDbManagementPrivateEndpointAssociatedDatabase
arguments:
compartmentId: ${compartmentId}
dbManagementPrivateEndpointId: ${testDbManagementPrivateEndpoint.id}
Using getDbManagementPrivateEndpointAssociatedDatabase
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 getDbManagementPrivateEndpointAssociatedDatabase(args: GetDbManagementPrivateEndpointAssociatedDatabaseArgs, opts?: InvokeOptions): Promise<GetDbManagementPrivateEndpointAssociatedDatabaseResult>
function getDbManagementPrivateEndpointAssociatedDatabaseOutput(args: GetDbManagementPrivateEndpointAssociatedDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDbManagementPrivateEndpointAssociatedDatabaseResult>def get_db_management_private_endpoint_associated_database(compartment_id: Optional[str] = None,
db_management_private_endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbManagementPrivateEndpointAssociatedDatabaseResult
def get_db_management_private_endpoint_associated_database_output(compartment_id: Optional[pulumi.Input[str]] = None,
db_management_private_endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbManagementPrivateEndpointAssociatedDatabaseResult]func GetDbManagementPrivateEndpointAssociatedDatabase(ctx *Context, args *GetDbManagementPrivateEndpointAssociatedDatabaseArgs, opts ...InvokeOption) (*GetDbManagementPrivateEndpointAssociatedDatabaseResult, error)
func GetDbManagementPrivateEndpointAssociatedDatabaseOutput(ctx *Context, args *GetDbManagementPrivateEndpointAssociatedDatabaseOutputArgs, opts ...InvokeOption) GetDbManagementPrivateEndpointAssociatedDatabaseResultOutput> Note: This function is named GetDbManagementPrivateEndpointAssociatedDatabase in the Go SDK.
public static class GetDbManagementPrivateEndpointAssociatedDatabase
{
public static Task<GetDbManagementPrivateEndpointAssociatedDatabaseResult> InvokeAsync(GetDbManagementPrivateEndpointAssociatedDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetDbManagementPrivateEndpointAssociatedDatabaseResult> Invoke(GetDbManagementPrivateEndpointAssociatedDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbManagementPrivateEndpointAssociatedDatabaseResult> getDbManagementPrivateEndpointAssociatedDatabase(GetDbManagementPrivateEndpointAssociatedDatabaseArgs args, InvokeOptions options)
public static Output<GetDbManagementPrivateEndpointAssociatedDatabaseResult> getDbManagementPrivateEndpointAssociatedDatabase(GetDbManagementPrivateEndpointAssociatedDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseManagement/getDbManagementPrivateEndpointAssociatedDatabase:getDbManagementPrivateEndpointAssociatedDatabase
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- Compartment
Id string - The OCID of the compartment.
- Db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- compartment
Id String - The OCID of the compartment.
- db
Management StringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- compartment
Id string - The OCID of the compartment.
- db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- compartment_
id str - The OCID of the compartment.
- db_
management_ strprivate_ endpoint_ id - The OCID of the Database Management private endpoint.
- compartment
Id String - The OCID of the compartment.
- db
Management StringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
getDbManagementPrivateEndpointAssociatedDatabase Result
The following output properties are available:
- Compartment
Id string - The compartment OCID of the database.
- Db
Management stringPrivate Endpoint Id - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Db Management Private Endpoint Associated Database Item> - A list of databases using a Database Management private endpoint.
- Compartment
Id string - The compartment OCID of the database.
- Db
Management stringPrivate Endpoint Id - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Db Management Private Endpoint Associated Database Item - A list of databases using a Database Management private endpoint.
- compartment
Id String - The compartment OCID of the database.
- db
Management StringPrivate Endpoint Id - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Db Management Private Endpoint Associated Database Item> - A list of databases using a Database Management private endpoint.
- compartment
Id string - The compartment OCID of the database.
- db
Management stringPrivate Endpoint Id - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Db Management Private Endpoint Associated Database Item[] - A list of databases using a Database Management private endpoint.
- compartment_
id str - The compartment OCID of the database.
- db_
management_ strprivate_ endpoint_ id - id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Db Management Private Endpoint Associated Database Item] - A list of databases using a Database Management private endpoint.
- compartment
Id String - The compartment OCID of the database.
- db
Management StringPrivate Endpoint Id - id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- A list of databases using a Database Management private endpoint.
Supporting Types
GetDbManagementPrivateEndpointAssociatedDatabaseItem
- Compartment
Id string - The OCID of the compartment.
- Id string
- The OCID of the database.
- Name string
- The name of the database.
- Time
Registered string - The time when Database Management was enabled for the database.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The OCID of the database.
- Name string
- The name of the database.
- Time
Registered string - The time when Database Management was enabled for the database.
- compartment
Id String - The OCID of the compartment.
- id String
- The OCID of the database.
- name String
- The name of the database.
- time
Registered String - The time when Database Management was enabled for the database.
- compartment
Id string - The OCID of the compartment.
- id string
- The OCID of the database.
- name string
- The name of the database.
- time
Registered string - The time when Database Management was enabled for the database.
- compartment_
id str - The OCID of the compartment.
- id str
- The OCID of the database.
- name str
- The name of the database.
- time_
registered str - The time when Database Management was enabled for the database.
- compartment
Id String - The OCID of the compartment.
- id String
- The OCID of the database.
- name String
- The name of the database.
- time
Registered String - The time when Database Management was enabled for the database.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
