Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DatabaseManagement.getDbManagementPrivateEndpoint
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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/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:
- Db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- Db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- db
Management StringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- db
Management stringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
- db_
management_ strprivate_ endpoint_ id - The OCID of the Database Management private endpoint.
- db
Management StringPrivate Endpoint Id - The OCID of the Database Management private endpoint.
getDbManagementPrivateEndpoint Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Db
Management stringPrivate Endpoint Id - 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.
- 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.
- Is
Cluster 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.
- Nsg
Ids List<string> - The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- Private
Ip string - The IP addresses assigned to the Database Management private endpoint.
- State string
- The current lifecycle state of the Database Management private endpoint.
- Subnet
Id string - The OCID of the subnet.
- Dictionary<string, object>
- 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 string - The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- Vcn
Id string - The OCID of the VCN.
- Compartment
Id string - The OCID of the compartment.
- Db
Management stringPrivate Endpoint Id - 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.
- 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.
- Is
Cluster 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.
- Nsg
Ids []string - The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- Private
Ip string - The IP addresses assigned to the Database Management private endpoint.
- State string
- The current lifecycle state of the Database Management private endpoint.
- Subnet
Id string - The OCID of the subnet.
- map[string]interface{}
- 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 string - The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- Vcn
Id string - The OCID of the VCN.
- compartment
Id String - The OCID of the compartment.
- db
Management StringPrivate Endpoint Id - 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.
- 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.
- is
Cluster 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.
- nsg
Ids List<String> - The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- private
Ip String - The IP addresses assigned to the Database Management private endpoint.
- state String
- The current lifecycle state of the Database Management private endpoint.
- subnet
Id String - The OCID of the subnet.
- Map<String,Object>
- 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 String - The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcn
Id String - The OCID of the VCN.
- compartment
Id string - The OCID of the compartment.
- db
Management stringPrivate Endpoint Id - {[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.
- {[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.
- is
Cluster 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.
- nsg
Ids string[] - The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- private
Ip string - The IP addresses assigned to the Database Management private endpoint.
- state string
- The current lifecycle state of the Database Management private endpoint.
- subnet
Id string - The OCID of the subnet.
- {[key: string]: any}
- 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 string - The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcn
Id string - The OCID of the VCN.
- compartment_
id str - The OCID of the compartment.
- db_
management_ strprivate_ endpoint_ id - 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.
- 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.
- Mapping[str, Any]
- 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.
- compartment
Id String - The OCID of the compartment.
- db
Management StringPrivate Endpoint Id - 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.
- 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.
- is
Cluster 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.
- nsg
Ids List<String> - The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.
- private
Ip String - The IP addresses assigned to the Database Management private endpoint.
- state String
- The current lifecycle state of the Database Management private endpoint.
- subnet
Id String - The OCID of the subnet.
- Map<Any>
- 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 String - The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.
- vcn
Id 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi