Skip to content

AttachDiskRequest

Source code in docs_src/capo_lightsail/types/attach_disk_request.py
class AttachDiskRequest(TypedDict, closed=True):
    disk_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The unique Lightsail disk name (<code>my-disk</code>).</p>"""
    instance_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the Lightsail instance where you want to utilize the storage disk.</p>"""
    disk_path: "capo_lightsail.types.non_empty_string.NonEmptyString"
    """<p>The disk path to expose to the instance (<code>/dev/xvdf</code>).</p>"""
    auto_mounting: NotRequired["capo_lightsail.types.boolean.boolean"]
    """<p>A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value is <code>False</code>.</p> <important> <p>This value only applies to Lightsail for Research resources.</p> </important>"""

auto_mounting instance-attribute

auto_mounting: NotRequired[boolean]

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.

disk_name instance-attribute

disk_name: ResourceName

The unique Lightsail disk name (my-disk).

disk_path instance-attribute

disk_path: NonEmptyString

The disk path to expose to the instance (/dev/xvdf).

instance_name instance-attribute

instance_name: ResourceName

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