1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseTools
  6. getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal
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 Global resource in Oracle Cloud Infrastructure Database Tools Runtime service.

    Get a Database Tools database API gateway config global resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseToolsDatabaseApiGatewayConfigGlobal = oci.databasetools.getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal({
        databaseToolsDatabaseApiGatewayConfigId: testConfig.id,
        globalKey: databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_tools_database_api_gateway_config_global = oci.databasetools.get_runtime_database_tools_database_api_gateway_config_global(database_tools_database_api_gateway_config_id=test_config["id"],
        global_key=database_tools_database_api_gateway_config_global_global_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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(ctx, &databasetools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs{
    			DatabaseToolsDatabaseApiGatewayConfigId: testConfig.Id,
    			GlobalKey:                               databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey,
    		}, 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 testDatabaseToolsDatabaseApiGatewayConfigGlobal = Oci.DatabaseTools.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal.Invoke(new()
        {
            DatabaseToolsDatabaseApiGatewayConfigId = testConfig.Id,
            GlobalKey = databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey,
        });
    
    });
    
    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.GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs;
    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 testDatabaseToolsDatabaseApiGatewayConfigGlobal = DatabaseToolsFunctions.getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs.builder()
                .databaseToolsDatabaseApiGatewayConfigId(testConfig.id())
                .globalKey(databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey)
                .build());
    
        }
    }
    
    variables:
      testDatabaseToolsDatabaseApiGatewayConfigGlobal:
        fn::invoke:
          function: oci:DatabaseTools:getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal
          arguments:
            databaseToolsDatabaseApiGatewayConfigId: ${testConfig.id}
            globalKey: ${databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey}
    
    Example coming soon!
    

    Using getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal

    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 getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult>
    function getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalOutput(args: GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult>
    def get_runtime_database_tools_database_api_gateway_config_global(database_tools_database_api_gateway_config_id: Optional[str] = None,
                                                                      global_key: Optional[str] = None,
                                                                      opts: Optional[InvokeOptions] = None) -> GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult
    def get_runtime_database_tools_database_api_gateway_config_global_output(database_tools_database_api_gateway_config_id: pulumi.Input[Optional[str]] = None,
                                                                      global_key: pulumi.Input[Optional[str]] = None,
                                                                      opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult]
    func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs, opts ...InvokeOption) (*LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult, error)
    func LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalOutput(ctx *Context, args *LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalOutputArgs, opts ...InvokeOption) LookupRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResultOutput

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

    public static class GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal 
    {
        public static Task<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult> InvokeAsync(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs args, InvokeOptions? opts = null)
        public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult> Invoke(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs args, InvokeOptions options)
    public static Output<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalResult> getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal(GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseTools/getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal:getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal
      arguments:
        # arguments dictionary
    data "oci_databasetools_getruntimedatabasetoolsdatabaseapigatewayconfigglobal" "name" {
        # arguments
    }

    The following arguments are supported:

    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    GlobalKey string
    The key of the global config.
    DatabaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    GlobalKey string
    The key of the global config.
    database_tools_database_api_gateway_config_id string
    The OCID of a Database Tools database API gateway config.
    global_key string
    The key of the global config.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    globalKey String
    The key of the global config.
    databaseToolsDatabaseApiGatewayConfigId string
    The OCID of a Database Tools database API gateway config.
    globalKey string
    The key of the global config.
    database_tools_database_api_gateway_config_id str
    The OCID of a Database Tools database API gateway config.
    global_key str
    The key of the global config.
    databaseToolsDatabaseApiGatewayConfigId String
    The OCID of a Database Tools database API gateway config.
    globalKey String
    The key of the global config.

    getRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal Result

    The following output properties are available:

    AdvancedProperties Dictionary<string, string>
    Advanced global properties.
    CertificateBundles List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle>
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    DatabaseApiStatus string
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    DatabaseToolsDatabaseApiGatewayConfigId string
    DocumentRoot string
    The location of the static resources to be served under the / root server path.
    GlobalKey string
    HttpPort int
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    HttpsPort int
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    Id string
    Key string
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    MetadataSource string
    The RESTful service definition location.
    PoolRoute string
    How the target pool route value is determined for a HTTP request.
    PoolRoutingHeader string
    The request header name providing the pool route value.
    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 global settings resource.
    AdvancedProperties map[string]string
    Advanced global properties.
    CertificateBundles []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    DatabaseApiStatus string
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    DatabaseToolsDatabaseApiGatewayConfigId string
    DocumentRoot string
    The location of the static resources to be served under the / root server path.
    GlobalKey string
    HttpPort int
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    HttpsPort int
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    Id string
    Key string
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    MetadataSource string
    The RESTful service definition location.
    PoolRoute string
    How the target pool route value is determined for a HTTP request.
    PoolRoutingHeader string
    The request header name providing the pool route value.
    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 global settings resource.
    advanced_properties map(string)
    Advanced global properties.
    certificate_bundles list(object)
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    database_api_status string
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    database_tools_database_api_gateway_config_id string
    document_root string
    The location of the static resources to be served under the / root server path.
    global_key string
    http_port number
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    https_port number
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    id string
    key string
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    metadata_source string
    The RESTful service definition location.
    pool_route string
    How the target pool route value is determined for a HTTP request.
    pool_routing_header string
    The request header name providing the pool route value.
    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 global settings resource.
    advancedProperties Map<String,String>
    Advanced global properties.
    certificateBundles List<GetRuntimeDatabaseApiGatewayConfigGlobalCertificateBundle>
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    databaseApiStatus String
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    databaseToolsDatabaseApiGatewayConfigId String
    documentRoot String
    The location of the static resources to be served under the / root server path.
    globalKey String
    httpPort Integer
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    httpsPort Integer
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    id String
    key String
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    metadataSource String
    The RESTful service definition location.
    poolRoute String
    How the target pool route value is determined for a HTTP request.
    poolRoutingHeader String
    The request header name providing the pool route value.
    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 global settings resource.
    advancedProperties {[key: string]: string}
    Advanced global properties.
    certificateBundles GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle[]
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    databaseApiStatus string
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    databaseToolsDatabaseApiGatewayConfigId string
    documentRoot string
    The location of the static resources to be served under the / root server path.
    globalKey string
    httpPort number
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    httpsPort number
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    id string
    key string
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    metadataSource string
    The RESTful service definition location.
    poolRoute string
    How the target pool route value is determined for a HTTP request.
    poolRoutingHeader string
    The request header name providing the pool route value.
    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 global settings resource.
    advanced_properties Mapping[str, str]
    Advanced global properties.
    certificate_bundles Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle]
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    database_api_status str
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    database_tools_database_api_gateway_config_id str
    document_root str
    The location of the static resources to be served under the / root server path.
    global_key str
    http_port int
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    https_port int
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    id str
    key str
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    metadata_source str
    The RESTful service definition location.
    pool_route str
    How the target pool route value is determined for a HTTP request.
    pool_routing_header str
    The request header name providing the pool route value.
    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 global settings resource.
    advancedProperties Map<String>
    Advanced global properties.
    certificateBundles List<Property Map>
    The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
    databaseApiStatus String
    ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
    databaseToolsDatabaseApiGatewayConfigId String
    documentRoot String
    The location of the static resources to be served under the / root server path.
    globalKey String
    httpPort Number
    Specifies the HTTP listen port. 0 disables HTTP. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended.
    httpsPort Number
    Specifies the HTTPS listen port. 0 disables HTTPS. Use of ports below 1024 requires elevated (root) privileges and is generally discouraged; deployment on non-privileged ports (1024–65535) is recommended. ORDS will use a self-signed certificate if a certificate bundle is not provided.
    id String
    key String
    A string that uniquely identifies a Database Tools database API gateway config global settings resource.
    metadataSource String
    The RESTful service definition location.
    poolRoute String
    How the target pool route value is determined for a HTTP request.
    poolRoutingHeader String
    The request header name providing the pool route value.
    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 global settings resource.

    Supporting Types

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle

    CertificatePrivateKeys List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey>
    Describes a certificate private key file to be used with SSL
    CertificatePublics List<GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic>
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    Type string
    The type of the Database Tools database API gateway config global settings resource.
    CertificatePrivateKeys []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey
    Describes a certificate private key file to be used with SSL
    CertificatePublics []GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    Type string
    The type of the Database Tools database API gateway config global settings resource.
    certificate_private_keys list(object)
    Describes a certificate private key file to be used with SSL
    certificate_publics list(object)
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    type string
    The type of the Database Tools database API gateway config global settings resource.
    certificatePrivateKeys List<GetRuntimeDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey>
    Describes a certificate private key file to be used with SSL
    certificatePublics List<GetRuntimeDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic>
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    type String
    The type of the Database Tools database API gateway config global settings resource.
    certificatePrivateKeys GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey[]
    Describes a certificate private key file to be used with SSL
    certificatePublics GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic[]
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    type string
    The type of the Database Tools database API gateway config global settings resource.
    certificate_private_keys Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey]
    Describes a certificate private key file to be used with SSL
    certificate_publics Sequence[GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic]
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    type str
    The type of the Database Tools database API gateway config global settings resource.
    certificatePrivateKeys List<Property Map>
    Describes a certificate private key file to be used with SSL
    certificatePublics List<Property Map>
    Describes a certificate file to be used with SSL. Ignored if the httpsPort is 0.
    type String
    The type of the Database Tools database API gateway config global settings resource.

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKey

    Format string
    The format of the file
    Path string
    The path to the file
    Format string
    The format of the file
    Path string
    The path to the file
    format string
    The format of the file
    path string
    The path to the file
    format String
    The format of the file
    path String
    The path to the file
    format string
    The format of the file
    path string
    The path to the file
    format str
    The format of the file
    path str
    The path to the file
    format String
    The format of the file
    path String
    The path to the file

    GetRuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublic

    Format string
    The format of the file
    Path string
    The path to the file
    Format string
    The format of the file
    Path string
    The path to the file
    format string
    The format of the file
    path string
    The path to the file
    format String
    The format of the file
    path String
    The path to the file
    format string
    The format of the file
    path string
    The path to the file
    format str
    The format of the file
    path str
    The path to the file
    format String
    The format of the file
    path String
    The path to the file

    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.