Scaleway Elastic Metal
@sntxrr/scaleway-elastic-metalv2026.07.19.1
01README
Manage a Scaleway Elastic Metal (Bare Metal) server — sync current state, create, delete, issue lifecycle actions (start/stop/reboot), and discover servers in a zone, via the Elastic Metal API with X-Auth-Token auth.
02Models
@sntxrr/scaleway-elastic-metalv2026.07.19.1scaleway_elastic_metal.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 Elastic Metal server. |
| zone | string | Availability zone, e.g. fr-par-1, nl-ams-1, pl-waw-1. |
| serverId? | string | ID of the Elastic Metal server this model manages. Optional — `create` |
| endpoint? | string | Override the API host. Defaults to https://api.scaleway.com. |
fn sync()
Fetch the server's current state (GetServer).
fn create(name: string, offerId: string, description?: string, tags?: array)
Provision a new Elastic Metal server (CreateServer).
| Argument | Type | Description |
|---|---|---|
| name | string | Name for the new Elastic Metal server. |
| offerId | string | ID of the commercial offer (server type) to provision. |
| description? | string | Optional human-readable description. |
| tags? | array | Optional tags to attach to the server. |
fn action(action: enum, bootType?: enum)
Issue a lifecycle action (start, stop, reboot) then re-read state.
| Argument | Type | Description |
|---|---|---|
| action | enum | Elastic Metal server lifecycle verb. |
| bootType? | enum | Boot type for start/reboot (normal or rescue). Ignored by stop. |
fn delete()
Deprovision the server (DeleteServer). Idempotent: a 404 is treated as already-absent.
fn list()
Discover all Elastic Metal servers in the zone (factory).
Resources
server(infinite)— Snapshot of the Elastic Metal server's state
03Previous Versions
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
9.4 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