Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.
lightsail_detach_disk(diskName)
[required] The unique name of the disk you want to detach from your instance (e.g.,
my-disk
).
svc$detach_disk( diskName = "string" )
The detach disk
operation supports tag-based access control via
resource tags applied to the resource identified by diskName. For more
information, see the Lightsail Dev Guide.