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 Api Spec resource in Oracle Cloud Infrastructure Database Tools Runtime service.
Get a Database Tools database API gateway config API spec resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec = oci.databasetools.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec({
apiSpecKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecApiSpecKey,
databaseToolsDatabaseApiGatewayConfigId: testConfig.id,
poolKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
});
import pulumi
import pulumi_oci as oci
test_database_tools_database_api_gateway_config_pool_api_spec = oci.databasetools.get_runtime_database_tools_database_api_gateway_config_pool_api_spec(api_spec_key=database_tools_database_api_gateway_config_pool_api_spec_api_spec_key,
database_tools_database_api_gateway_config_id=test_config["id"],
pool_key=database_tools_database_api_gateway_config_pool_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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx, &databasetools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs{
ApiSpecKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecApiSpecKey,
DatabaseToolsDatabaseApiGatewayConfigId: testConfig.Id,
PoolKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
}, 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 testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec = Oci.DatabaseTools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.Invoke(new()
{
ApiSpecKey = databaseToolsDatabaseApiGatewayConfigPoolApiSpecApiSpecKey,
DatabaseToolsDatabaseApiGatewayConfigId = testConfig.Id,
PoolKey = databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey,
});
});
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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs;
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 testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec = DatabaseToolsFunctions.getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs.builder()
.apiSpecKey(databaseToolsDatabaseApiGatewayConfigPoolApiSpecApiSpecKey)
.databaseToolsDatabaseApiGatewayConfigId(testConfig.id())
.poolKey(databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey)
.build());
}
}
variables:
testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec:
fn::invoke:
function: oci:DatabaseTools:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
arguments:
apiSpecKey: ${databaseToolsDatabaseApiGatewayConfigPoolApiSpecApiSpecKey}
databaseToolsDatabaseApiGatewayConfigId: ${testConfig.id}
poolKey: ${databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey}
Example coming soon!
Using getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
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 getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult>
function getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecOutput(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult>def get_runtime_database_tools_database_api_gateway_config_pool_api_spec(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) -> GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult
def get_runtime_database_tools_database_api_gateway_config_pool_api_spec_output(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[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult]func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs, opts ...InvokeOption) (*LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult, error)
func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecOutput(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecOutputArgs, opts ...InvokeOption) LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResultOutput> Note: This function is named LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec in the Go SDK.
public static class GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
{
public static Task<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult> InvokeAsync(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs args, InvokeOptions? opts = null)
public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult> Invoke(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs args, InvokeOptions options)
public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec:getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec
arguments:
# arguments dictionarydata "oci_databasetools_getruntimedatabasetoolsdatabaseapigatewayconfigpoolapispec" "name" {
# arguments
}The following arguments are supported:
- Api
Spec stringKey - The key of the 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.
- Api
Spec stringKey - The key of the 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.
- api_
spec_ stringkey - The key of the 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.
- api
Spec StringKey - The key of the 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.
- api
Spec stringKey - The key of the 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.
- api_
spec_ strkey - The key of the 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.
- api
Spec StringKey - The key of the 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.
getRuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec Result
The following output properties are available:
- Api
Spec stringKey - Content string
- The content of a string-escaped Open API spec in JSON format.
- Database
Tools stringDatabase Api Gateway Config Id - 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 API spec sub resource within a given pool.
- Pool
Key string - 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.
- Api
Spec stringKey - Content string
- The content of a string-escaped Open API spec in JSON format.
- Database
Tools stringDatabase Api Gateway Config Id - 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 API spec sub resource within a given pool.
- Pool
Key string - 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.
- api_
spec_ stringkey - content string
- The content of a string-escaped Open API spec in JSON format.
- database_
tools_ stringdatabase_ api_ gateway_ config_ id - 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 API spec sub resource within a given pool.
- pool_
key string - 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.
- api
Spec StringKey - content String
- The content of a string-escaped Open API spec in JSON format.
- database
Tools StringDatabase Api Gateway Config Id - 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 API spec sub resource within a given pool.
- pool
Key String - 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.
- api
Spec stringKey - content string
- The content of a string-escaped Open API spec in JSON format.
- database
Tools stringDatabase Api Gateway Config Id - 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 API spec sub resource within a given pool.
- pool
Key string - 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.
- api_
spec_ strkey - content str
- The content of a string-escaped Open API spec in JSON format.
- database_
tools_ strdatabase_ api_ gateway_ config_ id - 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 API spec sub resource within a given pool.
- pool_
key str - 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.
- api
Spec StringKey - content String
- The content of a string-escaped Open API spec in JSON format.
- database
Tools StringDatabase Api Gateway Config Id - 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 API spec sub resource within a given pool.
- pool
Key String - 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.
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
