Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions scaleway-async/scaleway_async/instance/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,12 +931,11 @@ async def server_action(
* `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor.
* `reboot`: Stop the instance and restart it.
* `backup`: Create an image with all the volumes of an Instance.
* `terminate`: Delete the Instance along with all attached volumes.
* `terminate`: Delete the Instance along with its attached volumes, except for SBS volumes.
* `enable_routed_ip`: Migrate the Instance to the new network stack.

Keep in mind that terminating an Instance will result in the deletion of all attached volumes, including local and block storage.
If you want to preserve your local volumes, you should use the `archive` action instead of `terminate`. Similarly, if you want to keep your block storage volumes, you must first detach them before issuing the `terminate` command.
For more information, read the [Volumes](#path-volumes-list-volumes) documentation.
Keep in mind that `terminate` an Instance will result in the deletion of `l_ssd`, `b_ssd` and `scratch` volumes types, `sbs_volume` volumes type will only be detached.
If you want to preserve your volumes, you should detach them before the Instance deletion or `terminate` action.
:param server_id: UUID of the Instance.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param action: Action to perform on the Instance.
Expand Down
7 changes: 3 additions & 4 deletions scaleway/scaleway/instance/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,12 +931,11 @@ def server_action(
* `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor.
* `reboot`: Stop the instance and restart it.
* `backup`: Create an image with all the volumes of an Instance.
* `terminate`: Delete the Instance along with all attached volumes.
* `terminate`: Delete the Instance along with its attached volumes, except for SBS volumes.
* `enable_routed_ip`: Migrate the Instance to the new network stack.

Keep in mind that terminating an Instance will result in the deletion of all attached volumes, including local and block storage.
If you want to preserve your local volumes, you should use the `archive` action instead of `terminate`. Similarly, if you want to keep your block storage volumes, you must first detach them before issuing the `terminate` command.
For more information, read the [Volumes](#path-volumes-list-volumes) documentation.
Keep in mind that `terminate` an Instance will result in the deletion of `l_ssd`, `b_ssd` and `scratch` volumes types, `sbs_volume` volumes type will only be detached.
If you want to preserve your volumes, you should detach them before the Instance deletion or `terminate` action.
:param server_id: UUID of the Instance.
:param zone: Zone to target. If none is passed will use default zone from the config.
:param action: Action to perform on the Instance.
Expand Down