Learn R Programming

paws.compute (version 0.7.0)

lightsail_create_disk_snapshot: 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 (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 (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 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.