import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Database Tools Database Api Gateway Config Pool Auto 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 auto API spec resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec = new oci.databasetools.RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec("test_database_tools_database_api_gateway_config_pool_auto_api_spec", { * databaseObjectName: testObject.name, * databaseObjectType: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDatabaseObjectType, * databaseToolsDatabaseApiGatewayConfigId: testConfig.id, * displayName: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDisplayName, * poolKey: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecPoolKey, * type: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecType, * alias: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecAlias, * description: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDescription, * operations: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecOperations, * roles: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecRoles, * scope: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecScope, * securitySchemes: databaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecSecuritySchemes, * }); * ``` * * ## Import * * DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec:RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec test_database_tools_database_api_gateway_config_pool_auto_api_spec "databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/pools/{poolKey}/autoApiSpecs/{autoApiSpecKey}" * ``` */ export declare class RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec extends pulumi.CustomResource { /** * Get an existing RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec 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?: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec; /** * Returns true if the given object is an instance of RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec; /** * (Updatable) Used as the URI path element for this object. When not specified the objectName lowercase is the default value. */ readonly alias: pulumi.Output; /** * (Updatable) The name of the database object. */ readonly databaseObjectName: pulumi.Output; /** * (Updatable) The type of the database object. */ readonly databaseObjectType: 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) Description of the autoApiSpec. */ readonly description: 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 auto API spec sub resource within a given pool. */ readonly key: pulumi.Output; /** * (Updatable) The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"]. */ readonly operations: pulumi.Output; /** * The key of the pool config. */ readonly poolKey: pulumi.Output; /** * (Updatable) The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes. */ readonly roles: pulumi.Output; /** * (Updatable) The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes. */ readonly scope: pulumi.Output; /** * (Updatable) The security schemes that can access this resource. If not specified then the resource is public. */ readonly securitySchemes: 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 auto 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec 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: RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec resources. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecState { /** * (Updatable) Used as the URI path element for this object. When not specified the objectName lowercase is the default value. */ alias?: pulumi.Input; /** * (Updatable) The name of the database object. */ databaseObjectName?: pulumi.Input; /** * (Updatable) The type of the database object. */ databaseObjectType?: 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) Description of the autoApiSpec. */ description?: 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 auto API spec sub resource within a given pool. */ key?: pulumi.Input; /** * (Updatable) The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"]. */ operations?: pulumi.Input[] | undefined>; /** * The key of the pool config. */ poolKey?: pulumi.Input; /** * (Updatable) The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes. */ roles?: pulumi.Input[] | undefined>; /** * (Updatable) The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes. */ scope?: pulumi.Input; /** * (Updatable) The security schemes that can access this resource. If not specified then the resource is public. */ securitySchemes?: pulumi.Input[] | undefined>; /** * 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 auto 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 RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec resource. */ export interface RuntimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecArgs { /** * (Updatable) Used as the URI path element for this object. When not specified the objectName lowercase is the default value. */ alias?: pulumi.Input; /** * (Updatable) The name of the database object. */ databaseObjectName: pulumi.Input; /** * (Updatable) The type of the database object. */ databaseObjectType: 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) Description of the autoApiSpec. */ description?: 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) The operations to limit access to this resource. If not specified then the default is ["READ","WRITE"]. */ operations?: pulumi.Input[] | undefined>; /** * The key of the pool config. */ poolKey: pulumi.Input; /** * (Updatable) The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes. */ roles?: pulumi.Input[] | undefined>; /** * (Updatable) The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes. */ scope?: pulumi.Input; /** * (Updatable) The security schemes that can access this resource. If not specified then the resource is public. */ securitySchemes?: pulumi.Input[] | undefined>; /** * (Updatable) The type of the Database Tools database API gateway config auto 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=runtimeDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.d.ts.map