Request to create a Spot Instance request.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class RequestSpotInstancesRequest
Public Class RequestSpotInstancesRequest
public ref class RequestSpotInstancesRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| RequestSpotInstancesRequest()()()() | Initializes a new instance of the RequestSpotInstancesRequest class | |
| AvailabilityZoneGroup |
Gets and sets the AvailabilityZoneGroup property.
Specifies 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) | (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 |
Gets and sets the InstanceCount property.
The maximum number of Spot Instances to launch. Default - 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 |
Gets and sets the LaunchGroup property.
Specifies the instance launch group. Launch
groups are Spot Instances that launch together and terminate
together.
Default: Instances are launched and terminated individually
| |
| LaunchSpecification |
Gets and sets the LaunchSpecification property.
Specifies additional launch instance information.
| |
| SpotPrice |
Gets and sets the SpotPrice property.
Specifies the maximum price you will pay to
launch one or more Spot Instances.
| |
| ToString()()()() | (Inherited from Object.) | |
| Type |
Gets and sets the Type property.
The instance type. Valid values:
m1.small|m1.medium|m1.large|m1.xlarge|c1.medium|c1.xlarge|m2.2xlarge|m4.4xlarge.
Default - m1.small.
| |
| ValidFrom |
Gets and sets the ValidFrom property.
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 |
Gets and sets the ValidUntil property.
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) |
Sets the AvailabilityZoneGroup property
| |
| WithInstanceCount(Decimal) |
Sets the InstanceCount property
| |
| WithLaunchGroup(String) |
Sets the LaunchGroup property
| |
| WithLaunchSpecification(LaunchSpecification) |
Sets the LaunchSpecification property
| |
| WithSpotPrice(String) |
Sets the SpotPrice property
| |
| WithType(String) |
Sets the Type property
| |
| WithValidFrom(String) |
Sets the ValidFrom property
| |
| WithValidUntil(String) |
Sets the ValidUntil property
|