SDK reference / Models / ImageBuilder

ImagePipeline

Kind: class

Namespace: Egulu.Sdk.Models.ImageBuilder

An image pipeline: what to start from, what to apply, what to test, and when to rebuild.

Properties

NameTypeJSON nameDescription
AnnotationsModels.ImageBuilder.ImagePipeline_annotations?annotationsAt most 256 KiB in all; never policy input.
BaseModels.ImageBuilder.ImageBase?baseWhere a build starts.
BuildMachineTypestring?buildMachineTypevm.s1 (default), vm.m2 or vm.l4: the size of the build VMs (builds are metered by it).
BuildTimeoutMinutesint?buildTimeoutMinutesThe longest a build may take, 5 to 120 minutes, default 60.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DiskSizeGbint?diskSizeGbThe build disk in GiB, 10 to 200, default 20.
DisplayNamestring?displayNameUp to 63 characters.
EgressAllowList<string>?egressAllowUp to 20 fully qualified host names a build may reach besides the distro's mirrors. Everything else is blocked and nothing can reach the build VM.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.ImageBuilder.ImagePipeline_labels?labelsAt most 64.
LastBuildstring?lastBuildThe newest build's ID, if any.
LastBuildStateModels.ImageBuilder.ImagePipeline_lastBuildState?lastBuildStateThe lastBuildState property
LastBuildTimeDateTimeOffset?lastBuildTimeThe lastBuildTime property
LatestVersionlong?latestVersionThe newest version number that is published (the latest alias points at it), or 0.
Locationstring?locationThe location property
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
NextBuildTimeDateTimeOffset?nextBuildTimeWhen the schedule starts the next build.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
RebuildOnBaseChangebool?rebuildOnBaseChangeStart a build when the base image gets a new version.
RebuildOnPackageUpdatesbool?rebuildOnPackageUpdatesStart a build when the upstream versions of the install steps' packages change.
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RetentionKeepint?retentionKeepHow many published versions are kept, 1 to 50, default 5. Versions in use and the latest are never removed.
Schedulestring?scheduleA five-field cron expression in UTC with a gap of at least 60 minutes; absent means manual builds.
ShareWithList<string>?shareWithUp to 10 project IDs the versions are shared with (needs resource sharing in the location).
Simulatedbool?simulatedTrue when the lab's simulated build host, not a real build VM, ran the builds.
SpecDigeststring?specDigestSHA-256 of the canonical spec; every build records it.
StepsList<Models.ImageBuilder.ImageStep>?steps1 to 40 customisation steps, applied in order.
TestsList<Models.ImageBuilder.ImageTest>?testsUp to 10 tests, run on a second VM booted from the captured disk.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property