paws.compute (version 0.1.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.

Usage

lightsail_attach_disk(diskName, instanceName, diskPath)

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).

Request syntax

svc$attach_disk(
  diskName = "string",
  instanceName = "string",
  diskPath = "string"
)

Details

The attach 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.