package com.bocloud.ims.interfaces.resource;

import com.bocloud.common.model.BocloudResult;
import com.bocloud.ims.entity.resource.CloudServer;

import java.util.List;

/**
 * @author luyanchao
 * @since 2019/3/5 9:50
 */
public interface ServerVolumeService {

    public BocloudResult listVolumeByServer(long serverId, Boolean canDelete);

    public BocloudResult<List<CloudServer>> listServerByVolume(long volumeId);
}
