| 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") @GET @Consumes(value="application/json") Set<Pod> listPods(ListPodsOptions... options)
options - if present, how to constrain the list.@Named(value="listPods") @GET @Consumes(value="application/json") Pod getPod(@QueryParam(value="id") String id)
id - pod to get@Named(value="createPod") @GET @Consumes(value="application/json") Pod createPod(@QueryParam(value="name") String name, @QueryParam(value="zoneid") String zoneId, @QueryParam(value="startip") String startIp, @QueryParam(value="endip") String endIp, @QueryParam(value="gateway") String gateway, @QueryParam(value="netmask") 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") @GET @Consumes(value="application/json") Pod createPod(@QueryParam(value="name") String name, @QueryParam(value="zoneid") String zoneId, @QueryParam(value="startip") String startIp, @QueryParam(value="gateway") String gateway, @QueryParam(value="netmask") 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")
@GET
@Consumes(value="application/json")
void deletePod(@QueryParam(value="id")
String id)
id - the ID of the Pod@Named(value="updatePod") @GET @Consumes(value="application/json") Pod updatePod(@QueryParam(value="id") String id, UpdatePodOptions... updatePodOptions)
id - the ID of the PodupdatePodOptions - optional argumentsCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.