published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
User MCP resource metadata. This resource creates a resource metadata entry for a given MCP server version using the User MCP public API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@datarobot/pulumi-datarobot";
const example = new datarobot.UserMcpResourceMetadata("example", {
type: "userResce",
mcpServerVersionId: "69a761e40746897942318e2f",
uri: "uri://example_uri",
});
export const exampleId = example.id;
import pulumi
import pulumi_datarobot as datarobot
example = datarobot.UserMcpResourceMetadata("example",
type="userResce",
mcp_server_version_id="69a761e40746897942318e2f",
uri="uri://example_uri")
pulumi.export("exampleId", example.id)
package main
import (
"github.com/datarobot-community/pulumi-datarobot/sdk/go/datarobot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := datarobot.NewUserMcpResourceMetadata(ctx, "example", &datarobot.UserMcpResourceMetadataArgs{
Type: pulumi.String("userResce"),
McpServerVersionId: pulumi.String("69a761e40746897942318e2f"),
Uri: pulumi.String("uri://example_uri"),
})
if err != nil {
return err
}
ctx.Export("exampleId", example.ID())
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datarobot = DataRobotPulumi.Datarobot;
return await Deployment.RunAsync(() =>
{
var example = new Datarobot.UserMcpResourceMetadata("example", new()
{
Type = "userResce",
McpServerVersionId = "69a761e40746897942318e2f",
Uri = "uri://example_uri",
});
return new Dictionary<string, object?>
{
["exampleId"] = example.Id,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datarobot.UserMcpResourceMetadata;
import com.pulumi.datarobot.UserMcpResourceMetadataArgs;
import java.util.List;
import java.util.ArrayList;
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) {
var example = new UserMcpResourceMetadata("example", UserMcpResourceMetadataArgs.builder()
.type("userResce")
.mcpServerVersionId("69a761e40746897942318e2f")
.uri("uri://example_uri")
.build());
ctx.export("exampleId", example.id());
}
}
resources:
example:
type: datarobot:UserMcpResourceMetadata
properties:
type: userResce
mcpServerVersionId: 69a761e40746897942318e2f
uri: uri://example_uri
outputs:
exampleId: ${example.id}
Create UserMcpResourceMetadata Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserMcpResourceMetadata(name: string, args: UserMcpResourceMetadataArgs, opts?: CustomResourceOptions);@overload
def UserMcpResourceMetadata(resource_name: str,
args: UserMcpResourceMetadataArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UserMcpResourceMetadata(resource_name: str,
opts: Optional[ResourceOptions] = None,
mcp_server_version_id: Optional[str] = None,
type: Optional[str] = None,
uri: Optional[str] = None,
name: Optional[str] = None)func NewUserMcpResourceMetadata(ctx *Context, name string, args UserMcpResourceMetadataArgs, opts ...ResourceOption) (*UserMcpResourceMetadata, error)public UserMcpResourceMetadata(string name, UserMcpResourceMetadataArgs args, CustomResourceOptions? opts = null)
public UserMcpResourceMetadata(String name, UserMcpResourceMetadataArgs args)
public UserMcpResourceMetadata(String name, UserMcpResourceMetadataArgs args, CustomResourceOptions options)
type: datarobot:UserMcpResourceMetadata
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserMcpResourceMetadataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserMcpResourceMetadataArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserMcpResourceMetadataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserMcpResourceMetadataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserMcpResourceMetadataArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var userMcpResourceMetadataResource = new Datarobot.UserMcpResourceMetadata("userMcpResourceMetadataResource", new()
{
McpServerVersionId = "string",
Type = "string",
Uri = "string",
Name = "string",
});
example, err := datarobot.NewUserMcpResourceMetadata(ctx, "userMcpResourceMetadataResource", &datarobot.UserMcpResourceMetadataArgs{
McpServerVersionId: pulumi.String("string"),
Type: pulumi.String("string"),
Uri: pulumi.String("string"),
Name: pulumi.String("string"),
})
var userMcpResourceMetadataResource = new UserMcpResourceMetadata("userMcpResourceMetadataResource", UserMcpResourceMetadataArgs.builder()
.mcpServerVersionId("string")
.type("string")
.uri("string")
.name("string")
.build());
user_mcp_resource_metadata_resource = datarobot.UserMcpResourceMetadata("userMcpResourceMetadataResource",
mcp_server_version_id="string",
type="string",
uri="string",
name="string")
const userMcpResourceMetadataResource = new datarobot.UserMcpResourceMetadata("userMcpResourceMetadataResource", {
mcpServerVersionId: "string",
type: "string",
uri: "string",
name: "string",
});
type: datarobot:UserMcpResourceMetadata
properties:
mcpServerVersionId: string
name: string
type: string
uri: string
UserMcpResourceMetadata Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UserMcpResourceMetadata resource accepts the following input properties:
- Mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- Type string
- The type of the MCP resource.
- Uri string
- The URI of the MCP resource.
- Name string
- The name of the MCP resource.
- Mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- Type string
- The type of the MCP resource.
- Uri string
- The URI of the MCP resource.
- Name string
- The name of the MCP resource.
- mcp
Server StringVersion Id - The ID of the MCP server version this resource belongs to.
- type String
- The type of the MCP resource.
- uri String
- The URI of the MCP resource.
- name String
- The name of the MCP resource.
- mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- type string
- The type of the MCP resource.
- uri string
- The URI of the MCP resource.
- name string
- The name of the MCP resource.
- mcp_
server_ strversion_ id - The ID of the MCP server version this resource belongs to.
- type str
- The type of the MCP resource.
- uri str
- The URI of the MCP resource.
- name str
- The name of the MCP resource.
- mcp
Server StringVersion Id - The ID of the MCP server version this resource belongs to.
- type String
- The type of the MCP resource.
- uri String
- The URI of the MCP resource.
- name String
- The name of the MCP resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the UserMcpResourceMetadata resource produces the following output properties:
- created_
at str - When the MCP resource is created.
- id str
- The provider-assigned unique ID for this managed resource.
- user_
id str - The id of the user who created the MCP resource.
- user_
name str - The name of the user who created the MCP resource
Look up Existing UserMcpResourceMetadata Resource
Get an existing UserMcpResourceMetadata resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UserMcpResourceMetadataState, opts?: CustomResourceOptions): UserMcpResourceMetadata@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
mcp_server_version_id: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
uri: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None) -> UserMcpResourceMetadatafunc GetUserMcpResourceMetadata(ctx *Context, name string, id IDInput, state *UserMcpResourceMetadataState, opts ...ResourceOption) (*UserMcpResourceMetadata, error)public static UserMcpResourceMetadata Get(string name, Input<string> id, UserMcpResourceMetadataState? state, CustomResourceOptions? opts = null)public static UserMcpResourceMetadata get(String name, Output<String> id, UserMcpResourceMetadataState state, CustomResourceOptions options)resources: _: type: datarobot:UserMcpResourceMetadata get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - When the MCP resource is created.
- Mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- Name string
- The name of the MCP resource.
- Type string
- The type of the MCP resource.
- Uri string
- The URI of the MCP resource.
- User
Id string - The id of the user who created the MCP resource.
- User
Name string - The name of the user who created the MCP resource
- Created
At string - When the MCP resource is created.
- Mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- Name string
- The name of the MCP resource.
- Type string
- The type of the MCP resource.
- Uri string
- The URI of the MCP resource.
- User
Id string - The id of the user who created the MCP resource.
- User
Name string - The name of the user who created the MCP resource
- created
At String - When the MCP resource is created.
- mcp
Server StringVersion Id - The ID of the MCP server version this resource belongs to.
- name String
- The name of the MCP resource.
- type String
- The type of the MCP resource.
- uri String
- The URI of the MCP resource.
- user
Id String - The id of the user who created the MCP resource.
- user
Name String - The name of the user who created the MCP resource
- created
At string - When the MCP resource is created.
- mcp
Server stringVersion Id - The ID of the MCP server version this resource belongs to.
- name string
- The name of the MCP resource.
- type string
- The type of the MCP resource.
- uri string
- The URI of the MCP resource.
- user
Id string - The id of the user who created the MCP resource.
- user
Name string - The name of the user who created the MCP resource
- created_
at str - When the MCP resource is created.
- mcp_
server_ strversion_ id - The ID of the MCP server version this resource belongs to.
- name str
- The name of the MCP resource.
- type str
- The type of the MCP resource.
- uri str
- The URI of the MCP resource.
- user_
id str - The id of the user who created the MCP resource.
- user_
name str - The name of the user who created the MCP resource
- created
At String - When the MCP resource is created.
- mcp
Server StringVersion Id - The ID of the MCP server version this resource belongs to.
- name String
- The name of the MCP resource.
- type String
- The type of the MCP resource.
- uri String
- The URI of the MCP resource.
- user
Id String - The id of the user who created the MCP resource.
- user
Name String - The name of the user who created the MCP resource
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobotTerraform Provider.
published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
