All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.compute.HostService Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.api.compute;

import java.util.List;
import java.util.Map;

import org.openstack4j.common.RestService;
import org.openstack4j.model.compute.HostResource;

/**
 * Nova OS Host Service
 * 
 * @author Qin An
 * @deprecated The os-hosts API is deprecated as of the 2.43 microversion. Requests made with microversion >= 2.43 will result in a 404 error. To list and show host details, use the Hypervisors (os-hypervisors) API. To enable or disable a service, use the Compute services (os-services) API. There is no replacement for the shutdown, startup, reboot, or maintenance_mode actions as those are system-level operations which should be outside of the control of the compute service.
 * @see ServerService
 */
@Deprecated
public interface HostService extends RestService {

    /**
	 * Shows details for a specified host
	 *
	 * @param hostName
	 * @return the Resource of the Host specified
	 */
	public List hostDescribe(String hostName);
	
	/**
     * List all host that the current tenant has access to
     * 
     * @return list of all hosts
     * @author Wang Ting/王婷
     */
    List list();

    /**
     * Returns list of hosts filtered by parameters.
     * 
     * @param filteringParams map (name, value) of filtering parameters
     * @return 
     * @author Wang Ting/王婷
     */
    List list(Map filteringParams);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy