Constructor and Description |
---|
StorageDomainImage(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
importImage(Action action)
Performs importImage action.
|
Action |
importImage(Action action,
Boolean async)
Performs importImage action.
|
Action |
importImage(Action action,
Boolean async,
String correlationId)
Performs importImage action.
|
getStorageDomain, isSetStorageDomain, setStorageDomain
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public StorageDomainImage(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic Action importImage(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [action.import_as_template] [action.cluster.id|name] [action.disk.alias|name] [action.async] [action.grace_period.expiry]
Action
org.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 Action importImage(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [action.import_as_template] [action.cluster.id|name] [action.disk.alias|name] [action.async] [action.grace_period.expiry]
async
- [true|false]
Action
org.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 Action importImage(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [action.import_as_template] [action.cluster.id|name] [action.disk.alias|name] [action.async] [action.grace_period.expiry]
async
- [true|false]
correlationId
- [any string]
Action
org.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