Snapshot
Snapshots provide a way to get point-in-time recovery for your Compute instance.
get-snapshot
Retrieve Snapshot details
GET /snapshot/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Snapshot IDname(string): Snapshot namecreated-at(string): Snapshot creation datestate(string): Snapshot statesize(integer): Snapshot size in GiBexport(object): Exported snapshot information - schema detailsinstance(object): Instance - schema detailsapplication-consistent(boolean): Indicates whether the snapshot was taken using an application-consistent method
SDK reference for get-snapshot: golang | Python | Java
CLI: exo api get-snapshot
delete-snapshot
Delete a Snapshot
DELETE /snapshot/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-snapshot: golang | Python | Java
CLI: exo api delete-snapshot
Other Operations
export-snapshot
Export a Snapshot
POST /snapshot/{id}:exportPath parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for export-snapshot: golang | Python | Java
CLI: exo api export-snapshot
promote-snapshot-to-template
Promote a Snapshot to a Template
POST /snapshot/{id}:promotePath parameters
idinpath(required)
Request body
application/jsonname(required) (string): Template namedescription(string): Template descriptiondefault-user(string): Template default userssh-key-enabled(boolean): Enable SSH key-based login in the templatepassword-enabled(boolean): Enable password-based login in the template
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for promote-snapshot-to-template: golang | Python | Java
CLI: exo api promote-snapshot-to-template
list-snapshots
List Snapshots
GET /snapshotResponses
200: 200application/jsonsnapshots(array[object]) - schema details
SDK reference for list-snapshots: golang | Python | Java
CLI: exo api list-snapshots
Last updated on