Package org.ovirt.engine.sdk4.services
Interface GlusterVolumesService.AddResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- GlusterVolumesService
public static interface GlusterVolumesService.AddResponse extends Response
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 GlusterVolume
volume()
The gluster volume definition from which to create the volume is passed as input and the newly created volume is returned.
-
-
-
Method Detail
-
volume
GlusterVolume volume()
The gluster volume definition from which to create the volume is passed as input and the newly created volume is returned.
-
-