Creates a snapshot of a block storage disk
Source:R/lightsail_operations.R
lightsail_create_disk_snapshot.RdCreates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.
See https://www.paws-r-sdk.com/docs/lightsail_create_disk_snapshot/ for full documentation.
Usage
lightsail_create_disk_snapshot(
diskName = NULL,
diskSnapshotName,
instanceName = NULL,
tags = NULL
)Arguments
- diskName
The unique name of the source disk (
Disk-Virginia-1).This parameter cannot be defined together with the
instance nameparameter. Thedisk nameandinstance nameparameters are mutually exclusive.- diskSnapshotName
[required] The name of the destination disk snapshot (
my-disk-snapshot) based on the source disk.- instanceName
The unique name of the source instance (
Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.This parameter cannot be defined together with the
disk nameparameter. Theinstance nameanddisk nameparameters are mutually exclusive.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.