https://github.com/pierrer/vcloudapi
https://github.com/pierrer/vcloudapi
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pierrer/vcloudapi
- Owner: PierreR
- License: bsd-3-clause
- Created: 2015-12-22T15:36:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-24T10:24:09.000Z (over 10 years ago)
- Last Synced: 2025-02-17T19:52:41.961Z (over 1 year ago)
- Language: Haskell
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= vCloudApi
image:https://travis-ci.org/PierreR/vCloudApi.svg?branch=master ["Build Status", link="https://travis-ci.org/PierreR/vCloudApi"]
.Basic usage:
```
vcloud [--zone ARG] --vm ARG --action ARG
```
.Example:
```
vcloud --vm pgserver --action createSnapshot
```
with a configuration file `.env`:
```
url : "https://vcloud.com"
user : "user@dcr"
pass : pass
appId : x1zz1ecb-af39-41d3-ac9c-21deecb4e33b
```
=== Supported actions
- revertToCurrentSnapshot
- createSnapshot
=== Notes
- The executable only queries within one vApp. To query multiple vApps you will need to define multiple .env-$zone file.