com.capitalone.dashboard.service.CloudInstanceService Maven / Gradle / Ivy
package com.capitalone.dashboard.service;
import com.capitalone.dashboard.misc.HygieiaException;
import com.capitalone.dashboard.model.CloudInstance;
import com.capitalone.dashboard.model.CloudInstanceHistory;
import com.capitalone.dashboard.model.NameValue;
import com.capitalone.dashboard.request.CloudInstanceCreateRequest;
import com.capitalone.dashboard.request.CloudInstanceListRefreshRequest;
import java.util.Collection;
import java.util.List;
public interface CloudInstanceService {
//Instance Services
Collection refreshInstances(CloudInstanceListRefreshRequest request);
//Instance Upsert
List upsertInstance(List instance) throws HygieiaException;
/**
* Instance Details by
* (a) componentId - for UI mostly
* (b) instanceId
* (c) List of instance Ids
* (d) List of Tags
* (e) Account Number
*/
Collection getInstanceDetailsByComponentId(String componentId);
CloudInstance getInstanceDetailsByInstanceId(String instanceId);
Collection getInstanceDetailsByInstanceIds(List instanceId);
Collection getInstanceDetailsByTags(List tags);
Collection getInstanceDetailsByAccount(String accountNumber);
/**
* Instance History Aggregated Data by account
*/
Collection getInstanceHistoryByAccount(String account);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy