| Modifier and Type | Method and Description | 
|---|---|
AsyncCreateResponse | 
attachVolume(String volumeId,
            String virtualMachineId)
Attaches a disk volume to a virtual machine. 
 | 
AsyncCreateResponse | 
createVolumeFromCustomDiskOfferingInZone(String name,
                                        String diskOfferingId,
                                        String zoneId,
                                        int size)
Create a volume with given name, size and diskOfferingId 
 | 
AsyncCreateResponse | 
createVolumeFromDiskOfferingInZone(String name,
                                  String diskOfferingId,
                                  String zoneId)
Create a volume with given name and diskOfferingId 
 | 
AsyncCreateResponse | 
createVolumeFromSnapshotInZone(String name,
                              String snapshotId,
                              String zoneId)
Create a volume with given name and snapshotId 
 | 
void | 
deleteVolume(String id)
Deletes a attached disk volume 
 | 
AsyncCreateResponse | 
detachVolume(String volumeId)
Detaches a disk volume to a virtual machine. 
 | 
Volume | 
getVolume(String id)
Get volume by id 
 | 
Set<Volume> | 
listVolumes(ListVolumesOptions... options)
List volumes 
 | 
AsyncCreateResponse createVolumeFromDiskOfferingInZone(String name, String diskOfferingId, String zoneId)
name - name of the volumediskOfferingId - the ID of the disk offering.zoneId - the ID of the availability zoneAsyncCreateResponse createVolumeFromCustomDiskOfferingInZone(String name, String diskOfferingId, String zoneId, int size)
name - name of the volumediskOfferingId - the ID of the disk offering (the offering should have the custom disk size flag set)zoneId - the ID of the availability zonesize - the size of volume required (in GB)AsyncCreateResponse createVolumeFromSnapshotInZone(String name, String snapshotId, String zoneId)
name - name of the volumesnapshotId - Snapshot id to be used while creating the volumezoneId - the ID of the availability zoneSet<Volume> listVolumes(ListVolumesOptions... options)
Volume getVolume(String id)
id - the volume id to retrievevoid deleteVolume(String id)
id - id of the volumeAsyncCreateResponse attachVolume(String volumeId, String virtualMachineId)
volumeId - the ID of the disk volumevirtualMachineId - the ID of the virtual machineAsyncCreateResponse detachVolume(String volumeId)
volumeId - the ID of the disk volumeCopyright © 2009-2013 jclouds. All Rights Reserved.