Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DatabaseManagement.getDbManagementPrivateEndpoint
Explore with Pulumi AI
This data source provides details about a specific Db Management Private Endpoint resource in Oracle Cloud Infrastructure Database Management service.
Gets the details of a specific Database Management private endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbManagementPrivateEndpoint = oci.DatabaseManagement.getDbManagementPrivateEndpoint({
    dbManagementPrivateEndpointId: testDbManagementPrivateEndpointOciDatabaseManagementDbManagementPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_db_management_private_endpoint = oci.DatabaseManagement.get_db_management_private_endpoint(db_management_private_endpoint_id=test_db_management_private_endpoint_oci_database_management_db_management_private_endpoint["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemanagement.GetDbManagementPrivateEndpoint(ctx, &databasemanagement.GetDbManagementPrivateEndpointArgs{
			DbManagementPrivateEndpointId: testDbManagementPrivateEndpointOciDatabaseManagementDbManagementPrivateEndpoint.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 testDbManagementPrivateEndpoint = Oci.DatabaseManagement.GetDbManagementPrivateEndpoint.Invoke(new()
    {
        DbManagementPrivateEndpointId = testDbManagementPrivateEndpointOciDatabaseManagementDbManagementPrivateEndpoint.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.GetDbManagementPrivateEndpointArgs;
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 testDbManagementPrivateEndpoint = DatabaseManagementFunctions.getDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointArgs.builder()
            .dbManagementPrivateEndpointId(testDbManagementPrivateEndpointOciDatabaseManagementDbManagementPrivateEndpoint.id())
            .build());
    }
}
variables:
  testDbManagementPrivateEndpoint:
    fn::invoke:
      function: oci:DatabaseManagement:getDbManagementPrivateEndpoint
      arguments:
        dbManagementPrivateEndpointId: ${testDbManagementPrivateEndpointOciDatabaseManagementDbManagementPrivateEndpoint.id}
Using getDbManagementPrivateEndpoint
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 getDbManagementPrivateEndpoint(args: GetDbManagementPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetDbManagementPrivateEndpointResult>
function getDbManagementPrivateEndpointOutput(args: GetDbManagementPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetDbManagementPrivateEndpointResult>def get_db_management_private_endpoint(db_management_private_endpoint_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetDbManagementPrivateEndpointResult
def get_db_management_private_endpoint_output(db_management_private_endpoint_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetDbManagementPrivateEndpointResult]func LookupDbManagementPrivateEndpoint(ctx *Context, args *LookupDbManagementPrivateEndpointArgs, opts ...InvokeOption) (*LookupDbManagementPrivateEndpointResult, error)
func LookupDbManagementPrivateEndpointOutput(ctx *Context, args *LookupDbManagementPrivateEndpointOutputArgs, opts ...InvokeOption) LookupDbManagementPrivateEndpointResultOutput> Note: This function is named LookupDbManagementPrivateEndpoint in the Go SDK.
public static class GetDbManagementPrivateEndpoint 
{
    public static Task<GetDbManagementPrivateEndpointResult> InvokeAsync(GetDbManagementPrivateEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetDbManagementPrivateEndpointResult> Invoke(GetDbManagementPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbManagementPrivateEndpointResult> getDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointArgs args, InvokeOptions options)
public static Output<GetDbManagementPrivateEndpointResult> getDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseManagement/getDbManagementPrivateEndpoint:getDbManagementPrivateEndpoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DbManagement stringPrivate Endpoint Id 
- The OCID of the Database Management private endpoint.
- DbManagement stringPrivate Endpoint Id 
- The OCID of the Database Management private endpoint.
- dbManagement StringPrivate Endpoint Id 
- The OCID of the Database Management private endpoint.
- dbManagement stringPrivate Endpoint Id 
- The OCID of the Database Management private endpoint.
- db_management_ strprivate_ endpoint_ id 
- The OCID of the Database Management private endpoint.
- dbManagement StringPrivate Endpoint Id 
- The OCID of the Database Management private endpoint.
getDbManagementPrivateEndpoint Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment.
- DbManagement stringPrivate Endpoint Id 
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- The description of the Database Management private endpoint.
- 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 Database Management private endpoint.
- IsCluster bool
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- IsDns boolResolution Enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- Name string
- The display name of the Database Management private endpoint.
- NsgIds List<string>
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- PrivateIp string
- The IP addresses assigned to the Database Management private endpoint.
- State string
- The current lifecycle state of the Database Management private endpoint.
- SubnetId string
- The OCID of the subnet.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- VcnId string
- The OCID of the VCN.
- CompartmentId string
- The OCID of the compartment.
- DbManagement stringPrivate Endpoint Id 
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- The description of the Database Management private endpoint.
- 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 Database Management private endpoint.
- IsCluster bool
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- IsDns boolResolution Enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- Name string
- The display name of the Database Management private endpoint.
- NsgIds []string
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- PrivateIp string
- The IP addresses assigned to the Database Management private endpoint.
- State string
- The current lifecycle state of the Database Management private endpoint.
- SubnetId string
- The OCID of the subnet.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- VcnId string
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- dbManagement StringPrivate Endpoint Id 
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- The description of the Database Management private endpoint.
- 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 Database Management private endpoint.
- isCluster Boolean
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- isDns BooleanResolution Enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- name String
- The display name of the Database Management private endpoint.
- nsgIds List<String>
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- privateIp String
- The IP addresses assigned to the Database Management private endpoint.
- state String
- The current lifecycle state of the Database Management private endpoint.
- subnetId String
- The OCID of the subnet.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcnId String
- The OCID of the VCN.
- compartmentId string
- The OCID of the compartment.
- dbManagement stringPrivate Endpoint Id 
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description string
- The description of the Database Management private endpoint.
- {[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 Database Management private endpoint.
- isCluster boolean
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- isDns booleanResolution Enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- name string
- The display name of the Database Management private endpoint.
- nsgIds string[]
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- privateIp string
- The IP addresses assigned to the Database Management private endpoint.
- state string
- The current lifecycle state of the Database Management private endpoint.
- subnetId string
- The OCID of the subnet.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcnId string
- The OCID of the VCN.
- compartment_id str
- The OCID of the compartment.
- db_management_ strprivate_ endpoint_ id 
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description str
- The description of the Database Management private endpoint.
- 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 Database Management private endpoint.
- is_cluster bool
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- is_dns_ boolresolution_ enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- name str
- The display name of the Database Management private endpoint.
- nsg_ids Sequence[str]
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- private_ip str
- The IP addresses assigned to the Database Management private endpoint.
- state str
- The current lifecycle state of the Database Management private endpoint.
- subnet_id str
- The OCID of the subnet.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcn_id str
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- dbManagement StringPrivate Endpoint Id 
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- The description of the Database Management private endpoint.
- 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 Database Management private endpoint.
- isCluster Boolean
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
- isDns BooleanResolution Enabled 
- Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.
- name String
- The display name of the Database Management private endpoint.
- nsgIds List<String>
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- privateIp String
- The IP addresses assigned to the Database Management private endpoint.
- state String
- The current lifecycle state of the Database Management private endpoint.
- subnetId String
- The OCID of the subnet.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcnId String
- The OCID of the VCN.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.