C# Class Amazon.EC2.Model.RequestSpotInstancesRequest

Container for the parameters to the RequestSpotInstances operation.

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 more information about Spot Instances, see Spot Instances in the Amazon Elastic Compute Cloud User Guide .

Inheritance: AmazonEC2Request
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
RequestSpotInstancesRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

RequestSpotInstancesRequest ( string spotPrice ) : System

Instantiates RequestSpotInstancesRequest with the parameterized properties

Private Methods

Méthode Description
IsSetAvailabilityZoneGroup ( ) : bool
IsSetBlockDurationMinutes ( ) : bool
IsSetClientToken ( ) : bool
IsSetInstanceCount ( ) : bool
IsSetLaunchGroup ( ) : bool
IsSetLaunchSpecification ( ) : bool
IsSetSpotPrice ( ) : bool
IsSetType ( ) : bool
IsSetValidFrom ( ) : bool
IsSetValidUntil ( ) : bool

Method Details

RequestSpotInstancesRequest() public méthode

Empty constructor used to set properties independently even when a simple constructor is available
public RequestSpotInstancesRequest ( ) : System
Résultat System

RequestSpotInstancesRequest() public méthode

Instantiates RequestSpotInstancesRequest with the parameterized properties
public RequestSpotInstancesRequest ( string spotPrice ) : System
spotPrice string The maximum hourly price (bid) for any Spot instance launched to fulfill the request.
Résultat System