/** * List the virtual interfaces for a specified server * * @param serverId * The server to list the virtual interfaces * @return The request object to list virtual interfaces */ public ListVirtualInterfaces listVirtualInterfaces(String serverId) { return new ListVirtualInterfaces(serverId); }
/** * Evacuate the server * * @param serverId * The server to be evacuated * @return The evacuate action to be performed * @see #evacuate(String, String, String, Boolean) */ public EvacuateAction evacuate(String serverId) { return evacuate(serverId, null, null, null); }
/** * Detaches a port (interface) from a server * * @param serverId * The server to which the port is attached * @param portId * The port to be detached from the server * @return The object that performs the detach */ public DetachInterfaceAttachment detachInterfaceAttachment(String serverId, String portId) { return new DetachInterfaceAttachment(serverId, portId); }
public List list() { return new List(); }
public Disable disable(String host, String binary) { return new Disable(host, binary); }
public Boot boot(ServerForCreate server) { return new Boot(server); }
public RevertResizeAction revertResize(String serverId) { return new RevertResizeAction(serverId); }
public ShowVolumeAttachment showVolumeAttachment(String serverId, String volumeAttachmentId) { return new ShowVolumeAttachment(serverId, volumeAttachmentId); }
public ShowMetadata showMetadata(String id) { return new ShowMetadata(id); }
public Delete delete(String id) { return new Delete(id); }
public Create create(Flavor flavor) { return new Create(flavor); }
public ShowMetadata showMetadata(String id) { return new ShowMetadata(id); }
public Delete delete(String id) { return new Delete(id); }
public CreateInterfaceAttachment createInterfaceAttachment(String serverId, InterfaceAttachmentForCreate interfaceAttachmentForCreate) { return new CreateInterfaceAttachment(serverId, interfaceAttachmentForCreate); }
public Show show(String id) { return new Show(id); } }
public CreateBackupAction createBackup(String serverId, CreateBackup action) { return new CreateBackupAction(serverId, action); }
public ResumeAction resume(String serverId) { return new ResumeAction(serverId); }
public SuspendAction suspend(String serverId) { return new SuspendAction(serverId); }
public ResumeServer resume(String serverId) { return new ResumeServer(serverId); }
/** * Evacuates the server to a new host. The caller can supply the host name or id. * * @param serverId * The server to be evacuated * @param host * The host name or ID of the target host (where the server is to be moved to). * @return The action to be performed * @see #evacuate(String, String, String, Boolean) */ public EvacuateAction evacuate(String serverId, String host) { return evacuate(serverId, host, null, null); }