Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
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 dictionarydata "oci_databasetools_getruntimedatabasetoolsdatabaseapigatewayconfigpoolautoapispec" "name" {
# arguments
}The following arguments are supported:
- Auto
Api stringSpec Key - The key of the auto API spec config.
- Database
Tools stringDatabase Api Gateway Config Id - The OCID of a Database Tools database API gateway config.
- Pool
Key string - The key of the pool config.
- Auto
Api stringSpec Key - The key of the auto API spec config.
- Database
Tools stringDatabase Api Gateway Config Id - The OCID of a Database Tools database API gateway config.
- Pool
Key string - The key of the pool config.
- auto_
api_ stringspec_ key - The key of the auto API spec config.
- database_
tools_ stringdatabase_ api_ gateway_ config_ id - The OCID of a Database Tools database API gateway config.
- pool_
key string - The key of the pool config.
- auto
Api StringSpec Key - The key of the auto API spec config.
- database
Tools StringDatabase Api Gateway Config Id - The OCID of a Database Tools database API gateway config.
- pool
Key String - The key of the pool config.
- auto
Api stringSpec Key - The key of the auto API spec config.
- database
Tools stringDatabase Api Gateway Config Id - The OCID of a Database Tools database API gateway config.
- pool
Key string - The key of the pool config.
- auto_
api_ strspec_ key - The key of the auto API spec config.
- database_
tools_ strdatabase_ api_ gateway_ config_ id - The OCID of a Database Tools database API gateway config.
- pool_
key str - The key of the pool config.
- auto
Api StringSpec Key - The key of the auto API spec config.
- database
Tools StringDatabase Api Gateway Config Id - The OCID of a Database Tools database API gateway config.
- pool
Key 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.
- Auto
Api stringSpec Key - Database
Object stringName - The name of the database object.
- Database
Object stringType - The type of the database object.
- Database
Tools stringDatabase Api Gateway Config Id - 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.
- Auto
Api stringSpec Key - Database
Object stringName - The name of the database object.
- Database
Object stringType - The type of the database object.
- Database
Tools stringDatabase Api Gateway Config Id - 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 []string
- The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
- Pool
Key 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.
- Security
Schemes []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.
- auto_
api_ stringspec_ key - database_
object_ stringname - The name of the database object.
- database_
object_ stringtype - The type of the database object.
- database_
tools_ stringdatabase_ api_ gateway_ config_ id - 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.
- auto
Api StringSpec Key - database
Object StringName - The name of the database object.
- database
Object StringType - The type of the database object.
- database
Tools StringDatabase Api Gateway Config Id - 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.
- auto
Api stringSpec Key - database
Object stringName - The name of the database object.
- database
Object stringType - The type of the database object.
- database
Tools stringDatabase Api Gateway Config Id - 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 string[]
- The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"].
- pool
Key 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.
- security
Schemes 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 str
- Used as the URI path element for this object. When not specified the objectName lowercase is the default value.
- auto_
api_ strspec_ key - database_
object_ strname - The name of the database object.
- database_
object_ strtype - The type of the database object.
- database_
tools_ strdatabase_ api_ gateway_ config_ id - 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.
- auto
Api StringSpec Key - database
Object StringName - The name of the database object.
- database
Object StringType - The type of the database object.
- database
Tools StringDatabase Api Gateway Config Id - 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
