Module scaleway_api_rs::apis::servers_api
source · Enums
- struct for typed errors of method
add_option_server
- struct for typed errors of method
create_server1
- struct for typed errors of method
create_server
- struct for typed errors of method
delete_option_server
- struct for typed errors of method
delete_server1
- struct for typed errors of method
delete_server
- struct for typed errors of method
get_server1
- struct for typed errors of method
get_server
- struct for typed errors of method
get_server_metrics
- struct for typed errors of method
install_server
- struct for typed errors of method
list_server_actions
- struct for typed errors of method
list_server_events
- struct for typed errors of method
list_servers1
- struct for typed errors of method
list_servers
- struct for typed errors of method
server_action
- struct for typed errors of method
update_ip
- struct for typed errors of method
update_server1
- struct for typed errors of method
update_server
Functions
- Add an option to a specific server.
- Create a new elastic metal server. Once the server is created, you probably want to install an OS.
- The
volumes
key is a dictionary composed of the volume position as key and the volume parameters as value. Depending of the volume parameters, you can achieve different behaviours : Create a volume from a snapshot of an image : Optional :volume_type
,size
,boot
. If thesize
parameter is not set, the size of the volume will equal the size of the corresponding snapshot of the image. Attach an existing volume : Required :id
,name
. Optional :boot
. Create an empty volume : Required :name
,volume_type
,size
. Optional :organization
,project
,boot
. Create a volume from a snapshot : Required :base_snapshot
,name
,volume_type
. Optional :organization
,project
,boot
. - Delete an option from a specific server.
- Delete the server associated with the given ID.
- Delete a server with the given ID.
- Get the server associated with the given ID.
- Get the details of a specified Server.
- Give the ping status on the server associated with the given ID.
- Install an OS on the server associated with the given ID.
- List all actions that can currently be performed on a server.
- List events associated to the given server ID.
- List elastic metal servers for organization.
- Perform power related actions on a server. Be wary that when terminating a server, all the attached volumes (local and block storage) are deleted. So, if you want to keep your local volumes, you must use the
archive
action instead ofterminate
. And if you want to keep block-storage volumes, you must detach it beforehand you issue theterminate
call. For more information, read the Volumes documentation. - Configure ip associated with the given server ID and ipID. You can use this method to set a reverse dns for an IP.
- Update the server associated with the given ID.