1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. getDbManagementPrivateEndpoint
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.DatabaseManagement.getDbManagementPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    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: oci_database_management_db_management_private_endpoint.test_db_management_private_endpoint.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=oci_database_management_db_management_private_endpoint["test_db_management_private_endpoint"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_database_management_db_management_private_endpoint.Test_db_management_private_endpoint.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 = oci_database_management_db_management_private_endpoint.Test_db_management_private_endpoint.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(oci_database_management_db_management_private_endpoint.test_db_management_private_endpoint().id())
                .build());
    
        }
    }
    
    variables:
      testDbManagementPrivateEndpoint:
        fn::invoke:
          Function: oci:DatabaseManagement:getDbManagementPrivateEndpoint
          Arguments:
            dbManagementPrivateEndpointId: ${oci_database_management_db_management_private_endpoint.test_db_management_private_endpoint.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 GetDbManagementPrivateEndpoint(ctx *Context, args *GetDbManagementPrivateEndpointArgs, opts ...InvokeOption) (*GetDbManagementPrivateEndpointResult, error)
    func GetDbManagementPrivateEndpointOutput(ctx *Context, args *GetDbManagementPrivateEndpointOutputArgs, opts ...InvokeOption) GetDbManagementPrivateEndpointResultOutput

    > Note: This function is named GetDbManagementPrivateEndpoint 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseManagement/getDbManagementPrivateEndpoint:getDbManagementPrivateEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbManagementPrivateEndpointId string
    The OCID of the Database Management private endpoint.
    DbManagementPrivateEndpointId string
    The OCID of the Database Management private endpoint.
    dbManagementPrivateEndpointId String
    The OCID of the Database Management private endpoint.
    dbManagementPrivateEndpointId string
    The OCID of the Database Management private endpoint.
    db_management_private_endpoint_id str
    The OCID of the Database Management private endpoint.
    dbManagementPrivateEndpointId String
    The OCID of the Database Management private endpoint.

    getDbManagementPrivateEndpoint Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    DbManagementPrivateEndpointId string
    DefinedTags Dictionary<string, object>
    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.
    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 Database Management private endpoint.
    IsCluster bool
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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.
    DbManagementPrivateEndpointId string
    DefinedTags map[string]interface{}
    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.
    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 Database Management private endpoint.
    IsCluster bool
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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.
    dbManagementPrivateEndpointId String
    definedTags Map<String,Object>
    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.
    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 Database Management private endpoint.
    isCluster Boolean
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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.
    dbManagementPrivateEndpointId string
    definedTags {[key: string]: any}
    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.
    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 Database Management private endpoint.
    isCluster boolean
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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_private_endpoint_id str
    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. Example: {"Operations.CostCenter": "42"}
    description str
    The description of the Database Management private endpoint.
    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 Database Management private endpoint.
    is_cluster bool
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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.
    dbManagementPrivateEndpointId String
    definedTags Map<Any>
    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.
    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 Database Management private endpoint.
    isCluster Boolean
    Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.
    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.
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi