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
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.ImageBuilder.ImagePipeline_annotations? | annotations | At most 256 KiB in all; never policy input. |
Base | Models.ImageBuilder.ImageBase? | base | Where a build starts. |
BuildMachineType | string? | buildMachineType | vm.s1 (default), vm.m2 or vm.l4: the size of the build VMs (builds are metered by it). |
BuildTimeoutMinutes | int? | buildTimeoutMinutes | The longest a build may take, 5 to 120 minutes, default 60. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DiskSizeGb | int? | diskSizeGb | The build disk in GiB, 10 to 200, default 20. |
DisplayName | string? | displayName | Up to 63 characters. |
EgressAllow | List<string>? | egressAllow | Up 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. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.ImageBuilder.ImagePipeline_labels? | labels | At most 64. |
LastBuild | string? | lastBuild | The newest build's ID, if any. |
LastBuildState | Models.ImageBuilder.ImagePipeline_lastBuildState? | lastBuildState | The lastBuildState property |
LastBuildTime | DateTimeOffset? | lastBuildTime | The lastBuildTime property |
LatestVersion | long? | latestVersion | The newest version number that is published (the latest alias points at it), or 0. |
Location | string? | location | The location property |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
NextBuildTime | DateTimeOffset? | nextBuildTime | When the schedule starts the next build. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
RebuildOnBaseChange | bool? | rebuildOnBaseChange | Start a build when the base image gets a new version. |
RebuildOnPackageUpdates | bool? | rebuildOnPackageUpdates | Start a build when the upstream versions of the install steps' packages change. |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
RetentionKeep | int? | retentionKeep | How many published versions are kept, 1 to 50, default 5. Versions in use and the latest are never removed. |
Schedule | string? | schedule | A five-field cron expression in UTC with a gap of at least 60 minutes; absent means manual builds. |
ShareWith | List<string>? | shareWith | Up to 10 project IDs the versions are shared with (needs resource sharing in the location). |
Simulated | bool? | simulated | True when the lab's simulated build host, not a real build VM, ran the builds. |
SpecDigest | string? | specDigest | SHA-256 of the canonical spec; every build records it. |
Steps | List<Models.ImageBuilder.ImageStep>? | steps | 1 to 40 customisation steps, applied in order. |
Tests | List<Models.ImageBuilder.ImageTest>? | tests | Up to 10 tests, run on a second VM booted from the captured disk. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |