Module Values.AttachDiskRequestSource

Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name. The attach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.

Sourcetype nonrec t = {
  1. diskName : ResourceName.t;
    (*

    The unique Lightsail disk name (my-disk).

    *)
  2. instanceName : ResourceName.t;
    (*

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

    *)
  3. diskPath : NonEmptyString.t;
    (*

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

    *)
  4. autoMounting : Boolean.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?autoMounting:??? -> diskName:ResourceName.t -> instanceName:ResourceName.t -> diskPath:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of ResourceName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t