Home > Applications & Tools, vSphere API > Announcing DoubleCloud REST APIs for vSphere 1.5: Filtering Large Scale vCenter Environments

Announcing DoubleCloud REST APIs for vSphere 1.5: Filtering Large Scale vCenter Environments

December 11th, 2017 Leave a comment Go to comments

After the first release of the REST API, we got many downloads and questions. That has motivated us to speed up development of new features and bug fixes more than anything else. Many thanks to our awesome community!

Today we’re proud to announce the version 1.5, which includes a very important new feature when working with large scale of vSphere environments.

Time to learn how to "Google" and manage your VMware and clouds in a fast and secure

HTML5 App

In the first release, you can list all the entities from all the vCenter servers. If you have large environments, the number of resources can be pretty big. That means more time to retrieve these, which are mostly not used in the end.

To solve this problem, we have added filtering feature which allows callers to specifies the root node from which the resources are retrieved. Here is a quick example:

http://localhost:8080/api/VirtualMachine?root=10.18.18.20:group-v123

The URL will retrieve all the virtual machine only under the vm Folder resource identified by group-123 at the vCenter server 10.18.18.20. This retrieval is recursive, meaning if the VM folder has sub folders with VMs, it will get them all.

You can omit the ID by providing only the IP or FQDN of the vCenter server as follows:

http://localhost:8080/api/VirtualMachine?root=10.18.18.20

This URL will retrieve all the virtual machine resources in the vCenter or ESXi whose IP is 10.18.18.20.

This powerful filtering allows you to scope down only these entities in which you are interested.

Even more powerful is that you can specify multiple roots in one URL as follows:

http://localhost:8080/api/VirtualMachine?root=10.18.18.20:group-v123&root=vCenter02:datacenter-02

You will get all the virtual machines from two vCenter server. The design of the filter is flexible, so you can also get all virtual machines from multiple VM folders from same vCenter server.

With this filtering feature, you will have better control over the retrieval of resources from large vSphere environments.

To download the API, visit http://www.doublecloud.net/downloads.php

  1. Tiku Desai
    February 28th, 2018 at 00:31 | #1

    Cloud is one of the most needed aspect in IT that is growing amongst startups as well as for large organization. I recommend DevOpsTech Solution for unique consultancy for Cloud Computing.

  1. No trackbacks yet.