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 Server resource in Oracle Cloud Infrastructure Database Tools service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-tools/latest/DatabaseToolsMcpServer * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databaseTools * * Creates a new Database Tools MCP server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsMcpServer = new oci.databasetools.DatabaseToolsMcpServer("test_database_tools_mcp_server", { * compartmentId: compartmentId, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * displayName: databaseToolsMcpServerDisplayName, * domainId: testDomain.id, * storage: { * type: databaseToolsMcpServerStorageType, * bucket: { * bucket: databaseToolsMcpServerStorageBucketBucket, * namespace: databaseToolsMcpServerStorageBucketNamespace, * }, * }, * type: databaseToolsMcpServerType, * accessTokenExpiryInSeconds: Number(databaseToolsMcpServerAccessTokenExpiryInSeconds), * customRoles: [{ * description: databaseToolsMcpServerCustomRolesDescription, * displayName: databaseToolsMcpServerCustomRolesDisplayName, * }], * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: databaseToolsMcpServerDescription, * freeformTags: { * "bar-key": "value", * }, * locks: [{ * type: databaseToolsMcpServerLocksType, * message: databaseToolsMcpServerLocksMessage, * relatedResourceId: testResource.id, * timeCreated: databaseToolsMcpServerLocksTimeCreated, * }], * refreshTokenExpiryInSeconds: Number(databaseToolsMcpServerRefreshTokenExpiryInSeconds), * runtimeIdentity: databaseToolsMcpServerRuntimeIdentity, * }); * ``` * * ## Import * * DatabaseToolsMcpServers can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/databaseToolsMcpServer:DatabaseToolsMcpServer test_database_tools_mcp_server "id" * ``` */ export declare class DatabaseToolsMcpServer extends pulumi.CustomResource { /** * Get an existing DatabaseToolsMcpServer 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?: DatabaseToolsMcpServerState, opts?: pulumi.CustomResourceOptions): DatabaseToolsMcpServer; /** * Returns true if the given object is an instance of DatabaseToolsMcpServer. 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 DatabaseToolsMcpServer; /** * (Updatable) Access token expiry in seconds */ readonly accessTokenExpiryInSeconds: pulumi.Output; /** * Built-in roles associated with the MCP Server. */ readonly builtInRoles: 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; /** * (Updatable) Custom Roles associated with the MCP Server. */ readonly customRoles: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. */ readonly databaseToolsConnectionId: 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 server. */ 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated domain application (Oracle Cloud Service). */ readonly domainAppId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain. */ readonly domainId: pulumi.Output; /** * Invoke endpoints for the MCP server. */ readonly endpoints: 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; /** * (Updatable) Refresh token expiry in seconds */ readonly refreshTokenExpiryInSeconds: pulumi.Output; /** * A related resource */ readonly relatedResources: pulumi.Output; /** * Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault). */ readonly runtimeIdentity: pulumi.Output; /** * The current state of the Database Tools MCP server. */ readonly state: pulumi.Output; /** * (Updatable) The storage option used when running a tool asynchronously. */ readonly storage: 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) The Database Tools MCP server 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 DatabaseToolsMcpServer 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: DatabaseToolsMcpServerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseToolsMcpServer resources. */ export interface DatabaseToolsMcpServerState { /** * (Updatable) Access token expiry in seconds */ accessTokenExpiryInSeconds?: pulumi.Input; /** * Built-in roles associated with the MCP Server. */ builtInRoles?: 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; /** * (Updatable) Custom Roles associated with the MCP Server. */ customRoles?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. */ databaseToolsConnectionId?: 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 server. */ 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated domain application (Oracle Cloud Service). */ domainAppId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain. */ domainId?: pulumi.Input; /** * Invoke endpoints for the MCP server. */ endpoints?: pulumi.Input[] | undefined>; /** * (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>; /** * (Updatable) Refresh token expiry in seconds */ refreshTokenExpiryInSeconds?: pulumi.Input; /** * A related resource */ relatedResources?: pulumi.Input[] | undefined>; /** * Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault). */ runtimeIdentity?: pulumi.Input; /** * The current state of the Database Tools MCP server. */ state?: pulumi.Input; /** * (Updatable) The storage option used when running a tool asynchronously. */ storage?: 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) The Database Tools MCP server 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 DatabaseToolsMcpServer resource. */ export interface DatabaseToolsMcpServerArgs { /** * (Updatable) Access token expiry in seconds */ accessTokenExpiryInSeconds?: pulumi.Input; /** * (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; /** * (Updatable) Custom Roles associated with the MCP Server. */ customRoles?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related Database Tools connection. */ databaseToolsConnectionId: 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 server. */ 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated identity domain. */ domainId: 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>; /** * (Updatable) Refresh token expiry in seconds */ refreshTokenExpiryInSeconds?: pulumi.Input; /** * Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault). */ runtimeIdentity?: pulumi.Input; /** * (Updatable) The storage option used when running a tool asynchronously. */ storage: pulumi.Input; /** * (Updatable) The Database Tools MCP server 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=databaseToolsMcpServer.d.ts.map