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 resource in Oracle Cloud Infrastructure Database Tools service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-tools/latest/DatabaseToolsDatabaseApiGatewayConfig * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databaseTools * * Creates a new Database Tools database API gateway config. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsDatabaseApiGatewayConfig = new oci.databasetools.DatabaseToolsDatabaseApiGatewayConfig("test_database_tools_database_api_gateway_config", { * compartmentId: compartmentId, * displayName: databaseToolsDatabaseApiGatewayConfigDisplayName, * metadataSource: databaseToolsDatabaseApiGatewayConfigMetadataSource, * type: databaseToolsDatabaseApiGatewayConfigType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * locks: [{ * type: databaseToolsDatabaseApiGatewayConfigLocksType, * message: databaseToolsDatabaseApiGatewayConfigLocksMessage, * relatedResourceId: testResource.id, * timeCreated: databaseToolsDatabaseApiGatewayConfigLocksTimeCreated, * }], * }); * ``` * * ## Import * * DatabaseToolsDatabaseApiGatewayConfigs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/databaseToolsDatabaseApiGatewayConfig:DatabaseToolsDatabaseApiGatewayConfig test_database_tools_database_api_gateway_config "id" * ``` */ export declare class DatabaseToolsDatabaseApiGatewayConfig extends pulumi.CustomResource { /** * Get an existing DatabaseToolsDatabaseApiGatewayConfig 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, state?: DatabaseToolsDatabaseApiGatewayConfigState, opts?: pulumi.CustomResourceOptions): DatabaseToolsDatabaseApiGatewayConfig; /** * Returns true if the given object is an instance of DatabaseToolsDatabaseApiGatewayConfig. 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 DatabaseToolsDatabaseApiGatewayConfig; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * The RESTful service definition location. */ readonly metadataSource: pulumi.Output; /** * The current state of the Database Tools database API gateway config. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) The Database Tools DP API gateway config type. * * ** 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; /** * Create a DatabaseToolsDatabaseApiGatewayConfig 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: DatabaseToolsDatabaseApiGatewayConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseToolsDatabaseApiGatewayConfig resources. */ export interface DatabaseToolsDatabaseApiGatewayConfigState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state. */ lifecycleDetails?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * The RESTful service definition location. */ metadataSource?: pulumi.Input; /** * The current state of the Database Tools database API gateway config. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the Database Tools database API gateway config was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the Database Tools database API gateway config was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) The Database Tools DP API gateway config type. * * ** 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; } /** * The set of arguments for constructing a DatabaseToolsDatabaseApiGatewayConfig resource. */ export interface DatabaseToolsDatabaseApiGatewayConfigArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools database API gateway config. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * The RESTful service definition location. */ metadataSource: pulumi.Input; /** * (Updatable) The Database Tools DP API gateway config type. * * ** 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; } //# sourceMappingURL=databaseToolsDatabaseApiGatewayConfig.d.ts.map