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.
You can use DescribeSpotInstanceRequests to find a running Spot instance
by examining the response. If the status of the Spot instance is fulfilled,
the instance ID appears in the response and contains the identifier of the instance.
Alternatively, you can use DescribeInstances with a filter to look for instances
where the instance lifecycle is spot.
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual DescribeSpotInstanceRequestsResponse DescribeSpotInstanceRequests( DescribeSpotInstanceRequestsRequest request )
Container for the necessary parameters to execute the DescribeSpotInstanceRequests service method.
.NET Framework:
Supported in: 4.5, 4.0, 3.5