public class StorageConnection extends StorageConnection
StorageConnection providing relation and functional services
Constructor and Description |
---|
StorageConnection(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Action action)
Deletes object.
|
Response |
delete(Action action,
Boolean async)
Deletes object.
|
Response |
delete(Action action,
Boolean async,
String correlationId)
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
StorageConnection |
update()
Updates StorageConnection object.
|
StorageConnection |
update(String correlationId)
Updates StorageConnection object.
|
StorageConnection |
update(String correlationId,
Boolean async)
Updates StorageConnection object.
|
StorageConnection |
update(String correlationId,
Boolean async,
String expect)
Updates StorageConnection object.
|
getAddress, getHost, getMountOptions, getNfsRetrans, getNfsTimeo, getNfsVersion, getPassword, getPath, getPort, getPortal, getTarget, getType, getUsername, getVfsType, isSetAddress, isSetHost, isSetMountOptions, isSetNfsRetrans, isSetNfsTimeo, isSetNfsVersion, isSetPassword, isSetPath, isSetPort, isSetPortal, isSetTarget, isSetType, isSetUsername, isSetVfsType, setAddress, setHost, setMountOptions, setNfsRetrans, setNfsTimeo, setNfsVersion, setPassword, setPath, setPort, setPortal, setTarget, setType, setUsername, setVfsType
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 StorageConnection(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
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 Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
Response
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 Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
correlationId
- [any string]
Response
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 Response delete(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.host.id|name] [action.async] [action.grace_period.expiry]
Response
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 Response delete(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.host.id|name] [action.async] [action.grace_period.expiry]
async
- [true|false]
Response
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 Response delete(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.host.id|name] [action.async] [action.grace_period.expiry]
async
- [true|false]
correlationId
- [any string]
Response
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 StorageConnection update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnection
- StorageConnection
Overload 1: update the specified iSCSI storage connection in the system [storage_connection.password] [storage_connection.port] [storage_connection.target] [storage_connection.username] Overload 2: update the specified nfs storage connection in the system [storage_connection.address] [storage_connection.nfs_retrans] [storage_connection.nfs_timeo] [storage_connection.nfs_version] [storage_connection.path] Overload 3: update the specified vfs storage connection in the system [storage_connection.address] [storage_connection.mount_options] [storage_connection.path] [storage_connection.vfs_type] Overload 4: update the specified local storage connection in the system [storage_connection.path]
StorageConnection
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 StorageConnection update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnection
- StorageConnection
Overload 1: update the specified iSCSI storage connection in the system [storage_connection.password] [storage_connection.port] [storage_connection.target] [storage_connection.username] Overload 2: update the specified nfs storage connection in the system [storage_connection.address] [storage_connection.nfs_retrans] [storage_connection.nfs_timeo] [storage_connection.nfs_version] [storage_connection.path] Overload 3: update the specified vfs storage connection in the system [storage_connection.address] [storage_connection.mount_options] [storage_connection.path] [storage_connection.vfs_type] Overload 4: update the specified local storage connection in the system [storage_connection.path]
correlationId
- [any string]
StorageConnection
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 StorageConnection update(String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnection
- StorageConnection
Overload 1: update the specified iSCSI storage connection in the system [storage_connection.password] [storage_connection.port] [storage_connection.target] [storage_connection.username] Overload 2: update the specified nfs storage connection in the system [storage_connection.address] [storage_connection.nfs_retrans] [storage_connection.nfs_timeo] [storage_connection.nfs_version] [storage_connection.path] Overload 3: update the specified vfs storage connection in the system [storage_connection.address] [storage_connection.mount_options] [storage_connection.path] [storage_connection.vfs_type] Overload 4: update the specified local storage connection in the system [storage_connection.path]
correlationId
- [any string]
async
- [true|false]
StorageConnection
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 StorageConnection update(String correlationId, Boolean async, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storageconnection
- StorageConnection
Overload 1: update the specified iSCSI storage connection in the system [storage_connection.password] [storage_connection.port] [storage_connection.target] [storage_connection.username] Overload 2: update the specified nfs storage connection in the system [storage_connection.address] [storage_connection.nfs_retrans] [storage_connection.nfs_timeo] [storage_connection.nfs_version] [storage_connection.path] Overload 3: update the specified vfs storage connection in the system [storage_connection.address] [storage_connection.mount_options] [storage_connection.path] [storage_connection.vfs_type] Overload 4: update the specified local storage connection in the system [storage_connection.path]
correlationId
- [any string]
async
- [true|false]
expect
- [202-accepted]
StorageConnection
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