1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseTools
  6. getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
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 details about a specific Database Tools Database Api Gateway Config Pool Auto Api Spec resource in Oracle Cloud Infrastructure Database Tools Runtime service.

    Get a Database Tools database API gateway config auto API spec resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec = oci.databasetools.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec({
        autoApiSpecKey: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAutoApiSpecKey,
        databaseToolsDatabaseApiGatewayConfigId: testConfig.id,
        poolKey: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_tools_database_api_gateway_config_pool_auto_api_spec = oci.databasetools.get_runtime_database_tools_database_api_gateway_config_pool_auto_api_spec(auto_api_spec_key=database_tools_database_api_gateway_config_pool_auto_api_spec_auto_api_spec_key,
        database_tools_database_api_gateway_config_id=test_config["id"],
        pool_key=database_tools_database_api_gateway_config_pool_auto_api_spec_pool_key)
    
    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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx, &databasetools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs{
    			AutoApiSpecKey:                          databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAutoApiSpecKey,
    			DatabaseToolsDatabaseApiGatewayConfigId: testConfig.Id,
    			PoolKey:                                 databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey,
    		}, 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 testDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec = Oci.DatabaseTools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.Invoke(new()
        {
            AutoApiSpecKey = databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAutoApiSpecKey,
            DatabaseToolsDatabaseApiGatewayConfigId = testConfig.Id,
            PoolKey = databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey,
        });
    
    });
    
    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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs;
    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 testDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec = DatabaseToolsFunctions.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs.builder()
                .autoApiSpecKey(databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAutoApiSpecKey)
                .databaseToolsDatabaseApiGatewayConfigId(testConfig.id())
                .poolKey(databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey)
                .build());
    
        }
    }
    
    variables:
      testDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec:
        fn::invoke:
          function: oci:DatabaseTools:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
          arguments:
            autoApiSpecKey: ${databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAutoApiSpecKey}
            databaseToolsDatabaseApiGatewayConfigId: ${testConfig.id}
            poolKey: ${databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey}
    
    Example coming soon!
    

    Using getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec

    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 getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult>
    function getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOutput(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult>
    def get_runtime_database_tools_database_api_gateway_config_pool_auto_api_spec(auto_api_spec_key: Optional[str] = None,
                                                                                  database_tools_database_api_gateway_config_id: Optional[str] = None,
                                                                                  pool_key: Optional[str] = None,
                                                                                  opts: Optional[InvokeOptions] = None) -> GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult
    def get_runtime_database_tools_database_api_gateway_config_pool_auto_api_spec_output(auto_api_spec_key: pulumi.Input[Optional[str]] = None,
                                                                                  database_tools_database_api_gateway_config_id: pulumi.Input[Optional[str]] = None,
                                                                                  pool_key: pulumi.Input[Optional[str]] = None,
                                                                                  opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult]
    func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs, opts ...InvokeOption) (*LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult, error)
    func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOutput(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOutputArgs, opts ...InvokeOption) LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResultOutput

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

    public static class GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec 
    {
        public static Task<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult> InvokeAsync(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs args, InvokeOptions? opts = null)
        public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult> Invoke(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs args, InvokeOptions options)
    public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseTools/getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec
      arguments:
        # arguments dictionary
    data "oci_databasetools_getruntimedatabasetoolsdatabaseapigatewayconfigpoolautoapispec" "name" {
        # arguments
    }

    The following arguments are supported:

    AutoApiSpecKey string
    The key of the auto API spec config.
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    PoolKey string
    The key of the pool config.
    AutoApiSpecKey string
    The key of the auto API spec config.
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    PoolKey string
    The key of the pool config.
    auto_api_spec_key string
    The key of the auto API spec config.
    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.
    autoApiSpecKey String
    The key of the auto API spec config.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    poolKey String
    The key of the pool config.
    autoApiSpecKey string
    The key of the auto API spec config.
    databaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    poolKey string
    The key of the pool config.
    auto_api_spec_key str
    The key of the auto API spec config.
    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.
    autoApiSpecKey String
    The key of the auto API spec config.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    poolKey String
    The key of the pool config.

    getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec Result

    The following output properties are available:

    Alias string
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    AutoApiSpecKey string
    DatabaseObjectName string
    The name of the database object.
    DatabaseObjectType string
    The type of the database object.
    DatabaseToolsDatabaseApiGatewayConfigId string
    Description string
    Description of the autoApiSpec.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    Id string
    Key string
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    Operations List<string>
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    PoolKey string
    Roles List<string>
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    Scope string
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    SecuritySchemes List<string>
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    Alias string
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    AutoApiSpecKey string
    DatabaseObjectName string
    The name of the database object.
    DatabaseObjectType string
    The type of the database object.
    DatabaseToolsDatabaseApiGatewayConfigId string
    Description string
    Description of the autoApiSpec.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    Id string
    Key string
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    Operations []string
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    PoolKey string
    Roles []string
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    Scope string
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    SecuritySchemes []string
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    alias string
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    auto_api_spec_key string
    database_object_name string
    The name of the database object.
    database_object_type string
    The type of the database object.
    database_tools_database_api_gateway_config_id string
    description string
    Description of the autoApiSpec.
    display_name string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    id string
    key string
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    operations list(string)
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    pool_key string
    roles list(string)
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    scope string
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    security_schemes list(string)
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    alias String
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    autoApiSpecKey String
    databaseObjectName String
    The name of the database object.
    databaseObjectType String
    The type of the database object.
    databaseToolsDatabaseApiGatewayConfigId String
    description String
    Description of the autoApiSpec.
    displayName String
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    id String
    key String
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    operations List<String>
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    poolKey String
    roles List<String>
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    scope String
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    securitySchemes List<String>
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    alias string
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    autoApiSpecKey string
    databaseObjectName string
    The name of the database object.
    databaseObjectType string
    The type of the database object.
    databaseToolsDatabaseApiGatewayConfigId string
    description string
    Description of the autoApiSpec.
    displayName string
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    id string
    key string
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    operations string[]
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    poolKey string
    roles string[]
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    scope string
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    securitySchemes string[]
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    alias str
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    auto_api_spec_key str
    database_object_name str
    The name of the database object.
    database_object_type str
    The type of the database object.
    database_tools_database_api_gateway_config_id str
    description str
    Description of the autoApiSpec.
    display_name str
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    id str
    key str
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    operations Sequence[str]
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    pool_key str
    roles Sequence[str]
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    scope str
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    security_schemes Sequence[str]
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.
    alias String
    Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
    autoApiSpecKey String
    databaseObjectName String
    The name of the database object.
    databaseObjectType String
    The type of the database object.
    databaseToolsDatabaseApiGatewayConfigId String
    description String
    Description of the autoApiSpec.
    displayName String
    A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
    id String
    key String
    A system generated string that uniquely identifies an auto API spec sub resource within a given pool.
    operations List<String>
    The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
    poolKey String
    roles List<String>
    The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.
    scope String
    The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.
    securitySchemes List<String>
    The security schemes that can access this resource. If not specified then the resource is public.
    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 auto API spec sub resource.

    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.