import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Database Tools Database Api Gateway Config Pool 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 pool resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsDatabaseApiGatewayConfigPool = new oci.databasetools.RuntimeDatabaseToolsDatabaseApiGatewayConfigPool("test_database_tools_database_api_gateway_config_pool", { * databaseToolsConnectionId: testDatabaseToolsConnection.id, * databaseToolsDatabaseApiGatewayConfigId: testConfig.id, * displayName: databaseToolsDatabaseApiGatewayConfigPoolDisplayName, * poolRouteValue: databaseToolsDatabaseApiGatewayConfigPoolPoolRouteValue, * type: databaseToolsDatabaseApiGatewayConfigPoolType, * advancedProperties: databaseToolsDatabaseApiGatewayConfigPoolAdvancedProperties, * databaseActionsStatus: databaseToolsDatabaseApiGatewayConfigPoolDatabaseActionsStatus, * initialPoolSize: Number(databaseToolsDatabaseApiGatewayConfigPoolInitialPoolSize), * jwtProfileAudience: databaseToolsDatabaseApiGatewayConfigPoolJwtProfileAudience, * jwtProfileIssuer: databaseToolsDatabaseApiGatewayConfigPoolJwtProfileIssuer, * jwtProfileJwkUrl: databaseToolsDatabaseApiGatewayConfigPoolJwtProfileJwkUrl, * jwtProfileRoleClaimName: databaseToolsDatabaseApiGatewayConfigPoolJwtProfileRoleClaimName, * maxPoolSize: Number(databaseToolsDatabaseApiGatewayConfigPoolMaxPoolSize), * minPoolSize: Number(databaseToolsDatabaseApiGatewayConfigPoolMinPoolSize), * restEnabledSqlStatus: databaseToolsDatabaseApiGatewayConfigPoolRestEnabledSqlStatus, * }); * ``` * * ## Import * * DatabaseToolsDatabaseApiGatewayConfigPools can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsDatabaseApiGatewayConfigPool:RuntimeDatabaseToolsDatabaseApiGatewayConfigPool test_database_tools_database_api_gateway_config_pool "databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/pools/{poolKey}" * ``` */ export declare class RuntimeDatabaseToolsDatabaseApiGatewayConfigPool extends pulumi.CustomResource { /** * Get an existing RuntimeDatabaseToolsDatabaseApiGatewayConfigPool 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?: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsDatabaseApiGatewayConfigPool; /** * Returns true if the given object is an instance of RuntimeDatabaseToolsDatabaseApiGatewayConfigPool. 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPool; /** * (Updatable) Advanced pool properties. */ readonly advancedProperties: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Specifies to enable the Database Actions feature. */ readonly databaseActionsStatus: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the Oracle Cloud Infrastructure database tools connection ocid to build the connection pool from. */ readonly databaseToolsConnectionId: 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; /** * (Updatable) Specifies the initial size for the number of database connections that will be created for the pool. */ readonly initialPoolSize: pulumi.Output; /** * (Updatable) Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token. */ readonly jwtProfileAudience: pulumi.Output; /** * (Updatable) Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token. */ readonly jwtProfileIssuer: pulumi.Output; /** * (Updatable) Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token. */ readonly jwtProfileJwkUrl: pulumi.Output; /** * (Updatable) Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users. */ readonly jwtProfileRoleClaimName: pulumi.Output; /** * A system generated string that uniquely identifies a pool sub resource. */ readonly key: pulumi.Output; /** * (Updatable) Specifies the maximum number of database connections allowed for the pool. */ readonly maxPoolSize: pulumi.Output; /** * (Updatable) Specifies the minimum number of database connections allowed for the pool. */ readonly minPoolSize: pulumi.Output; /** * (Updatable) The pool route value provided in requests to target this pool. */ readonly poolRouteValue: pulumi.Output; /** * (Updatable) Specifies whether the REST-Enabled SQL service is active. */ readonly restEnabledSqlStatus: 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 pool 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPool 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: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuntimeDatabaseToolsDatabaseApiGatewayConfigPool resources. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolState { /** * (Updatable) Advanced pool properties. */ advancedProperties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Specifies to enable the Database Actions feature. */ databaseActionsStatus?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the Oracle Cloud Infrastructure database tools connection ocid to build the connection pool from. */ databaseToolsConnectionId?: 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; /** * (Updatable) Specifies the initial size for the number of database connections that will be created for the pool. */ initialPoolSize?: pulumi.Input; /** * (Updatable) Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token. */ jwtProfileAudience?: pulumi.Input; /** * (Updatable) Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token. */ jwtProfileIssuer?: pulumi.Input; /** * (Updatable) Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token. */ jwtProfileJwkUrl?: pulumi.Input; /** * (Updatable) Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users. */ jwtProfileRoleClaimName?: pulumi.Input; /** * A system generated string that uniquely identifies a pool sub resource. */ key?: pulumi.Input; /** * (Updatable) Specifies the maximum number of database connections allowed for the pool. */ maxPoolSize?: pulumi.Input; /** * (Updatable) Specifies the minimum number of database connections allowed for the pool. */ minPoolSize?: pulumi.Input; /** * (Updatable) The pool route value provided in requests to target this pool. */ poolRouteValue?: pulumi.Input; /** * (Updatable) Specifies whether the REST-Enabled SQL service is active. */ restEnabledSqlStatus?: 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 pool 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPool resource. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolArgs { /** * (Updatable) Advanced pool properties. */ advancedProperties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Specifies to enable the Database Actions feature. */ databaseActionsStatus?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. Specifies the Oracle Cloud Infrastructure database tools connection ocid to build the connection pool from. */ databaseToolsConnectionId: 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; /** * (Updatable) Specifies the initial size for the number of database connections that will be created for the pool. */ initialPoolSize?: pulumi.Input; /** * (Updatable) Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token. */ jwtProfileAudience?: pulumi.Input; /** * (Updatable) Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token. */ jwtProfileIssuer?: pulumi.Input; /** * (Updatable) Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token. */ jwtProfileJwkUrl?: pulumi.Input; /** * (Updatable) Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users. */ jwtProfileRoleClaimName?: pulumi.Input; /** * (Updatable) Specifies the maximum number of database connections allowed for the pool. */ maxPoolSize?: pulumi.Input; /** * (Updatable) Specifies the minimum number of database connections allowed for the pool. */ minPoolSize?: pulumi.Input; /** * (Updatable) The pool route value provided in requests to target this pool. */ poolRouteValue: pulumi.Input; /** * (Updatable) Specifies whether the REST-Enabled SQL service is active. */ restEnabledSqlStatus?: pulumi.Input; /** * (Updatable) The type of the Database Tools database API gateway config pool 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=runtimeDatabaseToolsDatabaseApiGatewayConfigPool.d.ts.map