SDK reference / Models / Apps

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

NameTypeJSON nameDescription
AnnotationsUntypedNode?annotationsAt most 256 KiB in all; never policy input.
DisplayNameModels.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_displayName?displayNameUp to 63 characters.
EnvironmentUntypedNode?environmentEnvironment variables (plain text; secrets through secret pins of a later stage).
LabelsUntypedNode?labelsAt most 64.
MaxInstancesModels.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_maxInstances?maxInstancesMost instances at once (1..20; defaults to 4).
Runtimestring?runtimeThe runtime: `container` runs the image as it is (it listens on $PORT).
SourceModels.Apps.FunctionSourceMergePatchUpdate?sourceWhere the code comes from.
TimeoutSecondsModels.Apps.FunctionMergePatchUpdate.FunctionMergePatchUpdate_timeoutSeconds?timeoutSecondsLongest run of one invocation in seconds (1..900; defaults to 300).
TriggerModels.Apps.FunctionTriggerMergePatchUpdate?triggerWhat starts the function.