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

# AppInstance

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

One running or recently ended instance (pod) of a container app, as the cluster last reported it. Read-only; it has no resource name of its own.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `InstanceId` | `string?` | `instanceId` | The instance's name within the app (stable while it runs). |
| `LastExitCode` | `int?` | `lastExitCode` | Exit code of the last container that ended, when one did. |
| `LastExitReason` | `string?` | `lastExitReason` | Why the last container ended, for example `OOMKilled`, `Error` or `Completed`. |
| `ObserveTime` | `DateTimeOffset?` | `observeTime` | When this answer was read from the cluster. |
| `Ready` | `bool?` | `ready` | Whether the readiness probe passes. |
| `RestartCount` | `int?` | `restartCount` | How many times the platform restarted the container. |
| `RevisionId` | `string?` | `revisionId` | The revision this instance runs. |
| `StartTime` | `DateTimeOffset?` | `startTime` | When the instance started. |
| `State` | `Models.Apps.AppInstanceState?` | `state` | State of one instance (pod) of a container app. |
