scaleway-promised

0.1.0 • Public • Published

Simple Promise based access to Scaleway API.

Based on scaleway by Manfred Touron.

Available API functions

  • ps: list servers
  • server_getById: needs ps to have been executed just before
  • server_create(data): creates a server with data as per below:
{
    organization: '12345678-1234-1234-1234-012345678901',
    name: 'server_name',
    image: 'image_id',
    commercial_type: 'VC1S || any availabale types -> see Scaleway CLI doc'
}
  • server_start(id[, timeout])
  • server_stop(id[, timeout])
  • server_remove(id)
  • server_inspect(id)
  • server_wait(id, state[, timeout]): wait for server to be in a specific state
  • image_inspect(id)
  • image_list()
  • image_getByName(name)

TODO

  • implement all missing functions

Readme

Keywords

Package Sidebar

Install

npm i scaleway-promised

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • vandrito