public class SpotinstApi extends Object
Constructor and Description |
---|
SpotinstApi() |
public static AwsGroup getAwsGroup(String groupId, String accountId) throws ApiException
ApiException
public static List<AwsGroupInstance> getAwsGroupInstances(String groupId, String accountId) throws ApiException
ApiException
public static List<AwsStatefulInstance> getAwsStatefulInstances(String groupId, String accountId) throws ApiException
ApiException
public static AwsScaleUpResult awsScaleUp(String groupId, int adjustment, String accountId) throws ApiException
ApiException
public static Boolean awsDetachInstance(String instanceId, String accountId) throws ApiException
ApiException
public static Boolean awsDeallocateInstance(String groupId, String statefulInstanceId, String accountId) throws ApiException
ApiException
public static List<AwsInstanceType> getAllAwsInstanceTypes(String accountId) throws ApiException
ApiException
public static GcpScaleUpResult gcpScaleUp(String groupId, int adjustment, String accountId) throws ApiException
ApiException
public static Boolean gcpDetachInstance(String groupId, String instanceName, String accountId) throws ApiException
ApiException
public static List<GcpGroupInstance> getGcpGroupInstances(String groupId, String accountId) throws ApiException
ApiException
public static List<AzureGroupInstance> getAzureGroupInstances(String groupId, String accountId) throws ApiException
ApiException
public static Boolean azureScaleUp(String groupId, int adjustment, String accountId) throws ApiException
ApiException
public static Boolean azureDetachInstance(String groupId, String instanceId, String accountId) throws ApiException
ApiException
public static AzureGroupStatus getAzureVmGroupStatus(String groupId, String accountId) throws ApiException
ApiException
public static List<AzureScaleUpResultNewVm> azureVmScaleUp(String groupId, int adjustment, String accountId) throws ApiException
ApiException
public static Boolean azureVmDetach(String groupId, String vmId, String accountId) throws ApiException
ApiException
public static String getGroupLockValue(String accountId, String groupId) throws ApiException
ApiException
public static String acquireGroupControllerLock(String accountId, String groupId, String controllerIdentifier, Integer ttl) throws ApiException
ApiException
public static String setGroupControllerLockExpiry(String accountId, String groupId, String controllerIdentifier, Integer ttl) throws ApiException
ApiException
public static Integer deleteGroupControllerLock(String accountId, String groupId) throws ApiException
ApiException
Copyright © 2016–2024. All rights reserved.