org.jclouds.softlayer.features
Interface VirtualGuestAsyncClient


public interface VirtualGuestAsyncClient

Provides asynchronous access to VirtualGuest via their REST API.

Author:
Adrian Cole
See Also:
VirtualGuestClient,

Field Summary
static String GUEST_MASK
           
static String LIST_GUEST_MASK
           
 
Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> cancelService(long id)
           
 com.google.common.util.concurrent.ListenableFuture<ProductOrder> getOrderTemplate(long id)
          Throws an Internal Server Error if called on bad orders (mapped to HttpResponseException)
 com.google.common.util.concurrent.ListenableFuture<VirtualGuest> getVirtualGuest(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<VirtualGuest>> listVirtualGuests()
           
 com.google.common.util.concurrent.ListenableFuture<ProductOrderReceipt> orderVirtualGuest(ProductOrder order)
           
 com.google.common.util.concurrent.ListenableFuture<Void> pauseVirtualGuest(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> powerOffVirtualGuest(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> powerOnVirtualGuest(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> rebootHardVirtualGuest(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resumeVirtualGuest(long id)
           
 

Field Detail

LIST_GUEST_MASK

static final String LIST_GUEST_MASK
See Also:
Constant Field Values

GUEST_MASK

static final String GUEST_MASK
See Also:
Constant Field Values
Method Detail

listVirtualGuests

com.google.common.util.concurrent.ListenableFuture<Set<VirtualGuest>> listVirtualGuests()
See Also:
VirtualGuestClient.listVirtualGuests()

getVirtualGuest

com.google.common.util.concurrent.ListenableFuture<VirtualGuest> getVirtualGuest(long id)
See Also:
VirtualGuestClient.getVirtualGuest(long)

rebootHardVirtualGuest

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

powerOffVirtualGuest

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

powerOnVirtualGuest

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

pauseVirtualGuest

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

resumeVirtualGuest

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

cancelService

com.google.common.util.concurrent.ListenableFuture<Boolean> cancelService(long id)
See Also:
VirtualGuestClient.cancelService(long)

orderVirtualGuest

com.google.common.util.concurrent.ListenableFuture<ProductOrderReceipt> orderVirtualGuest(ProductOrder order)
See Also:
VirtualGuestClient.orderVirtualGuest(org.jclouds.softlayer.domain.ProductOrder)

getOrderTemplate

com.google.common.util.concurrent.ListenableFuture<ProductOrder> getOrderTemplate(long id)
Throws an Internal Server Error if called on bad orders (mapped to HttpResponseException)

Throws:
HttpResponseException - if called with a 'bad' order.
See Also:
VirtualGuestClient.getOrderTemplate(long)


Copyright © 2009-2011 jclouds. All Rights Reserved.