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

# FunctionMergePatchUpdate

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

A serverless function: a source, a runtime and a trigger on the app runtime (ADR-0416).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `UntypedNode?` | `annotations` | At most 256 KiB in all; never policy input. |
| `DisplayName` | `Models.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Environment` | `UntypedNode?` | `environment` | Environment variables (plain text; secrets through secret pins of a later stage). |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `MaxInstances` | `Models.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_maxInstances?` | `maxInstances` | Most instances at once (1..20; defaults to 4). |
| `Runtime` | `string?` | `runtime` | The runtime: `container` runs the image as it is (it listens on $PORT). |
| `Source` | `Models.Apps.FunctionSourceMergePatchUpdate?` | `source` | Where the code comes from. |
| `TimeoutSeconds` | `Models.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_timeoutSeconds?` | `timeoutSeconds` | Longest run of one invocation in seconds (1..900; defaults to 300). |
| `Trigger` | `Models.Apps.FunctionTriggerMergePatchUpdate?` | `trigger` | What starts the function. |
