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

# ContainerAppMergePatchUpdate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Apps`  

A serverless container app isolated under gVisor with immutable revisions, traffic splitting, scale-to-zero, and atomic rollback (ADR-0405, ADR-0701).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `UntypedNode?` | `annotations` | At most 256 KiB in all; never policy input. |
| `Args` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_args?` | `args` | The arguments that replace the image's default command. A change makes a new revision. |
| `Command` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_command?` | `command` | The command that replaces the image's entrypoint (absent or empty: the image's own). A change makes a new revision. |
| `ConfigDigest` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_configDigest?` | `configDigest` | Optional explicit configuration digest; computed deterministically when omitted. |
| `CpuMillicores` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_cpuMillicores?` | `cpuMillicores` | CPU allocation in millicores (250..4000; defaults to 250). |
| `DisplayName` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Environment` | `UntypedNode?` | `environment` | Environment variables for the initial or updated revision. |
| `IdleTimeoutSeconds` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_idleTimeoutSeconds?` | `idleTimeoutSeconds` | Idle window in seconds before scaling active replicas to zero when minReplicas is 0 (30..3600; defaults to 900). |
| `Image` | `string?` | `image` | OCI image reference pinned by |
| `Ingress` | `Models.Apps.AppIngress?` | `ingress` | Who can reach the app (defaults to `PUBLIC`). A change makes no new revision. |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `LivenessProbe` | `Models.Apps.AppProbeMergePatchUpdateOrCreate?` | `livenessProbe` | Restarts the container when it fails. A change makes a new revision. |
| `MaxReplicas` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_maxReplicas?` | `maxReplicas` | Maximum replicas (1..20; defaults to 4). |
| `MemoryMiB` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_memoryMiB?` | `memoryMiB` | Memory allocation in MiB (128..8192; defaults to 256). |
| `MinReplicas` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_minReplicas?` | `minReplicas` | Minimum replicas (0..20; defaults to 0 for scale-to-zero; >= 1 requires trust tier T1 per ADR-0405). |
| `PasskeyAssertionId` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_passkeyAssertionId?` | `passkeyAssertionId` | An update that changes a secret pin needs a passkey step-up: the `wauthn1.` assertion token. Absent on the first call, which answers 403 passkey-required. |
| `Port` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_port?` | `port` | Container HTTP listening port (1..65535; defaults to 8080). |
| `Protocol` | `Models.Apps.AppProtocol?` | `protocol` | The protocol on `port` (defaults to `HTTP1`). A change makes a new revision. |
| `ReadinessProbe` | `Models.Apps.AppProbeMergePatchUpdateOrCreate?` | `readinessProbe` | Holds traffic back until it passes. A change makes a new revision. |
| `RuntimeClassName` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_runtimeClassName?` | `runtimeClassName` | Sandbox runtime class: must be gvisor in P0 (ADR-0405). |
| `SecretPins` | `List<Models.Apps.SecretVersionPinMergePatchUpdateReplaceOnly>?` | `secretPins` | Secret version pins for the initial or updated revision (ADR-0701). |
| `Secrets` | `List<Models.Apps.SecretVersionPinMergePatchUpdateReplaceOnly>?` | `secrets` | The secret versions to inject, as `{secret, version}`; the pins of the revision are recorded in `secretPins`. |
| `StartupProbe` | `Models.Apps.AppProbeMergePatchUpdateOrCreate?` | `startupProbe` | Gives a slow starter time before the other probes begin. A change makes a new revision. |
| `TargetConcurrency` | `Models.Apps.ContainerAppMergePatchUpdate.ContainerAppMergePatchUpdate_targetConcurrency?` | `targetConcurrency` | Concurrent requests one instance takes before the autoscaler adds another (1..1000; defaults to 100). A change makes a new revision. |
