Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DatabaseTools.getDatabaseToolsPrivateEndpoint
Explore with Pulumi AI
This data source provides details about a specific Database Tools Private Endpoint resource in Oracle Cloud Infrastructure Database Tools service.
Gets details of a specified Database Tools private endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsPrivateEndpoint = oci.DatabaseTools.getDatabaseToolsPrivateEndpoint({
databaseToolsPrivateEndpointId: testDatabaseToolsPrivateEndpointOciDatabaseToolsDatabaseToolsPrivateEndpoint.id,
});
import pulumi
import pulumi_oci as oci
test_database_tools_private_endpoint = oci.DatabaseTools.get_database_tools_private_endpoint(database_tools_private_endpoint_id=test_database_tools_private_endpoint_oci_database_tools_database_tools_private_endpoint["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseTools"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseTools.GetDatabaseToolsPrivateEndpoint(ctx, &databasetools.GetDatabaseToolsPrivateEndpointArgs{
DatabaseToolsPrivateEndpointId: testDatabaseToolsPrivateEndpointOciDatabaseToolsDatabaseToolsPrivateEndpoint.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 testDatabaseToolsPrivateEndpoint = Oci.DatabaseTools.GetDatabaseToolsPrivateEndpoint.Invoke(new()
{
DatabaseToolsPrivateEndpointId = testDatabaseToolsPrivateEndpointOciDatabaseToolsDatabaseToolsPrivateEndpoint.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseTools.DatabaseToolsFunctions;
import com.pulumi.oci.DatabaseTools.inputs.GetDatabaseToolsPrivateEndpointArgs;
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 testDatabaseToolsPrivateEndpoint = DatabaseToolsFunctions.getDatabaseToolsPrivateEndpoint(GetDatabaseToolsPrivateEndpointArgs.builder()
.databaseToolsPrivateEndpointId(testDatabaseToolsPrivateEndpointOciDatabaseToolsDatabaseToolsPrivateEndpoint.id())
.build());
}
}
variables:
testDatabaseToolsPrivateEndpoint:
fn::invoke:
Function: oci:DatabaseTools:getDatabaseToolsPrivateEndpoint
Arguments:
databaseToolsPrivateEndpointId: ${testDatabaseToolsPrivateEndpointOciDatabaseToolsDatabaseToolsPrivateEndpoint.id}
Using getDatabaseToolsPrivateEndpoint
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 getDatabaseToolsPrivateEndpoint(args: GetDatabaseToolsPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsPrivateEndpointResult>
function getDatabaseToolsPrivateEndpointOutput(args: GetDatabaseToolsPrivateEndpointOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsPrivateEndpointResult>
def get_database_tools_private_endpoint(database_tools_private_endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsPrivateEndpointResult
def get_database_tools_private_endpoint_output(database_tools_private_endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsPrivateEndpointResult]
func GetDatabaseToolsPrivateEndpoint(ctx *Context, args *GetDatabaseToolsPrivateEndpointArgs, opts ...InvokeOption) (*GetDatabaseToolsPrivateEndpointResult, error)
func GetDatabaseToolsPrivateEndpointOutput(ctx *Context, args *GetDatabaseToolsPrivateEndpointOutputArgs, opts ...InvokeOption) GetDatabaseToolsPrivateEndpointResultOutput
> Note: This function is named GetDatabaseToolsPrivateEndpoint
in the Go SDK.
public static class GetDatabaseToolsPrivateEndpoint
{
public static Task<GetDatabaseToolsPrivateEndpointResult> InvokeAsync(GetDatabaseToolsPrivateEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseToolsPrivateEndpointResult> Invoke(GetDatabaseToolsPrivateEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseToolsPrivateEndpointResult> getDatabaseToolsPrivateEndpoint(GetDatabaseToolsPrivateEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseTools/getDatabaseToolsPrivateEndpoint:getDatabaseToolsPrivateEndpoint
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Tools stringPrivate Endpoint Id - The OCID of a Database Tools private endpoint.
- Database
Tools stringPrivate Endpoint Id - The OCID of a Database Tools private endpoint.
- database
Tools StringPrivate Endpoint Id - The OCID of a Database Tools private endpoint.
- database
Tools stringPrivate Endpoint Id - The OCID of a Database Tools private endpoint.
- database_
tools_ strprivate_ endpoint_ id - The OCID of a Database Tools private endpoint.
- database
Tools StringPrivate Endpoint Id - The OCID of a Database Tools private endpoint.
getDatabaseToolsPrivateEndpoint Result
The following output properties are available:
- Additional
Fqdns List<string> - A list of additional FQDNs that can be also be used for the private endpoint.
- Compartment
Id string - The OCID of the compartment containing the Database Tools private endpoint.
- Database
Tools stringPrivate Endpoint Id - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- A description of the Database Tools private endpoint.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Endpoint
Fqdn string - Then FQDN to use for the private endpoint.
- Endpoint
Service stringId - The OCID of the Database Tools Endpoint Service.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the Database Tools private endpoint.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
List<Get
Database Tools Private Endpoint Lock> - Locks associated with this resource.
- Nsg
Ids List<string> - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Endpoint stringIp - The private IP address that represents the access point for the associated endpoint service.
- Private
Endpoint stringVnic Id - The OCID of the private endpoint's VNIC.
- Reverse
Connection List<GetConfigurations Database Tools Private Endpoint Reverse Connection Configuration> - Reverse connection configuration details of the private endpoint.
- State string
- The current state of the Database Tools private endpoint.
- Subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- Vcn
Id string - The OCID of the VCN that the private endpoint belongs to.
- Additional
Fqdns []string - A list of additional FQDNs that can be also be used for the private endpoint.
- Compartment
Id string - The OCID of the compartment containing the Database Tools private endpoint.
- Database
Tools stringPrivate Endpoint Id - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- A description of the Database Tools private endpoint.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Endpoint
Fqdn string - Then FQDN to use for the private endpoint.
- Endpoint
Service stringId - The OCID of the Database Tools Endpoint Service.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the Database Tools private endpoint.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
[]Get
Database Tools Private Endpoint Lock - Locks associated with this resource.
- Nsg
Ids []string - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- Private
Endpoint stringIp - The private IP address that represents the access point for the associated endpoint service.
- Private
Endpoint stringVnic Id - The OCID of the private endpoint's VNIC.
- Reverse
Connection []GetConfigurations Database Tools Private Endpoint Reverse Connection Configuration - Reverse connection configuration details of the private endpoint.
- State string
- The current state of the Database Tools private endpoint.
- Subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- Vcn
Id string - The OCID of the VCN that the private endpoint belongs to.
- additional
Fqdns List<String> - A list of additional FQDNs that can be also be used for the private endpoint.
- compartment
Id String - The OCID of the compartment containing the Database Tools private endpoint.
- database
Tools StringPrivate Endpoint Id - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- A description of the Database Tools private endpoint.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- endpoint
Fqdn String - Then FQDN to use for the private endpoint.
- endpoint
Service StringId - The OCID of the Database Tools Endpoint Service.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the Database Tools private endpoint.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
List<Get
Private Endpoint Lock> - Locks associated with this resource.
- nsg
Ids List<String> - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- private
Endpoint StringIp - The private IP address that represents the access point for the associated endpoint service.
- private
Endpoint StringVnic Id - The OCID of the private endpoint's VNIC.
- reverse
Connection List<GetConfigurations Private Endpoint Reverse Connection Configuration> - Reverse connection configuration details of the private endpoint.
- state String
- The current state of the Database Tools private endpoint.
- subnet
Id String - The OCID of the subnet that the private endpoint belongs to.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- time
Updated String - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- vcn
Id String - The OCID of the VCN that the private endpoint belongs to.
- additional
Fqdns string[] - A list of additional FQDNs that can be also be used for the private endpoint.
- compartment
Id string - The OCID of the compartment containing the Database Tools private endpoint.
- database
Tools stringPrivate Endpoint Id - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- A description of the Database Tools private endpoint.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- endpoint
Fqdn string - Then FQDN to use for the private endpoint.
- endpoint
Service stringId - The OCID of the Database Tools Endpoint Service.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The OCID of the Database Tools private endpoint.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Get
Database Tools Private Endpoint Lock[] - Locks associated with this resource.
- nsg
Ids string[] - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- private
Endpoint stringIp - The private IP address that represents the access point for the associated endpoint service.
- private
Endpoint stringVnic Id - The OCID of the private endpoint's VNIC.
- reverse
Connection GetConfigurations Database Tools Private Endpoint Reverse Connection Configuration[] - Reverse connection configuration details of the private endpoint.
- state string
- The current state of the Database Tools private endpoint.
- subnet
Id string - The OCID of the subnet that the private endpoint belongs to.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- time
Updated string - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- vcn
Id string - The OCID of the VCN that the private endpoint belongs to.
- additional_
fqdns Sequence[str] - A list of additional FQDNs that can be also be used for the private endpoint.
- compartment_
id str - The OCID of the compartment containing the Database Tools private endpoint.
- database_
tools_ strprivate_ endpoint_ id - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- A description of the Database Tools private endpoint.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- endpoint_
fqdn str - Then FQDN to use for the private endpoint.
- endpoint_
service_ strid - The OCID of the Database Tools Endpoint Service.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The OCID of the Database Tools private endpoint.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Sequence[databasetools.
Get Database Tools Private Endpoint Lock] - Locks associated with this resource.
- nsg_
ids Sequence[str] - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- private_
endpoint_ strip - The private IP address that represents the access point for the associated endpoint service.
- private_
endpoint_ strvnic_ id - The OCID of the private endpoint's VNIC.
- reverse_
connection_ Sequence[databasetools.configurations Get Database Tools Private Endpoint Reverse Connection Configuration] - Reverse connection configuration details of the private endpoint.
- state str
- The current state of the Database Tools private endpoint.
- subnet_
id str - The OCID of the subnet that the private endpoint belongs to.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- time_
updated str - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- vcn_
id str - The OCID of the VCN that the private endpoint belongs to.
- additional
Fqdns List<String> - A list of additional FQDNs that can be also be used for the private endpoint.
- compartment
Id String - The OCID of the compartment containing the Database Tools private endpoint.
- database
Tools StringPrivate Endpoint Id - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- A description of the Database Tools private endpoint.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- endpoint
Fqdn String - Then FQDN to use for the private endpoint.
- endpoint
Service StringId - The OCID of the Database Tools Endpoint Service.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the Database Tools private endpoint.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- nsg
Ids List<String> - The OCID of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see NetworkSecurityGroup.
- private
Endpoint StringIp - The private IP address that represents the access point for the associated endpoint service.
- private
Endpoint StringVnic Id - The OCID of the private endpoint's VNIC.
- reverse
Connection List<Property Map>Configurations - Reverse connection configuration details of the private endpoint.
- state String
- The current state of the Database Tools private endpoint.
- subnet
Id String - The OCID of the subnet that the private endpoint belongs to.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- time
Updated String - The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string
- vcn
Id String - The OCID of the VCN that the private endpoint belongs to.
Supporting Types
GetDatabaseToolsPrivateEndpointLock
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the Database Tools private endpoint was created. An RFC3339 formatted datetime string
- type String
- Type of the lock.
GetDatabaseToolsPrivateEndpointReverseConnectionConfiguration
- Reverse
Connections List<GetSource Ips Database Tools Private Endpoint Reverse Connection Configuration Reverse Connections Source Ip> - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
- Reverse
Connections []GetSource Ips Database Tools Private Endpoint Reverse Connection Configuration Reverse Connections Source Ip - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
- reverse
Connections List<GetSource Ips Private Endpoint Reverse Connection Configuration Reverse Connections Source Ip> - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
- reverse
Connections GetSource Ips Database Tools Private Endpoint Reverse Connection Configuration Reverse Connections Source Ip[] - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
- reverse_
connections_ Sequence[databasetools.source_ ips Get Database Tools Private Endpoint Reverse Connection Configuration Reverse Connections Source Ip] - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
- reverse
Connections List<Property Map>Source Ips - A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN.
GetDatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIp
- Source
Ip string - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
- Source
Ip string - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
- source
Ip String - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
- source
Ip string - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
- source_
ip str - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
- source
Ip String - The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.