1. Packages
  2. Packages
  3. DataRobot
  4. API Docs
  5. CustomModelFromVectorDatabase
Viewing docs for DataRobot v0.10.43
published on Thursday, Jul 16, 2026 by DataRobot, Inc.
datarobot logo
Viewing docs for DataRobot v0.10.43
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:

    VectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    Description string
    The description of the Custom Model.
    MemoryMb 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.
    NetworkEgressPolicy string
    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.
    ResourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    VectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    Description string
    The description of the Custom Model.
    MemoryMb 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.
    NetworkEgressPolicy string
    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.
    ResourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vector_database_id string
    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_policy string
    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_id string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId String
    The ID of the source Vector Database for the Custom Model.
    description String
    The description of the Custom Model.
    memoryMb 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.
    networkEgressPolicy String
    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.
    resourceBundleId String
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    description string
    The description of the Custom Model.
    memoryMb 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.
    networkEgressPolicy string
    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.
    resourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vector_database_id str
    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_policy str
    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_id str
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId String
    The ID of the source Vector Database for the Custom Model.
    description String
    The description of the Custom Model.
    memoryMb 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.
    networkEgressPolicy String
    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.
    resourceBundleId String
    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.
    VersionId string
    The ID of the latest Custom Model version.
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    The ID of the latest Custom Model version.
    id string
    The provider-assigned unique ID for this managed resource.
    version_id string
    The ID of the latest Custom Model version.
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    The ID of the latest Custom Model version.
    id string
    The provider-assigned unique ID for this managed resource.
    versionId 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.
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    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) -> CustomModelFromVectorDatabase
    func 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.
    The following state arguments are supported:
    Description string
    The description of the Custom Model.
    MemoryMb 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.
    NetworkEgressPolicy string
    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.
    ResourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    VectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    VersionId string
    The ID of the latest Custom Model version.
    Description string
    The description of the Custom Model.
    MemoryMb 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.
    NetworkEgressPolicy string
    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.
    ResourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    VectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    VersionId 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_policy string
    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_id string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vector_database_id string
    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.
    memoryMb 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.
    networkEgressPolicy String
    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.
    resourceBundleId String
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId String
    The ID of the source Vector Database for the Custom Model.
    versionId String
    The ID of the latest Custom Model version.
    description string
    The description of the Custom Model.
    memoryMb 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.
    networkEgressPolicy string
    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.
    resourceBundleId string
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId string
    The ID of the source Vector Database for the Custom Model.
    versionId 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_policy str
    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_id str
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vector_database_id str
    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.
    memoryMb 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.
    networkEgressPolicy String
    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.
    resourceBundleId String
    A single identifier that represents a bundle of resources: Memory, CPU, GPU, etc. Cannot be used together with memory_mb.
    vectorDatabaseId String
    The ID of the source Vector Database for the Custom Model.
    versionId 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 datarobot Terraform Provider.
    datarobot logo
    Viewing docs for DataRobot v0.10.43
    published on Thursday, Jul 16, 2026 by DataRobot, Inc.

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial