Skip to content

Commit a8ef3b1

Browse files
authored
docs(instance): change server terminate documentation (scaleway#2232)
1 parent 2958268 commit a8ef3b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4576,12 +4576,11 @@ func (s *API) ListServerActions(req *ListServerActionsRequest, opts ...scw.Reque
45764576
// * `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor.
45774577
// * `reboot`: Stop the instance and restart it.
45784578
// * `backup`: Create an image with all the volumes of an Instance.
4579-
// * `terminate`: Delete the Instance along with all attached volumes.
4579+
// * `terminate`: Delete the Instance along with its attached volumes, except for SBS volumes.
45804580
// * `enable_routed_ip`: Migrate the Instance to the new network stack.
45814581
//
4582-
// Keep in mind that terminating an Instance will result in the deletion of all attached volumes, including local and block storage.
4583-
// 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.
4584-
// For more information, read the [Volumes](#path-volumes-list-volumes) documentation.
4582+
// 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.
4583+
// If you want to preserve your volumes, you should detach them before the Instance deletion or `terminate` action.
45854584
func (s *API) ServerAction(req *ServerActionRequest, opts ...scw.RequestOption) (*ServerActionResponse, error) {
45864585
var err error
45874586

0 commit comments

Comments
 (0)