AWS SDK for .NET Documentation
RequestSpotInstancesRequest Class
AmazonAmazon.EC2.ModelRequestSpotInstancesRequest Did this page help you?   Yes   No    Tell us about it...
Creates a Spot Instance request.
Declaration Syntax
C#
public class RequestSpotInstancesRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RequestSpotInstancesRequest()()()()
Initializes a new instance of the RequestSpotInstancesRequest class

AvailabilityZoneGroup
The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone. Default: Instances are launched in any available Availability Zone.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstanceCount
The maximum number of Spot Instances to launch. Default is 1.

IsSetAvailabilityZoneGroup()()()()
Checks if AvailabilityZoneGroup property is set

IsSetInstanceCount()()()()
Checks if InstanceCount property is set

IsSetLaunchGroup()()()()
Checks if LaunchGroup property is set

IsSetLaunchSpecification()()()()
Checks if LaunchSpecification property is set

IsSetSpotPrice()()()()
Checks if SpotPrice property is set

IsSetType()()()()
Checks if Type property is set

IsSetValidFrom()()()()
Checks if ValidFrom property is set

IsSetValidUntil()()()()
Checks if ValidUntil property is set

LaunchGroup
The instance launch group. Launch groups are Spot Instances that launch together and terminate together. Default: Instances are launched and terminated individually

LaunchSpecification
Additional launch instance information.

SpotPrice
The maximum price you will pay to launch one or more Spot Instances.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
The Spot Instance request type. Valid values: one-time | persistent Default - one-time.

ValidFrom
Start date of the request. If this is a one-time request, the request remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, it remains active until it expires or is canceled. Default: Request is effective immediately

ValidUntil
End date of the request. If this is a one-time request, the request remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, it remains active until it expires or is canceled. Default: Request remains open until criteria for closing are met

WithAvailabilityZoneGroup(String) Obsolete.
Sets the Availability Zone group.

WithInstanceCount(Decimal) Obsolete.
Sets the maximum number of Spot Instances to launch.

WithLaunchGroup(String) Obsolete.
Sets the instance launch group.

WithLaunchSpecification(LaunchSpecification) Obsolete.
Sets additional launch instance information.

WithSpotPrice(String) Obsolete.
Sets the maximum price you will pay to launch one or more Spot Instances.

WithType(String) Obsolete.
Sets the Spot Instance request type.

WithValidFrom(String) Obsolete.
Sets the start date of the request.

WithValidUntil(String) Obsolete.
Sets the end date of the request.

Remarks
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.
Inheritance Hierarchy
Object
EC2Request
 RequestSpotInstancesRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)