Learn R Programming

paws.compute (version 0.1.12)

lightsail_get_auto_snapshots: Returns the available automatic snapshots for an instance or disk

Description

Returns the available automatic snapshots for an instance or disk. For more information, see the Lightsail Dev Guide.

Usage

lightsail_get_auto_snapshots(resourceName)

Value

A list with the following syntax:

list(
  resourceName = "string",
  resourceType = "ContainerService"|"Instance"|"StaticIp"|"KeyPair"|"InstanceSnapshot"|"Domain"|"PeeredVpc"|"LoadBalancer"|"LoadBalancerTlsCertificate"|"Disk"|"DiskSnapshot"|"RelationalDatabase"|"RelationalDatabaseSnapshot"|"ExportSnapshotRecord"|"CloudFormationStackRecord"|"Alarm"|"ContactMethod"|"Distribution"|"Certificate",
  autoSnapshots = list(
    list(
      date = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      status = "Success"|"Failed"|"InProgress"|"NotFound",
      fromAttachedDisks = list(
        list(
          path = "string",
          sizeInGb = 123
        )
      )
    )
  )
)

Arguments

resourceName

[required] The name of the source instance or disk from which to get automatic snapshot information.

Request syntax

svc$get_auto_snapshots(
  resourceName = "string"
)