|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpotInstanceClient
Provides Spot Instance services for EC2. For more information, refer to the Amazon EC2 Developer Guide.
| Method Summary | |
|---|---|
String |
cancelSpotInstanceRequestsInRegion(String region,
String... requestIds)
Cancels one or more Spot Instance requests. |
Set<SpotInstanceRequest> |
describeSpotInstanceRequestsInRegion(String region,
String... requestIds)
Describes Spot Instance requests. |
Set<Spot> |
describeSpotPriceHistoryInRegion(String region,
DescribeSpotPriceHistoryOptions... options)
Describes Spot Price history. |
SpotInstanceRequest |
requestSpotInstanceInRegion(String region,
float spotPrice,
String imageId,
String instanceType)
request a single spot instance |
Set<SpotInstanceRequest> |
requestSpotInstancesInRegion(String region,
float spotPrice,
int instanceCount,
LaunchSpecification launchSpec,
RequestSpotInstancesOptions... options)
Creates a Spot Instance request. |
| Method Detail |
|---|
Set<SpotInstanceRequest> describeSpotInstanceRequestsInRegion(@Nullable
String region,
String... requestIds)
region - Region where the spot instance service is runningrequestIds - Specifies the ID of the Spot Instance request.
requestSpotInstancesInRegion(java.lang.String, float, int, org.jclouds.aws.ec2.domain.LaunchSpecification, org.jclouds.aws.ec2.options.RequestSpotInstancesOptions...),
cancelSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
describeSpotPriceHistoryInRegion(java.lang.String, org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions...),
SpotInstanceRequest requestSpotInstanceInRegion(@Nullable
String region,
float spotPrice,
String imageId,
String instanceType)
region - Region where the spot instance service is runningspotPrice - Specifies the maximum hourly price for any Spot Instance launched to fulfill the
request.imageId - The AMI ID.instanceType - The instance type (ex. m1.small)
requestSpotInstancesInRegion(java.lang.String, float, int, org.jclouds.aws.ec2.domain.LaunchSpecification, org.jclouds.aws.ec2.options.RequestSpotInstancesOptions...)
Set<SpotInstanceRequest> requestSpotInstancesInRegion(@Nullable
String region,
float spotPrice,
int instanceCount,
LaunchSpecification launchSpec,
RequestSpotInstancesOptions... options)
region - Region where the spot instance service is runningspotPrice - Specifies the maximum hourly price for any Spot Instance launched to fulfill the
request.instanceCount - number of instances to requestlaunchSpec - includes at least The AMI ID and instance type (ex. m1.small)options - options including expiration time or grouping
describeSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
cancelSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
describeSpotPriceHistoryInRegion(java.lang.String, org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions...),
Set<Spot> describeSpotPriceHistoryInRegion(@Nullable
String region,
DescribeSpotPriceHistoryOptions... options)
region - Region where the spot instance service is runningoptions - options to control the list
describeSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
requestSpotInstancesInRegion(java.lang.String, float, int, org.jclouds.aws.ec2.domain.LaunchSpecification, org.jclouds.aws.ec2.options.RequestSpotInstancesOptions...),
cancelSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
String cancelSpotInstanceRequestsInRegion(@Nullable
String region,
String... requestIds)
region - Region where the spot instance service is runningrequestIds - Specifies the ID of the Spot Instance request.
describeSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...),
requestSpotInstancesInRegion(java.lang.String, float, int, org.jclouds.aws.ec2.domain.LaunchSpecification, org.jclouds.aws.ec2.options.RequestSpotInstancesOptions...),
describeSpotPriceHistoryInRegion(java.lang.String, org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions...),
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||