Skip to content

Latest commit

 

History

History
192 lines (99 loc) · 4.74 KB

SnapshotApi.md

File metadata and controls

192 lines (99 loc) · 4.74 KB

\SnapshotApi

All URIs are relative to https://api-ch-gva-2.exoscale.com/v2

Method HTTP request Description
create_snapshot POST /instance/{id}:create-snapshot Create a Snapshot of a Compute instance
delete_snapshot DELETE /snapshot/{id} Delete a Snapshot
export_snapshot POST /snapshot/{id}:export Export a Snapshot
get_snapshot GET /snapshot/{id} Retrieve Snapshot details
list_snapshots GET /snapshot List Snapshots
promote_snapshot_to_template POST /snapshot/{id}:promote Promote a Snapshot to a Template

create_snapshot

models::Operation create_snapshot(id) Create a Snapshot of a Compute instance

Parameters

Name Type Description Required Notes
id uuid::Uuid [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_snapshot

models::Operation delete_snapshot(id) Delete a Snapshot

Parameters

Name Type Description Required Notes
id uuid::Uuid [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

export_snapshot

models::Operation export_snapshot(id) Export a Snapshot

Parameters

Name Type Description Required Notes
id uuid::Uuid [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_snapshot

models::Snapshot get_snapshot(id) Retrieve Snapshot details

Parameters

Name Type Description Required Notes
id uuid::Uuid [required]

Return type

models::Snapshot

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_snapshots

models::ListSnapshots200Response list_snapshots() List Snapshots

Parameters

This endpoint does not need any parameter.

Return type

models::ListSnapshots200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

promote_snapshot_to_template

models::Operation promote_snapshot_to_template(id, promote_snapshot_to_template_request) Promote a Snapshot to a Template

Parameters

Name Type Description Required Notes
id uuid::Uuid [required]
promote_snapshot_to_template_request PromoteSnapshotToTemplateRequest [required]

Return type

models::Operation

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]