import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Database Tools Database Api Gateway Config Pool Api Spec 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 * * Create a Database Tools database API gateway config API spec resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec = new oci.databasetools.RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec("test_database_tools_database_api_gateway_config_pool_api_spec", { * content: databaseToolsDatabaseApiGatewayConfigPoolApiSpecContent, * databaseToolsDatabaseApiGatewayConfigId: testConfig.id, * displayName: databaseToolsDatabaseApiGatewayConfigPoolApiSpecDisplayName, * poolKey: databaseToolsDatabaseApiGatewayConfigPoolApiSpecPoolKey, * type: databaseToolsDatabaseApiGatewayConfigPoolApiSpecType, * }); * ``` * * ## Import * * DatabaseToolsDatabaseApiGatewayConfigPoolApiSpecs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec:RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec test_database_tools_database_api_gateway_config_pool_api_spec "databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/pools/{poolKey}/apiSpecs/{apiSpecKey}" * ``` */ export declare class RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec extends pulumi.CustomResource { /** * Get an existing RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec 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?: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec; /** * Returns true if the given object is an instance of RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec. 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec; /** * (Updatable) The content of a string-escaped Open API spec in JSON format. */ readonly content: pulumi.Output; /** * 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; /** * (Updatable) A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * A system generated string that uniquely identifies an API spec sub resource within a given pool. */ readonly key: pulumi.Output; /** * The key of the pool config. */ readonly poolKey: pulumi.Output; /** * The time the resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the resource was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) The type of the Database Tools database API gateway config API spec sub 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; /** * Create a RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec 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: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec resources. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecState { /** * (Updatable) The content of a string-escaped Open API spec in JSON format. */ content?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config. */ databaseToolsDatabaseApiGatewayConfigId?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * A system generated string that uniquely identifies an API spec sub resource within a given pool. */ key?: pulumi.Input; /** * The key of the pool config. */ poolKey?: pulumi.Input; /** * The time the resource was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the resource was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) The type of the Database Tools database API gateway config API spec sub 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; } /** * The set of arguments for constructing a RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec resource. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpecArgs { /** * (Updatable) The content of a string-escaped Open API spec in JSON format. */ content: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools database API gateway config. */ databaseToolsDatabaseApiGatewayConfigId: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. */ displayName: pulumi.Input; /** * The key of the pool config. */ poolKey: pulumi.Input; /** * (Updatable) The type of the Database Tools database API gateway config API spec sub 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; } //# sourceMappingURL=runtimeDatabaseToolsDatabaseApiGatewayConfigPoolApiSpec.d.ts.map