Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a
).
See https://www.paws-r-sdk.com/docs/lightsail_create_disk/ for full documentation.
lightsail_create_disk(
diskName,
availabilityZone,
sizeInGb,
tags = NULL,
addOns = NULL
)
[required] The unique Lightsail disk name (my-disk
).
[required] 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.
[required] The size of the disk in GB (32
).
The tag keys and optional values to add to the resource during create.
Use the tag_resource
action to tag a
resource after it's created.
An array of objects that represent the add-ons to enable for the new disk.