The `key` part of the argument handling has to be right after `args`, otherwise you'd get an `AttributeError` when trying to call `encode` on the `args` object.
Signed-off-by: Roland Sommer <rol@ndsommer.de>
This is a short demo of native key provider APIs in the Autpmation SDK.
The demo includes how native key provider can be set as default for the
system using pyvmomi.
Signed-off-by: Kiril Karaatanssov <kkaraatanassov@vmware.com>
This sample shows how to use the appliance `Monitoring` interface.
The sample calls:
1. `Monitoring.list()` API to obtain list of counters.
2. `Monitoring.query()` API to obtain CPU and Memory statistics for the
last few days
Signed-off-by: Kiril Karaataassov <kkaraatanassov@vmware.com>
updated Health appliance sample
cleaned up health appliance sample
Signed-off-by: aspurohit <spurohit@vmware.com>
Removed unused objects
Signed-off-by: aspurohit <spurohit@vmware.com>
modified as per sample_template_basic
updated as per review comments
updated the sample as per review comments
updated the sample as per import standards
There is an bug in the catch block where the exception didn't get
re-raised when cleanup is false. When something goes wrong, it's better
to leave the setup as is for dubugging. Thus removing the try/catch.
Signed-off-by: Tianhao He <het@vmware.com>
Updated VMware Cloud on AWS Console API bindings
Updated VMware Cloud on AWS SDDC API bindings
Added Compute Policy API bindings
Add compute Policy API samples
Remove doc folder. The API specs are hosted on gh-pages branch now. The API doc links can be found on the main README.
Signed-off-by: het <het@vmware.com>
* Support VMware Cloud on AWS Networking APIs and add a few samples.
* Added vsphere_client module to simplify login and API invocation.
* Modified existing samples to use vsphere_client.
* Update on vm template APIs.
Signed-off-by: Tianhao He <het@vmware.com>
Make the sso.py python3 compatible.
Add acquire token by token support.
Add hok token support.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
1. Updated bindings for vSphere 6.6.1 release for VMware Cloud 1.1
2. Update password and remove IP from testbed.py
3. Package vSphere Automation runtime and bindings in wheel format.
4. Update travis test commend.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>