AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class SpotInstanceRequest : Object
The SpotInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
SpotInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
AvailabilityZoneGroup | System.String |
Gets and sets the property 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. |
|
CreateTime | System.DateTime |
Gets and sets the property CreateTime.
The date and time when the Spot instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). |
|
Fault | Amazon.EC2.Model.SpotInstanceStateFault |
Gets and sets the property Fault.
The fault codes for the Spot instance request, if any. |
|
InstanceId | System.String |
Gets and sets the property InstanceId.
The instance ID, if an instance has been launched to fulfill the Spot instance request. |
|
LaunchedAvailabilityZone | System.String |
Gets and sets the property LaunchedAvailabilityZone.
The Availability Zone in which the bid is launched. |
|
LaunchGroup | System.String |
Gets and sets the property LaunchGroup.
The instance launch group. Launch groups are Spot instances that launch together and terminate together. |
|
LaunchSpecification | Amazon.EC2.Model.LaunchSpecification |
Gets and sets the property LaunchSpecification.
Additional information for launching instances. |
|
ProductDescription | Amazon.EC2.RIProductDescription |
Gets and sets the property ProductDescription.
The product description associated with the Spot instance. |
|
SpotInstanceRequestId | System.String |
Gets and sets the property SpotInstanceRequestId.
The ID of the Spot instance request. |
|
SpotPrice | System.String |
Gets and sets the property SpotPrice.
The maximum hourly price (bid) for any Spot instance launched to fulfill the request. |
|
State | Amazon.EC2.SpotInstanceState |
Gets and sets the property State.
The state of the Spot instance request. Spot bid status information can help you track your Spot instance requests. For more information, see Spot Bid Status in the Amazon Elastic Compute Cloud User Guide. |
|
Status | Amazon.EC2.Model.SpotInstanceStatus |
Gets and sets the property Status.
The status code and status message describing the Spot instance request. |
|
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags.
Any tags assigned to the resource. |
|
Type | Amazon.EC2.SpotInstanceType |
Gets and sets the property Type.
The Spot instance request type. |
|
ValidFrom | System.DateTime |
Gets and sets the property ValidFrom.
The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled. |
|
ValidUntil | System.DateTime |
Gets and sets the property ValidUntil.
The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8