View source: R/lightsail_operations.R
lightsail_create_disk_from_snapshot | R Documentation |
Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk 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_from_snapshot/ for full documentation.
lightsail_create_disk_from_snapshot(
diskName,
diskSnapshotName = NULL,
availabilityZone,
sizeInGb,
tags = NULL,
addOns = NULL,
sourceDiskName = NULL,
restoreDate = NULL,
useLatestRestorableAutoSnapshot = NULL
)
diskName |
[required] The unique Lightsail disk name ( |
diskSnapshotName |
The name of the disk snapshot ( Constraint:
|
availabilityZone |
[required] The Availability Zone where you want to create the disk ( Use the GetRegions operation to list the Availability Zones where Lightsail is currently available. |
sizeInGb |
[required] The size of the disk in GB ( |
tags |
The tag keys and optional values to add to the resource during create. Use the |
addOns |
An array of objects that represent the add-ons to enable for the new disk. |
sourceDiskName |
The name of the source disk from which the source automatic snapshot was created. Constraints:
|
restoreDate |
The date of the automatic snapshot to use for the new disk. Use the
Constraints:
|
useLatestRestorableAutoSnapshot |
A Boolean value to indicate whether to use the latest available automatic snapshot. Constraints:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.