public class DataCenterClusterAffinityGroupVMs extends CollectionDecorator<VM,VMs,DataCenterClusterAffinityGroupVM>
DataCenterClusterAffinityGroupVMs providing relation and functional services
to VMs.
| Constructor and Description |
|---|
DataCenterClusterAffinityGroupVMs(HttpProxyBroker proxy,
DataCenterClusterAffinityGroup parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterClusterAffinityGroupVM |
add(VM vm)
Adds VM object.
|
DataCenterClusterAffinityGroupVM |
get(UUID id)
Fetches DataCenterClusterAffinityGroupVM object by id.
|
DataCenterClusterAffinityGroupVM |
getById(String id)
Fetches DataCenterClusterAffinityGroupVM object by id.
|
List<DataCenterClusterAffinityGroupVM> |
list()
Lists DataCenterClusterAffinityGroupVM objects.
|
getpublic DataCenterClusterAffinityGroupVMs(HttpProxyBroker proxy, DataCenterClusterAffinityGroup parent)
proxy - HttpProxyBrokerparent - DataCenterClusterAffinityGrouppublic List<DataCenterClusterAffinityGroupVM> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<VM,VMs,DataCenterClusterAffinityGroupVM>DataCenterClusterAffinityGroupVMorg.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 DataCenterClusterAffinityGroupVM get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<VM,VMs,DataCenterClusterAffinityGroupVM>id - entity idDataCenterClusterAffinityGroupVMorg.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 DataCenterClusterAffinityGroupVM getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<VM,VMs,DataCenterClusterAffinityGroupVM>id - entity idDataCenterClusterAffinityGroupVMorg.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 DataCenterClusterAffinityGroupVM add(VM vm) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vm - VMDataCenterClusterAffinityGroupVMorg.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