Modifier and Type | Method and Description |
---|---|
AsyncCreateResponse |
attachVolume(long volumeId,
long virtualMachineId)
Attaches a disk volume to a virtual machine.
|
AsyncCreateResponse |
createVolumeFromDiskOfferingInZone(String name,
long diskOfferingId,
long zoneId)
Create a volume with given name and diskOfferingId
|
AsyncCreateResponse |
createVolumeFromSnapshotInZone(String name,
long snapshotId,
long zoneId)
Create a volume with given name and snapshotId
|
void |
deleteVolume(long id)
Deletes a attached disk volume
|
AsyncCreateResponse |
detachVolume(long volumeId)
Detaches a disk volume to a virtual machine.
|
Volume |
getVolume(long id)
Get volume by id
|
Set<Volume> |
listVolumes(ListVolumesOptions... options)
List volumes
|
AsyncCreateResponse createVolumeFromDiskOfferingInZone(String name, long diskOfferingId, long zoneId)
name
- name of the volumediskOfferingId
- the ID of the disk offering.zoneId
- the ID of the availability zoneAsyncCreateResponse createVolumeFromSnapshotInZone(String name, long snapshotId, long 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(long id)
id
- the volume id to retrievevoid deleteVolume(long id)
id
- id of the volumeAsyncCreateResponse attachVolume(long volumeId, long virtualMachineId)
volumeId
- the ID of the disk volumevirtualMachineId
- the ID of the virtual machineAsyncCreateResponse detachVolume(long volumeId)
volumeId
- the ID of the disk volumeCopyright © 2009-2012 jclouds. All Rights Reserved.