lightsail_create_disk: Creates a block storage disk that can be attached to an...

View source: R/lightsail_operations.R

lightsail_create_diskR Documentation

Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a)

Description

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.

Usage

lightsail_create_disk(
  diskName,
  availabilityZone,
  sizeInGb,
  tags = NULL,
  addOns = NULL
)

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 regions⁠ operation to list the Availability Zones where Lightsail is currently available.

sizeInGb

[required] The size of the disk in GB (32).

tags

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.

addOns

An array of objects that represent the add-ons to enable for the new disk.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.