public AttachVolume(String serverId, final VolumeAttachment volumeAttachment) { super( CLIENT, HttpMethod.POST, new StringBuilder("/servers/").append(serverId).append("/os-volume_attachments"), Entity.json(volumeAttachment), Void.class); }
public UnrescueServer(String id) { super( CLIENT, HttpMethod.POST, new StringBuilder("/servers/").append(id).append("/action"), Entity.json(new Unrescue()), Void.class); }
public GetConsoleOutputServer(String id, GetConsoleOutput action) { super( CLIENT, HttpMethod.POST, new StringBuilder("/servers/").append(id).append("/action"), Entity.json(action), ConsoleOutput.class); }
public CreateBackupServer(String id, CreateBackup action) { super( CLIENT, HttpMethod.POST, new StringBuilder("/servers/").append(id).append("/action"), Entity.json(action), Void.class); }
public ReplaceMetadata(String id, Metadata metadata) { super( CLIENT, HttpMethod.PUT, new StringBuilder("/servers/").append(id).append("/metadata"), Entity.json(metadata), Metadata.class); }
public DisassociateFloatingIp( String id, com.woorea.openstack.nova.model.ServerAction.DisassociateFloatingIp action) { super( CLIENT, HttpMethod.POST, new StringBuilder("/servers/").append(id).append("/action"), Entity.json(action), Void.class); }
public UpdateServer(String id, Server server) { super( CLIENT, HttpMethod.PUT, new StringBuilder("/servers/").append(id), Entity.json(server), Server.class); this.server = server; }
public Boot(ServerForCreate server) { super(CLIENT, HttpMethod.POST, "/servers", Entity.json(server), Server.class); this.server = server; }
public CreateImageAction(String id) { super(id, Entity.json(new CreateImage()), Server.class); }
public ReverResizeAction(String id) { super(id, Entity.json(new RevertResize()), Server.class); }
public ConfirmResizeAction(String id) { super(id, Entity.json(new ConfirmResize()), Server.class); }
public ResizeAction(String id, Resize action) { super(id, Entity.json(action), Server.class); }
public RebuildAction(String id, Rebuild action) { super(id, Entity.json(action), Server.class); }
public RebootAction(String id, Reboot action) { super(id, Entity.json(action), Void.class); }
public ChangePasswordAction(String id, ChangePassword action) { super(id, Entity.json(action), Server.class); }