@datarobot/pulumi-datarobot 0.10.36 → 0.10.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarobot/pulumi-datarobot",
3
- "version": "0.10.36",
3
+ "version": "0.10.38",
4
4
  "description": "A Pulumi package for creating and managing DataRobot resources.",
5
5
  "keywords": [
6
6
  "datarobot",
package/types/input.d.ts CHANGED
@@ -121,24 +121,32 @@ export interface ArtifactSpecContainerGroupContainer {
121
121
  * Container readiness check configuration.
122
122
  */
123
123
  readinessProbe?: pulumi.Input<inputs.ArtifactSpecContainerGroupContainerReadinessProbe>;
124
- /**
125
- * Resource requirements for the container.
126
- */
127
- resourceRequest: pulumi.Input<inputs.ArtifactSpecContainerGroupContainerResourceRequest>;
128
124
  /**
129
125
  * Container startup check configuration.
130
126
  */
131
127
  startupProbe?: pulumi.Input<inputs.ArtifactSpecContainerGroupContainerStartupProbe>;
132
128
  }
133
129
  export interface ArtifactSpecContainerGroupContainerEnvironmentVar {
130
+ /**
131
+ * DataRobot credential ID. Required when source is "dr-credential".
132
+ */
133
+ credentialId?: pulumi.Input<string>;
134
+ /**
135
+ * Key within the credential. Required when source is "dr-credential".
136
+ */
137
+ key?: pulumi.Input<string>;
134
138
  /**
135
139
  * Name of the environment variable.
136
140
  */
137
141
  name: pulumi.Input<string>;
138
142
  /**
139
- * Value of the environment variable.
143
+ * Source type: "string" for plain text values, "dr-credential" for DataRobot credentials. Defaults to "string".
140
144
  */
141
- value: pulumi.Input<string>;
145
+ source?: pulumi.Input<string>;
146
+ /**
147
+ * Value of the environment variable. Required when source is "string".
148
+ */
149
+ value?: pulumi.Input<string>;
142
150
  }
143
151
  export interface ArtifactSpecContainerGroupContainerLivenessProbe {
144
152
  /**
@@ -208,24 +216,6 @@ export interface ArtifactSpecContainerGroupContainerReadinessProbe {
208
216
  */
209
217
  timeoutSeconds?: pulumi.Input<number>;
210
218
  }
211
- export interface ArtifactSpecContainerGroupContainerResourceRequest {
212
- /**
213
- * Number of CPU cores required.
214
- */
215
- cpu: pulumi.Input<number>;
216
- /**
217
- * Number of GPUs required.
218
- */
219
- gpu?: pulumi.Input<number>;
220
- /**
221
- * GPU type required (e.g., NVIDIA-A100).
222
- */
223
- gpuType?: pulumi.Input<string>;
224
- /**
225
- * Memory required in bytes.
226
- */
227
- memory: pulumi.Input<number>;
228
- }
229
219
  export interface ArtifactSpecContainerGroupContainerStartupProbe {
230
220
  /**
231
221
  * Minimum consecutive failures for the probe to be considered failed.
@@ -1440,19 +1430,37 @@ export interface VectorDatabaseChunkingParameters {
1440
1430
  }
1441
1431
  export interface WorkloadRuntime {
1442
1432
  /**
1443
- * Autoscaling configuration. When set, takes precedence over replica_count.
1433
+ * Per-group runtime configuration.
1444
1434
  */
1445
- autoscaling?: pulumi.Input<inputs.WorkloadRuntimeAutoscaling>;
1435
+ containerGroups?: pulumi.Input<pulumi.Input<inputs.WorkloadRuntimeContainerGroup>[]>;
1436
+ }
1437
+ export interface WorkloadRuntimeContainerGroup {
1446
1438
  /**
1447
- * Number of replicas to run. Cannot be used together with `autoscaling`. Omitting this field retains the current value. Set to `0` to explicitly clear it (e.g. when switching to autoscaling).
1439
+ * Autoscaling configuration. When set, takes precedence over `replicaCount`.
1440
+ */
1441
+ autoscaling?: pulumi.Input<inputs.WorkloadRuntimeContainerGroupAutoscaling>;
1442
+ /**
1443
+ * How to select among `resourceBundles`. Defaults to `availability`.
1444
+ */
1445
+ bundleSelectionPolicy?: pulumi.Input<string>;
1446
+ /**
1447
+ * Per-container resource allocation overrides.
1448
+ */
1449
+ containers?: pulumi.Input<pulumi.Input<inputs.WorkloadRuntimeContainerGroupContainer>[]>;
1450
+ /**
1451
+ * Container group name (server-assigned, always `default`).
1452
+ */
1453
+ name?: pulumi.Input<string>;
1454
+ /**
1455
+ * Number of replicas. Cannot be set alongside `autoscaling.enabled=true`. Set to `0` to explicitly clear it.
1448
1456
  */
1449
1457
  replicaCount?: pulumi.Input<number>;
1450
1458
  /**
1451
- * Resource bundles assigned to the Workload. When empty the server infers an appropriate bundle.
1459
+ * Ordered list of resource bundle IDs. One is selected at scheduling time.
1452
1460
  */
1453
- resources?: pulumi.Input<pulumi.Input<inputs.WorkloadRuntimeResource>[]>;
1461
+ resourceBundles?: pulumi.Input<pulumi.Input<string>[]>;
1454
1462
  }
1455
- export interface WorkloadRuntimeAutoscaling {
1463
+ export interface WorkloadRuntimeContainerGroupAutoscaling {
1456
1464
  /**
1457
1465
  * Whether autoscaling is enabled. Defaults to true.
1458
1466
  */
@@ -1460,9 +1468,9 @@ export interface WorkloadRuntimeAutoscaling {
1460
1468
  /**
1461
1469
  * Scaling policies that define when and how to scale.
1462
1470
  */
1463
- policies: pulumi.Input<pulumi.Input<inputs.WorkloadRuntimeAutoscalingPolicy>[]>;
1471
+ policies: pulumi.Input<pulumi.Input<inputs.WorkloadRuntimeContainerGroupAutoscalingPolicy>[]>;
1464
1472
  }
1465
- export interface WorkloadRuntimeAutoscalingPolicy {
1473
+ export interface WorkloadRuntimeContainerGroupAutoscalingPolicy {
1466
1474
  /**
1467
1475
  * Maximum number of replicas.
1468
1476
  */
@@ -1484,9 +1492,31 @@ export interface WorkloadRuntimeAutoscalingPolicy {
1484
1492
  */
1485
1493
  target: pulumi.Input<number>;
1486
1494
  }
1487
- export interface WorkloadRuntimeResource {
1495
+ export interface WorkloadRuntimeContainerGroupContainer {
1496
+ /**
1497
+ * Container name. Must match a container declared in the artifact group.
1498
+ */
1499
+ name: pulumi.Input<string>;
1500
+ /**
1501
+ * Resource allocation for this container.
1502
+ */
1503
+ resourceAllocation?: pulumi.Input<inputs.WorkloadRuntimeContainerGroupContainerResourceAllocation>;
1504
+ }
1505
+ export interface WorkloadRuntimeContainerGroupContainerResourceAllocation {
1506
+ /**
1507
+ * CPU cores allocated to this container.
1508
+ */
1509
+ cpu?: pulumi.Input<number>;
1510
+ /**
1511
+ * GPUs allocated to this container.
1512
+ */
1513
+ gpu?: pulumi.Input<number>;
1514
+ /**
1515
+ * GPU VRAM allocated in bytes.
1516
+ */
1517
+ gpuMemory?: pulumi.Input<number>;
1488
1518
  /**
1489
- * ID of the resource bundle (e.g. `cpu.nano`).
1519
+ * RAM allocated in bytes.
1490
1520
  */
1491
- resourceBundleId: pulumi.Input<string>;
1521
+ memory?: pulumi.Input<number>;
1492
1522
  }
package/types/output.d.ts CHANGED
@@ -120,24 +120,32 @@ export interface ArtifactSpecContainerGroupContainer {
120
120
  * Container readiness check configuration.
121
121
  */
122
122
  readinessProbe?: outputs.ArtifactSpecContainerGroupContainerReadinessProbe;
123
- /**
124
- * Resource requirements for the container.
125
- */
126
- resourceRequest: outputs.ArtifactSpecContainerGroupContainerResourceRequest;
127
123
  /**
128
124
  * Container startup check configuration.
129
125
  */
130
126
  startupProbe?: outputs.ArtifactSpecContainerGroupContainerStartupProbe;
131
127
  }
132
128
  export interface ArtifactSpecContainerGroupContainerEnvironmentVar {
129
+ /**
130
+ * DataRobot credential ID. Required when source is "dr-credential".
131
+ */
132
+ credentialId?: string;
133
+ /**
134
+ * Key within the credential. Required when source is "dr-credential".
135
+ */
136
+ key?: string;
133
137
  /**
134
138
  * Name of the environment variable.
135
139
  */
136
140
  name: string;
137
141
  /**
138
- * Value of the environment variable.
142
+ * Source type: "string" for plain text values, "dr-credential" for DataRobot credentials. Defaults to "string".
139
143
  */
140
- value: string;
144
+ source: string;
145
+ /**
146
+ * Value of the environment variable. Required when source is "string".
147
+ */
148
+ value?: string;
141
149
  }
142
150
  export interface ArtifactSpecContainerGroupContainerLivenessProbe {
143
151
  /**
@@ -207,24 +215,6 @@ export interface ArtifactSpecContainerGroupContainerReadinessProbe {
207
215
  */
208
216
  timeoutSeconds: number;
209
217
  }
210
- export interface ArtifactSpecContainerGroupContainerResourceRequest {
211
- /**
212
- * Number of CPU cores required.
213
- */
214
- cpu: number;
215
- /**
216
- * Number of GPUs required.
217
- */
218
- gpu?: number;
219
- /**
220
- * GPU type required (e.g., NVIDIA-A100).
221
- */
222
- gpuType?: string;
223
- /**
224
- * Memory required in bytes.
225
- */
226
- memory: number;
227
- }
228
218
  export interface ArtifactSpecContainerGroupContainerStartupProbe {
229
219
  /**
230
220
  * Minimum consecutive failures for the probe to be considered failed.
@@ -1439,19 +1429,37 @@ export interface VectorDatabaseChunkingParameters {
1439
1429
  }
1440
1430
  export interface WorkloadRuntime {
1441
1431
  /**
1442
- * Autoscaling configuration. When set, takes precedence over replica_count.
1432
+ * Per-group runtime configuration.
1443
1433
  */
1444
- autoscaling?: outputs.WorkloadRuntimeAutoscaling;
1434
+ containerGroups?: outputs.WorkloadRuntimeContainerGroup[];
1435
+ }
1436
+ export interface WorkloadRuntimeContainerGroup {
1445
1437
  /**
1446
- * Number of replicas to run. Cannot be used together with `autoscaling`. Omitting this field retains the current value. Set to `0` to explicitly clear it (e.g. when switching to autoscaling).
1438
+ * Autoscaling configuration. When set, takes precedence over `replicaCount`.
1439
+ */
1440
+ autoscaling?: outputs.WorkloadRuntimeContainerGroupAutoscaling;
1441
+ /**
1442
+ * How to select among `resourceBundles`. Defaults to `availability`.
1443
+ */
1444
+ bundleSelectionPolicy: string;
1445
+ /**
1446
+ * Per-container resource allocation overrides.
1447
+ */
1448
+ containers?: outputs.WorkloadRuntimeContainerGroupContainer[];
1449
+ /**
1450
+ * Container group name (server-assigned, always `default`).
1451
+ */
1452
+ name: string;
1453
+ /**
1454
+ * Number of replicas. Cannot be set alongside `autoscaling.enabled=true`. Set to `0` to explicitly clear it.
1447
1455
  */
1448
1456
  replicaCount: number;
1449
1457
  /**
1450
- * Resource bundles assigned to the Workload. When empty the server infers an appropriate bundle.
1458
+ * Ordered list of resource bundle IDs. One is selected at scheduling time.
1451
1459
  */
1452
- resources?: outputs.WorkloadRuntimeResource[];
1460
+ resourceBundles?: string[];
1453
1461
  }
1454
- export interface WorkloadRuntimeAutoscaling {
1462
+ export interface WorkloadRuntimeContainerGroupAutoscaling {
1455
1463
  /**
1456
1464
  * Whether autoscaling is enabled. Defaults to true.
1457
1465
  */
@@ -1459,9 +1467,9 @@ export interface WorkloadRuntimeAutoscaling {
1459
1467
  /**
1460
1468
  * Scaling policies that define when and how to scale.
1461
1469
  */
1462
- policies: outputs.WorkloadRuntimeAutoscalingPolicy[];
1470
+ policies: outputs.WorkloadRuntimeContainerGroupAutoscalingPolicy[];
1463
1471
  }
1464
- export interface WorkloadRuntimeAutoscalingPolicy {
1472
+ export interface WorkloadRuntimeContainerGroupAutoscalingPolicy {
1465
1473
  /**
1466
1474
  * Maximum number of replicas.
1467
1475
  */
@@ -1483,9 +1491,31 @@ export interface WorkloadRuntimeAutoscalingPolicy {
1483
1491
  */
1484
1492
  target: number;
1485
1493
  }
1486
- export interface WorkloadRuntimeResource {
1494
+ export interface WorkloadRuntimeContainerGroupContainer {
1495
+ /**
1496
+ * Container name. Must match a container declared in the artifact group.
1497
+ */
1498
+ name: string;
1499
+ /**
1500
+ * Resource allocation for this container.
1501
+ */
1502
+ resourceAllocation?: outputs.WorkloadRuntimeContainerGroupContainerResourceAllocation;
1503
+ }
1504
+ export interface WorkloadRuntimeContainerGroupContainerResourceAllocation {
1505
+ /**
1506
+ * CPU cores allocated to this container.
1507
+ */
1508
+ cpu?: number;
1509
+ /**
1510
+ * GPUs allocated to this container.
1511
+ */
1512
+ gpu?: number;
1513
+ /**
1514
+ * GPU VRAM allocated in bytes.
1515
+ */
1516
+ gpuMemory?: number;
1487
1517
  /**
1488
- * ID of the resource bundle (e.g. `cpu.nano`).
1518
+ * RAM allocated in bytes.
1489
1519
  */
1490
- resourceBundleId: string;
1520
+ memory?: number;
1491
1521
  }