Snapshots
List Snapshots
GET
https://$(tvm_address):8780/v1/$(tenant_id)/snapshots
Lists all Snapshots.
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of the Tenant/Projects to fetch the Snapshots from |
Query Parameters
Name | Type | Description |
---|---|---|
host | string | host name of the TVM that took the Snapshot |
workload_id | string | ID of the Workload to list the Snapshots off |
date_from | string | starting date of Snapshots to show \ Format: YYYY-MM-DDTHH:MM:SS |
string | ending date of Snapshots to show \ Format: YYYY-MM-DDTHH:MM:SS | |
all | boolean | admin role required - True lists all Snapshots of all Workloads |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | project to run the authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Take Snapshot
POST
https://$(tvm_address):8780/v1/$(tenant_id)/workloads/<workload_id>
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of the Trilio Service |
tenant_id | string | ID of the Tenant/Project to take the Snapshot in |
workload_id | string | ID of the Workload to take the Snapshot in |
Query Parameters
Name | Type | Description |
---|---|---|
full | boolean | True creates a full Snapshot |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run authentication against |
X-Auth-Token | string | Authentication token to use |
Content-Type | string | application/json |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Body format
When creating a Snapshot it is possible to provide additional information
This Body is completely optional
Show Snapshot
GET
https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/<snapshot_id>
Shows the details of a specified Snapshot
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of the Trilio Service |
tenant_id | string | ID of the Tenant/Project to take the Snapshot from |
snapshot_id | string | ID of the Snapshot to show |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Delete Snapshot
DELETE
https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/<snapshot_id>
Deletes a specified Snapshot
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of the Tenant/Project to find the Snapshot in |
snapshot_id | string | ID of the Snapshot to delete |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Cancel Snapshot
GET
https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/<snapshot_id>/cancel
Cancels the Snapshot process of a given Snapshot
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio service |
tenant_id | string | ID of the Tenant/Project to find the Snapshot in |
snapshot_id | string | ID of the Snapshot to cancel |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Last updated