Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getDbManagementPrivateEndpoint

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testDbManagementPrivateEndpoint = Output.Create(Oci.DatabaseManagement.GetDbManagementPrivateEndpoint.InvokeAsync(new Oci.DatabaseManagement.GetDbManagementPrivateEndpointArgs
        {
            DbManagementPrivateEndpointId = 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
	})
}

Coming soon!

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"])
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,
});

Coming soon!

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
Description string

The description of the Database Management private endpoint.

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
Description string

The description of the Database Management private endpoint.

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
description String

The description of the Database Management private endpoint.

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
description string

The description of the Database Management private endpoint.

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
description str

The description of the Database Management private endpoint.

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
description String

The description of the Database Management private endpoint.

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.