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(Boolean async,
String correlationId)
Deletes object.
|
Response |
delete(Host host,
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, 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 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]
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.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]
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 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, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId
- [any string]
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(Host host, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
host
- Host
[host.id|name]
correlationId
- [any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0