Provisions a new add-on (database, cache, or storage) for the application. Connection credentials are automatically injected as environment variables.
Bearer token for authentication. Format: 'Bearer {token}'
Workspace ID (uses default workspace if not provided)
Application UUID
Create a new add-on
Add-on type: 'postgres' (PostgreSQL), 'mysql' (MySQL), 'valkey' (Redis-compatible cache), 'storage' (persistent volume)
postgres, mysql, valkey, storage Unique add-on identifier (used in environment variable names)
Human-readable display name for the add-on
RAM allocation in MiB (e.g., 64, 128, 256)
Disk storage in GiB (e.g., 1, 5, 10)
CPU allocation in cores (e.g., 0.1, 0.25, 0.5)
PostgreSQL version (e.g., '15', '16'). Only for postgres type.
MySQL version (e.g., '8.0', '8.4'). Only for mysql type.
Valkey version (e.g., '7.2'). Only for valkey type.
Enable public internet access: '0' disabled, '1' enabled. For postgres type.
0, 1 Associated service ID for shared storage add-ons
Container mount path (e.g., /data). For storage type.
Access mode: 'RWO' (single node read-write), 'RWX' (multi-node read-write). For storage type.
RWO, RWX Create a new add-on
Api_V1_Entities_Addon model
Add-on UUID
Add-on name
Add-on type (postgres, mysql, valkey, storage, cronjob)
Display name
Current state
Resource quota configuration
Add-on specific settings
Connection environment variables
Creation timestamp
Last update timestamp