import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Database Tools Database Api Gateway Config Global resource in Oracle Cloud Infrastructure Database Tools Runtime service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database_tools_runtime
 *
 * Update a Database Tools database API gateway config global resource
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDatabaseToolsDatabaseApiGatewayConfigGlobal = new oci.databasetools.RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal("test_database_tools_database_api_gateway_config_global", {
 *     databaseToolsDatabaseApiGatewayConfigId: testConfig.id,
 *     globalKey: databaseToolsDatabaseApiGatewayConfigGlobalGlobalKey,
 *     type: databaseToolsDatabaseApiGatewayConfigGlobalType,
 *     advancedProperties: databaseToolsDatabaseApiGatewayConfigGlobalAdvancedProperties,
 *     certificateBundle: {
 *         type: databaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleType,
 *         certificatePrivateKey: {
 *             format: databaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKeyFormat,
 *             path: databaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePrivateKeyPath,
 *         },
 *         certificatePublic: {
 *             format: databaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublicFormat,
 *             path: databaseToolsDatabaseApiGatewayConfigGlobalCertificateBundleCertificatePublicPath,
 *         },
 *     },
 *     databaseApiStatus: databaseToolsDatabaseApiGatewayConfigGlobalDatabaseApiStatus,
 *     documentRoot: databaseToolsDatabaseApiGatewayConfigGlobalDocumentRoot,
 *     httpPort: Number(databaseToolsDatabaseApiGatewayConfigGlobalHttpPort),
 *     httpsPort: Number(databaseToolsDatabaseApiGatewayConfigGlobalHttpsPort),
 *     poolRoute: databaseToolsDatabaseApiGatewayConfigGlobalPoolRoute,
 *     poolRoutingHeader: databaseToolsDatabaseApiGatewayConfigGlobalPoolRoutingHeader,
 * });
 * ```
 *
 * ## Import
 *
 * DatabaseToolsDatabaseApiGatewayConfigGlobals can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsDatabaseApiGatewayConfigGlobal:RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal test_database_tools_database_api_gateway_config_global "databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/globals/{globalKey}"
 * ```
 */
export declare class RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal extends pulumi.CustomResource {
    /**
     * Get an existing RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal;
    /**
     * Returns true if the given object is an instance of RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal;
    /**
     * (Updatable) Advanced global properties.
     */
    readonly advancedProperties: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
     */
    readonly certificateBundle: pulumi.Output<outputs.DatabaseTools.RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle>;
    /**
     * (Updatable) ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
     */
    readonly databaseApiStatus: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
     */
    readonly databaseToolsDatabaseApiGatewayConfigId: pulumi.Output<string>;
    /**
     * (Updatable) The location of the static resources to be served under the / root server path.
     */
    readonly documentRoot: pulumi.Output<string>;
    /**
     * The key of the global config.
     */
    readonly globalKey: pulumi.Output<string>;
    /**
     * (Updatable) 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.
     */
    readonly httpPort: pulumi.Output<number>;
    /**
     * (Updatable) 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.
     */
    readonly httpsPort: pulumi.Output<number>;
    /**
     * A string that uniquely identifies a Database Tools database API gateway config global settings resource.
     */
    readonly key: pulumi.Output<string>;
    /**
     * The RESTful service definition location.
     */
    readonly metadataSource: pulumi.Output<string>;
    /**
     * (Updatable) How the target pool route value is determined for a HTTP request.
     */
    readonly poolRoute: pulumi.Output<string>;
    /**
     * (Updatable) The request header name providing the pool route value.
     */
    readonly poolRoutingHeader: pulumi.Output<string>;
    /**
     * The time the resource was created. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the resource was updated. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) The type of the Database Tools database API gateway config global settings resource.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly type: pulumi.Output<string>;
    /**
     * Create a RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal resources.
 */
export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalState {
    /**
     * (Updatable) Advanced global properties.
     */
    advancedProperties?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
     */
    certificateBundle?: pulumi.Input<inputs.DatabaseTools.RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle | undefined>;
    /**
     * (Updatable) ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
     */
    databaseApiStatus?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
     */
    databaseToolsDatabaseApiGatewayConfigId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The location of the static resources to be served under the / root server path.
     */
    documentRoot?: pulumi.Input<string | undefined>;
    /**
     * The key of the global config.
     */
    globalKey?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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.
     */
    httpPort?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) 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.
     */
    httpsPort?: pulumi.Input<number | undefined>;
    /**
     * A string that uniquely identifies a Database Tools database API gateway config global settings resource.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * The RESTful service definition location.
     */
    metadataSource?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) How the target pool route value is determined for a HTTP request.
     */
    poolRoute?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The request header name providing the pool route value.
     */
    poolRoutingHeader?: pulumi.Input<string | undefined>;
    /**
     * The time the resource was created. An RFC3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the resource was updated. An RFC3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The type of the Database Tools database API gateway config global settings resource.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobal resource.
 */
export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalArgs {
    /**
     * (Updatable) Advanced global properties.
     */
    advancedProperties?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The certificate bundle that describes the SSL certicicate. Ignored if the httpsPort is 0.
     */
    certificateBundle?: pulumi.Input<inputs.DatabaseTools.RuntimeDatabaseToolsDatabaseApiGatewayConfigGlobalCertificateBundle | undefined>;
    /**
     * (Updatable) ORDS database API is a database management and monitoring REST API. Database Actions requires this feature.
     */
    databaseApiStatus?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config.
     */
    databaseToolsDatabaseApiGatewayConfigId: pulumi.Input<string>;
    /**
     * (Updatable) The location of the static resources to be served under the / root server path.
     */
    documentRoot?: pulumi.Input<string | undefined>;
    /**
     * The key of the global config.
     */
    globalKey: pulumi.Input<string>;
    /**
     * (Updatable) 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.
     */
    httpPort?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) 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.
     */
    httpsPort?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) How the target pool route value is determined for a HTTP request.
     */
    poolRoute?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The request header name providing the pool route value.
     */
    poolRoutingHeader?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The type of the Database Tools database API gateway config global settings resource.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    type: pulumi.Input<string>;
}
//# sourceMappingURL=runtimeDatabaseToolsDatabaseApiGatewayConfigGlobal.d.ts.map