1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. getDbManagementPrivateEndpoint
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DatabaseManagement.getDbManagementPrivateEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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: 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 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, 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.
    FreeformTags 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.
    IsDnsResolutionEnabled bool
    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.
    SystemTags 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.
    DbManagementPrivateEndpointId string
    DefinedTags 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.
    FreeformTags 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.
    IsDnsResolutionEnabled bool
    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.
    SystemTags 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.
    dbManagementPrivateEndpointId String
    definedTags 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.
    freeformTags 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.
    isDnsResolutionEnabled Boolean
    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.
    systemTags 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.
    dbManagementPrivateEndpointId string
    definedTags {[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.
    freeformTags {[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.
    isDnsResolutionEnabled boolean
    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.
    systemTags {[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_private_endpoint_id str
    defined_tags 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.
    freeform_tags 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_resolution_enabled bool
    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.
    system_tags 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.
    dbManagementPrivateEndpointId String
    definedTags 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.
    freeformTags 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.
    isDnsResolutionEnabled Boolean
    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.
    systemTags 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi