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

org.openstack4j.api.manila.ShareServerService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.api.manila;

import org.openstack4j.common.RestService;
import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.manila.ShareServer;

import java.util.List;

/**
 * Share Server Service for Manila Shared Filesystems.
 *
 * @author Daniel Gonzalez Nothnagel
 */
public interface ShareServerService extends RestService {
    /**
     * Lists all share servers.
     *
     * @return a list containing all share servers
     */
    List list();

    /**
     * Shows details for a share server.
     *
     * @param shareServerId the share server ID
     * @return the share server or null if not found
     */
    ShareServer get(String shareServerId);

    /**
     * Deletes a share server.
     *
     * @param shareServerId the share server ID
     * @return the action response
     */
    ActionResponse delete(String shareServerId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy