Fgcp: @Named annotations in all async api methods

This commit is contained in:
Dies Koper 2013-01-23 17:17:43 +11:00
parent 494adcaeda
commit c0c10f68a1
9 changed files with 94 additions and 0 deletions

View File

@ -18,6 +18,7 @@
*/
package org.jclouds.fujitsu.fgcp.services;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -50,6 +51,7 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface AdditionalDiskAsyncApi {
@Named("GetVDiskStatus")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVDiskStatus")
@ -57,6 +59,7 @@ public interface AdditionalDiskAsyncApi {
ListenableFuture<VDiskStatus> getStatus(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vdiskId") String id);
@Named("GetVDiskAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVDiskAttributes")
@ -64,6 +67,7 @@ public interface AdditionalDiskAsyncApi {
ListenableFuture<VDisk> get(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vdiskId") String id);
@Named("UpdateVDiskAttribute")
@GET
@QueryParams(keys = "Action", values = "UpdateVDiskAttribute")
ListenableFuture<Void> update(
@ -71,24 +75,28 @@ public interface AdditionalDiskAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("BackupVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "BackupVDisk")
ListenableFuture<Void> backup(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vdiskId") String id);
@Named("RestoreVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "RestoreVDisk")
ListenableFuture<Void> restore(@QueryParam("vsysId") String systemId,
@QueryParam("backupId") String backupId);
@Named("DestroyVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyVDisk")
ListenableFuture<Void> destroy(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vdiskId") String id);
@Named("DetachVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DetachVDisk")
@ -96,6 +104,7 @@ public interface AdditionalDiskAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vdiskId") String diskId,
@QueryParam("vserverId") String serverId);
@Named("DestroyVDiskBackup")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyVDiskBackup")

View File

@ -19,6 +19,8 @@
package org.jclouds.fujitsu.fgcp.services;
import java.util.Set;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -54,30 +56,35 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface BuiltinServerAsyncApi {
@Named("StartEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "StartEFM")
ListenableFuture<Void> start(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("StopEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "StopEFM")
ListenableFuture<Void> stop(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("DestroyEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyEFM")
ListenableFuture<Void> destroy(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("BackupEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "BackupEFM")
ListenableFuture<Void> backup(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("RestoreEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "RestoreEFM")
@ -85,12 +92,14 @@ public interface BuiltinServerAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id,
@QueryParam("backupId") String backupId);
@Named("ListEFMBackup")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListEFMBackup")
ListenableFuture<Set<BuiltinServerBackup>> listBackups(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("DestroyEFMBackup")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyEFMBackup")
@ -98,6 +107,7 @@ public interface BuiltinServerAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id,
@QueryParam("backupId") String backupId);
@Named("GetEFMAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEFMAttributes")
@ -105,6 +115,7 @@ public interface BuiltinServerAsyncApi {
ListenableFuture<BuiltinServer> get(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("UpdateEFMAttribute")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateEFMAttribute")
@ -113,6 +124,7 @@ public interface BuiltinServerAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("GetEFMStatus")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEFMStatus")
@ -120,6 +132,7 @@ public interface BuiltinServerAsyncApi {
ListenableFuture<BuiltinServerStatus> getStatus(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id);
@Named("GetEFMConfiguration")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEFMConfiguration")
@ -128,6 +141,7 @@ public interface BuiltinServerAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("efmId") String id,
@QueryParam("configurationName") BuiltinServerConfiguration configuration);
// @Named("GetEFMConfiguration")
// @POST
// @JAXBResponseParser
// @QueryParams(keys = "Action", values = "GetEFMConfiguration")

View File

@ -18,6 +18,7 @@
*/
package org.jclouds.fujitsu.fgcp.services;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -47,12 +48,14 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface DiskImageAsyncApi {
@Named("GetDiskImageAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetDiskImageAttributes")
@Transform(SingleElementResponseToElement.class)
ListenableFuture<DiskImage> get(@QueryParam("diskImageId") String id);
@Named("UpdateDiskImageAttribute")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateDiskImageAttribute")
@ -62,6 +65,7 @@ public interface DiskImageAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("UnregisterDiskImage")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UnregisterDiskImage")

View File

@ -19,6 +19,8 @@
package org.jclouds.fujitsu.fgcp.services;
import java.util.Set;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.core.MediaType;
@ -48,6 +50,7 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface FirewallAsyncApi extends BuiltinServerAsyncApi {
@Named("GetEFMConfiguration")
@POST
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEFMConfiguration")

View File

@ -18,6 +18,7 @@
*/
package org.jclouds.fujitsu.fgcp.services;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -48,18 +49,21 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface PublicIPAddressAsyncApi {
@Named("AttachPublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "AttachPublicIP")
ListenableFuture<Void> attach(@QueryParam("vsysId") String systemId,
@QueryParam("publicIp") String ip);
@Named("DetachPublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DetachPublicIP")
ListenableFuture<Void> detach(@QueryParam("vsysId") String systemId,
@QueryParam("publicIp") String ip);
@Named("GetPublicIPStatus")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetPublicIPStatus")
@ -67,12 +71,14 @@ public interface PublicIPAddressAsyncApi {
ListenableFuture<PublicIPStatus> getStatus(
@QueryParam("publicIp") String ip);
@Named("GetPublicIPAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetPublicIPAttributes")
@Transform(SingleElementResponseToElement.class)
ListenableFuture<PublicIP> get(@QueryParam("publicIp") String ip);
@Named("FreePublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "FreePublicIP")

View File

@ -18,6 +18,7 @@
*/
package org.jclouds.fujitsu.fgcp.services;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -48,6 +49,7 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface SystemTemplateAsyncApi {
@Named("GetVSYSDescriptorConfiguration")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVSYSDescriptorConfiguration")
@ -55,6 +57,7 @@ public interface SystemTemplateAsyncApi {
ListenableFuture<VSystemDescriptor> get(
@QueryParam("vsysDescriptorId") String id);
@Named("UpdateVSYSDescriptorAttribute")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateVSYSDescriptorAttribute")
@ -63,12 +66,14 @@ public interface SystemTemplateAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("UnregisterVSYSDescriptor")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UnregisterVSYSDescriptor")
ListenableFuture<Void> deregister(
@QueryParam("vsysDescriptorId") String id);
@Named("UnregisterPrivateVSYSDescriptor")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UnregisterPrivateVSYSDescriptor")

View File

@ -20,6 +20,8 @@ package org.jclouds.fujitsu.fgcp.services;
import java.util.Map;
import java.util.Set;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -58,6 +60,7 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface VirtualDCAsyncApi {
@Named("CreateVSYS")
// @POST
@GET
@JAXBResponseParser
@ -74,12 +77,14 @@ public interface VirtualDCAsyncApi {
@QueryParam("vsysDescriptorId") String descriptorId,
@QueryParam("vsysName") String name);
@Named("ListVSYS")
@GET
@JAXBResponseParser
// @XMLResponseParser(VSYSListHandler.class)
@QueryParams(keys = "Action", values = "ListVSYS")
ListenableFuture<Set<VSystem>> listVirtualSystems();
@Named("ListServerType")
@GET
@JAXBResponseParser
// according to the manual it takes a 'String diskImageId' but value seems
@ -90,11 +95,13 @@ public interface VirtualDCAsyncApi {
// @XmlElement(type = ServerType.class)
ListenableFuture<Set<ServerType>> listServerTypes();
@Named("ListDiskImage")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListDiskImage")
ListenableFuture<Set<DiskImage>> listDiskImages();
@Named("ListDiskImage")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListDiskImage")
@ -107,11 +114,13 @@ public interface VirtualDCAsyncApi {
* @return
* @see VirtualSystemAsyncApi#listPublicIPs(String)
*/
@Named("ListPublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListPublicIP")
ListenableFuture<Map<PublicIP, String>> listPublicIPs();
@Named("AddAddressRange")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "AddAddressRange")
@ -119,6 +128,7 @@ public interface VirtualDCAsyncApi {
@QueryParam("pipFrom") String pipFrom,
@QueryParam("pipTo") String pipTo);
@Named("CreateAddressPool")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "CreateAddressPool")
@ -126,6 +136,7 @@ public interface VirtualDCAsyncApi {
@QueryParam("pipFrom") String pipFrom,
@QueryParam("pipTo") String pipTo);
@Named("DeleteAddressRange")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DeleteAddressRange")
@ -133,16 +144,19 @@ public interface VirtualDCAsyncApi {
@QueryParam("pipFrom") String pipFrom,
@QueryParam("pipTo") String pipTo);
@Named("GetAddressRange")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetAddressRange")
ListenableFuture<Set<AddressRange>> getAddressRange();
@Named("ListVSYSDescriptor")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListVSYSDescriptor")
ListenableFuture<Set<VSystemDescriptor>> listVSYSDescriptor();
@Named("ListVSYSDescriptor")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListVSYSDescriptor")
@ -151,32 +165,38 @@ public interface VirtualDCAsyncApi {
@QueryParam("estimateFrom") int estimateFrom,
@QueryParam("estimateTo") int estimateTo);
@Named("GetEventLog")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEventLog")
ListenableFuture<Set<EventLog>> getEventLogs();
@Named("GetEventLog")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetEventLog")
ListenableFuture<Set<EventLog>> getEventLogs(@QueryParam("all") boolean all);
@Named("GetInformation")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetInformation")
ListenableFuture<Set<Information>> getInformation();
@Named("GetInformation")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetInformation")
ListenableFuture<Set<Information>> getInformation(
@QueryParam("all") boolean all);
@Named("GetSystemUsage")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetSystemUsage")
ListenableFuture<Set<UsageInfo>> getSystemUsage();
@Named("GetSystemUsage")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetSystemUsage")

View File

@ -19,6 +19,8 @@
package org.jclouds.fujitsu.fgcp.services;
import java.util.Set;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
@ -54,30 +56,35 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface VirtualServerAsyncApi {
@Named("StartVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "StartVServer")
ListenableFuture<Void> start(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("StopVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "StopVServer")
ListenableFuture<Void> stop(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("StopVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = { "Action", "force" }, values = { "StopVServer", "true" })
ListenableFuture<Void> stopForcefully(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("DestroyVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyVServer")
ListenableFuture<Void> destroy(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("GetVServerAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVServerAttributes")
@ -85,6 +92,7 @@ public interface VirtualServerAsyncApi {
ListenableFuture<VServer> get(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("GetVServerConfiguration")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVServerConfiguration")
@ -92,6 +100,7 @@ public interface VirtualServerAsyncApi {
ListenableFuture<VServerWithDetails> getDetails(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("UpdateVServerAttribute")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateVServerAttribute")
@ -100,6 +109,7 @@ public interface VirtualServerAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("GetVServerStatus")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVServerStatus")
@ -108,6 +118,7 @@ public interface VirtualServerAsyncApi {
ListenableFuture<VServerStatus> getStatus(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("GetVServerInitialPassword")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVServerInitialPassword")
@ -115,6 +126,7 @@ public interface VirtualServerAsyncApi {
ListenableFuture<String> getInitialPassword(
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String id);
@Named("AttachVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "AttachVDisk")
@ -122,6 +134,7 @@ public interface VirtualServerAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("vserverId") String serverId,
@QueryParam("vdiskId") String diskId);
@Named("GetPerformanceInformation")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetPerformanceInformation")
@ -129,6 +142,7 @@ public interface VirtualServerAsyncApi {
@BinderParam(BindAlsoToSystemId.class) @QueryParam("serverId") String id,
@QueryParam("interval") String interval);
@Named("GetPerformanceInformation")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetPerformanceInformation")
@ -137,6 +151,7 @@ public interface VirtualServerAsyncApi {
@QueryParam("dataType") String dataType,
@QueryParam("interval") String interval);
@Named("RegisterPrivateDiskImage")
@POST
@JAXBResponseParser
@QueryParams(keys = "Action", values = "RegisterPrivateDiskImage")

View File

@ -19,6 +19,8 @@
package org.jclouds.fujitsu.fgcp.services;
import java.util.Set;
import javax.inject.Named;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.QueryParam;
@ -56,23 +58,27 @@ import com.google.common.util.concurrent.ListenableFuture;
@Consumes(MediaType.TEXT_XML)
public interface VirtualSystemAsyncApi {
@Named("DestroyVSYS")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "DestroyVSYS")
ListenableFuture<Void> destroy(@QueryParam("vsysId") String id);
@Named("GetVSYSStatus")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVSYSStatus")
@Transform(SingleElementResponseToElement.class)
ListenableFuture<VSystemStatus> getStatus(@QueryParam("vsysId") String id);
@Named("GetVSYSAttributes")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVSYSAttributes")
@Transform(SingleElementResponseToElement.class)
ListenableFuture<VSystem> get(@QueryParam("vsysId") String id);
@Named("GetVSYSConfiguration")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "GetVSYSConfiguration")
@ -80,6 +86,7 @@ public interface VirtualSystemAsyncApi {
ListenableFuture<VSystemWithDetails> getDetails(
@QueryParam("vsysId") String id);
@Named("UpdateVSYSAttribute")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateVSYSAttribute")
@ -87,6 +94,7 @@ public interface VirtualSystemAsyncApi {
@QueryParam("attributeName") String name,
@QueryParam("attributeValue") String value);
@Named("UpdateVSYSConfiguration")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "UpdateVSYSConfiguration")
@ -94,6 +102,7 @@ public interface VirtualSystemAsyncApi {
@QueryParam("configurationName") String name,
@QueryParam("configurationValue") String value);
@Named("CreateVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "CreateVServer")
@ -104,11 +113,13 @@ public interface VirtualSystemAsyncApi {
@QueryParam("diskImageId") String diskImageId,
@BinderParam(BindAlsoToSystemId.class) @QueryParam("networkId") String networkId);
@Named("ListVServer")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListVServer")
ListenableFuture<Set<VServer>> listServers(@QueryParam("vsysId") String id);
@Named("CreateVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "CreateVDisk")
@ -116,11 +127,13 @@ public interface VirtualSystemAsyncApi {
ListenableFuture<String> createDisk(@QueryParam("vsysId") String id,
@QueryParam("vdiskName") String name, @QueryParam("size") int size);
@Named("ListVDisk")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListVDisk")
ListenableFuture<Set<VDisk>> listDisks(@QueryParam("vsysId") String id);
@Named("AllocatePublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "AllocatePublicIP")
@ -131,6 +144,7 @@ public interface VirtualSystemAsyncApi {
* @return
* @see VirtualDCAsyncApi#listPublicIPs()
*/
@Named("ListPublicIP")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListPublicIP")
@ -138,6 +152,7 @@ public interface VirtualSystemAsyncApi {
ListenableFuture<Set<PublicIP>> listPublicIPs(
@QueryParam("vsysId") String id);
@Named("CreateEFM")
@GET
@JAXBResponseParser
// SLB is the only built-in server that can currently be created so
@ -148,12 +163,14 @@ public interface VirtualSystemAsyncApi {
@QueryParam("efmName") String name,
@BinderParam(BindAlsoToSystemId.class) @QueryParam("networkId") String networkId);
@Named("ListEFM")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "ListEFM")
ListenableFuture<Set<BuiltinServer>> listBuiltinServers(
@QueryParam("vsysId") String id, @QueryParam("efmType") String type);
@Named("StandByConsole")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "StandByConsole")
@ -161,6 +178,7 @@ public interface VirtualSystemAsyncApi {
ListenableFuture<String> standByConsole(@QueryParam("vsysId") String id,
@QueryParam("networkId") String networkId);
@Named("RegisterPrivateVSYSDescriptor")
@GET
@JAXBResponseParser
@QueryParams(keys = "Action", values = "RegisterPrivateVSYSDescriptor")