1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseTools
  6. getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi

    This data source provides the list of Database Tools Database Api Gateway Config Pool Api Specs in Oracle Cloud Infrastructure Database Tools Runtime service.

    Returns a list of Database Tools database API gateway config API spec resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs = oci.databasetools.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs({
        databaseToolsDatabaseApiGatewayConfigId: testConfig.id,
        poolKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
        displayName: databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_tools_database_api_gateway_config_pool_api_specs = oci.databasetools.get_runtime_database_tools_database_api_gateway_config_pool_api_specs(database_tools_database_api_gateway_config_id=test_config["id"],
        pool_key=database_tools_database_api_gateway_config_pool_api_spec_pool_key,
        display_name=database_tools_database_api_gateway_config_pool_api_spec_display_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasetools"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasetools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(ctx, &databasetools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs{
    			DatabaseToolsDatabaseApiGatewayConfigId: testConfig.Id,
    			PoolKey:                                 databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
    			DisplayName:                             pulumi.StringRef(databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName),
    		}, 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 testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs = Oci.DatabaseTools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs.Invoke(new()
        {
            DatabaseToolsDatabaseApiGatewayConfigId = testConfig.Id,
            PoolKey = databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
            DisplayName = databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName,
        });
    
    });
    
    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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs = DatabaseToolsFunctions.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs.builder()
                .databaseToolsDatabaseApiGatewayConfigId(testConfig.id())
                .poolKey(databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey)
                .displayName(databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName)
                .build());
    
        }
    }
    
    variables:
      testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs:
        fn::invoke:
          function: oci:DatabaseTools:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs
          arguments:
            databaseToolsDatabaseApiGatewayConfigId: ${testConfig.id}
            poolKey: ${databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey}
            displayName: ${databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName}
    
    Example coming soon!
    

    Using getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs

    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 getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult>
    function getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsOutput(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult>
    def get_runtime_database_tools_database_api_gateway_config_pool_api_specs(database_tools_database_api_gateway_config_id: Optional[str] = None,
                                                                              display_name: Optional[str] = None,
                                                                              filters: Optional[Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter]] = None,
                                                                              pool_key: Optional[str] = None,
                                                                              opts: Optional[InvokeOptions] = None) -> GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult
    def get_runtime_database_tools_database_api_gateway_config_pool_api_specs_output(database_tools_database_api_gateway_config_id: pulumi.Input[Optional[str]] = None,
                                                                              display_name: pulumi.Input[Optional[str]] = None,
                                                                              filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilterArgs]]]] = None,
                                                                              pool_key: pulumi.Input[Optional[str]] = None,
                                                                              opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult]
    func GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(ctx *Context, args *GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs, opts ...InvokeOption) (*GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult, error)
    func GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsOutput(ctx *Context, args *GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsOutputArgs, opts ...InvokeOption) GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResultOutput

    > Note: This function is named GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs in the Go SDK.

    public static class GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs 
    {
        public static Task<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult> InvokeAsync(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs args, InvokeOptions? opts = null)
        public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult> Invoke(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs args, InvokeOptions options)
    public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseTools/getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs
      arguments:
        # arguments dictionary
    data "oci_databasetools_getruntimedatabasetoolsdatabaseapigatewayconfigpoolapispecs" "name" {
        # arguments
    }

    The following arguments are supported:

    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    PoolKey string
    The key of the pool config.
    DisplayName string
    A filter to return only resources that match the entire specified display name.
    Filters List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter>
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    PoolKey string
    The key of the pool config.
    DisplayName string
    A filter to return only resources that match the entire specified display name.
    Filters []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter
    database_tools_database_api_gateway_config_id string
    The OCID of a Database Tools database API gateway config.
    pool_key string
    The key of the pool config.
    display_name string
    A filter to return only resources that match the entire specified display name.
    filters list(object)
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    poolKey String
    The key of the pool config.
    displayName String
    A filter to return only resources that match the entire specified display name.
    filters List<GetRuntimeDatabaseApiGatewayConfigPoolApiSpecsFilter>
    databaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    poolKey string
    The key of the pool config.
    displayName string
    A filter to return only resources that match the entire specified display name.
    filters GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter[]
    database_tools_database_api_gateway_config_id str
    The OCID of a Database Tools database API gateway config.
    pool_key str
    The key of the pool config.
    display_name str
    A filter to return only resources that match the entire specified display name.
    filters Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter]
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    poolKey String
    The key of the pool config.
    displayName String
    A filter to return only resources that match the entire specified display name.
    filters List<Property Map>

    getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs Result

    The following output properties are available:

    DatabaseToolsDatabaseApiGatewayConfigId string
    DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollections List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection>
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    PoolKey string
    DisplayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    Filters List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter>
    DatabaseToolsDatabaseApiGatewayConfigId string
    DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollections []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    PoolKey string
    DisplayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    Filters []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter
    database_tools_database_api_gateway_config_id string
    database_tools_database_api_gateway_config_pool_api_spec_collections list(object)
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    pool_key string
    display_name string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    filters list(object)
    databaseToolsDatabaseApiGatewayConfigId String
    databaseToolsDatabaseApiGatewayConfigPoolApiSpecCollections List<GetRuntimeDatabaseApiGatewayConfigPoolApiSpecsDatabaseApiGatewayConfigPoolApiSpecCollection>
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    poolKey String
    displayName String
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    filters List<GetRuntimeDatabaseApiGatewayConfigPoolApiSpecsFilter>
    databaseToolsDatabaseApiGatewayConfigId string
    databaseToolsDatabaseApiGatewayConfigPoolApiSpecCollections GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection[]
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    poolKey string
    displayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    filters GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter[]
    database_tools_database_api_gateway_config_id str
    database_tools_database_api_gateway_config_pool_api_spec_collections Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection]
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    pool_key str
    display_name str
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    filters Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter]
    databaseToolsDatabaseApiGatewayConfigId String
    databaseToolsDatabaseApiGatewayConfigPoolApiSpecCollections List<Property Map>
    The list of database_tools_database_api_gateway_config_pool_api_spec_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    poolKey String
    displayName String
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    filters List<Property Map>

    Supporting Types

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollection

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecCollectionItem

    Content string
    The content of a string-escaped Open API spec in JSON format.
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    DisplayName string
    A filter to return only resources that match the entire specified display name.
    Id string
    Key string
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    PoolKey string
    The key of the pool config.
    TimeCreated string
    The time the resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the resource was updated. An RFC3339 formatted datetime string.
    Type string
    The type of the Database Tools database API gateway config API spec sub resource.
    Content string
    The content of a string-escaped Open API spec in JSON format.
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    DisplayName string
    A filter to return only resources that match the entire specified display name.
    Id string
    Key string
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    PoolKey string
    The key of the pool config.
    TimeCreated string
    The time the resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the resource was updated. An RFC3339 formatted datetime string.
    Type string
    The type of the Database Tools database API gateway config API spec sub resource.
    content string
    The content of a string-escaped Open API spec in JSON format.
    database_tools_database_api_gateway_config_id string
    The OCID of a Database Tools database API gateway config.
    display_name string
    A filter to return only resources that match the entire specified display name.
    id string
    key string
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    pool_key string
    The key of the pool config.
    time_created string
    The time the resource was created. An RFC3339 formatted datetime string.
    time_updated string
    The time the resource was updated. An RFC3339 formatted datetime string.
    type string
    The type of the Database Tools database API gateway config API spec sub resource.
    content String
    The content of a string-escaped Open API spec in JSON format.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    displayName String
    A filter to return only resources that match the entire specified display name.
    id String
    key String
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    poolKey String
    The key of the pool config.
    timeCreated String
    The time the resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the resource was updated. An RFC3339 formatted datetime string.
    type String
    The type of the Database Tools database API gateway config API spec sub resource.
    content string
    The content of a string-escaped Open API spec in JSON format.
    databaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    displayName string
    A filter to return only resources that match the entire specified display name.
    id string
    key string
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    poolKey string
    The key of the pool config.
    timeCreated string
    The time the resource was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the resource was updated. An RFC3339 formatted datetime string.
    type string
    The type of the Database Tools database API gateway config API spec sub resource.
    content str
    The content of a string-escaped Open API spec in JSON format.
    database_tools_database_api_gateway_config_id str
    The OCID of a Database Tools database API gateway config.
    display_name str
    A filter to return only resources that match the entire specified display name.
    id str
    key str
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    pool_key str
    The key of the pool config.
    time_created str
    The time the resource was created. An RFC3339 formatted datetime string.
    time_updated str
    The time the resource was updated. An RFC3339 formatted datetime string.
    type str
    The type of the Database Tools database API gateway config API spec sub resource.
    content String
    The content of a string-escaped Open API spec in JSON format.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    displayName String
    A filter to return only resources that match the entire specified display name.
    id String
    key String
    A system generated string that uniquely identifies an API spec sub resource within a given pool.
    poolKey String
    The key of the pool config.
    timeCreated String
    The time the resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the resource was updated. An RFC3339 formatted datetime string.
    type String
    The type of the Database Tools database API gateway config API spec sub resource.

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.11.0
    published on Friday, May 15, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.