Modifier and Type | Method and Description |
---|---|
Pod |
createPod(String name,
String zoneId,
String startIp,
String gateway,
String netmask,
CreatePodOptions... createPodOptions)
Creates a new Pod.
|
Pod |
createPod(String name,
String zoneId,
String startIp,
String endIp,
String gateway,
String netmask,
CreatePodOptions... createPodOptions)
Creates a new Pod.
|
void |
deletePod(String id)
Deletes a Pod.
|
Pod |
getPod(String id)
get a specific pod by id
|
Set<Pod> |
listPods(ListPodsOptions... options)
Lists pods
|
Pod |
updatePod(String id,
UpdatePodOptions... updatePodOptions)
Updates a Pod.
|
@Named(value="listPods") Set<Pod> listPods(ListPodsOptions... options)
options
- if present, how to constrain the list.@Named(value="listPods") Pod getPod(String id)
id
- pod to get@Named(value="createPod") Pod createPod(String name, String zoneId, String startIp, String endIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
name
- the name of the PodzoneId
- the Zone ID in which the Pod will be createdstartIp
- the starting IP address for the PodendIp
- the ending IP address for the Podgateway
- the gateway for the Podnetmask
- the netmask for the PodcreatePodOptions
- optional arguments@Named(value="createPod") Pod createPod(String name, String zoneId, String startIp, String gateway, String netmask, CreatePodOptions... createPodOptions)
name
- the name of the PodzoneId
- the Zone ID in which the Pod will be createdstartIp
- the starting IP address for the Podgateway
- the gateway for the Podnetmask
- the netmask for the PodcreatePodOptions
- optional arguments@Named(value="deletePod") void deletePod(String id)
id
- the ID of the Pod@Named(value="updatePod") Pod updatePod(String id, UpdatePodOptions... updatePodOptions)
id
- the ID of the PodupdatePodOptions
- optional argumentsCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.