Package org.ovirt.engine.sdk4.services
Interface GlusterVolumesService.AddRequest
-
- All Superinterfaces:
Request<GlusterVolumesService.AddRequest,GlusterVolumesService.AddResponse>
- Enclosing interface:
- GlusterVolumesService
public static interface GlusterVolumesService.AddRequest extends Request<GlusterVolumesService.AddRequest,GlusterVolumesService.AddResponse>
Creates a new gluster volume. The volume is created based on properties of the `volume` parameter. The properties `name`, `volume_type` and `bricks` are required. For example, to add a volume with name `myvolume` to the cluster `123`, send the following request: [source] ---- POST /ovirt-engine/api/clusters/123/glustervolumes ---- With the following request body: [source,xml] ----myvolume replicate 3 server1 /exp1 server2 /exp1 server3 /exp1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlusterVolumesService.AddRequest
volume(GlusterVolumeBuilder volume)
The gluster volume definition from which to create the volume is passed as input and the newly created volume is returned.GlusterVolumesService.AddRequest
volume(GlusterVolume volume)
-
-
-
Method Detail
-
volume
GlusterVolumesService.AddRequest volume(GlusterVolume volume)
-
volume
GlusterVolumesService.AddRequest volume(GlusterVolumeBuilder volume)
The gluster volume definition from which to create the volume is passed as input and the newly created volume is returned.
-
-