Package hudson.plugins.spotinst.repos
Interface IAwsGroupRepo
-
- All Known Implementing Classes:
AwsGroupRepo
public interface IAwsGroupRepo
Created by ohadmuchnik on 05/11/2018.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiResponse<Boolean>
deallocateInstance(String groupId, String statefulInstanceId, String accountId)
ApiResponse<Boolean>
detachInstance(String instanceId, String accountId)
ApiResponse<List<AwsInstanceType>>
getAllInstanceTypes(String accountId)
ApiResponse<AwsGroup>
getGroup(String groupId, String accountId)
ApiResponse<List<AwsGroupInstance>>
getGroupInstances(String groupId, String accountId)
ApiResponse<List<AwsStatefulInstance>>
getStatefulInstances(String groupId, String accountId)
ApiResponse<AwsScaleUpResult>
scaleUp(String groupId, Integer adjustment, String accountId)
-
-
-
Method Detail
-
getGroup
ApiResponse<AwsGroup> getGroup(String groupId, String accountId)
-
getGroupInstances
ApiResponse<List<AwsGroupInstance>> getGroupInstances(String groupId, String accountId)
-
getStatefulInstances
ApiResponse<List<AwsStatefulInstance>> getStatefulInstances(String groupId, String accountId)
-
detachInstance
ApiResponse<Boolean> detachInstance(String instanceId, String accountId)
-
deallocateInstance
ApiResponse<Boolean> deallocateInstance(String groupId, String statefulInstanceId, String accountId)
-
scaleUp
ApiResponse<AwsScaleUpResult> scaleUp(String groupId, Integer adjustment, String accountId)
-
getAllInstanceTypes
ApiResponse<List<AwsInstanceType>> getAllInstanceTypes(String accountId)
-
-