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

com.capitalone.dashboard.service.CloudVolumeService Maven / Gradle / Ivy

There is a newer version: 3.4.53
Show newest version
package com.capitalone.dashboard.service;

import com.capitalone.dashboard.model.CloudVolumeStorage;
import com.capitalone.dashboard.model.NameValue;
import com.capitalone.dashboard.request.CloudVolumeCreateRequest;
import com.capitalone.dashboard.request.CloudVolumeListRefreshRequest;
import com.capitalone.dashboard.response.CloudVolumeAggregatedResponse;

import java.util.Collection;
import java.util.List;

public interface CloudVolumeService {
    //Volume Services

    Collection refreshVolumes(CloudVolumeListRefreshRequest request);

    //Volume Upsert
    List upsertVolume(List volume);

    /**
     *     Volume Details by
     *          (a) componentId - for UI mostly
     *          (b) volumeId
     *          (c) List of volume Ids
     *          (d) List of Tags
     *          (e) Account Number
     */
    Collection getVolumeDetailsByComponentId(String componentId);
    Collection getVolumeDetailsByVolumeIds(List volumeId);
    Collection getVolumeDetailsByTags(List tags);
    Collection getVolumeDetailsByAccount(String accountNumber);


    /**
     *     Volume Aggregated Data by
     *          (a) componentId - for UI mostly
     *          (b) Custom request object
     *          (d) List of Tags
     */
    CloudVolumeAggregatedResponse getVolumeAggregatedData(String componentId);

    Collection getVolumeDetailsByInstanceIds(List instanceIds);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy