Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
See https://www.paws-r-sdk.com/docs/lightsail_attach_disk/ for full documentation.
lightsail_attach_disk(diskName, instanceName, diskPath, autoMounting = NULL)
[required] The unique Lightsail disk name (my-disk
).
[required] The name of the Lightsail instance where you want to utilize the storage disk.
[required] The disk path to expose to the instance (/dev/xvdf
).
A Boolean value used to determine the automatic mounting of a storage
volume to a virtual computer. The default value is False
.
This value only applies to Lightsail for Research resources.