Tintri HTTP Python Examples

Tintri HTTP Python Examples

The HTTP Python examples includes code examples on alerts, restoring a snapshot, cloning, failover and failback, statistics collection, replication, snapshots, and VM monitoring. The examples will have to be modified to work in your environment. The table below contains a short description, and a link to the code example.

Description Code Examples
Demonstrates how to clone a VM. CloneVmClient.py
Creates a Tintri VM Snapshot. CreateSnapshotClient.py
Lists VMstore alerts. GetAlertClient.py
Shows how to collect Dashboard and Datastore statistics. GetTintriDashboard.py
Demonstrates how to obtain virtual disk information. GetVirtualDisksClient.py
Shows how to collect VM information. GetVmClient.py
Shows how to collect Tintri VM Snapshot information. GetVmSnapShotClient.py
Shows the VM name and latest snapshot creation time stamp. GetVmSnapshotCreationTime.py
Demonstrates how to configure Tintri replication. Covers creation and deletion. ReplicationConfiguationClient.py
Shows how to create and delete Tintri replication paths. ReplicationpathClient.py
Shows how to restore from a Tintri VM snapshot. RestoreTintriVMClient.py