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

NameTypeJSON nameDescription
AnnotationsModels.Compute.BatchPool_annotations?annotationsAt most 256 KiB in all; never policy input.
AutoscaleModels.Compute.BatchAutoscale?autoscaleThe pool's autoscaling from the number of waiting tasks; absent for a pool of a fixed size.
AutoscalerDetailstring?autoscalerDetailWhat the autoscaler last decided, in words.
CreateTimeDateTimeOffset?createTimeThe createTime property
CurrentNodesint?currentNodesHow many nodes exist, running or not.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.Compute.BatchPool_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
QueuedTasksint?queuedTasksHow many tasks of active jobs wait for a slot.
ReadyNodesint?readyNodesHow many nodes run and can take tasks.
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RunningTasksint?runningTasksHow many tasks run now.
SlotsPerNodeint?slotsPerNodeHow many tasks one node runs at once, 1 to 64; 1 when omitted.
StateModels.Compute.BatchPool_state?stateENSURING while nodes are made, READY when every node runs, DEGRADED when nodes are missing, DELETING.
TargetNodesint?targetNodesHow many nodes the pool should have, 0 to 200; they are held against the VM quota when the pool is made or resized.
Templatestring?templateThe instance template the nodes are made from (`instanceTemplates` of this location).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
VmGroupstring?vmGroupThe VM group that holds the nodes.