Manage persistent/file storages
storagesManage persistent volumes and file mounts for applications, databases, or services. Execute list, create, update, or delete actions using resource UUIDs and mount paths.
Instructions
Manage persistent volumes and file mounts for an application, database, or service. Actions: list, create, update, delete. create needs storage type ('persistent' or 'file') and mount_path; update targets storage_uuid; delete needs storage_uuid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| uuid | Yes | Resource UUID | |
| action | Yes | ||
| content | No | File content for type 'file' | |
| resource | Yes | ||
| host_path | No | ||
| mount_path | No | ||
| is_directory | No | ||
| storage_uuid | No | Required for update and delete | |
| resource_uuid | No | For service storages: UUID of the sub-resource (container) inside the service to mount on. Required by the API when resource is 'service'. |