Module Values.DeleteDiskRequestSource

Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance). The disk may remain in the deleting state for several minutes. The delete 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 name of the disk you want to delete (my-disk).

    *)
  2. forceDeleteAddOns : Boolean.t option;
    (*

    A Boolean value to indicate whether to delete all add-ons for the disk.

    *)
}
Sourceval context_ : string
Sourceval make : ?forceDeleteAddOns:??? -> diskName:ResourceName.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