use of org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoReturn in project ovirt-engine by oVirt.
the class JsonRpcIIrsServer method getVmsInfo.
@Override
public GetVmsInfoReturn getVmsInfo(String storagePoolId, String storageDomainId, String[] VMIDList) {
JsonRpcRequest request = new RequestBuilder("StoragePool.getBackedUpVmsInfo").withParameter("storagepoolID", storagePoolId).withParameter("storagedomainID", storageDomainId).withParameter("vmList", new ArrayList<>(Arrays.asList(VMIDList))).build();
Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("vmlist");
return new GetVmsInfoReturn(response);
}
Aggregations