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,
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.
|
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, setVfsTypegetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic StorageConnection(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic 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.port]
[storage_connection.username]
[storage_connection.password]
[storage_connection.iqn]
[storage_connection.address]
Overload 2:
update the specified nfs
storage connection in the
system
[storage_connection.nfs_timeo]
[storage_connection.nfs_version]
[storage_connection.nfs_retrans]
[storage_connection.address]
[storage_connection.path]
Overload 3:
update the specified vfs
storage connection in the
system
[storage_connection.mount_options]
[storage_connection.vfs_type]
[storage_connection.address]
[storage_connection.path]
Overload 4:
update the specified local
storage connection in the
system
[storage_connection.path]
StorageConnectionorg.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.port]
[storage_connection.username]
[storage_connection.password]
[storage_connection.iqn]
[storage_connection.address]
Overload 2:
update the specified nfs
storage connection in the
system
[storage_connection.nfs_timeo]
[storage_connection.nfs_version]
[storage_connection.nfs_retrans]
[storage_connection.address]
[storage_connection.path]
Overload 3:
update the specified vfs
storage connection in the
system
[storage_connection.mount_options]
[storage_connection.vfs_type]
[storage_connection.address]
[storage_connection.path]
Overload 4:
update the specified local
storage connection in the
system
[storage_connection.path]
correlationId -
[any string]
StorageConnectionorg.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() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.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]
Responseorg.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
correlationId -
[any string]
async -
[true|false]
Responseorg.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]
async -
[true|false]
Responseorg.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]
correlationId -
[any string]
async -
[true|false]
Responseorg.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