published on Thursday, Jul 16, 2026 by DataRobot, Inc.
published on Thursday, Jul 16, 2026 by DataRobot, Inc.
A custom model packaged from a vector database (the vector database “send to custom model workshop” operation). Changing the source vector database or any compute setting forces a new custom model to be created.
Create CustomModelFromVectorDatabase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomModelFromVectorDatabase(name: string, args: CustomModelFromVectorDatabaseArgs, opts?: CustomResourceOptions);@overload
def CustomModelFromVectorDatabase(resource_name: str,
args: CustomModelFromVectorDatabaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomModelFromVectorDatabase(resource_name: str,
opts: Optional[ResourceOptions] = None,
vector_database_id: Optional[str] = None,
description: Optional[str] = None,
memory_mb: Optional[int] = None,
name: Optional[str] = None,
network_egress_policy: Optional[str] = None,
replicas: Optional[int] = None,
resource_bundle_id: Optional[str] = None)func NewCustomModelFromVectorDatabase(ctx *Context, name string, args CustomModelFromVectorDatabaseArgs, opts ...ResourceOption) (*CustomModelFromVectorDatabase, error)public CustomModelFromVectorDatabase(string name, CustomModelFromVectorDatabaseArgs args, CustomResourceOptions? opts = null)
public CustomModelFromVectorDatabase(String name, CustomModelFromVectorDatabaseArgs args)
public CustomModelFromVectorDatabase(String name, CustomModelFromVectorDatabaseArgs args, CustomResourceOptions options)
type: datarobot:CustomModelFromVectorDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "datarobot_custommodelfromvectordatabase" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CustomModelFromVectorDatabaseArgs
- 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 CustomModelFromVectorDatabaseArgs
- 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 CustomModelFromVectorDatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomModelFromVectorDatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomModelFromVectorDatabaseArgs
- 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 customModelFromVectorDatabaseResource = new Datarobot.CustomModelFromVectorDatabase("customModelFromVectorDatabaseResource", new()
{
VectorDatabaseId = "string",
Description = "string",
MemoryMb = 0,
Name = "string",
NetworkEgressPolicy = "string",
Replicas = 0,
ResourceBundleId = "string",
});
example, err := datarobot.NewCustomModelFromVectorDatabase(ctx, "customModelFromVectorDatabaseResource", &datarobot.CustomModelFromVectorDatabaseArgs{
VectorDatabaseId: pulumi.String("string"),
Description: pulumi.String("string"),
MemoryMb: pulumi.Int(0),
Name: pulumi.String("string"),
NetworkEgressPolicy: pulumi.String("string"),
Replicas: pulumi.Int(0),
ResourceBundleId: pulumi.String("string"),
})
resource "datarobot_custommodelfromvectordatabase" "customModelFromVectorDatabaseResource" {
vector_database_id = "string"
description = "string"
memory_mb = 0
name = "string"
network_egress_policy = "string"
replicas = 0
resource_bundle_id = "string"
}
var customModelFromVectorDatabaseResource = new CustomModelFromVectorDatabase("customModelFromVectorDatabaseResource", CustomModelFromVectorDatabaseArgs.builder()
.vectorDatabaseId("string")
.description("string")
.memoryMb(0)
.name("string")
.networkEgressPolicy("string")
.replicas(0)
.resourceBundleId("string")
.build());
custom_model_from_vector_database_resource = datarobot.CustomModelFromVectorDatabase("customModelFromVectorDatabaseResource",
vector_database_id="string",
description="string",
memory_mb=0,
name="string",
network_egress_policy="string",
replicas=0,
resource_bundle_id="string")
const customModelFromVectorDatabaseResource = new datarobot.CustomModelFromVectorDatabase("customModelFromVectorDatabaseResource", {
vectorDatabaseId: "string",
description: "string",
memoryMb: 0,
name: "string",
networkEgressPolicy: "string",
replicas: 0,
resourceBundleId: "string",
});
type: datarobot:CustomModelFromVectorDatabase
properties:
description: string
memoryMb: 0
name: string
networkEgressPolicy: string
replicas: 0
resourceBundleId: string
vectorDatabaseId: string
CustomModelFromVectorDatabase 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 CustomModelFromVectorDatabase resource accepts the following input properties:
- Vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- Description string
- The description of the Custom Model.
- Memory
Mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- Name string
- The name of the Custom Model.
- Network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- Replicas int
- The number of replicas to deploy for the Custom Model.
- Resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- Vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- Description string
- The description of the Custom Model.
- Memory
Mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- Name string
- The name of the Custom Model.
- Network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- Replicas int
- The number of replicas to deploy for the Custom Model.
- Resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector_
database_ stringid - The ID of the source Vector Database for the Custom Model.
- description string
- The description of the Custom Model.
- memory_
mb number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name string
- The name of the Custom Model.
- network_
egress_ stringpolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas number
- The number of replicas to deploy for the Custom Model.
- resource_
bundle_ stringid - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database StringId - The ID of the source Vector Database for the Custom Model.
- description String
- The description of the Custom Model.
- memory
Mb Integer - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name String
- The name of the Custom Model.
- network
Egress StringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas Integer
- The number of replicas to deploy for the Custom Model.
- resource
Bundle StringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- description string
- The description of the Custom Model.
- memory
Mb number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name string
- The name of the Custom Model.
- network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas number
- The number of replicas to deploy for the Custom Model.
- resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector_
database_ strid - The ID of the source Vector Database for the Custom Model.
- description str
- The description of the Custom Model.
- memory_
mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name str
- The name of the Custom Model.
- network_
egress_ strpolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas int
- The number of replicas to deploy for the Custom Model.
- resource_
bundle_ strid - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database StringId - The ID of the source Vector Database for the Custom Model.
- description String
- The description of the Custom Model.
- memory
Mb Number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name String
- The name of the Custom Model.
- network
Egress StringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas Number
- The number of replicas to deploy for the Custom Model.
- resource
Bundle StringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomModelFromVectorDatabase resource produces the following output properties:
- id string
- The provider-assigned unique ID for this managed resource.
- version_
id string - The ID of the latest Custom Model version.
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str - The ID of the latest Custom Model version.
Look up Existing CustomModelFromVectorDatabase Resource
Get an existing CustomModelFromVectorDatabase 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?: CustomModelFromVectorDatabaseState, opts?: CustomResourceOptions): CustomModelFromVectorDatabase@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
memory_mb: Optional[int] = None,
name: Optional[str] = None,
network_egress_policy: Optional[str] = None,
replicas: Optional[int] = None,
resource_bundle_id: Optional[str] = None,
vector_database_id: Optional[str] = None,
version_id: Optional[str] = None) -> CustomModelFromVectorDatabasefunc GetCustomModelFromVectorDatabase(ctx *Context, name string, id IDInput, state *CustomModelFromVectorDatabaseState, opts ...ResourceOption) (*CustomModelFromVectorDatabase, error)public static CustomModelFromVectorDatabase Get(string name, Input<string> id, CustomModelFromVectorDatabaseState? state, CustomResourceOptions? opts = null)public static CustomModelFromVectorDatabase get(String name, Output<String> id, CustomModelFromVectorDatabaseState state, CustomResourceOptions options)resources: _: type: datarobot:CustomModelFromVectorDatabase get: id: ${id}import {
to = datarobot_custommodelfromvectordatabase.example
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.
- Description string
- The description of the Custom Model.
- Memory
Mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- Name string
- The name of the Custom Model.
- Network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- Replicas int
- The number of replicas to deploy for the Custom Model.
- Resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- Vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- Version
Id string - The ID of the latest Custom Model version.
- Description string
- The description of the Custom Model.
- Memory
Mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- Name string
- The name of the Custom Model.
- Network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- Replicas int
- The number of replicas to deploy for the Custom Model.
- Resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- Vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- Version
Id string - The ID of the latest Custom Model version.
- description string
- The description of the Custom Model.
- memory_
mb number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name string
- The name of the Custom Model.
- network_
egress_ stringpolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas number
- The number of replicas to deploy for the Custom Model.
- resource_
bundle_ stringid - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector_
database_ stringid - The ID of the source Vector Database for the Custom Model.
- version_
id string - The ID of the latest Custom Model version.
- description String
- The description of the Custom Model.
- memory
Mb Integer - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name String
- The name of the Custom Model.
- network
Egress StringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas Integer
- The number of replicas to deploy for the Custom Model.
- resource
Bundle StringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database StringId - The ID of the source Vector Database for the Custom Model.
- version
Id String - The ID of the latest Custom Model version.
- description string
- The description of the Custom Model.
- memory
Mb number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name string
- The name of the Custom Model.
- network
Egress stringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas number
- The number of replicas to deploy for the Custom Model.
- resource
Bundle stringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database stringId - The ID of the source Vector Database for the Custom Model.
- version
Id string - The ID of the latest Custom Model version.
- description str
- The description of the Custom Model.
- memory_
mb int - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name str
- The name of the Custom Model.
- network_
egress_ strpolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas int
- The number of replicas to deploy for the Custom Model.
- resource_
bundle_ strid - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector_
database_ strid - The ID of the source Vector Database for the Custom Model.
- version_
id str - The ID of the latest Custom Model version.
- description String
- The description of the Custom Model.
- memory
Mb Number - The maximum memory in MB that may be allocated to the Custom Model. Cannot be used together with resourcebundleid.
- name String
- The name of the Custom Model.
- network
Egress StringPolicy - The network access policy of the Custom Model (e.g. PUBLIC or NONE).
- replicas Number
- The number of replicas to deploy for the Custom Model.
- resource
Bundle StringId - A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
- vector
Database StringId - The ID of the source Vector Database for the Custom Model.
- version
Id String - The ID of the latest Custom Model version.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobotTerraform Provider.
published on Thursday, Jul 16, 2026 by DataRobot, Inc.