published on Wednesday, Sep 9, 2026 by DataRobot, Inc.
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:
- Artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_artifact.<name>.artifact_id(not.id). Changing this value triggers an in-place workload replacement. - Runtime
Data
Robot Workload Runtime - 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, orlow. Defaults tolow. - Name string
- The name of the Workload.
- Artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_artifact.<name>.artifact_id(not.id). Changing this value triggers an in-place workload replacement. - Runtime
Workload
Runtime Args - 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, orlow. Defaults tolow. - Name string
- The name of the Workload.
- artifact_
id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - name string
- The name of the Workload.
- artifact
Id String - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_artifact.<name>.artifact_id(not.id). Changing this value triggers an in-place workload replacement. - runtime
Workload
Runtime - 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, orlow. Defaults tolow. - name String
- The name of the Workload.
- artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_artifact.<name>.artifact_id(not.id). Changing this value triggers an in-place workload replacement. - runtime
Workload
Runtime - 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, orlow. Defaults tolow. - name string
- The name of the Workload.
- artifact_
id str - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_artifact.<name>.artifact_id(not.id). Changing this value triggers an in-place workload replacement. - runtime
Workload
Runtime Args - 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, orlow. Defaults tolow. - name str
- The name of the Workload.
- artifact
Id String - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - 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, orerrored. - Type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - Type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - type String
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - type str
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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, orerrored. - type String
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. 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) -> Workloadfunc 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.
- Artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - Name string
- The name of the Workload.
- Runtime
Data
Robot Workload Runtime - 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, orerrored. - Type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- Artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - Name string
- The name of the Workload.
- Runtime
Workload
Runtime Args - 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, orerrored. - Type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- artifact_
id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - 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, orerrored. - type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- artifact
Id String - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - name String
- The name of the Workload.
- runtime
Workload
Runtime - 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, orerrored. - type String
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- artifact
Id string - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - name string
- The name of the Workload.
- runtime
Workload
Runtime - 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, orerrored. - type string
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- artifact_
id str - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - name str
- The name of the Workload.
- runtime
Workload
Runtime Args - 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, orerrored. - type str
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
- artifact
Id String - ID of the Artifact version to deploy. When using
datarobot.Artifact, referencedatarobot_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, orlow. Defaults tolow. - 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, orerrored. - type String
- Artifact type mirrored by this workload:
service,nim,agent, ormcp. Set from the deployed artifact; not user-configurable.
Supporting Types
WorkloadRuntime, WorkloadRuntimeArgs
- Container
Groups List<DataRobot Workload Runtime Container Group> - Per-group runtime configuration.
- Replacement
Policy DataRobot Workload Runtime Replacement Policy - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
- Container
Groups []WorkloadRuntime Container Group - Per-group runtime configuration.
- Replacement
Policy WorkloadRuntime Replacement Policy - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /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
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
- container
Groups List<WorkloadRuntime Container Group> - Per-group runtime configuration.
- replacement
Policy WorkloadRuntime Replacement Policy - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
- container
Groups WorkloadRuntime Container Group[] - Per-group runtime configuration.
- replacement
Policy WorkloadRuntime Replacement Policy - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
- container_
groups Sequence[WorkloadRuntime Container Group] - Per-group runtime configuration.
- replacement_
policy WorkloadRuntime Replacement Policy - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
- container
Groups List<Property Map> - Per-group runtime configuration.
- replacement
Policy Property Map - Replacement policy for in-place workload replacement (rolling strategy). Applied when
artifactIdchanges or when replacement policy settings change. Runtime-only changes usePATCH /workloads/{id}/settings, which does not accept custom replacement timing (WAPI uses platform defaults).
WorkloadRuntimeContainerGroup, WorkloadRuntimeContainerGroupArgs
- Autoscaling
Data
Robot Workload Runtime Container Group Autoscaling - Autoscaling configuration. When set, takes precedence over
replicaCount. - Bundle
Selection stringPolicy - How to select among
resourceBundles. Defaults toavailability. - Containers
List<Data
Robot Workload Runtime Container Group Container> - Per-container resource allocation overrides.
- Name string
- Container group name (server-assigned, always
default). - Replica
Count int - Number of replicas. Cannot be set alongside
autoscaling.enabled=true. Set to0to explicitly clear it. - Resource
Bundles List<string> - Ordered list of resource bundle IDs. One is selected at scheduling time.
- Autoscaling
Workload
Runtime Container Group Autoscaling - Autoscaling configuration. When set, takes precedence over
replicaCount. - Bundle
Selection stringPolicy - How to select among
resourceBundles. Defaults toavailability. - Containers
[]Workload
Runtime Container Group Container - Per-container resource allocation overrides.
- Name string
- Container group name (server-assigned, always
default). - Replica
Count int - Number of replicas. Cannot be set alongside
autoscaling.enabled=true. Set to0to explicitly clear it. - Resource
Bundles []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_ stringpolicy - How to select among
resourceBundles. Defaults toavailability. - 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 to0to explicitly clear it. - resource_
bundles list(string) - Ordered list of resource bundle IDs. One is selected at scheduling time.
- autoscaling
Workload
Runtime Container Group Autoscaling - Autoscaling configuration. When set, takes precedence over
replicaCount. - bundle
Selection StringPolicy - How to select among
resourceBundles. Defaults toavailability. - containers
List<Workload
Runtime Container Group Container> - Per-container resource allocation overrides.
- name String
- Container group name (server-assigned, always
default). - replica
Count Integer - Number of replicas. Cannot be set alongside
autoscaling.enabled=true. Set to0to explicitly clear it. - resource
Bundles List<String> - Ordered list of resource bundle IDs. One is selected at scheduling time.
- autoscaling
Workload
Runtime Container Group Autoscaling - Autoscaling configuration. When set, takes precedence over
replicaCount. - bundle
Selection stringPolicy - How to select among
resourceBundles. Defaults toavailability. - containers
Workload
Runtime Container Group Container[] - 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 to0to explicitly clear it. - resource
Bundles string[] - Ordered list of resource bundle IDs. One is selected at scheduling time.
- autoscaling
Workload
Runtime Container Group Autoscaling - Autoscaling configuration. When set, takes precedence over
replicaCount. - bundle_
selection_ strpolicy - How to select among
resourceBundles. Defaults toavailability. - containers
Sequence[Workload
Runtime Container Group Container] - 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 to0to 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. - bundle
Selection StringPolicy - How to select among
resourceBundles. Defaults toavailability. - containers List<Property Map>
- 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 to0to explicitly clear it. - resource
Bundles List<String> - Ordered list of resource bundle IDs. One is selected at scheduling time.
WorkloadRuntimeContainerGroupAutoscaling, WorkloadRuntimeContainerGroupAutoscalingArgs
- Policies
List<Data
Robot Workload Runtime Container Group Autoscaling Policy> - Scaling policies that define when and how to scale.
- Enabled bool
- Whether autoscaling is enabled. Defaults to true.
- Max
Replica intCount - Maximum number of replicas. Defaults to
1. - Min
Replica intCount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- Policies
[]Workload
Runtime Container Group Autoscaling Policy - Scaling policies that define when and how to scale.
- Enabled bool
- Whether autoscaling is enabled. Defaults to true.
- Max
Replica intCount - Maximum number of replicas. Defaults to
1. - Min
Replica intCount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- policies list(object)
- Scaling policies that define when and how to scale.
- enabled bool
- Whether autoscaling is enabled. Defaults to true.
- max_
replica_ numbercount - Maximum number of replicas. Defaults to
1. - min_
replica_ numbercount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- policies
List<Workload
Runtime Container Group Autoscaling Policy> - Scaling policies that define when and how to scale.
- enabled Boolean
- Whether autoscaling is enabled. Defaults to true.
- max
Replica IntegerCount - Maximum number of replicas. Defaults to
1. - min
Replica IntegerCount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- policies
Workload
Runtime Container Group Autoscaling Policy[] - Scaling policies that define when and how to scale.
- enabled boolean
- Whether autoscaling is enabled. Defaults to true.
- max
Replica numberCount - Maximum number of replicas. Defaults to
1. - min
Replica numberCount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- policies
Sequence[Workload
Runtime Container Group Autoscaling Policy] - Scaling policies that define when and how to scale.
- enabled bool
- Whether autoscaling is enabled. Defaults to true.
- max_
replica_ intcount - Maximum number of replicas. Defaults to
1. - min_
replica_ intcount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
- policies List<Property Map>
- Scaling policies that define when and how to scale.
- enabled Boolean
- Whether autoscaling is enabled. Defaults to true.
- max
Replica NumberCount - Maximum number of replicas. Defaults to
1. - min
Replica NumberCount - Minimum number of replicas. Set to
0to allow scale-to-zero. Defaults to0.
WorkloadRuntimeContainerGroupAutoscalingPolicy, WorkloadRuntimeContainerGroupAutoscalingPolicyArgs
- Scaling
Metric string - Metric used for scaling decisions:
cpuAverageUtilization,httpRequestsConcurrency,gpuCacheUtilization, orgpuRequestQueueDepth. 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.
- Scaling
Metric string - Metric used for scaling decisions:
cpuAverageUtilization,httpRequestsConcurrency,gpuCacheUtilization, orgpuRequestQueueDepth. 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, orgpuRequestQueueDepth. 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 String - Metric used for scaling decisions:
cpuAverageUtilization,httpRequestsConcurrency,gpuCacheUtilization, orgpuRequestQueueDepth. 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.
- scaling
Metric string - Metric used for scaling decisions:
cpuAverageUtilization,httpRequestsConcurrency,gpuCacheUtilization, orgpuRequestQueueDepth. 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, orgpuRequestQueueDepth. 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.
- scaling
Metric String - Metric used for scaling decisions:
cpuAverageUtilization,httpRequestsConcurrency,gpuCacheUtilization, orgpuRequestQueueDepth. 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.
- Resource
Allocation DataRobot Workload Runtime Container Group Container Resource Allocation - Resource allocation for this container.
- Name string
- Container name. Must match a container declared in the artifact group.
- Resource
Allocation WorkloadRuntime Container Group Container Resource Allocation - 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.
- resource
Allocation WorkloadRuntime Container Group Container Resource Allocation - Resource allocation for this container.
- name string
- Container name. Must match a container declared in the artifact group.
- resource
Allocation WorkloadRuntime Container Group Container Resource Allocation - Resource allocation for this container.
- name str
- Container name. Must match a container declared in the artifact group.
- resource_
allocation WorkloadRuntime Container Group Container Resource Allocation - Resource allocation for this container.
- name String
- Container name. Must match a container declared in the artifact group.
- resource
Allocation Property Map - Resource allocation for this container.
WorkloadRuntimeContainerGroupContainerResourceAllocation, WorkloadRuntimeContainerGroupContainerResourceAllocationArgs
- Cpu double
- CPU cores allocated to this container.
- Gpu double
- 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 float64
- CPU cores allocated to this container.
- Gpu float64
- 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 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.
- 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 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 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.
- 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.
WorkloadRuntimeReplacementPolicy, WorkloadRuntimeReplacementPolicyArgs
- Keep
Old intVersion Minutes - 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.
- Keep
Old intVersion Minutes - 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.
- keep_
old_ numberversion_ minutes - 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.
- keep
Old IntegerVersion Minutes - Duration in minutes to keep the old version during replacement. Maps to WAPI
config.keepOldVersionMinutes. - warmup
Minutes Integer - Duration in minutes for the warmup phase during replacement. Maps to WAPI
config.warmupDurationMinutes.
- keep
Old numberVersion Minutes - 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.
- keep_
old_ intversion_ minutes - 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.
- keep
Old NumberVersion Minutes - 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.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobotTerraform Provider.
published on Wednesday, Sep 9, 2026 by DataRobot, Inc.