Package org.ovirt.engine.sdk4.services
Interface GlusterBricksService.RemoveRequest
-
- All Superinterfaces:
Request<GlusterBricksService.RemoveRequest,GlusterBricksService.RemoveResponse>
- Enclosing interface:
- GlusterBricksService
public static interface GlusterBricksService.RemoveRequest extends Request<GlusterBricksService.RemoveRequest,GlusterBricksService.RemoveResponse>
Removes bricks from gluster volume. The recommended way to remove bricks without data loss is to first migrate the data using <> and then removing them. If migrate was not called on bricks prior to remove, the bricks are removed without data migration which may lead to data loss. For example, to delete the bricks from gluster volume `123`, send a request like this: [source] ---- DELETE /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks ---- With a request body like this: [source,xml] ---- host:brick_directory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlusterBricksService.RemoveRequest
async(Boolean async)
Indicates if the remove should be performed asynchronously.GlusterBricksService.RemoveRequest
bricks(List<GlusterBrick> bricks)
GlusterBricksService.RemoveRequest
bricks(GlusterBrickBuilder... bricks)
The list of bricks to be removedGlusterBricksService.RemoveRequest
bricks(GlusterBrick... bricks)
The list of bricks to be removedGlusterBricksService.RemoveRequest
replicaCount(Integer replicaCount)
Replica count of volume post add operation.GlusterBricksService.RemoveRequest
replicaCount(Long replicaCount)
Replica count of volume post add operation.GlusterBricksService.RemoveRequest
replicaCount(BigInteger replicaCount)
Replica count of volume post add operation.
-
-
-
Method Detail
-
async
GlusterBricksService.RemoveRequest async(Boolean async)
Indicates if the remove should be performed asynchronously.
-
bricks
GlusterBricksService.RemoveRequest bricks(List<GlusterBrick> bricks)
-
bricks
GlusterBricksService.RemoveRequest bricks(GlusterBrick... bricks)
The list of bricks to be removed
-
bricks
GlusterBricksService.RemoveRequest bricks(GlusterBrickBuilder... bricks)
The list of bricks to be removed
-
replicaCount
GlusterBricksService.RemoveRequest replicaCount(Integer replicaCount)
Replica count of volume post add operation.
-
replicaCount
GlusterBricksService.RemoveRequest replicaCount(Long replicaCount)
Replica count of volume post add operation.
-
replicaCount
GlusterBricksService.RemoveRequest replicaCount(BigInteger replicaCount)
Replica count of volume post add operation.
-
-