salt.cloud.clouds.scaleway

Scaleway Cloud Module

New in version 2015.8.0.

The Scaleway cloud module is used to interact with your Scaleway BareMetal Servers.

Use of this module only requires the api_key parameter to be set. Set up the cloud configuration at /etc/salt/cloud.providers or /etc/salt/cloud.providers.d/scaleway.conf:

scaleway-config:
  # Scaleway organization and token
  access_key: 0e604a2c-aea6-4081-acb2-e1d1258ef95c
  token: be8fd96b-04eb-4d39-b6ba-a9edbcf17f12
  driver: scaleway

salt.cloud.clouds.scaleway.avail_images(call=None)

Return a list of the images that are on the provider.

salt.cloud.clouds.scaleway.create(server_)

Create a single BareMetal server from a data dict.

salt.cloud.clouds.scaleway.create_node(args)

Create a node.

salt.cloud.clouds.scaleway.destroy(name, call=None)

Destroy a node. Will check termination protection and warn if enabled.

CLI Example:

salt-cloud --destroy mymachine

salt.cloud.clouds.scaleway.get_configured_provider()

Return the first configured instance.

salt.cloud.clouds.scaleway.get_image(server_)

Return the image object to use.

salt.cloud.clouds.scaleway.list_nodes(call=None)

Return a list of the BareMetal servers that are on the provider.

salt.cloud.clouds.scaleway.list_nodes_full(call=None)

Return a list of the BareMetal servers that are on the provider.

salt.cloud.clouds.scaleway.list_nodes_select(call=None)

Return a list of the BareMetal servers that are on the provider, with select fields.

salt.cloud.clouds.scaleway.query(method='servers', server_id=None, command=None, args=None, http_method='GET', root='api_root')

Make a call to the Scaleway API.

salt.cloud.clouds.scaleway.script(server_)

Return the script deployment object.

salt.cloud.clouds.scaleway.show_instance(name, call=None)

Show the details from a Scaleway BareMetal server.

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/clouds/all/salt.cloud.clouds.scaleway.html