SDK reference / Models / Apps

AppRevision

Kind: class

Namespace: Egulu.Sdk.Models.Apps

An immutable container app revision snapshot (ADR-0701: image digest, env, configDigest, secret version pins, gVisor sandbox).

Properties

NameTypeJSON nameDescription
ArgsList<string>?argsThe arguments that replace the image's default command.
CommandList<string>?commandThe command that replaces the image's entrypoint (absent: the image's own).
ConfigDigeststring?configDigestDeterministic SHA-256 digest of the revision's non-secret configuration.
CpuMillicoresint?cpuMillicoresAllocated CPU in millicores (for example 250, 500, 1000, 2000).
CreateTimeDateTimeOffset?createTimeUTC timestamp when this revision was created.
CreatedBystring?createdByPrincipal that deployed this revision.
EnvironmentModels.Apps.AppRevision_environment?environmentFrozen plain-text environment variables captured at revision creation.
Imagestring?imageImmutable OCI image reference pinned by
LivenessProbeModels.Apps.AppProbe?livenessProbeRestarts the container when it fails.
MaxReplicasint?maxReplicasMaximum replica count (1..20).
MemoryMiBint?memoryMiBAllocated memory in MiB (for example 256, 512, 1024, 2048).
MinReplicasint?minReplicasMinimum replica count (0 enables scale-to-zero; >= 1 requires trust tier T1 per ADR-0405).
Portint?portContainer HTTP listening port.
ProtocolModels.Apps.AppProtocol?protocolThe protocol on `port`.
ReadinessProbeModels.Apps.AppProbe?readinessProbeHolds traffic back until it passes.
ReleaseIdstring?releaseIdThe UID of the release this revision was promoted from (W98; ADR-0701 revision pinning). Absent for a revision no promotion made.
RevisionIdstring?revisionIdImmutable revision identifier within the app (for example rev-00001).
RuntimeClassNamestring?runtimeClassNameSandbox runtime class (always gvisor in P0 per ADR-0405).
SecretPinsList<Models.Apps.SecretVersionPin>?secretPinsFrozen numeric secret version pins captured at revision creation.
StartupProbeModels.Apps.AppProbe?startupProbeGives a slow starter time before the other probes begin.
TargetConcurrencyint?targetConcurrencyConcurrent requests one instance takes before the autoscaler adds another.