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

Method Detail

listPods

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

getPod

@Named(value="listPods")
com.google.common.util.concurrent.ListenableFuture<Pod> getPod(String id)
See Also:
PodClient#getPod

createPod

@Named(value="createPod")
com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name,
                                                                        String 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

@Named(value="createPod")
com.google.common.util.concurrent.ListenableFuture<Pod> createPod(String name,
                                                                        String 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

@Named(value="deletePod")
com.google.common.util.concurrent.ListenableFuture<Void> deletePod(String id)
Deletes a Pod.

Parameters:
id - the ID of the Pod

updatePod

@Named(value="updatePod")
com.google.common.util.concurrent.ListenableFuture<Pod> updatePod(String id,
                                                                        UpdatePodOptions... updatePodOptions)
Updates a Pod.

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


Copyright © 2009-2013 jclouds. All Rights Reserved.