org.jclouds.cloudstack.features
Interface GlobalPodAsyncClient


public interface GlobalPodAsyncClient

Provides asynchronous access to CloudStack Pod features available to Global Admin users.

Author:
Richard Downer
See Also:

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name, long zoneId, String startIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
          Creates a new Pod.
 com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name, long zoneId, String startIp, String endIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
          Creates a new Pod.
 com.google.common.util.concurrent.ListenableFuture<Void> deletePod(long id)
          Deletes a Pod.
 com.google.common.util.concurrent.ListenableFuture<Pod> getPod(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Pod>> listPods(ListPodsOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Pod> updatePod(long id, UpdatePodOptions... updatePodOptions)
          Updates a Pod.
 

Method Detail

listPods

com.google.common.util.concurrent.ListenableFuture<Set<Pod>> listPods(ListPodsOptions... options)
See Also:
PodClient#listPods

getPod

com.google.common.util.concurrent.ListenableFuture<Pod> getPod(long id)
See Also:
PodClient#getPod

createPod

com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name,
                                                                  long zoneId,
                                                                  String startIp,
                                                                  String endIp,
                                                                  String gateway,
                                                                  String netmask,
                                                                  CreatePodOptions... createPodOptions)
Creates a new Pod.

Parameters:
name - the name of the Pod
zoneId - the Zone ID in which the Pod will be created
startIp - the starting IP address for the Pod
endIp - the ending IP address for the Pod
gateway - the gateway for the Pod
netmask - the netmask for the Pod
createPodOptions - optional arguments
Returns:
the new Pod

createPod

com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name,
                                                                  long zoneId,
                                                                  String startIp,
                                                                  String gateway,
                                                                  String netmask,
                                                                  CreatePodOptions... createPodOptions)
Creates a new Pod.

Parameters:
name - the name of the Pod
zoneId - the Zone ID in which the Pod will be created
startIp - the starting IP address for the Pod
gateway - the gateway for the Pod
netmask - the netmask for the Pod
createPodOptions - optional arguments
Returns:
the new Pod

deletePod

com.google.common.util.concurrent.ListenableFuture<Void> deletePod(long id)
Deletes a Pod.

Parameters:
id - the ID of the Pod

updatePod

com.google.common.util.concurrent.ListenableFuture<Pod> updatePod(long id,
                                                                  UpdatePodOptions... updatePodOptions)
Updates a Pod.

Parameters:
id - the ID of the Pod
updatePodOptions - optional arguments
Returns:
the updated pod


Copyright © 2009-2012 jclouds. All Rights Reserved.