org.jclouds.cloudstack.features
Interface GlobalOfferingAsyncClient

All Superinterfaces:
OfferingAsyncClient

public interface GlobalOfferingAsyncClient
extends OfferingAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Andrei Savu
See Also:
GlobalOfferingClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<DiskOffering> createDiskOffering(String name, String displayText, CreateDiskOfferingOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<ServiceOffering> createServiceOffering(String name, String displayText, int cpuNumber, int cpuSpeedInMHz, int memoryInMB, CreateServiceOfferingOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteDiskOffering(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteServiceOffering(long id)
           
 com.google.common.util.concurrent.ListenableFuture<DiskOffering> updateDiskOffering(long id, UpdateDiskOfferingOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<NetworkOffering> updateNetworkOffering(long id, UpdateNetworkOfferingOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<ServiceOffering> updateServiceOffering(long id, UpdateServiceOfferingOptions... options)
           
 
Methods inherited from interface org.jclouds.cloudstack.features.OfferingAsyncClient
getDiskOffering, getNetworkOffering, getServiceOffering, listDiskOfferings, listNetworkOfferings, listServiceOfferings
 

Method Detail

createServiceOffering

com.google.common.util.concurrent.ListenableFuture<ServiceOffering> createServiceOffering(String name,
                                                                                          String displayText,
                                                                                          int cpuNumber,
                                                                                          int cpuSpeedInMHz,
                                                                                          int memoryInMB,
                                                                                          CreateServiceOfferingOptions... options)
See Also:
GlobalOfferingClient.createServiceOffering(java.lang.String, java.lang.String, int, int, int, org.jclouds.cloudstack.options.CreateServiceOfferingOptions...)

updateServiceOffering

com.google.common.util.concurrent.ListenableFuture<ServiceOffering> updateServiceOffering(long id,
                                                                                          UpdateServiceOfferingOptions... options)
See Also:
GlobalOfferingClient.updateServiceOffering(long, org.jclouds.cloudstack.options.UpdateServiceOfferingOptions...)

deleteServiceOffering

com.google.common.util.concurrent.ListenableFuture<Void> deleteServiceOffering(long id)
See Also:
GlobalOfferingClient.deleteServiceOffering(long)

createDiskOffering

com.google.common.util.concurrent.ListenableFuture<DiskOffering> createDiskOffering(String name,
                                                                                    String displayText,
                                                                                    CreateDiskOfferingOptions... options)
See Also:
GlobalOfferingClient.createDiskOffering(java.lang.String, java.lang.String, org.jclouds.cloudstack.options.CreateDiskOfferingOptions...)

updateDiskOffering

com.google.common.util.concurrent.ListenableFuture<DiskOffering> updateDiskOffering(long id,
                                                                                    UpdateDiskOfferingOptions... options)
See Also:
GlobalOfferingClient.updateDiskOffering(long, org.jclouds.cloudstack.options.UpdateDiskOfferingOptions...)

deleteDiskOffering

com.google.common.util.concurrent.ListenableFuture<Void> deleteDiskOffering(long id)
See Also:
GlobalOfferingClient.deleteDiskOffering(long)

updateNetworkOffering

com.google.common.util.concurrent.ListenableFuture<NetworkOffering> updateNetworkOffering(long id,
                                                                                          UpdateNetworkOfferingOptions... options)
See Also:
GlobalOfferingClient.updateNetworkOffering(long, org.jclouds.cloudstack.options.UpdateNetworkOfferingOptions...)


Copyright © 2009-2012 jclouds. All Rights Reserved.