Package org.ovirt.engine.sdk4.services
Interface StorageServerConnectionService.UpdateRequest
-
- All Superinterfaces:
Request<StorageServerConnectionService.UpdateRequest,StorageServerConnectionService.UpdateResponse>
- Enclosing interface:
- StorageServerConnectionService
public static interface StorageServerConnectionService.UpdateRequest extends Request<StorageServerConnectionService.UpdateRequest,StorageServerConnectionService.UpdateResponse>
Updates the storage connection. For example, to change the address of an NFS storage server, send a request like this: [source,xml] ---- PUT /ovirt-engine/api/storageconnections/123 ---- With a request body like this: [source,xml] ----mynewnfs.example.com ---- To change the connection of an iSCSI storage server, send a request like this: [source,xml] ---- PUT /ovirt-engine/api/storageconnections/123 ---- With a request body like this: [source,xml] ----3260 iqn.2017-01.com.myhost:444
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageServerConnectionService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.StorageServerConnectionService.UpdateRequest
connection(StorageConnectionBuilder connection)
StorageServerConnectionService.UpdateRequest
connection(StorageConnection connection)
StorageServerConnectionService.UpdateRequest
force(Boolean force)
Indicates if the operation should succeed regardless to the relevant storage domain's status (i.e.
-
-
-
Method Detail
-
async
StorageServerConnectionService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
connection
StorageServerConnectionService.UpdateRequest connection(StorageConnection connection)
-
connection
StorageServerConnectionService.UpdateRequest connection(StorageConnectionBuilder connection)
-
force
StorageServerConnectionService.UpdateRequest force(Boolean force)
Indicates if the operation should succeed regardless to the relevant storage domain's status (i.e. updating is also applicable when storage domain's status is not maintenance). This parameter is optional, and the default value is `false`.
-
-