import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Database Tools Mcp Toolset resource in Oracle Cloud Infrastructure Database Tools service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-tools/latest/DatabaseToolsMcpToolset * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databaseTools * * Creates a new Database Tools MCP Toolset. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsMcpToolset = new oci.databasetools.DatabaseToolsMcpToolset("test_database_tools_mcp_toolset", { * compartmentId: compartmentId, * databaseToolsMcpServerId: testDatabaseToolsMcpServer.id, * displayName: databaseToolsMcpToolsetDisplayName, * type: databaseToolsMcpToolsetType, * version: Number(databaseToolsMcpToolsetVersion), * allowedRoles: databaseToolsMcpToolsetAllowedRoles, * defaultExecutionType: databaseToolsMcpToolsetDefaultExecutionType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: databaseToolsMcpToolsetDescription, * freeformTags: { * "bar-key": "value", * }, * generativeAiSemanticStoreId: testGenerativeAiSemanticStore.id, * locks: [{ * type: databaseToolsMcpToolsetLocksType, * message: databaseToolsMcpToolsetLocksMessage, * relatedResourceId: testResource.id, * timeCreated: databaseToolsMcpToolsetLocksTimeCreated, * }], * reports: [{ * allowedRoles: databaseToolsMcpToolsetReportsAllowedRoles, * databaseToolsSqlReportId: testDatabaseToolsSqlReport.id, * }], * source: { * type: databaseToolsMcpToolsetSourceType, * value: databaseToolsMcpToolsetSourceValue, * }, * toolDescription: databaseToolsMcpToolsetToolDescription, * toolName: testTool.name, * tools: [{ * allowedRoles: databaseToolsMcpToolsetToolsAllowedRoles, * name: databaseToolsMcpToolsetToolsName, * status: databaseToolsMcpToolsetToolsStatus, * }], * variables: [{ * description: databaseToolsMcpToolsetVariablesDescription, * name: databaseToolsMcpToolsetVariablesName, * type: databaseToolsMcpToolsetVariablesType, * }], * }); * ``` * * ## Import * * DatabaseToolsMcpToolsets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/databaseToolsMcpToolset:DatabaseToolsMcpToolset test_database_tools_mcp_toolset "id" * ``` */ export declare class DatabaseToolsMcpToolset extends pulumi.CustomResource { /** * Get an existing DatabaseToolsMcpToolset 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?: DatabaseToolsMcpToolsetState, opts?: pulumi.CustomResourceOptions): DatabaseToolsMcpToolset; /** * Returns true if the given object is an instance of DatabaseToolsMcpToolset. 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 DatabaseToolsMcpToolset; /** * (Updatable) The roles granted access to the MCP tool generated by this toolset */ readonly allowedRoles: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server. */ readonly compartmentId: pulumi.Output; /** * The OCID of the Database Tools MCP Server */ readonly databaseToolsMcpServerId: pulumi.Output; /** * (Updatable) The default execution type for the toolset. The default value is SYNCHRONOUS. * * To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured. */ readonly defaultExecutionType: 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 human readable description of the Database Tools MCP toolset. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. 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; }>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store. */ readonly generativeAiSemanticStoreId: pulumi.Output; /** * 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; /** * (Updatable) List of Database Tools SQL Reports */ readonly reports: pulumi.Output; /** * (Updatable) The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts. */ readonly source: pulumi.Output; /** * The current state of the Database Tools MCP Toolset. */ 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 MCP server was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool. */ readonly toolDescription: pulumi.Output; /** * (Updatable) Name of the tool returned by the MCP Server */ readonly toolName: pulumi.Output; /** * (Updatable) List of Database Tools CUSTOMIZABLE_REPORTING_TOOLS toolset tool configurations */ readonly tools: pulumi.Output; /** * (Updatable) The Database Tools MCP Toolset type. */ readonly type: pulumi.Output; /** * (Updatable) The variables to use with the query */ readonly variables: pulumi.Output; /** * (Updatable) The MCP toolset version * * ** 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 version: pulumi.Output; /** * Create a DatabaseToolsMcpToolset 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: DatabaseToolsMcpToolsetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseToolsMcpToolset resources. */ export interface DatabaseToolsMcpToolsetState { /** * (Updatable) The roles granted access to the MCP tool generated by this toolset */ allowedRoles?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server. */ compartmentId?: pulumi.Input; /** * The OCID of the Database Tools MCP Server */ databaseToolsMcpServerId?: pulumi.Input; /** * (Updatable) The default execution type for the toolset. The default value is SYNCHRONOUS. * * To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured. */ defaultExecutionType?: 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 human readable description of the Database Tools MCP toolset. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. 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>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store. */ generativeAiSemanticStoreId?: pulumi.Input; /** * 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>; /** * (Updatable) List of Database Tools SQL Reports */ reports?: pulumi.Input[] | undefined>; /** * (Updatable) The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts. */ source?: pulumi.Input; /** * The current state of the Database Tools MCP Toolset. */ 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 MCP server was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool. */ toolDescription?: pulumi.Input; /** * (Updatable) Name of the tool returned by the MCP Server */ toolName?: pulumi.Input; /** * (Updatable) List of Database Tools CUSTOMIZABLE_REPORTING_TOOLS toolset tool configurations */ tools?: pulumi.Input[] | undefined>; /** * (Updatable) The Database Tools MCP Toolset type. */ type?: pulumi.Input; /** * (Updatable) The variables to use with the query */ variables?: pulumi.Input[] | undefined>; /** * (Updatable) The MCP toolset version * * ** 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 */ version?: pulumi.Input; } /** * The set of arguments for constructing a DatabaseToolsMcpToolset resource. */ export interface DatabaseToolsMcpToolsetArgs { /** * (Updatable) The roles granted access to the MCP tool generated by this toolset */ allowedRoles?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Database Tools MCP server. */ compartmentId: pulumi.Input; /** * The OCID of the Database Tools MCP Server */ databaseToolsMcpServerId: pulumi.Input; /** * (Updatable) The default execution type for the toolset. The default value is SYNCHRONOUS. * * To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured. */ defaultExecutionType?: 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 human readable description of the Database Tools MCP toolset. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique and can be updated. 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>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Generative AI Semantic Store. */ generativeAiSemanticStoreId?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) List of Database Tools SQL Reports */ reports?: pulumi.Input[] | undefined>; /** * (Updatable) The SQL source. Can contain multiple statements with a mix of queries, DML, DCL, DLL and scripts. */ source?: pulumi.Input; /** * (Updatable) Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool. */ toolDescription?: pulumi.Input; /** * (Updatable) Name of the tool returned by the MCP Server */ toolName?: pulumi.Input; /** * (Updatable) List of Database Tools CUSTOMIZABLE_REPORTING_TOOLS toolset tool configurations */ tools?: pulumi.Input[] | undefined>; /** * (Updatable) The Database Tools MCP Toolset type. */ type: pulumi.Input; /** * (Updatable) The variables to use with the query */ variables?: pulumi.Input[] | undefined>; /** * (Updatable) The MCP toolset version * * ** 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 */ version: pulumi.Input; } //# sourceMappingURL=databaseToolsMcpToolset.d.ts.map