Scaleway Mongodb
@sntxrr/scaleway-mongodbv2026.07.19.1
01README
Manage a Scaleway Managed MongoDB® Database Instance — sync state, create, update, and delete instances, and discover instances in a region, via the Managed MongoDB API with X-Auth-Token auth.
02Models
@sntxrr/scaleway-mongodbv2026.07.19.1scaleway_mongodb.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| secretKey | string | Scaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}. |
| projectId | string | Scaleway Project ID that owns the MongoDB® Database Instance. |
| region | string | Region, e.g. fr-par, nl-ams, pl-waw. |
| instanceId? | string | ID of the MongoDB® Database Instance this model manages. Optional — |
| endpoint? | string | Override the API host. Defaults to https://api.scaleway.com. |
fn sync()
Fetch the MongoDB® Database Instance's current state (GetInstance).
fn create(name: string, version: string, nodeType: string, nodeAmount: number, userName: string, password: string, volumeType?: string, volumeSize?: number, tags?: array)
Provision a new MongoDB® Database Instance (CreateInstance) and snapshot it.
| Argument | Type | Description |
|---|---|---|
| name | string | Name of the new MongoDB® Database Instance. |
| version | string | MongoDB® engine version, e.g. 7.0.12. |
| nodeType | string | Node type (commercial size), e.g. MGDB-PLAY2-NANO. |
| nodeAmount | number | Number of nodes in the cluster (1 for standalone). |
| userName | string | Identifier of the default database user. |
| password | string | Password for the default user. Sent only to provision; never stored. |
| volumeType? | string | Volume type, e.g. sbs_5k or sbs_15k. Optional; engine default applies. |
| volumeSize? | number | Volume size in bytes. Optional; engine default applies. |
| tags? | array | Tags to attach to the new instance. |
fn update(name?: string, tags?: array)
Mutate a MongoDB® Database Instance's mutable fields (UpdateInstance).
| Argument | Type | Description |
|---|---|---|
| name? | string | New name for the instance. |
| tags? | array | Replacement set of tags for the instance. |
fn delete()
Deprovision the MongoDB® Database Instance (DeleteInstance).
fn list()
Discover all MongoDB® Database Instances in the region (factory).
Resources
instance(infinite)— Snapshot of the MongoDB® Database Instance's state
03Previous Versions
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
10.3 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/sntxrr/swamp-scaleway05Platforms
06Labels