fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java
public boolean disableVMByVMId(String vmID, long durationMillis) throws IllegalStateException {
        final String hostname = assignableVMs.getHostnameFromVMId(vmID);
        if (hostname == null) {
            return false;
        }
        disableVM(hostname, durationMillis);
        return true;
    }
public boolean disableVMByVMId(String vmID, long durationMillis) throws IllegalStateException {
        final String hostname = assignableVMs.getHostnameFromVMId(vmID);
        if (hostname == null) {
            return false;
        }
        disableVM(hostname, durationMillis);
        return true;
    }
public boolean disableVMByVMId ( String vmID , long durationMillis ) throws IllegalStateException { final String hostname = assignableVMs . getHostnameFromVMId ( vmID ) ; if ( hostname == null ) { return false ; } disableVM ( hostname , durationMillis ) ; return true ; }
Disable the virtual machine with the specified ID. The scheduler will not use disabled hosts for allocating
resources to tasks.

@param vmID           the ID of the host to disable
@param durationMillis the length of time, starting from now, in milliseconds, during which the host will
be disabled
@return {@code true} if the ID matches a known VM, {@code false} otherwise.
@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.
Disable the virtual machine with the specified ID . The scheduler will not use disabled hosts for allocating resources to tasks .