Type Alias: FunctionSettings
Properties
| Property | Type | Required | Description |
|---|---|---|---|
isActivated | boolean | Yes | Whether Functions feature is activated |
activationStep | "pending" | "registry" | "image" | "config" | "deployment" | "server" | "complete" | "error" | No | Current activation step (for async progress tracking) |
activationError | string | No | Error message if activation failed |
fleetAppId | number | No | Fleet app ID |
fleetRegistryId | number | No | Fleet Docker registry ID |
fleetImageId | string | No | Fleet binary/image ID |
fleetServerConfigId | string | No | Fleet server config ID |
fleetDeploymentId | number | No | Fleet deployment ID (app location setting) |
resourcePackageSlug | string | No | Resource package slug (example: "fleet-s1") |
locationCity | string | No | Deployment location city (example: "frankfurt") |
fleetRegion | string | No | Fleet region (deprecated, use locationCity) (example: "eu-west") |
maxFunctions | number | Yes | Maximum functions allowed (example: 10) |
maxMemoryPerFunction | number | Yes | Maximum memory per function (MB) (example: 512) |
dependencies | FunctionDependency[] | No | NPM dependencies shared by all functions |
envVars | FunctionEnvVar[] | No | Environment variables shared by all functions (secrets masked) |
Defined in
4Players/cortex-typescript-sdk/src/resources/functions.ts:10