SDK reference / Models / Ai

NotebookServer

Kind: class

Namespace: Egulu.Sdk.Models.Ai

A notebook server: JupyterLab in a container of the project with a size you choose, a home volume that survives stops, the buckets you mount (by agrant that lasts a few minutes and is renewed while the server runs, never a long-lived key) and an idle timeout that stops it. You reach it through theconsole's gateway with a single-use ticket; the server has no public address and its own token never leaves the platform.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Ai.NotebookServer_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DesiredStatestring?desiredState`RUNNING` or `STOPPED`: what you asked for. Creating asks for `RUNNING`.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
GrantsExpireTimeDateTimeOffset?grantsExpireTimeWhen the grants held by the running server stop working unless renewed (a few minutes ahead; the reconciler renews them).
HomeVolumeGiBint?homeVolumeGiBSize of the home volume in GiB (1 to 50; default 5). It is kept while the server is stopped and deleted with the server.
IdleTimeoutMinutesint?idleTimeoutMinutesMinutes without activity after which the server stops (5 to 1,440; default 60). The home volume stays.
LabelsModels.Ai.NotebookServer_labels?labelsAt most 64.
LastActivityTimeDateTimeOffset?lastActivityTimeWhen the server last saw a person or a kernel at work; the idle timeout counts from it.
MountsList<Models.Ai.NotebookMount>?mountsBuckets to mount; at most 8.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RunSecondslong?runSecondsSeconds the server has run, in all its starts.
Sizestring?size`cpu-small` | `cpu-medium` | `cpu-large` | `gpu-small`; see `notebookSizes`. A GPU size is refused where no GPU class is attached.
StartTimeDateTimeOffset?startTimeThe startTime property
Statestring?state`PENDING` (waiting for a notebook runtime) | `STARTING` | `RUNNING` | `STOPPING` | `STOPPED` | `FAILED`.
StateReasonstring?stateReasonWhy it is in that state: `user`, `idle-timeout`, `no-runtime`, `driver-failed`.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property