[SDK reference](../../index.md) / [Models](../index.md) / [Apps](index.md)

# 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

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Args` | `List<string>?` | `args` | The arguments that replace the image's default command. |
| `Command` | `List<string>?` | `command` | The command that replaces the image's entrypoint (absent: the image's own). |
| `ConfigDigest` | `string?` | `configDigest` | Deterministic SHA-256 digest of the revision's non-secret configuration. |
| `CpuMillicores` | `int?` | `cpuMillicores` | Allocated CPU in millicores (for example 250, 500, 1000, 2000). |
| `CreateTime` | `DateTimeOffset?` | `createTime` | UTC timestamp when this revision was created. |
| `CreatedBy` | `string?` | `createdBy` | Principal that deployed this revision. |
| `Environment` | `Models.Apps.AppRevision_environment?` | `environment` | Frozen plain-text environment variables captured at revision creation. |
| `Image` | `string?` | `image` | Immutable OCI image reference pinned by |
| `LivenessProbe` | `Models.Apps.AppProbe?` | `livenessProbe` | Restarts the container when it fails. |
| `MaxReplicas` | `int?` | `maxReplicas` | Maximum replica count (1..20). |
| `MemoryMiB` | `int?` | `memoryMiB` | Allocated memory in MiB (for example 256, 512, 1024, 2048). |
| `MinReplicas` | `int?` | `minReplicas` | Minimum replica count (0 enables scale-to-zero; >= 1 requires trust tier T1 per ADR-0405). |
| `Port` | `int?` | `port` | Container HTTP listening port. |
| `Protocol` | `Models.Apps.AppProtocol?` | `protocol` | The protocol on `port`. |
| `ReadinessProbe` | `Models.Apps.AppProbe?` | `readinessProbe` | Holds traffic back until it passes. |
| `ReleaseId` | `string?` | `releaseId` | The UID of the release this revision was promoted from (W98; ADR-0701 revision pinning). Absent for a revision no promotion made. |
| `RevisionId` | `string?` | `revisionId` | Immutable revision identifier within the app (for example rev-00001). |
| `RuntimeClassName` | `string?` | `runtimeClassName` | Sandbox runtime class (always gvisor in P0 per ADR-0405). |
| `SecretPins` | `List<Models.Apps.SecretVersionPin>?` | `secretPins` | Frozen numeric secret version pins captured at revision creation. |
| `StartupProbe` | `Models.Apps.AppProbe?` | `startupProbe` | Gives a slow starter time before the other probes begin. |
| `TargetConcurrency` | `int?` | `targetConcurrency` | Concurrent requests one instance takes before the autoscaler adds another. |
