SDK reference / Models / Compute
BatchPool
Kind: class
Namespace: Egulu.Sdk.Models.Compute
A pool of compute (ADR-0494): the VMs of one VM group made from an instance template, which are the nodes tasks run on. Each node runsslotsPerNode tasks at once. The pool's group is named batch-{pool}; change the pool through the batch API, not the group.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Compute.BatchPool_annotations? | annotations | At most 256 KiB in all; never policy input. |
Autoscale | Models.Compute.BatchAutoscale? | autoscale | The pool's autoscaling from the number of waiting tasks; absent for a pool of a fixed size. |
AutoscalerDetail | string? | autoscalerDetail | What the autoscaler last decided, in words. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
CurrentNodes | int? | currentNodes | How many nodes exist, running or not. |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Compute.BatchPool_labels? | labels | At most 64. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
QueuedTasks | int? | queuedTasks | How many tasks of active jobs wait for a slot. |
ReadyNodes | int? | readyNodes | How many nodes run and can take tasks. |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
RunningTasks | int? | runningTasks | How many tasks run now. |
SlotsPerNode | int? | slotsPerNode | How many tasks one node runs at once, 1 to 64; 1 when omitted. |
State | Models.Compute.BatchPool_state? | state | ENSURING while nodes are made, READY when every node runs, DEGRADED when nodes are missing, DELETING. |
TargetNodes | int? | targetNodes | How many nodes the pool should have, 0 to 200; they are held against the VM quota when the pool is made or resized. |
Template | string? | template | The instance template the nodes are made from (`instanceTemplates` of this location). |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
VmGroup | string? | vmGroup | The VM group that holds the nodes. |