lightsail_create_disk_snapshot: Creates a snapshot of a block storage disk

View source: R/lightsail_operations.R

lightsail_create_disk_snapshotR Documentation

Creates a snapshot of a block storage disk

Description

Creates 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 (e.g., Disk-Virginia-1).

This parameter cannot be defined together with the ⁠instance name⁠ parameter. The ⁠disk name⁠ and ⁠instance name⁠ parameters are mutually exclusive.

diskSnapshotName

[required] The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

instanceName

The unique name of the source instance (e.g., ⁠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 name⁠ parameter. The ⁠instance name⁠ and ⁠disk name⁠ parameters are mutually exclusive.

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.