com.spotinst.sdkjava.model.ISpotinstElastigroupRepo Maven / Gradle / Ivy
package com.spotinst.sdkjava.model;
import com.spotinst.sdkjava.enums.ProcessNameEnum;
import com.spotinst.sdkjava.model.bl.elastigroup.aws.*;
import com.spotinst.sdkjava.model.requests.elastigroup.ElastigroupInstanceLockRequest;
import com.spotinst.sdkjava.model.requests.elastigroup.ElastigroupInstanceUnLockRequest;
import com.spotinst.sdkjava.model.requests.elastigroup.aws.*;
import java.util.List;
/**
* Created by talzur on 11/01/2017.
*/
interface ISpotinstElastigroupRepo extends IRepository {
RepoGenericResponse detachInstances(String groupId, ElastigroupDetachInstancesRequest detachRequest,
String authToken, String account);
RepoGenericResponse scaleUp(ElastigroupScalingRequest scalingRequest, String authToken,
String account);
RepoGenericResponse scaleDown(ElastigroupScalingRequest scalingRequest,
String authToken, String account);
RepoGenericResponse clone(String sourceElastigroupId, Elastigroup groupModifications, String authToken,
String account);
RepoGenericResponse enterInstanceStandby(String instanceId, String authToken, String account);
RepoGenericResponse exitInstanceStandby(String instanceId, String authToken, String account);
RepoGenericResponse suspendProcesses(String groupId, List suspensions,
String authToken, String account);
RepoGenericResponse removeSuspensions(String elastigroupId, List processNames,
String authToken, String account);
RepoGenericResponse getSuspendedProcesses(String elastigroupId, String authToken,
String account);
RepoGenericResponse delete(String elastigroupId, String authToken, String account,
ApiDeleteGroupRequest deleteRequest);
RepoGenericResponse lockInstance(ElastigroupInstanceLockRequest lockRequest,
String authToken, String instanceId);
RepoGenericResponse unlockInstance(ElastigroupInstanceUnLockRequest unlockRequest,
String authToken, String instanceId);
RepoGenericResponse simulateInstanceInterruption(String authToken, String account, List instanceIds);
RepoGenericResponse suspendScalingPolicies(String elastigroupId, String policyName,
ScalingPolicySuspension suspension,
String authToken, String account);
RepoGenericResponse removeSuspendedScalingPolicies(String elastigroupId, String policyName,
String authToken, String account);
RepoGenericResponse getAllSuspendedScalingPolicies(String elastigroupId,
String authToken, String account);
RepoGenericResponse startDeployment(String elastigroupId, ElastigroupStartDeployment elastigroupStartDeployment, String authToken, String account);
RepoGenericResponse stopDeployment(
ElastigroupStopDeploymentRequest elastigroupStopDeployment, String elastigroupId, String deploymentId , String authToken, String account);
RepoGenericResponse getDeploymentStatus(String elastigroupId, String deploymentId , String authToken, String account);
RepoGenericResponse> getGroupDeploymentStatus(String elastigroupId, String authToken, String account);
RepoGenericResponse applyDeploymentAction(
ElastigroupDeploymentStrategyOnFailure getDeploymentActionRequest , String elastigroupId, String deploymentId , String authToken, String account);
RepoGenericResponse> getItfMigrationRulesStatus(String elastigroupId,
String authToken, String account);
RepoGenericResponse retryItfMigration(String elastiGroupId, RetryItfMigrationRequest request,
String authToken, String account);
RepoGenericResponse updateCapacity(String elastigroupId, ElastigroupUpdateCapacityConfiguration elastigroupUpdateCapacity, String authToken, String account);
RepoGenericResponse importEC2Instance(ElastigroupImportEC2Instance elastigroupImportInstance, String instanceId, String region,
String authToken, String account);
RepoGenericResponse pauseStatefulInstance(String elastigroupId, String statefulInstanceId,
String authToken, String account);
RepoGenericResponse resumeStatefulInstance(String elastigroupId, String statefulInstanceId,
String authToken, String account);
RepoGenericResponse recycleStatefulInstance(String elastigroupId, String statefulInstanceId,
String authToken, String account);
RepoGenericResponse deallocateStatefulInstance(String elastigroupId, String statefulInstanceId,
String authToken, String account);
RepoGenericResponse> listStatefulInstances(String elastigroupId, String authToken, String account);
RepoGenericResponse deleteVolumeInStatefulInstance(String elastigroupId, String statefulInstanceId, String volumeId, String authToken, String account);
RepoGenericResponse> getElastilog(ElastigroupGetElastilogRequest elastigroupGetElastilogRequest, String elastigroupId, String authToken);
RepoGenericResponse importASG(ImportASGRequest importASGRequest, String authToken);
RepoGenericResponse> getInstanceTypesByRegion(String region, String authToken, String account);
RepoGenericResponse> getSuggestedInstanceTypes(GetSuggestedInstanceTypeRequest suggestedInstanceType, String authToken, String account);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy