public class StorageDomainDiskProfiles extends CollectionDecorator<DiskProfile,DiskProfiles,StorageDomainDiskProfile>
StorageDomainDiskProfiles providing relation and functional services
to DiskProfiles.
| Constructor and Description |
|---|
StorageDomainDiskProfiles(HttpProxyBroker proxy,
StorageDomain parent) |
| Modifier and Type | Method and Description |
|---|---|
StorageDomainDiskProfile |
add(DiskProfile diskprofile)
Adds DiskProfile object.
|
StorageDomainDiskProfile |
add(DiskProfile diskprofile,
String expect)
Adds DiskProfile object.
|
StorageDomainDiskProfile |
add(DiskProfile diskprofile,
String expect,
String correlationId)
Adds DiskProfile object.
|
StorageDomainDiskProfile |
get(UUID id)
Fetches StorageDomainDiskProfile object by id.
|
StorageDomainDiskProfile |
getById(String id)
Fetches StorageDomainDiskProfile object by id.
|
List<StorageDomainDiskProfile> |
list()
Lists StorageDomainDiskProfile objects.
|
List<StorageDomainDiskProfile> |
list(Integer max)
Lists StorageDomainDiskProfile objects.
|
getpublic StorageDomainDiskProfiles(HttpProxyBroker proxy, StorageDomain parent)
proxy - HttpProxyBrokerparent - StorageDomainpublic List<StorageDomainDiskProfile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<DiskProfile,DiskProfiles,StorageDomainDiskProfile>StorageDomainDiskProfileorg.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 StorageDomainDiskProfile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<DiskProfile,DiskProfiles,StorageDomainDiskProfile>id - entity idStorageDomainDiskProfileorg.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 StorageDomainDiskProfile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<DiskProfile,DiskProfiles,StorageDomainDiskProfile>id - entity idStorageDomainDiskProfileorg.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<StorageDomainDiskProfile> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
StorageDomainDiskProfileorg.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 StorageDomainDiskProfile add(DiskProfile diskprofile) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
diskprofile - DiskProfile
diskprofile.name
[diskprofile.description]
[diskprofile.qos.id]
StorageDomainDiskProfileorg.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 StorageDomainDiskProfile add(DiskProfile diskprofile, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
diskprofile - DiskProfile
diskprofile.name
[diskprofile.description]
[diskprofile.qos.id]
expect -
[201-created]
StorageDomainDiskProfileorg.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 StorageDomainDiskProfile add(DiskProfile diskprofile, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
diskprofile - DiskProfile
diskprofile.name
[diskprofile.description]
[diskprofile.qos.id]
expect -
[201-created]
correlationId -
[any string]
StorageDomainDiskProfileorg.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