Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.DatabaseTools.getDatabaseToolsEndpointService
Explore with Pulumi AI
This data source provides details about a specific Database Tools Endpoint Service resource in Oracle Cloud Infrastructure Database Tools service.
Gets details for the specified Database Tools endpoint service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsEndpointService = oci.DatabaseTools.getDatabaseToolsEndpointService({
    databaseToolsEndpointServiceId: testDatabaseToolsEndpointServiceOciDatabaseToolsDatabaseToolsEndpointService.id,
});
import pulumi
import pulumi_oci as oci
test_database_tools_endpoint_service = oci.DatabaseTools.get_database_tools_endpoint_service(database_tools_endpoint_service_id=test_database_tools_endpoint_service_oci_database_tools_database_tools_endpoint_service["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.GetDatabaseToolsEndpointService(ctx, &databasetools.GetDatabaseToolsEndpointServiceArgs{
			DatabaseToolsEndpointServiceId: testDatabaseToolsEndpointServiceOciDatabaseToolsDatabaseToolsEndpointService.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 testDatabaseToolsEndpointService = Oci.DatabaseTools.GetDatabaseToolsEndpointService.Invoke(new()
    {
        DatabaseToolsEndpointServiceId = testDatabaseToolsEndpointServiceOciDatabaseToolsDatabaseToolsEndpointService.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.GetDatabaseToolsEndpointServiceArgs;
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 testDatabaseToolsEndpointService = DatabaseToolsFunctions.getDatabaseToolsEndpointService(GetDatabaseToolsEndpointServiceArgs.builder()
            .databaseToolsEndpointServiceId(testDatabaseToolsEndpointServiceOciDatabaseToolsDatabaseToolsEndpointService.id())
            .build());
    }
}
variables:
  testDatabaseToolsEndpointService:
    fn::invoke:
      function: oci:DatabaseTools:getDatabaseToolsEndpointService
      arguments:
        databaseToolsEndpointServiceId: ${testDatabaseToolsEndpointServiceOciDatabaseToolsDatabaseToolsEndpointService.id}
Using getDatabaseToolsEndpointService
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 getDatabaseToolsEndpointService(args: GetDatabaseToolsEndpointServiceArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsEndpointServiceResult>
function getDatabaseToolsEndpointServiceOutput(args: GetDatabaseToolsEndpointServiceOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsEndpointServiceResult>def get_database_tools_endpoint_service(database_tools_endpoint_service_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsEndpointServiceResult
def get_database_tools_endpoint_service_output(database_tools_endpoint_service_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsEndpointServiceResult]func GetDatabaseToolsEndpointService(ctx *Context, args *GetDatabaseToolsEndpointServiceArgs, opts ...InvokeOption) (*GetDatabaseToolsEndpointServiceResult, error)
func GetDatabaseToolsEndpointServiceOutput(ctx *Context, args *GetDatabaseToolsEndpointServiceOutputArgs, opts ...InvokeOption) GetDatabaseToolsEndpointServiceResultOutput> Note: This function is named GetDatabaseToolsEndpointService in the Go SDK.
public static class GetDatabaseToolsEndpointService 
{
    public static Task<GetDatabaseToolsEndpointServiceResult> InvokeAsync(GetDatabaseToolsEndpointServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseToolsEndpointServiceResult> Invoke(GetDatabaseToolsEndpointServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseToolsEndpointServiceResult> getDatabaseToolsEndpointService(GetDatabaseToolsEndpointServiceArgs args, InvokeOptions options)
public static Output<GetDatabaseToolsEndpointServiceResult> getDatabaseToolsEndpointService(GetDatabaseToolsEndpointServiceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseTools/getDatabaseToolsEndpointService:getDatabaseToolsEndpointService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Database
Tools stringEndpoint Service Id  - The OCID of a Database Tools Endpoint Service.
 
- Database
Tools stringEndpoint Service Id  - The OCID of a Database Tools Endpoint Service.
 
- database
Tools StringEndpoint Service Id  - The OCID of a Database Tools Endpoint Service.
 
- database
Tools stringEndpoint Service Id  - The OCID of a Database Tools Endpoint Service.
 
- database_
tools_ strendpoint_ service_ id  - The OCID of a Database Tools Endpoint Service.
 
- database
Tools StringEndpoint Service Id  - The OCID of a Database Tools Endpoint Service.
 
getDatabaseToolsEndpointService Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the Database Tools Endpoint Service.
 - Database
Tools stringEndpoint Service 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 Endpoint Service.
 - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - 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 provider-assigned unique ID for this managed resource.
 - 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.
 - Name string
 - A unique, non-changeable resource name.
 - State string
 - The current state of the Database Tools Endpoint Service.
 - 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 Endpoint Service was created. An RFC3339 formatted datetime string
 - Time
Updated string - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
- Compartment
Id string - The OCID of the compartment containing the Database Tools Endpoint Service.
 - Database
Tools stringEndpoint Service 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 Endpoint Service.
 - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - 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 provider-assigned unique ID for this managed resource.
 - 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.
 - Name string
 - A unique, non-changeable resource name.
 - State string
 - The current state of the Database Tools Endpoint Service.
 - 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 Endpoint Service was created. An RFC3339 formatted datetime string
 - Time
Updated string - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment containing the Database Tools Endpoint Service.
 - database
Tools StringEndpoint Service 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 Endpoint Service.
 - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - 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 provider-assigned unique ID for this managed resource.
 - 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.
 - name String
 - A unique, non-changeable resource name.
 - state String
 - The current state of the Database Tools Endpoint Service.
 - 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 Endpoint Service was created. An RFC3339 formatted datetime string
 - time
Updated String - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
- compartment
Id string - The OCID of the compartment containing the Database Tools Endpoint Service.
 - database
Tools stringEndpoint Service 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 Endpoint Service.
 - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - {[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 provider-assigned unique ID for this managed resource.
 - 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.
 - name string
 - A unique, non-changeable resource name.
 - state string
 - The current state of the Database Tools Endpoint Service.
 - {[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 Endpoint Service was created. An RFC3339 formatted datetime string
 - time
Updated string - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
- compartment_
id str - The OCID of the compartment containing the Database Tools Endpoint Service.
 - database_
tools_ strendpoint_ service_ 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 Endpoint Service.
 - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - 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 provider-assigned unique ID for this managed resource.
 - 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.
 - name str
 - A unique, non-changeable resource name.
 - state str
 - The current state of the Database Tools Endpoint Service.
 - 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 Endpoint Service was created. An RFC3339 formatted datetime string
 - time_
updated str - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
- compartment
Id String - The OCID of the compartment containing the Database Tools Endpoint Service.
 - database
Tools StringEndpoint Service 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 Endpoint Service.
 - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
 - 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 provider-assigned unique ID for this managed resource.
 - 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.
 - name String
 - A unique, non-changeable resource name.
 - state String
 - The current state of the Database Tools Endpoint Service.
 - 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 Endpoint Service was created. An RFC3339 formatted datetime string
 - time
Updated String - The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.