AmazonEC2Client.RequestSpotInstances Method (RequestSpotInstancesRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Creates a Spot Instance request.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual RequestSpotInstancesResponse RequestSpotInstances(
         RequestSpotInstancesRequest requestSpotInstancesRequest
)

Parameters

requestSpotInstancesRequest
Type: Amazon.EC2.Model.RequestSpotInstancesRequest

Container for the necessary parameters to execute the RequestSpotInstances service method on AmazonEC2.

Return Value
Type: Amazon.EC2.Model.RequestSpotInstancesResponse
The response from the RequestSpotInstances service method, as returned by AmazonEC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5