org.jclouds.cloudstack.features
Interface GlobalPodClient


public interface GlobalPodClient

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

Author:
Richard Downer
See Also:

Method Summary
 Pod createPod(String name, long zoneId, String startIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
          Creates a new Pod.
 Pod createPod(String name, long zoneId, String startIp, String endIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
          Creates a new Pod.
 void deletePod(long id)
          Deletes a Pod.
 Pod getPod(long id)
          get a specific pod by id
 Set<Pod> listPods(ListPodsOptions... options)
          Lists pods
 Pod updatePod(long id, UpdatePodOptions... updatePodOptions)
          Updates a Pod.
 

Method Detail

listPods

Set<Pod> listPods(ListPodsOptions... options)
Lists pods

Parameters:
options - if present, how to constrain the list.
Returns:
pods matching query, or empty set, if no pods are found

getPod

Pod getPod(long id)
get a specific pod by id

Parameters:
id - pod to get
Returns:
pod or null if not found

createPod

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

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

void deletePod(long id)
Deletes a Pod.

Parameters:
id - the ID of the Pod

updatePod

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.