Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a)
Source:R/lightsail_operations.R
lightsail_create_disk.RdCreates 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.
Arguments
- diskName
[required] The unique Lightsail disk name (
my-disk).- availabilityZone
[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 regionsoperation to list the Availability Zones where Lightsail is currently available.- sizeInGb
[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_resourceaction to tag a resource after it's created.- addOns
An array of objects that represent the add-ons to enable for the new disk.