/** * Deploys the virtual appliance. * * <p>This method will start the deployment of all the virtual machines in the virtual appliance, * and will return an {@link AsyncTask} reference for each deploy operation. The deployment will * finish when all individual tasks finish. * * @param forceEnterpriseSoftLimits Boolean indicating if the deployment must be executed even if * the enterprise soft limits are reached. * @return The list of tasks corresponding to the deploy process of each virtual machine in the * appliance. */ public AsyncTask[] deploy(final boolean forceEnterpriseSoftLimits) { VirtualMachineTaskDto force = new VirtualMachineTaskDto(); force.setForceEnterpriseSoftLimits(forceEnterpriseSoftLimits); AcceptedRequestDto<String> response = context.getApi().getCloudApi().deployVirtualAppliance(unwrap(), force); return getTasks(response); }
public static VirtualMachineTaskDto deployOptions() { VirtualMachineTaskDto deploy = new VirtualMachineTaskDto(); deploy.setForceEnterpriseSoftLimits(false); return deploy; }