Viewing docs for Oracle Cloud Infrastructure v4.12.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.12.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
This data source provides the list of Database Tools Mcp Toolset Versions in Oracle Cloud Infrastructure Database Tools service.
Returns a list of Database Tools Toolset versions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsMcpToolsetVersions = oci.databasetools.getDatabaseToolsMcpToolsetVersions({
compartmentId: compartmentId,
databaseToolsMcpServerId: testDatabaseToolsMcpServer.id,
displayName: databaseToolsMcpToolsetVersionDisplayName,
});
import pulumi
import pulumi_oci as oci
test_database_tools_mcp_toolset_versions = oci.databasetools.get_database_tools_mcp_toolset_versions(compartment_id=compartment_id,
database_tools_mcp_server_id=test_database_tools_mcp_server["id"],
display_name=database_tools_mcp_toolset_version_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasetools"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasetools.GetDatabaseToolsMcpToolsetVersions(ctx, &databasetools.GetDatabaseToolsMcpToolsetVersionsArgs{
CompartmentId: compartmentId,
DatabaseToolsMcpServerId: pulumi.StringRef(testDatabaseToolsMcpServer.Id),
DisplayName: pulumi.StringRef(databaseToolsMcpToolsetVersionDisplayName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDatabaseToolsMcpToolsetVersions = Oci.DatabaseTools.GetDatabaseToolsMcpToolsetVersions.Invoke(new()
{
CompartmentId = compartmentId,
DatabaseToolsMcpServerId = testDatabaseToolsMcpServer.Id,
DisplayName = databaseToolsMcpToolsetVersionDisplayName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseTools.DatabaseToolsFunctions;
import com.pulumi.oci.DatabaseTools.inputs.GetDatabaseToolsMcpToolsetVersionsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testDatabaseToolsMcpToolsetVersions = DatabaseToolsFunctions.getDatabaseToolsMcpToolsetVersions(GetDatabaseToolsMcpToolsetVersionsArgs.builder()
.compartmentId(compartmentId)
.databaseToolsMcpServerId(testDatabaseToolsMcpServer.id())
.displayName(databaseToolsMcpToolsetVersionDisplayName)
.build());
}
}
variables:
testDatabaseToolsMcpToolsetVersions:
fn::invoke:
function: oci:DatabaseTools:getDatabaseToolsMcpToolsetVersions
arguments:
compartmentId: ${compartmentId}
databaseToolsMcpServerId: ${testDatabaseToolsMcpServer.id}
displayName: ${databaseToolsMcpToolsetVersionDisplayName}
Example coming soon!
Using getDatabaseToolsMcpToolsetVersions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseToolsMcpToolsetVersions(args: GetDatabaseToolsMcpToolsetVersionsArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsMcpToolsetVersionsResult>
function getDatabaseToolsMcpToolsetVersionsOutput(args: GetDatabaseToolsMcpToolsetVersionsOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsMcpToolsetVersionsResult>def get_database_tools_mcp_toolset_versions(compartment_id: Optional[str] = None,
database_tools_mcp_server_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetDatabaseToolsMcpToolsetVersionsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsMcpToolsetVersionsResult
def get_database_tools_mcp_toolset_versions_output(compartment_id: pulumi.Input[Optional[str]] = None,
database_tools_mcp_server_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDatabaseToolsMcpToolsetVersionsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsMcpToolsetVersionsResult]func GetDatabaseToolsMcpToolsetVersions(ctx *Context, args *GetDatabaseToolsMcpToolsetVersionsArgs, opts ...InvokeOption) (*GetDatabaseToolsMcpToolsetVersionsResult, error)
func GetDatabaseToolsMcpToolsetVersionsOutput(ctx *Context, args *GetDatabaseToolsMcpToolsetVersionsOutputArgs, opts ...InvokeOption) GetDatabaseToolsMcpToolsetVersionsResultOutput> Note: This function is named GetDatabaseToolsMcpToolsetVersions in the Go SDK.
public static class GetDatabaseToolsMcpToolsetVersions
{
public static Task<GetDatabaseToolsMcpToolsetVersionsResult> InvokeAsync(GetDatabaseToolsMcpToolsetVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseToolsMcpToolsetVersionsResult> Invoke(GetDatabaseToolsMcpToolsetVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseToolsMcpToolsetVersionsResult> getDatabaseToolsMcpToolsetVersions(GetDatabaseToolsMcpToolsetVersionsArgs args, InvokeOptions options)
public static Output<GetDatabaseToolsMcpToolsetVersionsResult> getDatabaseToolsMcpToolsetVersions(GetDatabaseToolsMcpToolsetVersionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getDatabaseToolsMcpToolsetVersions:getDatabaseToolsMcpToolsetVersions
arguments:
# arguments dictionarydata "oci_databasetools_getdatabasetoolsmcptoolsetversions" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Database
Tools stringMcp Server Id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - Display
Name string - A filter to return only resources that match the entire specified display name.
- Filters
List<Get
Database Tools Mcp Toolset Versions Filter>
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Database
Tools stringMcp Server Id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - Display
Name string - A filter to return only resources that match the entire specified display name.
- Filters
[]Get
Database Tools Mcp Toolset Versions Filter
- compartment_
id string - The OCID of the compartment in which to list resources.
- database_
tools_ stringmcp_ server_ id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - display_
name string - A filter to return only resources that match the entire specified display name.
- filters list(object)
- compartment
Id String - The OCID of the compartment in which to list resources.
- database
Tools StringMcp Server Id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - display
Name String - A filter to return only resources that match the entire specified display name.
- filters
List<Get
Mcp Toolset Versions Filter>
- compartment
Id string - The OCID of the compartment in which to list resources.
- database
Tools stringMcp Server Id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - display
Name string - A filter to return only resources that match the entire specified display name.
- filters
Get
Database Tools Mcp Toolset Versions Filter[]
- compartment_
id str - The OCID of the compartment in which to list resources.
- database_
tools_ strmcp_ server_ id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - display_
name str - A filter to return only resources that match the entire specified display name.
- filters
Sequence[Get
Database Tools Mcp Toolset Versions Filter]
- compartment
Id String - The OCID of the compartment in which to list resources.
- database
Tools StringMcp Server Id - A filter to return only resources matching the specified
databaseToolsMcpServerId. - display
Name String - A filter to return only resources that match the entire specified display name.
- filters List<Property Map>
getDatabaseToolsMcpToolsetVersions Result
The following output properties are available:
- Compartment
Id string - Database
Tools List<GetMcp Toolset Version Collections Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection> - The list of database_tools_mcp_toolset_version_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Database
Tools stringMcp Server Id - Display
Name string - The display name of the tool.
- Filters
List<Get
Database Tools Mcp Toolset Versions Filter>
- Compartment
Id string - Database
Tools []GetMcp Toolset Version Collections Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection - The list of database_tools_mcp_toolset_version_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Database
Tools stringMcp Server Id - Display
Name string - The display name of the tool.
- Filters
[]Get
Database Tools Mcp Toolset Versions Filter
- compartment_
id string - database_
tools_ list(object)mcp_ toolset_ version_ collections - The list of database_tools_mcp_toolset_version_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- database_
tools_ stringmcp_ server_ id - display_
name string - The display name of the tool.
- filters list(object)
- compartment
Id String - database
Tools List<GetMcp Toolset Version Collections Mcp Toolset Versions Mcp Toolset Version Collection> - The list of database_tools_mcp_toolset_version_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- database
Tools StringMcp Server Id - display
Name String - The display name of the tool.
- filters
List<Get
Mcp Toolset Versions Filter>
- compartment
Id string - database
Tools GetMcp Toolset Version Collections Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection[] - The list of database_tools_mcp_toolset_version_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- database
Tools stringMcp Server Id - display
Name string - The display name of the tool.
- filters
Get
Database Tools Mcp Toolset Versions Filter[]
- compartment_
id str - database_
tools_ Sequence[Getmcp_ toolset_ version_ collections Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection] - The list of database_tools_mcp_toolset_version_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- database_
tools_ strmcp_ server_ id - display_
name str - The display name of the tool.
- filters
Sequence[Get
Database Tools Mcp Toolset Versions Filter]
- compartment
Id String - database
Tools List<Property Map>Mcp Toolset Version Collections - The list of database_tools_mcp_toolset_version_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- database
Tools StringMcp Server Id - display
Name String - The display name of the tool.
- filters List<Property Map>
Supporting Types
GetDatabaseToolsMcpToolsetVersionsDatabaseToolsMcpToolsetVersionCollection
- Items
List<Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item> - Array of MCP toolset type version summary items.
- Items
[]Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item - Array of MCP toolset type version summary items.
- items list(object)
- Array of MCP toolset type version summary items.
- items
List<Get
Mcp Toolset Versions Mcp Toolset Version Collection Item> - Array of MCP toolset type version summary items.
- items
Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item[] - Array of MCP toolset type version summary items.
- items
Sequence[Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item] - Array of MCP toolset type version summary items.
- items List<Property Map>
- Array of MCP toolset type version summary items.
GetDatabaseToolsMcpToolsetVersionsDatabaseToolsMcpToolsetVersionCollectionItem
- Default
Version int - The default version for this toolset type.
- Type string
- The MCP toolset type.
- Versions
List<Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version> - The version configurations available for this toolset type.
- Default
Version int - The default version for this toolset type.
- Type string
- The MCP toolset type.
- Versions
[]Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version - The version configurations available for this toolset type.
- default_
version number - The default version for this toolset type.
- type string
- The MCP toolset type.
- versions list(object)
- The version configurations available for this toolset type.
- default
Version Integer - The default version for this toolset type.
- type String
- The MCP toolset type.
- versions
List<Get
Mcp Toolset Versions Mcp Toolset Version Collection Item Version> - The version configurations available for this toolset type.
- default
Version number - The default version for this toolset type.
- type string
- The MCP toolset type.
- versions
Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version[] - The version configurations available for this toolset type.
- default_
version int - The default version for this toolset type.
- type str
- The MCP toolset type.
- versions
Sequence[Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version] - The version configurations available for this toolset type.
- default
Version Number - The default version for this toolset type.
- type String
- The MCP toolset type.
- versions List<Property Map>
- The version configurations available for this toolset type.
GetDatabaseToolsMcpToolsetVersionsDatabaseToolsMcpToolsetVersionCollectionItemVersion
- Default
Allowed List<string>Roles - The roles granted access to this tool by default.
- Default
Report List<string>Allowed Roles - The roles granted access to this toolset version by default.
- Description string
- The description of the tool.
- Features List<string>
- Optional feature flags or attributes for this version.
- Tools
List<Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version Tool> - The tools available in this version.
- Version int
- The version number.
- Default
Allowed []stringRoles - The roles granted access to this tool by default.
- Default
Report []stringAllowed Roles - The roles granted access to this toolset version by default.
- Description string
- The description of the tool.
- Features []string
- Optional feature flags or attributes for this version.
- Tools
[]Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version Tool - The tools available in this version.
- Version int
- The version number.
- default_
allowed_ list(string)roles - The roles granted access to this tool by default.
- default_
report_ list(string)allowed_ roles - The roles granted access to this toolset version by default.
- description string
- The description of the tool.
- features list(string)
- Optional feature flags or attributes for this version.
- tools list(object)
- The tools available in this version.
- version number
- The version number.
- default
Allowed List<String>Roles - The roles granted access to this tool by default.
- default
Report List<String>Allowed Roles - The roles granted access to this toolset version by default.
- description String
- The description of the tool.
- features List<String>
- Optional feature flags or attributes for this version.
- tools
List<Get
Mcp Toolset Versions Mcp Toolset Version Collection Item Version Tool> - The tools available in this version.
- version Integer
- The version number.
- default
Allowed string[]Roles - The roles granted access to this tool by default.
- default
Report string[]Allowed Roles - The roles granted access to this toolset version by default.
- description string
- The description of the tool.
- features string[]
- Optional feature flags or attributes for this version.
- tools
Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version Tool[] - The tools available in this version.
- version number
- The version number.
- default_
allowed_ Sequence[str]roles - The roles granted access to this tool by default.
- default_
report_ Sequence[str]allowed_ roles - The roles granted access to this toolset version by default.
- description str
- The description of the tool.
- features Sequence[str]
- Optional feature flags or attributes for this version.
- tools
Sequence[Get
Database Tools Mcp Toolset Versions Database Tools Mcp Toolset Version Collection Item Version Tool] - The tools available in this version.
- version int
- The version number.
- default
Allowed List<String>Roles - The roles granted access to this tool by default.
- default
Report List<String>Allowed Roles - The roles granted access to this toolset version by default.
- description String
- The description of the tool.
- features List<String>
- Optional feature flags or attributes for this version.
- tools List<Property Map>
- The tools available in this version.
- version Number
- The version number.
GetDatabaseToolsMcpToolsetVersionsDatabaseToolsMcpToolsetVersionCollectionItemVersionTool
- Default
Allowed List<string>Roles - The roles granted access to this tool by default.
- Default
Status string - The default status of the tool in this version.
- Description string
- The description of the tool.
- Display
Name string - A filter to return only resources that match the entire specified display name.
- Name string
- The unique name of the tool.
- Default
Allowed []stringRoles - The roles granted access to this tool by default.
- Default
Status string - The default status of the tool in this version.
- Description string
- The description of the tool.
- Display
Name string - A filter to return only resources that match the entire specified display name.
- Name string
- The unique name of the tool.
- default_
allowed_ list(string)roles - The roles granted access to this tool by default.
- default_
status string - The default status of the tool in this version.
- description string
- The description of the tool.
- display_
name string - A filter to return only resources that match the entire specified display name.
- name string
- The unique name of the tool.
- default
Allowed List<String>Roles - The roles granted access to this tool by default.
- default
Status String - The default status of the tool in this version.
- description String
- The description of the tool.
- display
Name String - A filter to return only resources that match the entire specified display name.
- name String
- The unique name of the tool.
- default
Allowed string[]Roles - The roles granted access to this tool by default.
- default
Status string - The default status of the tool in this version.
- description string
- The description of the tool.
- display
Name string - A filter to return only resources that match the entire specified display name.
- name string
- The unique name of the tool.
- default_
allowed_ Sequence[str]roles - The roles granted access to this tool by default.
- default_
status str - The default status of the tool in this version.
- description str
- The description of the tool.
- display_
name str - A filter to return only resources that match the entire specified display name.
- name str
- The unique name of the tool.
- default
Allowed List<String>Roles - The roles granted access to this tool by default.
- default
Status String - The default status of the tool in this version.
- description String
- The description of the tool.
- display
Name String - A filter to return only resources that match the entire specified display name.
- name String
- The unique name of the tool.
GetDatabaseToolsMcpToolsetVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.12.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi