Values.CreateDiskRequestSourceCreates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a). The create disk operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
type nonrec t = {diskName : ResourceName.t;The unique Lightsail disk name (my-disk).
*)availabilityZone : NonEmptyString.t;The Availability Zone where you want to create the disk (us-east-2a). Use the same Availability Zone as the Lightsail instance to which you want to attach the disk. Use the get regions operation to list the Availability Zones where Lightsail is currently available.
*)sizeInGb : Integer.t;The size of the disk in GB (32).
*)addOns : AddOnRequestList.t option;An array of objects that represent the add-ons to enable for the new disk.
*)}val make :
?tags:??? ->
?addOns:??? ->
diskName:ResourceName.t ->
availabilityZone:NonEmptyString.t ->
sizeInGb:Integer.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of TagKey.t
| `Structure of (string * [> `String of TimeOfDay.t ]) list ])
list ]
list
| `String of ResourceName.t ])
list ]