paws.compute (version 0.5.0)

lightsail_attach_disk: Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name

Description

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.

Usage

lightsail_attach_disk(diskName, instanceName, diskPath, autoMounting = NULL)

Arguments

diskName

[required] The unique Lightsail disk name (e.g., my-disk).

instanceName

[required] The name of the Lightsail instance where you want to utilize the storage disk.

diskPath

[required] The disk path to expose to the instance (e.g., /dev/xvdf).

autoMounting

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.