scaleway-api-client
v2.0.0
Published
NodeJS API Client for Scaleway
Downloads
7
Readme
⚡️ Installation
Install with npm.
npm install --save [email protected]
👾 Authentication
Create an API token on Scaleway admin console here.
const Client = require('scaleway-api-client');
const api = new Client("YOUR_AUTH_TOKEN_HERE");
📘 Documentation
- AddBackendServers
- AttachPrivateNetwork
- CreateAcl
- CreateBackend
- CreateCertificate
- CreateCluster
- CreateDatabaseRoute
- CreateDevice
- CreateFrontend
- CreateHub
- CreateImage
- CreateIp
- CreateIp
- CreateLb
- CreateNamespace
- CreateNetwork
- CreatePlacementGroup
- CreatePool
- CreatePrivateNIC
- CreatePrivateNetwork
- CreateRestRoute
- CreateS3Route
- CreateSecurityGroupRule
- CreateSecurityGroup
- CreateServer
- CreateServer
- CreateSnapshot
- CreateSubscriber
- CreateVolume
- DeleteAcl
- DeleteBackend
- DeleteCertificate
- DeleteCluster
- DeleteDatabaseRoute
- DeleteDevice
- DeleteFrontend
- DeleteHub
- DeleteImage
- DeleteImage
- DeleteIp
- DeleteLb
- DeleteNamespace
- DeleteNetwork
- DeletePlacementGroup
- DeletePool
- DeletePrivateNIC
- DeletePrivateNetwork
- DeleteRestRoute
- DeleteS3Route
- DeleteSecurityGroupRule
- DeleteSecurityGroup
- DeleteServerUserData
- DeleteServer
- DeleteServer
- DeleteSnapshot
- DeleteSubscriber
- DeleteTag
- DeleteVolume
- DetachPrivateNetwork
- DisableDevice
- DisableHub
- EnableDevice
- EnableHub
- GetAcl
- GetBMCAccess
- GetBackend
- GetBootscript
- GetCertificate
- GetClusterKubeConfig
- GetCluster
- GetDashboard
- GetDatabaseRoute
- GetDeviceMetrics
- GetDevice
- GetFrontend
- GetHubMetrics
- GetHub
- GetImage
- GetImage
- GetIp
- GetIp
- GetLbStats
- GetLb
- GetNamespace
- GetNetwork
- GetNode
- GetOS
- GetOffer
- GetPlacementGroupServers
- GetPlacementGroup
- GetPool
- GetPrivateNIC
- GetPrivateNetwork
- GetRestRoute
- GetS3Route
- GetSecurityGroupRule
- GetSecurityGroup
- GetServerMetrics
- GetServerTypesAvailability
- GetServerUserData
- GetServer
- GetServer
- GetSnapshot
- GetSubscriber
- GetTag
- GetVersion
- GetVolume
- InstallServer
- ListAcls
- ListBackendStats
- ListBackends
- ListBootscripts
- ListCertificates
- ListClusterAvailableVersions
- ListClusters
- ListDevices
- ListFrontends
- ListHubs
- ListIPs
- ListImages
- ListImages
- ListIps
- ListLbPrivateNetworks
- ListLbTypes
- ListLbs
- ListNamespaces
- ListNetworks
- ListNodes
- ListOS
- ListOffers
- ListPlacementGroups
- ListPools
- ListPrivateNICs
- ListPrivateNetworks
- ListRoutes
- ListSecurityGroupRules
- ListSecurityGroups
- ListServerActions
- ListServerEvents
- ListServerUserData
- ListServersTypes
- ListServers
- ListServers
- ListSnapshots
- ListSubscriber
- ListTags
- ListVersions
- ListVolumesTypes
- ListVolumes
- MigrateLb
- RebootNode
- RebootServer
- ReleaseIp
- RemoveBackendServers
- ReplaceNode
- ResetClusterAdminToken
- ServerAction
- SetBackendServers
- SetImage
- SetPlacementGroupServers
- SetPlacementGroup
- SetSecurityGroupRule
- SetSecurityGroup
- SetServerUserData
- SetSnapshot
- SetVolume
- StartBMCAccess
- StartServer
- StopBMCAccess
- StopServer
- SubscribeToLb
- UnsubscribeFromLb
- UpdateAcl
- UpdateBackend
- UpdateCertificate
- UpdateCluster
- UpdateDevice
- UpdateFrontend
- UpdateHealthCheck
- UpdateHub
- UpdateIP
- UpdateImage
- UpdateIp
- UpdateIp
- UpdateLb
- UpdateNamespace
- UpdatePlacementGroupServers
- UpdatePlacementGroup
- UpdatePool
- UpdatePrivateNetwork
- UpdateServer
- UpdateServer
- UpdateSubscriber
- UpdateVolume
- UpgradeCluster
- UpgradePool
🚀 Examples
😋 How it works
lib.js is fully generated from Scaleway OpenAPI definition files:
- scaleway.baremetal.v1.Api.yml
- scaleway.instance.v1.Api.yml
- scaleway.iot.v1beta1.Api.yml
- scaleway.k8s.v1.Api.yml
- scaleway.lb.v1.Api.yml
- scaleway.registry.v1.Api.yml
- scaleway.vpc.v1.Api.yml
😉 Previous work
- https://github.com/moul/node-scaleway
- https://github.com/ignitial/scaleway-promised
🤩 You want to support my work?
I maintain this project in my free time, if it helped you, well, I would be grateful to buy a beer thanks to your paypal or Bitcoins, donation!