public class StorageDomainVMs extends CollectionDecorator<VM,VMs,StorageDomainVM>
StorageDomainVMs providing relation and functional services
to VMs.
| Constructor and Description |
|---|
StorageDomainVMs(HttpProxyBroker proxy,
StorageDomain parent) |
| Modifier and Type | Method and Description |
|---|---|
StorageDomainVM |
get(UUID id)
Fetches StorageDomainVM object by id.
|
StorageDomainVM |
getById(String id)
Fetches StorageDomainVM object by id.
|
List<StorageDomainVM> |
list()
Lists StorageDomainVM objects.
|
List<StorageDomainVM> |
list(Integer max,
Boolean unregistered)
Lists StorageDomainVM objects.
|
getpublic StorageDomainVMs(HttpProxyBroker proxy, StorageDomain parent)
proxy - HttpProxyBrokerparent - StorageDomainpublic List<StorageDomainVM> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<VM,VMs,StorageDomainVM>StorageDomainVMorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public StorageDomainVM get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<VM,VMs,StorageDomainVM>id - entity idStorageDomainVMorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public StorageDomainVM getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<VM,VMs,StorageDomainVM>id - entity idStorageDomainVMorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public List<StorageDomainVM> list(Integer max, Boolean unregistered) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
unregistered -
[true|false]
StorageDomainVMorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0