1. Registry
  2. Packages
  3. DataRobot
  4. API Docs
  5. Workload
Viewing docs for DataRobot v0.11.3
published on Wednesday, Sep 9, 2026 by DataRobot, Inc.
datarobot logo
Viewing docs for DataRobot v0.11.3
published on Wednesday, Sep 9, 2026 by DataRobot, Inc.

    A Workload runs a containerized artifact in the cluster and exposes an inference endpoint.

    Changes to artifactId or runtime trigger an in-place workload replacement via the Workload API. The workload ID and endpoint remain stable across artifact and runtime updates.

    When the new version never becomes ready, the platform abandons the rollout: it stops the new replica and the previous version keeps serving. Apply fails in that case, naming the artifact the workload is still on and linking its logs, so a rollout that did not happen is not reported as a successful update.

    Create Workload Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Workload(name: string, args: WorkloadArgs, opts?: CustomResourceOptions);
    @overload
    def Workload(resource_name: str,
                 args: WorkloadArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Workload(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 artifact_id: Optional[str] = None,
                 runtime: Optional[WorkloadRuntimeArgs] = None,
                 description: Optional[str] = None,
                 importance: Optional[str] = None,
                 name: Optional[str] = None)
    func NewWorkload(ctx *Context, name string, args WorkloadArgs, opts ...ResourceOption) (*Workload, error)
    public Workload(string name, WorkloadArgs args, CustomResourceOptions? opts = null)
    public Workload(String name, WorkloadArgs args)
    public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
    
    type: datarobot:Workload
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "datarobot_workload" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WorkloadArgs
    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 WorkloadArgs
    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 WorkloadArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkloadArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkloadArgs
    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 workloadResource = new Datarobot.Workload("workloadResource", new()
    {
        ArtifactId = "string",
        Runtime = new Datarobot.Inputs.WorkloadRuntimeArgs
        {
            ContainerGroups = new[]
            {
                new Datarobot.Inputs.WorkloadRuntimeContainerGroupArgs
                {
                    Autoscaling = new Datarobot.Inputs.WorkloadRuntimeContainerGroupAutoscalingArgs
                    {
                        Policies = new[]
                        {
                            new Datarobot.Inputs.WorkloadRuntimeContainerGroupAutoscalingPolicyArgs
                            {
                                ScalingMetric = "string",
                                Target = 0.0,
                            },
                        },
                        Enabled = false,
                        MaxReplicaCount = 0,
                        MinReplicaCount = 0,
                    },
                    BundleSelectionPolicy = "string",
                    Containers = new[]
                    {
                        new Datarobot.Inputs.WorkloadRuntimeContainerGroupContainerArgs
                        {
                            Name = "string",
                            ResourceAllocation = new Datarobot.Inputs.WorkloadRuntimeContainerGroupContainerResourceAllocationArgs
                            {
                                Cpu = 0.0,
                                Gpu = 0.0,
                                GpuMemory = "string",
                                Memory = "string",
                            },
                        },
                    },
                    Name = "string",
                    ReplicaCount = 0,
                    ResourceBundles = new[]
                    {
                        "string",
                    },
                },
            },
            ReplacementPolicy = new Datarobot.Inputs.WorkloadRuntimeReplacementPolicyArgs
            {
                KeepOldVersionMinutes = 0,
                WarmupMinutes = 0,
            },
        },
        Description = "string",
        Importance = "string",
        Name = "string",
    });
    
    example, err := datarobot.NewWorkload(ctx, "workloadResource", &datarobot.WorkloadArgs{
    	ArtifactId: pulumi.String("string"),
    	Runtime: &datarobot.WorkloadRuntimeArgs{
    		ContainerGroups: datarobot.WorkloadRuntimeContainerGroupArray{
    			&datarobot.WorkloadRuntimeContainerGroupArgs{
    				Autoscaling: &datarobot.WorkloadRuntimeContainerGroupAutoscalingArgs{
    					Policies: datarobot.WorkloadRuntimeContainerGroupAutoscalingPolicyArray{
    						&datarobot.WorkloadRuntimeContainerGroupAutoscalingPolicyArgs{
    							ScalingMetric: pulumi.String("string"),
    							Target:        pulumi.Float64(0),
    						},
    					},
    					Enabled:         pulumi.Bool(false),
    					MaxReplicaCount: pulumi.Int(0),
    					MinReplicaCount: pulumi.Int(0),
    				},
    				BundleSelectionPolicy: pulumi.String("string"),
    				Containers: datarobot.WorkloadRuntimeContainerGroupContainerArray{
    					&datarobot.WorkloadRuntimeContainerGroupContainerArgs{
    						Name: pulumi.String("string"),
    						ResourceAllocation: &datarobot.WorkloadRuntimeContainerGroupContainerResourceAllocationArgs{
    							Cpu:       pulumi.Float64(0),
    							Gpu:       pulumi.Float64(0),
    							GpuMemory: pulumi.String("string"),
    							Memory:    pulumi.String("string"),
    						},
    					},
    				},
    				Name:         pulumi.String("string"),
    				ReplicaCount: pulumi.Int(0),
    				ResourceBundles: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		ReplacementPolicy: &datarobot.WorkloadRuntimeReplacementPolicyArgs{
    			KeepOldVersionMinutes: pulumi.Int(0),
    			WarmupMinutes:         pulumi.Int(0),
    		},
    	},
    	Description: pulumi.String("string"),
    	Importance:  pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "datarobot_workload" "workloadResource" {
      lifecycle {
        create_before_destroy = true
      }
      artifact_id = "string"
      runtime = {
        container_groups = [{
          autoscaling = {
            policies = [{
              scaling_metric = "string"
              target         = 0
            }]
            enabled           = false
            max_replica_count = 0
            min_replica_count = 0
          }
          bundle_selection_policy = "string"
          containers = [{
            name = "string"
            resource_allocation = {
              cpu        = 0
              gpu        = 0
              gpu_memory = "string"
              memory     = "string"
            }
          }]
          name             = "string"
          replica_count    = 0
          resource_bundles = ["string"]
        }]
        replacement_policy = {
          keep_old_version_minutes = 0
          warmup_minutes           = 0
        }
      }
      description = "string"
      importance  = "string"
      name        = "string"
    }
    
    var workloadResource = new Workload("workloadResource", WorkloadArgs.builder()
        .artifactId("string")
        .runtime(WorkloadRuntimeArgs.builder()
            .containerGroups(WorkloadRuntimeContainerGroupArgs.builder()
                .autoscaling(WorkloadRuntimeContainerGroupAutoscalingArgs.builder()
                    .policies(WorkloadRuntimeContainerGroupAutoscalingPolicyArgs.builder()
                        .scalingMetric("string")
                        .target(0.0)
                        .build())
                    .enabled(false)
                    .maxReplicaCount(0)
                    .minReplicaCount(0)
                    .build())
                .bundleSelectionPolicy("string")
                .containers(WorkloadRuntimeContainerGroupContainerArgs.builder()
                    .name("string")
                    .resourceAllocation(WorkloadRuntimeContainerGroupContainerResourceAllocationArgs.builder()
                        .cpu(0.0)
                        .gpu(0.0)
                        .gpuMemory("string")
                        .memory("string")
                        .build())
                    .build())
                .name("string")
                .replicaCount(0)
                .resourceBundles("string")
                .build())
            .replacementPolicy(WorkloadRuntimeReplacementPolicyArgs.builder()
                .keepOldVersionMinutes(0)
                .warmupMinutes(0)
                .build())
            .build())
        .description("string")
        .importance("string")
        .name("string")
        .build());
    
    workload_resource = datarobot.Workload("workloadResource",
        artifact_id="string",
        runtime={
            "container_groups": [{
                "autoscaling": {
                    "policies": [{
                        "scaling_metric": "string",
                        "target": float(0),
                    }],
                    "enabled": False,
                    "max_replica_count": 0,
                    "min_replica_count": 0,
                },
                "bundle_selection_policy": "string",
                "containers": [{
                    "name": "string",
                    "resource_allocation": {
                        "cpu": float(0),
                        "gpu": float(0),
                        "gpu_memory": "string",
                        "memory": "string",
                    },
                }],
                "name": "string",
                "replica_count": 0,
                "resource_bundles": ["string"],
            }],
            "replacement_policy": {
                "keep_old_version_minutes": 0,
                "warmup_minutes": 0,
            },
        },
        description="string",
        importance="string",
        name="string")
    
    const workloadResource = new datarobot.Workload("workloadResource", {
        artifactId: "string",
        runtime: {
            containerGroups: [{
                autoscaling: {
                    policies: [{
                        scalingMetric: "string",
                        target: 0,
                    }],
                    enabled: false,
                    maxReplicaCount: 0,
                    minReplicaCount: 0,
                },
                bundleSelectionPolicy: "string",
                containers: [{
                    name: "string",
                    resourceAllocation: {
                        cpu: 0,
                        gpu: 0,
                        gpuMemory: "string",
                        memory: "string",
                    },
                }],
                name: "string",
                replicaCount: 0,
                resourceBundles: ["string"],
            }],
            replacementPolicy: {
                keepOldVersionMinutes: 0,
                warmupMinutes: 0,
            },
        },
        description: "string",
        importance: "string",
        name: "string",
    });
    
    type: datarobot:Workload
    properties:
        artifactId: string
        description: string
        importance: string
        name: string
        runtime:
            containerGroups:
                - autoscaling:
                    enabled: false
                    maxReplicaCount: 0
                    minReplicaCount: 0
                    policies:
                        - scalingMetric: string
                          target: 0
                  bundleSelectionPolicy: string
                  containers:
                    - name: string
                      resourceAllocation:
                        cpu: 0
                        gpu: 0
                        gpuMemory: string
                        memory: string
                  name: string
                  replicaCount: 0
                  resourceBundles:
                    - string
            replacementPolicy:
                keepOldVersionMinutes: 0
                warmupMinutes: 0
    

    Workload 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 Workload resource accepts the following input properties:

    ArtifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    Runtime DataRobotWorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    Description string
    A human-readable description of the Workload.
    Importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    Name string
    The name of the Workload.
    ArtifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    Runtime WorkloadRuntimeArgs
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    Description string
    A human-readable description of the Workload.
    Importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    Name string
    The name of the Workload.
    artifact_id string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    runtime object
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    description string
    A human-readable description of the Workload.
    importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name string
    The name of the Workload.
    artifactId String
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    runtime WorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    description String
    A human-readable description of the Workload.
    importance String
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name String
    The name of the Workload.
    artifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    runtime WorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    description string
    A human-readable description of the Workload.
    importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name string
    The name of the Workload.
    artifact_id str
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    runtime WorkloadRuntimeArgs
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    description str
    A human-readable description of the Workload.
    importance str
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name str
    The name of the Workload.
    artifactId String
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    runtime Property Map
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    description String
    A human-readable description of the Workload.
    importance String
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name String
    The name of the Workload.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Workload resource produces the following output properties:

    Endpoint string
    The inference endpoint URL for the Workload.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    Type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    Endpoint string
    The inference endpoint URL for the Workload.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    Type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    endpoint string
    The inference endpoint URL for the Workload.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    endpoint String
    The inference endpoint URL for the Workload.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type String
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    endpoint string
    The inference endpoint URL for the Workload.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    endpoint str
    The inference endpoint URL for the Workload.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type str
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    endpoint String
    The inference endpoint URL for the Workload.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type String
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.

    Look up Existing Workload Resource

    Get an existing Workload 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?: WorkloadState, opts?: CustomResourceOptions): Workload
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifact_id: Optional[str] = None,
            description: Optional[str] = None,
            endpoint: Optional[str] = None,
            importance: Optional[str] = None,
            name: Optional[str] = None,
            runtime: Optional[WorkloadRuntimeArgs] = None,
            status: Optional[str] = None,
            type: Optional[str] = None) -> Workload
    func GetWorkload(ctx *Context, name string, id IDInput, state *WorkloadState, opts ...ResourceOption) (*Workload, error)
    public static Workload Get(string name, Input<string> id, WorkloadState? state, CustomResourceOptions? opts = null)
    public static Workload get(String name, Output<String> id, WorkloadState state, CustomResourceOptions options)
    resources:  _:    type: datarobot:Workload    get:      id: ${id}
    import {
      to = datarobot_workload.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:
    ArtifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    Description string
    A human-readable description of the Workload.
    Endpoint string
    The inference endpoint URL for the Workload.
    Importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    Name string
    The name of the Workload.
    Runtime DataRobotWorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    Status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    Type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    ArtifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    Description string
    A human-readable description of the Workload.
    Endpoint string
    The inference endpoint URL for the Workload.
    Importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    Name string
    The name of the Workload.
    Runtime WorkloadRuntimeArgs
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    Status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    Type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    artifact_id string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    description string
    A human-readable description of the Workload.
    endpoint string
    The inference endpoint URL for the Workload.
    importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name string
    The name of the Workload.
    runtime object
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    artifactId String
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    description String
    A human-readable description of the Workload.
    endpoint String
    The inference endpoint URL for the Workload.
    importance String
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name String
    The name of the Workload.
    runtime WorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    status String
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type String
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    artifactId string
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    description string
    A human-readable description of the Workload.
    endpoint string
    The inference endpoint URL for the Workload.
    importance string
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name string
    The name of the Workload.
    runtime WorkloadRuntime
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    status string
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type string
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    artifact_id str
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    description str
    A human-readable description of the Workload.
    endpoint str
    The inference endpoint URL for the Workload.
    importance str
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name str
    The name of the Workload.
    runtime WorkloadRuntimeArgs
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    status str
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type str
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.
    artifactId String
    ID of the Artifact version to deploy. When using datarobot.Artifact, reference datarobot_artifact.<name>.artifact_id (not .id). Changing this value triggers an in-place workload replacement.
    description String
    A human-readable description of the Workload.
    endpoint String
    The inference endpoint URL for the Workload.
    importance String
    Priority level for the Workload: critical, high, moderate, or low. Defaults to low.
    name String
    The name of the Workload.
    runtime Property Map
    Runtime configuration for the Workload. Changes trigger an in-place workload replacement.
    status String
    Current status of the Workload: unknown, submitted, initializing, running, stopping, stopped, or errored.
    type String
    Artifact type mirrored by this workload: service, nim, agent, or mcp. Set from the deployed artifact; not user-configurable.

    Supporting Types

    WorkloadRuntime, WorkloadRuntimeArgs

    ContainerGroups List<DataRobotWorkloadRuntimeContainerGroup>
    Per-group runtime configuration.
    ReplacementPolicy DataRobotWorkloadRuntimeReplacementPolicy
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    ContainerGroups []WorkloadRuntimeContainerGroup
    Per-group runtime configuration.
    ReplacementPolicy WorkloadRuntimeReplacementPolicy
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    container_groups list(object)
    Per-group runtime configuration.
    replacement_policy object
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    containerGroups List<WorkloadRuntimeContainerGroup>
    Per-group runtime configuration.
    replacementPolicy WorkloadRuntimeReplacementPolicy
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    containerGroups WorkloadRuntimeContainerGroup[]
    Per-group runtime configuration.
    replacementPolicy WorkloadRuntimeReplacementPolicy
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    container_groups Sequence[WorkloadRuntimeContainerGroup]
    Per-group runtime configuration.
    replacement_policy WorkloadRuntimeReplacementPolicy
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
    containerGroups List<Property Map>
    Per-group runtime configuration.
    replacementPolicy Property Map
    Replacement policy for in-place workload replacement (rolling strategy). Applied when artifactId changes or when replacement policy settings change. Runtime-only changes use PATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).

    WorkloadRuntimeContainerGroup, WorkloadRuntimeContainerGroupArgs

    Autoscaling DataRobotWorkloadRuntimeContainerGroupAutoscaling
    Autoscaling configuration. When set, takes precedence over replicaCount.
    BundleSelectionPolicy string
    How to select among resourceBundles. Defaults to availability.
    Containers List<DataRobotWorkloadRuntimeContainerGroupContainer>
    Per-container resource allocation overrides.
    Name string
    Container group name (server-assigned, always default).
    ReplicaCount int
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    ResourceBundles List<string>
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    Autoscaling WorkloadRuntimeContainerGroupAutoscaling
    Autoscaling configuration. When set, takes precedence over replicaCount.
    BundleSelectionPolicy string
    How to select among resourceBundles. Defaults to availability.
    Containers []WorkloadRuntimeContainerGroupContainer
    Per-container resource allocation overrides.
    Name string
    Container group name (server-assigned, always default).
    ReplicaCount int
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    ResourceBundles []string
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    autoscaling object
    Autoscaling configuration. When set, takes precedence over replicaCount.
    bundle_selection_policy string
    How to select among resourceBundles. Defaults to availability.
    containers list(object)
    Per-container resource allocation overrides.
    name string
    Container group name (server-assigned, always default).
    replica_count number
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    resource_bundles list(string)
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    autoscaling WorkloadRuntimeContainerGroupAutoscaling
    Autoscaling configuration. When set, takes precedence over replicaCount.
    bundleSelectionPolicy String
    How to select among resourceBundles. Defaults to availability.
    containers List<WorkloadRuntimeContainerGroupContainer>
    Per-container resource allocation overrides.
    name String
    Container group name (server-assigned, always default).
    replicaCount Integer
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    resourceBundles List<String>
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    autoscaling WorkloadRuntimeContainerGroupAutoscaling
    Autoscaling configuration. When set, takes precedence over replicaCount.
    bundleSelectionPolicy string
    How to select among resourceBundles. Defaults to availability.
    containers WorkloadRuntimeContainerGroupContainer[]
    Per-container resource allocation overrides.
    name string
    Container group name (server-assigned, always default).
    replicaCount number
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    resourceBundles string[]
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    autoscaling WorkloadRuntimeContainerGroupAutoscaling
    Autoscaling configuration. When set, takes precedence over replicaCount.
    bundle_selection_policy str
    How to select among resourceBundles. Defaults to availability.
    containers Sequence[WorkloadRuntimeContainerGroupContainer]
    Per-container resource allocation overrides.
    name str
    Container group name (server-assigned, always default).
    replica_count int
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    resource_bundles Sequence[str]
    Ordered list of resource bundle IDs. One is selected at scheduling time.
    autoscaling Property Map
    Autoscaling configuration. When set, takes precedence over replicaCount.
    bundleSelectionPolicy String
    How to select among resourceBundles. Defaults to availability.
    containers List<Property Map>
    Per-container resource allocation overrides.
    name String
    Container group name (server-assigned, always default).
    replicaCount Number
    Number of replicas. Cannot be set alongside autoscaling.enabled=true. Set to 0 to explicitly clear it.
    resourceBundles List<String>
    Ordered list of resource bundle IDs. One is selected at scheduling time.

    WorkloadRuntimeContainerGroupAutoscaling, WorkloadRuntimeContainerGroupAutoscalingArgs

    Policies List<DataRobotWorkloadRuntimeContainerGroupAutoscalingPolicy>
    Scaling policies that define when and how to scale.
    Enabled bool
    Whether autoscaling is enabled. Defaults to true.
    MaxReplicaCount int
    Maximum number of replicas. Defaults to 1.
    MinReplicaCount int
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    Policies []WorkloadRuntimeContainerGroupAutoscalingPolicy
    Scaling policies that define when and how to scale.
    Enabled bool
    Whether autoscaling is enabled. Defaults to true.
    MaxReplicaCount int
    Maximum number of replicas. Defaults to 1.
    MinReplicaCount int
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    policies list(object)
    Scaling policies that define when and how to scale.
    enabled bool
    Whether autoscaling is enabled. Defaults to true.
    max_replica_count number
    Maximum number of replicas. Defaults to 1.
    min_replica_count number
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    policies List<WorkloadRuntimeContainerGroupAutoscalingPolicy>
    Scaling policies that define when and how to scale.
    enabled Boolean
    Whether autoscaling is enabled. Defaults to true.
    maxReplicaCount Integer
    Maximum number of replicas. Defaults to 1.
    minReplicaCount Integer
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    policies WorkloadRuntimeContainerGroupAutoscalingPolicy[]
    Scaling policies that define when and how to scale.
    enabled boolean
    Whether autoscaling is enabled. Defaults to true.
    maxReplicaCount number
    Maximum number of replicas. Defaults to 1.
    minReplicaCount number
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    policies Sequence[WorkloadRuntimeContainerGroupAutoscalingPolicy]
    Scaling policies that define when and how to scale.
    enabled bool
    Whether autoscaling is enabled. Defaults to true.
    max_replica_count int
    Maximum number of replicas. Defaults to 1.
    min_replica_count int
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.
    policies List<Property Map>
    Scaling policies that define when and how to scale.
    enabled Boolean
    Whether autoscaling is enabled. Defaults to true.
    maxReplicaCount Number
    Maximum number of replicas. Defaults to 1.
    minReplicaCount Number
    Minimum number of replicas. Set to 0 to allow scale-to-zero. Defaults to 0.

    WorkloadRuntimeContainerGroupAutoscalingPolicy, WorkloadRuntimeContainerGroupAutoscalingPolicyArgs

    ScalingMetric string
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    Target double
    Target value for the scaling metric. Must be non-negative.
    ScalingMetric string
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    Target float64
    Target value for the scaling metric. Must be non-negative.
    scaling_metric string
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    target number
    Target value for the scaling metric. Must be non-negative.
    scalingMetric String
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    target Double
    Target value for the scaling metric. Must be non-negative.
    scalingMetric string
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    target number
    Target value for the scaling metric. Must be non-negative.
    scaling_metric str
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    target float
    Target value for the scaling metric. Must be non-negative.
    scalingMetric String
    Metric used for scaling decisions: cpuAverageUtilization, httpRequestsConcurrency, gpuCacheUtilization, or gpuRequestQueueDepth. Custom metric names (e.g. vllm:kv_cache_usage_perc) are supported for NIM artifacts only.
    target Number
    Target value for the scaling metric. Must be non-negative.

    WorkloadRuntimeContainerGroupContainer, WorkloadRuntimeContainerGroupContainerArgs

    Name string
    Container name. Must match a container declared in the artifact group.
    ResourceAllocation DataRobotWorkloadRuntimeContainerGroupContainerResourceAllocation
    Resource allocation for this container.
    Name string
    Container name. Must match a container declared in the artifact group.
    ResourceAllocation WorkloadRuntimeContainerGroupContainerResourceAllocation
    Resource allocation for this container.
    name string
    Container name. Must match a container declared in the artifact group.
    resource_allocation object
    Resource allocation for this container.
    name String
    Container name. Must match a container declared in the artifact group.
    resourceAllocation WorkloadRuntimeContainerGroupContainerResourceAllocation
    Resource allocation for this container.
    name string
    Container name. Must match a container declared in the artifact group.
    resourceAllocation WorkloadRuntimeContainerGroupContainerResourceAllocation
    Resource allocation for this container.
    name str
    Container name. Must match a container declared in the artifact group.
    resource_allocation WorkloadRuntimeContainerGroupContainerResourceAllocation
    Resource allocation for this container.
    name String
    Container name. Must match a container declared in the artifact group.
    resourceAllocation Property Map
    Resource allocation for this container.

    WorkloadRuntimeContainerGroupContainerResourceAllocation, WorkloadRuntimeContainerGroupContainerResourceAllocationArgs

    Cpu double
    CPU cores allocated to this container.
    Gpu double
    GPUs allocated to this container.
    GpuMemory string
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    Memory string
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    Cpu float64
    CPU cores allocated to this container.
    Gpu float64
    GPUs allocated to this container.
    GpuMemory string
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    Memory string
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    cpu number
    CPU cores allocated to this container.
    gpu number
    GPUs allocated to this container.
    gpu_memory string
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    memory string
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    cpu Double
    CPU cores allocated to this container.
    gpu Double
    GPUs allocated to this container.
    gpuMemory String
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    memory String
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    cpu number
    CPU cores allocated to this container.
    gpu number
    GPUs allocated to this container.
    gpuMemory string
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    memory string
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    cpu float
    CPU cores allocated to this container.
    gpu float
    GPUs allocated to this container.
    gpu_memory str
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    memory str
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    cpu Number
    CPU cores allocated to this container.
    gpu Number
    GPUs allocated to this container.
    gpuMemory String
    GPU VRAM allocated. Accepts human-readable strings (e.g. "15GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.
    memory String
    RAM allocated. Accepts human-readable strings (e.g. "8GB", "512MB", "4096Mi") or raw byte integers. 1000-based suffixes: KB, MB, GB, TB. 1024-based suffixes: Ki/KiB, Mi/MiB, Gi/GiB.

    WorkloadRuntimeReplacementPolicy, WorkloadRuntimeReplacementPolicyArgs

    KeepOldVersionMinutes int
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    WarmupMinutes int
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    KeepOldVersionMinutes int
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    WarmupMinutes int
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    keep_old_version_minutes number
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    warmup_minutes number
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    keepOldVersionMinutes Integer
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    warmupMinutes Integer
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    keepOldVersionMinutes number
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    warmupMinutes number
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    keep_old_version_minutes int
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    warmup_minutes int
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.
    keepOldVersionMinutes Number
    Duration in minutes to keep the old version during replacement. Maps to WAPI config.keepOldVersionMinutes.
    warmupMinutes Number
    Duration in minutes for the warmup phase during replacement. Maps to WAPI config.warmupDurationMinutes.

    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.11.3
    published on Wednesday, Sep 9, 2026 by DataRobot, Inc.

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial