create_database
Provision a managed database (PostgreSQL, MySQL, MariaDB, MongoDB, Redis, or RabbitMQ) for an existing add-on subscription. If no subscription is active, returns the purchase link to relay to the user.
Instructions
Create a managed add-on: PostgreSQL, MySQL, MariaDB, MongoDB, Redis or RabbitMQ. Requires a purchased add-on subscription — without one this returns the purchase link (relay it, don't retry). Credentials are provisioned server-side and shown to the user in the SnapDeploy UI, never through this connector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Add-on name | |
| type | Yes | Engine — POSTGRESQL is accepted as an alias of POSTGRES | |
| container | No | Container to link it to (name or id) | |
| database_name | No |