Snapshots REST Endpoints

Snapshots
Instance snapshots provide an easy way to create a customized machine image using an existing instance as a template. You can then use this customized machine image to create multiple instances with identical configurations. To clone an instance using an instance snapshot, first create an instance using an appropriate machine image. This instance must use a nonpersistent boot volume. Deleting an instance shuts off and deletes the virtual machine (VM), destroying all customizations made since launch. To preserve the changes made to a VM after launch, create a new machine image of the modified VM by taking a snapshot of the instance. Add this new machine image to an image list, and then use it to create a new instance.

You can create, delete, and view snapshots of an instance using the HTTP requests listed below.

Create an Instance Snapshot
Method: post
Path: /snapshot/
Delete an Instance Snapshot
Method: delete
Path: /snapshot/{name}
Retrieve Details of all Instance Snapshots in a Container
Method: get
Path: /snapshot/{container}/
Retrieve Details of an Instance Snapshot
Method: get
Path: /snapshot/{name}
Retrieve Names of all Instance Snapshots and Subcontainers in a Container
Method: get
Path: /snapshot/{container}
Retrieve Names of Containers
Method: get
Path: /snapshot/