public class StoragePool extends DomainWrapper<com.abiquo.server.core.infrastructure.storage.StoragePoolDto>
StoragePoolDto. The Storage Pool Resource allows you to
 perform any administrative task for remote pools.
      http://community.abiquo.com/display/ABI20/StoragePoolResource| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StoragePool.Builder  | 
context, target| Modifier | Constructor and Description | 
|---|---|
protected  | 
StoragePool(RestContext<AbiquoApi,AbiquoAsyncApi> context,
           com.abiquo.server.core.infrastructure.storage.StoragePoolDto target)
Constructor to be used only by the builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StoragePool.Builder | 
builder(RestContext<AbiquoApi,AbiquoAsyncApi> context,
       StorageDevice storageDevice)  | 
void | 
delete()
Delete the storage pool. 
 | 
long | 
getAvailableSizeInMb()
Deprecated. 
 
This value is no longer used in Abiquo and will be removed in future versions. 
 | 
String | 
getName()  | 
StorageDevice | 
getStorageDevice()
Get the device where the pool belongs. 
 | 
Tier | 
getTier()
Get the tier assigned to the pool. 
 | 
long | 
getTotalSizeInMb()  | 
long | 
getUsedSizeInMb()
Deprecated. 
 
This value is no longer used in Abiquo and will be removed in future versions. 
 | 
String | 
getUUID()  | 
void | 
refresh()  | 
void | 
save()
Create a storage pool. 
 | 
void | 
setName(String name)  | 
void | 
setTier(Tier tier)
Define the tier in which the pool will be added. 
 | 
void | 
setTotalSizeInMb(long totalSizeInMb)  | 
String | 
toString()  | 
void | 
update()
Update pool information in the server with the data from this pool. 
 | 
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrapprotected StoragePool(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.infrastructure.storage.StoragePoolDto target)
public void delete()
public void save()
StorageDevice.listRemoteStoragePools() method and saving it. The Storage
 Pools must be associated with a Tier using setTier(org.jclouds.abiquo.domain.infrastructure.Tier).public void update()
setTier(org.jclouds.abiquo.domain.infrastructure.Tier).public void refresh()
public void setTier(Tier tier)
public StorageDevice getStorageDevice()
public Tier getTier()
public static StoragePool.Builder builder(RestContext<AbiquoApi,AbiquoAsyncApi> context, StorageDevice storageDevice)
@Deprecated public long getAvailableSizeInMb()
public String getName()
public long getTotalSizeInMb()
@Deprecated public long getUsedSizeInMb()
public void setName(String name)
public void setTotalSizeInMb(long totalSizeInMb)
public String getUUID()
Copyright © 2009-2013 jclouds. All Rights Reserved.