1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseTools
  5. getDatabaseToolsEndpointService
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DatabaseTools.getDatabaseToolsEndpointService

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: oci_database_tools_database_tools_endpoint_service.test_database_tools_endpoint_service.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=oci_database_tools_database_tools_endpoint_service["test_database_tools_endpoint_service"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_database_tools_database_tools_endpoint_service.Test_database_tools_endpoint_service.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 = oci_database_tools_database_tools_endpoint_service.Test_database_tools_endpoint_service.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(oci_database_tools_database_tools_endpoint_service.test_database_tools_endpoint_service().id())
                .build());
    
        }
    }
    
    variables:
      testDatabaseToolsEndpointService:
        fn::invoke:
          Function: oci:DatabaseTools:getDatabaseToolsEndpointService
          Arguments:
            databaseToolsEndpointServiceId: ${oci_database_tools_database_tools_endpoint_service.test_database_tools_endpoint_service.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseTools/getDatabaseToolsEndpointService:getDatabaseToolsEndpointService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatabaseToolsEndpointServiceId string
    The OCID of a Database Tools Endpoint Service.
    DatabaseToolsEndpointServiceId string
    The OCID of a Database Tools Endpoint Service.
    databaseToolsEndpointServiceId String
    The OCID of a Database Tools Endpoint Service.
    databaseToolsEndpointServiceId string
    The OCID of a Database Tools Endpoint Service.
    database_tools_endpoint_service_id str
    The OCID of a Database Tools Endpoint Service.
    databaseToolsEndpointServiceId String
    The OCID of a Database Tools Endpoint Service.

    getDatabaseToolsEndpointService Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment containing the Database Tools Endpoint Service.
    DatabaseToolsEndpointServiceId string
    DefinedTags Dictionary<string, object>
    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.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    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.
    LifecycleDetails 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.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
    CompartmentId string
    The OCID of the compartment containing the Database Tools Endpoint Service.
    DatabaseToolsEndpointServiceId string
    DefinedTags map[string]interface{}
    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.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    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.
    LifecycleDetails 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.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
    compartmentId String
    The OCID of the compartment containing the Database Tools Endpoint Service.
    databaseToolsEndpointServiceId String
    definedTags Map<String,Object>
    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.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    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.
    lifecycleDetails 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.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
    timeUpdated String
    The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string
    compartmentId string
    The OCID of the compartment containing the Database Tools Endpoint Service.
    databaseToolsEndpointServiceId string
    definedTags {[key: string]: any}
    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.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    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.
    lifecycleDetails 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.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
    timeUpdated 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_endpoint_service_id str
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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.
    system_tags Mapping[str, Any]
    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
    compartmentId String
    The OCID of the compartment containing the Database Tools Endpoint Service.
    databaseToolsEndpointServiceId String
    definedTags Map<Any>
    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.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    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.
    lifecycleDetails 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.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string
    timeUpdated 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi