Skip to main content

Scaleway Public Gateway

@sntxrr/scaleway-public-gatewayv2026.07.19.1· 6d agoMODELS
01README

Manage a Scaleway Public Gateway — sync current state, create, update, delete, and discover Public Gateways in a zone, via the zoned Public Gateway v2 API with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-public-gatewayv2026.07.19.1scaleway_public_gateway.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the Public Gateway.
zonestringAvailability zone, e.g. fr-par-1, it-mil-1, nl-ams-1, pl-waw-1.
gatewayId?stringID of the Public Gateway this model manages. Optional — `create`
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the Public Gateway's current state (GetGateway).
fn create(name: string, type: string, tags?: array, ipId?: string, enableBastion?: boolean, enableSmtp?: boolean)
Provision a new Public Gateway (CreateGateway).
ArgumentTypeDescription
namestringName to assign to the new Public Gateway.
typestringCommercial offer type, e.g. VPC-GW-S, VPC-GW-M, VPC-GW-L.
tags?arrayOptional list of tags to attach to the Public Gateway.
ipId?stringOptional existing flexible IP address ID to attach to the gateway.
enableBastion?booleanWhether to enable the SSH bastion on the gateway.
enableSmtp?booleanWhether to allow SMTP traffic to pass through the gateway.
fn update(name?: string, tags?: array, enableBastion?: boolean, enableSmtp?: boolean)
Update the Public Gateway's mutable fields (UpdateGateway).
ArgumentTypeDescription
name?stringNew name for the Public Gateway.
tags?arrayReplacement list of tags to attach to the Public Gateway.
enableBastion?booleanWhether the SSH bastion should be enabled on the gateway.
enableSmtp?booleanWhether SMTP traffic should be allowed to pass through the gateway.
fn delete(deleteIp: boolean)
Deprovision the Public Gateway (DeleteGateway).
ArgumentTypeDescription
deleteIpbooleanWhether to delete the gateway's flexible IP address on delete
fn list()
Discover all Public Gateways in the zone (factory).

Resources

gateway(infinite)— Snapshot of the Public Gateway's state
03Previous Versions1
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
9.5 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
05Platforms
06Labels