use of com.vmware.ops.api.client.controllers.ResourcesClient in project flowgate by vmware.
the class TestVROPS method getHostSystemResources.
public List<ResourceDto> getHostSystemResources() {
ResourcesClient rClient = client.resourcesClient();
ResourceQuery rq = new ResourceQuery();
rq.setAdapterKind(new String[] { "VMWARE" });
rq.setResourceKind(new String[] { "HostSystem" });
return rClient.getResources(rq, null).getResourceList();
}
Aggregations