/** * @param forceDestroyLocalStorage Force destroy local storage on this host. All VMs created on this local storage will be destroyed */ public static DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage) { return new DeleteHostOptions().forceDestroyLocalStorage(forceDestroyLocalStorage); }
/** * @param forced Force delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stopped */ public static DeleteHostOptions forced(boolean forced) { return new DeleteHostOptions().forced(forced); }
/** * @param forceDestroyLocalStorage Force destroy local storage on this host. All VMs created on this local storage will be destroyed */ public static DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage) { return new DeleteHostOptions().forceDestroyLocalStorage(forceDestroyLocalStorage); }
/** * @param forced Force delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stopped */ public static DeleteHostOptions forced(boolean forced) { return new DeleteHostOptions().forced(forced); }
/** * @param forceDestroyLocalStorage Force destroy local storage on this host. All VMs created on this local storage will be destroyed */ public static DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage) { return new DeleteHostOptions().forceDestroyLocalStorage(forceDestroyLocalStorage); }
/** * @param forced Force delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stopped */ public static DeleteHostOptions forced(boolean forced) { return new DeleteHostOptions().forced(forced); }
public void testForceDestroyLocalStorage() { DeleteHostOptions options = new DeleteHostOptions().forceDestroyLocalStorage(true); assertEquals(ImmutableList.of("true"), options.buildQueryParameters().get("forcedestroylocalstorage")); }
public void testForced() { DeleteHostOptions options = new DeleteHostOptions().forced(true); assertEquals(ImmutableList.of("true"), options.buildQueryParameters().get("forced")); }
public void testForceDestroyLocalStorage() { DeleteHostOptions options = new DeleteHostOptions().forceDestroyLocalStorage(true); assertEquals(ImmutableList.of("true"), options.buildQueryParameters().get("forcedestroylocalstorage")); }
public void testForced() { DeleteHostOptions options = new DeleteHostOptions().forced(true); assertEquals(ImmutableList.of("true"), options.buildQueryParameters().get("forced")); }